/*********************************************************
 * COLORS:
 * Primary (tangelo): #ff4500
 *********************************************************/
 :root {
    --primary-color: #ff4500;
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--body-font);
    color: #333;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
  }
  
  /************************************
   * HEADER
   ************************************/
  #header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: transparent; /* initial transparent */
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
  }
  
  /* When scrolled => white + 2px orange border at bottom */
  #header.scrolled {
    background-color: #fff;
    border-bottom: 2px solid var(--primary-color);
  }
  
  .header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
      padding: 1rem 0; /* Ensure padding is uniform */
  
  }
  
  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    margin-right: 100px;
    text-decoration: none;
  }
  
  .desktop-logo {
    display: none;
    height: 40px;
  }
  
  .mobile-logo {
    display: block;
    height: 40px;
  }
  
  @media (min-width: 768px) {
    .desktop-logo {
      display: block;
    }
    .mobile-logo {
      display: none;
    }
  }
  
  /* Menu (hidden on mobile) */
  .menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
  }
  
  /* Default link styling (no underline unless hover) */
  .menu li a {
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
  }
  
  /* When header is transparent => menu items white */
  #header:not(.scrolled) .menu li a {
    color: #fff;
  }
  #header:not(.scrolled) .menu li a:hover {
    color: #fff;
    border-bottom: 2px solid #fff;
  }
  
  /* When header is scrolled => menu items black */
  #header.scrolled .menu li a {
    color: #000;
  }
  #header.scrolled .menu li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
  }
  
  /* Hide menu on mobile */
  @media (max-width: 767px) {
    .menu {
      display: none;
    }
  }
  
  /* CTA buttons (header, slider, extra, contact) */
  .menu-cta,
  .slider-cta,
  .contact-form button,
  .big-cta {
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
  /*   transition: all 0.2s ease; */
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    margin-top: 20px; /* Adjust as needed */
    padding: 12px 24px; /* Ensure consistent padding */
    z-index: 999px;
  }
  
  /* Initial CTA style: orange bg, white text */
  .menu-cta,
  .slider-cta,
  .contact-form button,
  .big-cta {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 10px; /* Adjust as needed */
    padding: 12px 24px; /* Ensure consistent padding */
    z-index: 999px;
    
  }
  
  /* On hover => 2px orange outline, white fill, orange text */
  .menu-cta:hover,
  .slider-cta:hover,
  .contact-form button:hover,
  .big-cta:hover {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    z-index: 999px;
  }
  
  /* Move only the CTA button down */
.big-cta {
    display: inline-block;
    margin-top: 20px; /* Adjust as needed */
    padding: 12px 24px; /* Ensure consistent padding */
    font-size: 1rem;
}

  /* Header CTA on the right */
  .menu-cta {
    margin-left: auto;
  }
  
  /************************************
   * SLIDER SECTION
   ************************************/
  .slider-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: visible;
  }
  
  .slider {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  /* Each slide covers entire area, but only the active is visible */
  .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
#brainstorm-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Scale video like an image */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1; /* Ensure it's visible */
  z-index: 1;
}

  
  /* Show video when loaded */
  #brainstorm-video.loaded {
    opacity: 1;
  }
  
  /* Semi-transparent overlay for text readability */
  .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 2;
  }
  
  /************************************
   * SLIDER CLICK AREAS (left / right)
   ************************************/
  /* The entire left or right half is clickable.
     Each half is 50% width, stacked horizontally. */
  .slider-click-area {
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 10; /* so it's above the slide but below dots */
    pointer-events: auto; /* Ensure clicks register */
  }
  
  /* left side = prev, right side = next */
  .left-side {
    left: 0;
  }
  .right-side {
    right: 0;
    width: 30%; /* Adjust as needed */
  }
  
  /************************************
   * ARROW ICONS
   * (pointer-events: none so clicks go to the half behind them)
   ************************************/
  .arrow-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99; /* above overlay, below dots if needed */
    font-size: 2rem;
    color: #fff;
    pointer-events: none; /* so the user clicks the half behind it */
  }
  
  .arrow-left {
    left: 25px;
  }
  
  .arrow-right {
    right: 25px;
  }
  
  /* Mobile adjustment: Move arrows to 75% from the top */
  @media (max-width: 767px) {
    .arrow-icon {
      top: 75%;
      transform: translateY(-75%);
    }
  }
  
  /************************************
   * SLIDER DOTS
   ************************************/
  .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99; /* above the clickable halves */
    display: flex;
    gap: 8px;
  }
  
  .slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .slider-dots .dot.active {
    background-color: var(--primary-color);
  }
  
  /************************************
 * SLIDER TEXT (INSIDE EACH SLIDE)
 ************************************/
.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: left;
    color: white;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  .slide.active .slider-content {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  
  .slider-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
  }
  
  .slider-wrapper h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  }
  
  .slider-wrapper p {
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }
  
  /* Keep dots and arrows visible */
  .slider-dots, .arrow-icon {
    z-index: 4;
  }
  
  
  /************************************
   * CLIENTS SECTION
   ************************************/
  .clients-section {
    background-color: #fff;
    color: #000;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  /* Wrapper with consistent spacing */
  .clients-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px; /* Ensures 20px space on left/right */
  }
  
  /* Grid layout for logos */
  .client-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 logos per row on desktop */
    gap: 2rem;
    align-items: center;
    justify-items: center;
  }
  
  /* Ensure logos don’t stretch too much */
  .client-logos img {
    max-width: 150px; /* Set a reasonable max width */
    width: 100%; /* Makes it responsive */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure it doesn't get cropped */
  }
  
  /* Adjust layout for mobile */
  @media (max-width: 767px) {
    .client-logos {
      grid-template-columns: repeat(2, 1fr); /* 2 logos per row on mobile */
    }
  }
  
  
  
  
  
  
  /************************************
   * ABOUT SECTION
   ************************************/
  .about-section {
    padding: 5rem 2rem;
    text-align: center;
    background-color: #f6f6f6;
  }
  
  /* keep space so typed text doesn't jump on delete */
  .typed-container {
    min-height: 4rem; /* Ensures the whole section stays stable */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #typed-text {
    font-size: 2rem;
    font-weight: bold;
    min-height: 2.5rem; /* Prevents text from collapsing */
    display: inline-block;
  }
  
  
  .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  /************************************
   * EXTRA TEXT SECTION
   ************************************/
  .extra-text-section {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #fff;
  }
  
  .extra-text-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .extra-text-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
  }
  
  /* CTA in extra text => same style as menu-cta */
  .extra-text-section .menu-cta {
    margin: 0 auto;
  }
  
  /************************************
   * WHAT WE DO SECTION
   ************************************/
  .solutions-section {
    padding: 4rem 2rem;
    background-color: var(--primary-color);
    text-align: center;
    color: #fff;
  }
  
  .solutions-section h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
  }
  
  .alveta-logo {
    margin-bottom: 1rem;
  }
  
  .alveta-logo img {
    height: 40px;
  }
  
  .solutions-blocks {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  
  .solution-block {
    width: 24%;
    background-color: #fff;
    color: #333;
    border-radius: 6px;
    padding: 2rem;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 1rem;
  }
  
  .solution-block h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }
  
  .solution-block p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  @media (max-width: 767px) {
    .solution-block {
      width: 100%;
    }
  }
  
  /************************************
   * CONTACT SECTION
   ************************************/
  .contact-section {
    padding: 4rem 2rem;
    background-color: #fdfdfd;
    text-align: center;
    
  }
  
  .contact-section h2 {
    margin-bottom: 2rem;
  }
  
  .contact-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
    flex-wrap: nowrap; /* side by side on desktop */
  }
  
  .contact-form,
  .contact-image {
    width: 50%;
  }
  
  /* On mobile, stack them */
  @media (max-width: 767px) {
    .contact-container {
      flex-wrap: wrap;
    }
    .contact-form,
    .contact-image {
      width: 100%;
    }
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form label {
    font-weight: bold;
    margin-bottom: 0.3rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* same style as header CTA, right aligned */
  .contact-form button {
    align-self: flex-end;
  }
  .contact-image img {
    max-width: 100%;
    height: auto;
    display: block; /* often helps remove extra spacing */
  }
  
  
  /************************************
   * FOOTER
   ************************************/
  footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #fff;
  }
  
  .footer-line {
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  footer p {
    font-size: 0.9rem;
    color: #555;
  }
  
  
  /* Add padding on mobile screens */
  @media (max-width: 767px) {
    .header-container,
    .slider-content,
    .slider-wrapper {
      padding-left: 10px;
      padding-right: 10px;
    }
  }
  
  /* Ensure buttons and logo don't touch the edges */
  @media (max-width: 767px) {
    .menu-cta {
      margin-right: 10px;
    }
    
    .logo {
      margin-left: 10px;
    }
  }
  
  