@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* === ROOT VARIABLES === */
:root {
  --dark-bg: #0c0c0c;
  --hero-bg: #050505;
  --card-dark-bg: #141414;
  --text-color-light: #ffffff;
  --text-color-muted-light: rgba(255, 255, 255, 0.7);
  --logo-yellow: #e32b2b;
  --glow-color: rgba(227, 61, 43, 0.2);
  --brand-blue: #3e7bff;
  --badge-dark-bg: rgba(255, 255, 255, 0.08);
  --divider-color: rgba(255, 255, 255, 0.15);
  --card-border-color: rgba(255, 255, 255, 0.1);
}

*{
  scroll-behavior: smooth;
}

/* === GENERAL STYLES & FIXES === */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
main {
  position: relative;
  z-index: 10;
  background-color: var(--dark-bg);
}

html {
  scroll-behavior: smooth;
}


/* === GENERAL HOVER UNDERLINE ANIMATION (NEW & IMPROVED) === */
.hover-underline-animation span {
    position: relative;
    display: inline-block;
}
.hover-underline-animation span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: currentColor; /* Use the text's current color */
    bottom: -2px; /* Adjust vertical position of the underline */
    left: 0;
    transform: scaleX(0);
    transform-origin: right center; /* Set origin to the right for the exit animation */
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Smooth ease-out transition */
}
.hover-underline-animation:hover span::after {
    transform: scaleX(1);
    transform-origin: left center; /* On hover, change origin to the left for the entry animation */
}


.moblie-screen-logo img{
  display: none;
}


.main-header .desktop-nav-container{
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px; /* Aligns with other content-container elements */
}
/* === HEADER === */
.main-header {
  display: flex; /* keep this */
  justify-content: center;
  width: 100%;
  height: 60px; /* Increased height slightly for better spacing */
  position:sticky;
  top: 0;
  z-index: 1000;
  background-color: black;
  padding: 0 6%;

}
.logo {
  padding: 0;
  margin-top: 3px;
}

.logo img{
  width: 150px;
  border-radius: .1rem;
}

.logo-icon { display: flex; gap: 4px; }
.logo-icon span { width: 8px; height: 24px; background-color: var(--logo-yellow); border-radius: .5rem; }
.logo-icon span:last-child { height: 16px; align-self: flex-end; }

/* === DESKTOP NAVIGATION CONTAINER === */
.nav-wrapper { display: flex; justify-content: center; flex-grow: 1; }
.main-nav { display: flex; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 60px; /* Match header height for consistent alignment */
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color-muted-light);
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--text-color-light); }
.nav-item.active .nav-link { color: var(--text-color-light); }
.dropdown-arrow { transition: transform 0.3s ease; }
.nav-item.active .dropdown-arrow { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0;}
.header-actions .about-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color-muted-light);
  transition: color 0.3s ease;
  padding: 0 12px;
}
.header-actions .about-link:hover { color: var(--text-color-light); }
.contact-button {
  background-color: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 10px 18px;
  border-radius: .5rem;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 8px;
  white-space: nowrap;
}
.contact-button:hover { background-color: #dddddd; }

/* === MOBILE MENU & TOGGLE === */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: .5rem;
  transition: all 0.3s ease-in-out;
}
.mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }


/* === MEGA MENU DROPDOWN === */
.mega-menu-wrapper {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: black;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  padding: 2.5rem 6%;
}

.mega-menu-wrapper .maga-content{
  max-width: 1200px;
}


.dropdown-container {
  display: grid;
  margin: 0;
  grid-template-columns: 200px 300px 1fr;
  gap: 40px;
  
}


.mega-menu-wrapper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
}
.mega-menu-content { display: none; width: 100%;}
.mega-menu-content.active { display: block; }

.column-title {
    font-size: 14px;
    color: var(--text-color-muted-light);
    margin: 0;
    padding-top: 12px;
}
.links-column {
    border-right: 1px solid var(--divider-color);
    padding-right: 40px;
}
.dropdown-link {
    display: block;
    font-size: 20px;
    font-weight: 500;
    padding: 12px 0;
    color: var(--text-color-light);
}
.featured-column { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.featured-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--card-border-color);
    border-radius: .5rem;
    background-color: var(--card-solid-bg);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.featured-card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.featured-card h4 { font-size: 18px; font-weight: 600; margin: 0 0 8px 0; }
.featured-card p { font-size: 14px; color: var(--text-color-muted-light); margin: 0; line-height: 1.5; }
.resource-column { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.resource-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 300px;
    border-radius: .5rem;
    overflow: hidden;
    color: white;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}
.card-background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; }
.dropdown-card-content{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
  flex-direction: column;
  padding: 16px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.8) 70%, #141414 100%);
}
.dropdown-card-content h3{
  margin: 0;
}
.card-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.8) 70%, #141414 100%);
}
.card-badge {
    background-color: rgba(255, 255, 255, 0.9);
    color: #111;
    padding: 4px 12px;
    border-radius: .5rem;
    font-size: 13px;
    font-weight: 500;
    align-self: flex-start;
}
.card-text-content h4 { font-size: 18px; font-weight: 600; margin: 0 0 8px 0; line-height: 1.3; }
.card-text-content p { font-size: 14px; margin: 0; color: var(--text-color-muted-light); }

/* === HERO SECTION (COMMON) === */
.hero-section {
  background-color: var(--hero-bg);
  display: flex;
  flex-direction: column;
  min-height: 94vh; 
  position: relative;
  overflow: hidden;
  justify-content: space-between; 
}
.hero-main-content {
  position: relative;
  z-index: 1;
  padding: 12vh 6%; 
  justify-content: center;
  display: flex;
}
.partners-slider-section{

  padding: 12vh 6%; 
  justify-content: center;
  display: flex;
}

.content-container { 
  max-width: 1200px; 
  width: 100%; 
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
}
.hero-subcontent { display: flex; align-items: center; margin-top: 48px; gap: 24px; }
.hero-description {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color-muted-light);
  margin: 0;
  flex-shrink: 0;
}
.divider-line { height: 1px; background-color: var(--divider-color); flex-grow: 1; }
.cta-link {
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;
}

/* === PARTNERS SLIDER (COMMON) === */
.partners-slider-section { 
  justify-content: center;
  display: flex;
  padding: 40px 6% 60px; 
  position: relative; 
  z-index: 1; 

}
.partners-slider { width: 100%; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient( to right, transparent 0%, black 15%, black 85%, transparent 100% ); mask-image: linear-gradient( to right, transparent 0%, black 15%, black 85%, transparent 100% ); }
.slider-track { display: flex; align-items: center; width: calc(300px * 20); animation: scroll 60s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(calc(-300px * 10)); } }
.partner-logo-slide { width: 300px; flex-shrink: 0; text-align: center; padding: 0 20px; }
.partner-logo-slide p { margin: 0; font-size: 24px; font-weight: 500; color: var(--text-color-muted-light); white-space: nowrap; }

/* === TAILORED SOLUTIONS SECTION (index.html) === */
.tailored-solutions-section {
  padding: 100px 6%;
  background-color: var(--dark-bg);
}
.solutions-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px auto;
  line-height: 1.3;
}
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.solution-card {
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  border-radius: .5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-graphic {
  height: 250px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(white, rgba(255, 255, 255, 0) 1px),
    radial-gradient(white, rgba(255, 255, 255, 0) 1px);
  background-position: 0 0, 30px 30px;
  background-size: 60px 60px;
}
.card-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.solution-card h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px 0;
}
.solution-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-muted-light);
  margin: 0;
  flex-grow: 1;
}
.solution-card .cta-link {
  margin-top: 32px;
}



.full-service-section { padding: 100px 6%; }
.agency-title { font-size: clamp(36px, 5vw, 48px); font-weight: 600; text-align: center; max-width: 750px; margin: 0 auto 100px auto; line-height: 1.3; }
.agency-steps-container { display: flex; flex-direction: column; gap: 32px; max-width: 1200px; margin: 0 auto; }
.agency-step-card { background-color: var(--card-dark-bg); border: 1px solid var(--card-border-color); border-radius: .5rem; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.step-content { position: relative; }
.step-number { font-size: 100px; font-weight: 600; color: rgba(255, 255, 255, 0.08); position: absolute; top: -60px; left: 0; line-height: 1; z-index: 1; }
.step-title { font-size: 32px; font-weight: 600; margin: 0 0 16px 0; position: relative; z-index: 2; }
.step-description { font-size: 16px; line-height: 1.7; color: var(--text-color-muted-light); max-width: 450px; position: relative; z-index: 2; }
.step-image { width: 100%; height: auto; border-radius: .5rem; display: block; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); }
.agency-step-card.reverse .step-image-wrapper { order: 2; }
.agency-step-card.reverse .step-content { order: 1; }

/* === FULL SERVICE SECTION (WHITE THEME) === */




.optimization-section {
  padding: 100px 6%;
  background-color: var(--dark-bg);
}

.optimization-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 80px auto;
  line-height: 1.3;
}
.optimization-cards-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.optimization-card {
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  border-radius: .5rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.opt-card-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 32px 0;
}
.opt-feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.opt-feature-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.opt-feature-item svg {
  margin-top: 2px;
}
.opt-feature-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px 0;
}
.opt-feature-description {
  font-size: 14px;
  color: var(--text-color-muted-light);
  line-height: 1.5;
  margin: 0;
}
.opt-card-cta {
  font-weight: 500;
  display: inline-block;
}
.opt-card-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.opt-card-graphic svg {
  z-index: 2;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}
.opt-graphic-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  border-radius: .5rem;
}
.optimize-bg {
  background: radial-gradient(circle at center, rgba(14, 188, 137, 0.4) 0%, transparent 70%), linear-gradient(315deg, rgba(10, 30, 25, 0) 50%, #005040 100%);
}
.analyze-bg {
  background: radial-gradient(circle at center, rgba(255, 107, 0, 0.3) 0%, transparent 70%), linear-gradient(315deg, rgba(30, 15, 0, 0) 50%, #702500 100%);
}

@media (max-width: 1024px){
  .optimization-section svg {
    margin: 10% ;
  }

}

@media (max-width: 768px){
  .optimization-section svg {
    margin: 20% ;
  }

}


/* === FOOTER (COMMON) === */
.main-footer {
  background-color: #000000;
  padding: 80px 6% 40px 6%;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  margin-bottom: 40px;
}
.footer-top .logo {
  font-size: 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider-color);
}
.footer-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: var(--text-color-light);
}
.footer-column nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-column a {
  color: var(--text-color-muted-light);
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}
.footer-column a:hover {
  color: var(--text-color-light);
}
.footer-locations-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-item p {
  margin: 0;
}
.location-item .city-time {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-color-light);
  margin-bottom: 4px;
}
.location-item .address {
  font-size: 14px;
  color: var(--text-color-muted-light);
  line-height: 1.5;
}
.footer-column p {
  color: var(--text-color-muted-light);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}
.footer-column .newsletter-form {
  display: flex;
  border: 1px solid var(--divider-color);
  border-radius: .5rem;
  overflow: hidden;
  background-color: var(--card-dark-bg);
}
.footer-column .newsletter-form input {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  color: white;
  font-size: 16px;
  flex-grow: 1;
  min-width: 0;
}
.footer-column .newsletter-form input::placeholder {
  color: #666;
}
.footer-column .newsletter-form button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  padding: 10px 20px;
  transition: color 0.3s ease;
}
.footer-column .newsletter-form button:hover {
  color: var(--logo-yellow);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  flex-wrap: wrap;
  gap: 30px;
}
.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}
.social-links a {
  color: var(--text-color-muted-light);
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: var(--text-color-light);
}
.social-links svg {
  width: 24px;
  height: 24px;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-grow: 1;
}
.footer-legal p {
  margin: 0;
  font-size: 14px;
  color: var(--text-color-muted-light);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 14px;
  color: var(--text-color-muted-light);
}
.footer-bottom-links a:hover {
  color: var(--text-color-light);
  text-decoration: none; /* Remove default underline */
}



/* === RESPONSIVE MEDIA QUERIES === */
@media (min-width: 1025px) {
  .desktop-nav-container { display: flex; }
  .mobile-menu-toggle { display: none; }
  .moblie-screen-logo { display: none; }
}

/* Additional responsive breakpoint for very small screens */
@media (max-width: 480px) {
  .main-header {
    padding: 0 3%;
    height: 55px;
  }
  .moblie-screen-logo img {
    width: 100px;
  }
  .mobile-menu-toggle {
    width: 22px;
    height: 18px;
  }
}



@media (max-width: 1024px) {
  .moblie-screen-logo img{
    display: block;
    width: 150px;
    border-radius: .1rem;
  }
  .main-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .desktop-nav-container { display: none;}
  .mobile-menu-toggle { display: flex; }
  .mega-menu-wrapper { display: none !important; }
  .dropdown-container { grid-template-columns: 1fr; gap: 24px; }
  .title-column { display: none; }
  .links-column { border-right: none; padding-right: 0; }
  .featured-column, .resource-column { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px;}
  .solutions-grid { grid-template-columns: 1fr; }
  .agency-step-card, .agency-step-card.reverse { grid-template-columns: 1fr; }
  .agency-step-card .step-image-wrapper, .agency-step-card.reverse .step-image-wrapper { order: -1; margin-bottom: 30px; }
  .optimization-card { grid-template-columns: 1fr; }
  .opt-card-graphic { order: -1; }
}

@media (max-width: 768px) {
  
  .main-header {
    padding: 0 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .moblie-screen-logo img {
    width: 120px;
  }

  .mobile-menu-toggle {
    width: 24px;
    height: 20px;
  }

  .hero-subcontent { flex-direction: column; align-items: flex-start; gap: 24px; }
  .divider-line { display: none; }
  .slider-track { animation-duration: 45s; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 16px; }
  .agency-step-card { padding: 32px; }
  .step-number { font-size: 80px; top: -50px; }
  .partners-slider { mask-image: none; -webkit-mask-image: none; }
}

/* === WHY CHOOSE US SECTION (WHITE THEME) === */
.why-choose-us-section {
  padding: 100px 6%;
  background-color: #FFFFFF; /* White background */
  color: #0c0c0c; /* Dark text for the section */
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 16px 0;
  color: #0c0c0c; /* Dark text for title */
}
.section-subtitle {
  font-size: 18px;
  color: #555555; /* Muted dark text for subtitle */
  line-height: 1.6;
  margin: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 80px auto 0 auto;
}
.value-card {
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  position: relative;
  transition: background-color 0.3s ease;
}
.value-icon {
  width: 48px;
  height: 48px;
  color: var(--logo-yellow); 
}
.value-text {
  font-size: 20px;
  font-weight: 500;
  color: #0c0c0c; /* Dark text for card content */
  margin: 0;
}
.value-card::before,
.value-card::after {
  content: '';
  position: absolute;
  background-color: #e0e0e0; /* Light gray for borders */
  display: none;
}
.value-card::before {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
}
.value-card::after {
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 1px;
  height: 70%;
}

/* Default (Desktop) border visibility */
.value-card:not(:nth-child(3n))::after {
  display: block;
}
.value-card:nth-child(-n+3)::before {
  display: block;
}

/* For tablets (2 columns) */
@media (max-width: 1024px) {
  .values-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .value-card::after {
    display: none !important;
  }
  .value-card::before {
    display: none;
  }
  .value-card:not(:nth-last-child(-n+2))::before {
    display: block;
  }
}

/* For mobile (1 column) */
@media (max-width: 768px) {
  .values-grid { 
    grid-template-columns: 1fr; 
  }
  .value-card::after {
    display: none !important;
  }
  .value-card::before {
    display: none;
  }
  .value-card:not(:last-child)::before {
    display: block;
  }
}

/* === PRESS MENTIONS SECTION === */
.press-section {
  padding: 1rem 6%;
}
.press-container {
  max-width: 100%;
  margin: 0 auto;
}
.press-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.press-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin: 0;
}
.press-nav {
  display: flex;
  gap: 12px;
}
.press-nav-button {
  width: 44px;
  height: 44px;
  border-radius: .5rem;
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  color: var(--text-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.press-nav-button:hover {
  background-color: #2a2a2a;
  border-color: #444;
}
.press-nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.press-slider-wrapper {
  overflow: hidden;
  margin-bottom: 40px;
}
.press-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.press-card {
  flex: 0 0 calc(100% / 3);
  padding-right: 32px;
  box-sizing: border-box;
  display: flex; /* This line was added */
}
.press-card-inner {
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  border-radius: .5rem;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.press-card-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 18px;
  height: 32px;
}
.press-card-logo svg {
  width: auto;
  height: 100%;
}
.press-card-title {
  font-size: 24px;
  font-weight: 600;
  margin: 16px 0 0 0;
  line-height: 1.3;
}
.press-card-description {
  font-size: 16px;
  color: var(--text-color-muted-light);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}
.press-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-top: 16px;
}
.press-card-link svg {
  transition: transform 0.3s ease;
}
.press-card-link:hover svg {
  transform: translateX(3px) translateY(-3px);
}
.press-pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  width: 100%;
}
.pagination-line {
  height: 1px;
  flex-grow: 1;
  background-color: var(--card-border-color);
}
.pagination-dots-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  flex-shrink: 0;
}
.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: .5rem;
  background-color: #555;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pagination-dot.active {
  background-color: #fff;
  width: 28px;
  border-radius: .5rem;
}
@media (max-width: 1024px) {
  .press-card { flex-basis: 50%; }
}
@media (max-width: 768px) {
  .press-card { flex-basis: 100%; padding: 0 16px; }
  .press-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .press-nav { align-self: flex-end; }
}

/* === CTA SECTION (WHITE THEME) === */
.cta-section {
padding: 120px 6%;
background-color: var(--dark-bg);
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.cta-content {
position: relative;
z-index: 2;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 32px;
}
.cta-title {
font-size: clamp(1.75rem, 4vw, 2.5rem);
font-weight: 600;
color: #fffafa; /* Changed to dark text */
line-height: 1.2;
max-width: 800px;
margin: 0;
}
.cta-button {
display: inline-block;
padding: 14px 32px;
font-size: 16px;
font-weight: 500;
color: #000000; /* Changed to light text */
background: #ffffff; /* Changed to dark background */
border: 1px solid #0a0a0a;
border-radius: .5rem;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1); /* Changed to dark shadow */
}



/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: 100px 6%;
}
.testimonials-section .section-header {
    margin-bottom: 80px;
}
.testimonials-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.testimonial-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.testimonial-card {
    background-color: var(--card-dark-bg);
    border: 1px solid var(--card-border-color);
    border-radius: .5rem;
    overflow: hidden;
}
.video-card-large {
    display: flex;
    flex-direction: column;
}
.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background-size: cover;
    background-position: center;
}
.video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease;
}
.play-button:hover { background-color: rgba(255, 255, 255, 0.2); }
.video-card-small .play-button { width: 48px; height: 48px; }
.video-content { padding: 24px; }
.video-content blockquote { font-size: 20px; font-weight: 500; margin: 0 0 24px 0; line-height: 1.5; }
.video-content .author-info { display: flex; justify-content: space-between; align-items: center; }
.video-content .author-details { font-size: 16px; color: var(--text-color-muted-light); }
.video-content .author-details strong { color: var(--text-color-light); }
.company-logo { height: 20px; width: auto; fill: var(--text-color-muted-light); }
.video-card-small { aspect-ratio: 16 / 10; }
.video-card-small .video-thumbnail { height: 100%; padding-bottom: 0; }
.video-content-small { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; z-index: 1; }
.video-content-small .author-name { font-size: 16px; font-weight: 600; margin: 0; }
.video-content-small .author-title { font-size: 14px; color: var(--text-color-muted-light); margin: 0; }
.text-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.text-card { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 150px; }
.text-card blockquote { font-size: 18px; font-weight: 500; line-height: 1.5; margin: 0; flex-grow: 1; }
.text-card .author-info { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: .5rem; object-fit: cover; }
.author-text .author-name { font-size: 14px; font-weight: 500; margin: 0; }
.author-text .author-title { font-size: 13px; color: var(--text-color-muted-light); margin: 0; }
@media (max-width: 1024px) { .testimonials-container { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .text-card-grid { grid-template-columns: 1fr; } }









        /* --- Main Layout --- */
        .contact-section {
          padding: 100px 6%;
      }

      .booking-header {
          text-align: center;
          margin-bottom: 60px;
      }

      .booking-header .contact-headline {
          font-size: clamp(2.5rem, 5vw, 3rem);
          font-weight: 600;
          line-height: 1.2;
          margin: 0 0 16px 0;
      }

      .booking-header .contact-sublink {
          font-size: 18px;
          color: var(--text-color-muted-light);
          margin: 0;
      }
      
      .contact-container {
          display: grid;
          grid-template-columns: 1fr 1.1fr; /* Two columns */
          gap: 80px;
          max-width: 1200px;
          margin: 0 auto;
          align-items: stretch; /* This makes the columns equal height */
      }

      .contact-left-column,
      .contact-right-column {
          display: flex;
          flex-direction: column;
      }

      /* --- Calendar & Time Slots (Left Column) --- */
      .calendar-widget {
          background-color: var(--card-dark-bg);
          border: 1px solid var(--card-border-color);
          border-radius: .75rem;
          padding: 25px;
          margin-bottom: 30px;
      }
      .calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
      .calendar-header h3 { margin: 0; font-size: 1.5rem; font-weight: 600; }
      .calendar-header button { background: transparent; border: 1px solid var(--divider-color); color: var(--text-color-light); font-size: 1.2rem; padding: 8px 12px; border-radius: .5rem; cursor: pointer; transition: background-color 0.3s ease, border-color 0.3s ease; }
      .calendar-header button:hover { background-color: rgba(255, 255, 255, 0.05); }
      .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; text-align: center; }
      .calendar-grid .day-name { font-weight: 600; color: var(--text-color-muted-light); font-size: 0.9em; }
      .calendar-grid .date-day { padding: 10px 5px; border-radius: .5rem; cursor: pointer; transition: background-color 0.2s ease; display: flex; align-items: center; justify-content: center; min-height: 40px; }
      .calendar-grid .date-day:hover { background-color: rgba(255, 255, 255, 0.08); }
      .calendar-grid .date-day.selected { background-color: var(--text-color-light); color: var(--dark-bg); font-weight: 600; }
      .calendar-grid .date-day.past { color: #4a4a4a; cursor: not-allowed; text-decoration: line-through; }
      
      #time-slots-container {
          background-color: var(--card-dark-bg);
          border: 1px solid var(--card-border-color);
          border-radius: .75rem;
          padding: 25px;
          flex-grow: 1; /* Allows this container to grow */
      }
      #time-slots-container h3 { margin: 0 0 20px 0; font-size: 1.5rem; font-weight: 600; }
      #time-slots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; }
      .time-slot { padding: 12px; border: 1px solid var(--divider-color); border-radius: .5rem; text-align: center; cursor: pointer; transition: all 0.2s ease; }
      .time-slot:hover { border-color: var(--text-color-light); }
      .time-slot.selected { background-color: var(--text-color-light); color: var(--dark-bg); border-color: var(--text-color-light); font-weight: 600; }
      
      /* New Placeholder Style */
      #time-slots-placeholder {
          display: flex;
          align-items: center;
          justify-content: center;
          min-height: 150px; /* Reserves space to prevent layout shift */
          text-align: center;
          color: var(--text-color-muted-light);
          border: 2px dashed var(--card-border-color);
          border-radius: .5rem;
      }


      /* --- Right Column Form --- */
      .contact-form-wrapper {
          background-color: var(--card-dark-bg);
          border: 1px solid var(--card-border-color);
          border-radius: .5rem;
          padding: 40px;
          display: flex;
          flex-direction: column;
          gap: 28px;
          flex-grow: 1; /* This makes the form card fill the column's height */
      }
      .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
      .form-field { display: flex; flex-direction: column; gap: 8px; }
      .form-field label { font-size: 14px; font-weight: 500; }
      .form-field input[type="text"], .form-field input[type="email"], .form-field input[type="url"], .form-field textarea, .form-field select { background: transparent; border: none; border-bottom: 1px solid var(--divider-color); padding: 12px 0; font-size: 16px; color: var(--text-color-light); font-family: inherit; outline: none; transition: border-color 0.3s ease; }
      .form-field input::placeholder, .form-field textarea::placeholder { color: #666; }
      .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-bottom-color: var(--text-color-light); }
      .form-field input:disabled { color: var(--text-color-muted-light); background-color: #222; border-bottom-style: dashed; padding-left: 10px; border-radius: 4px 4px 0 0;}
      .form-field textarea { resize: vertical; min-height: 80px; }
      .select-wrapper { position: relative; }
      .select-wrapper select { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; }
      .select-wrapper::after { content: '↓'; position: absolute; right: 0; bottom: 12px; font-size: 16px; color: var(--text-color-muted-light); pointer-events: none; }
      .terms-wrapper { display: flex; align-items: center; gap: 12px; margin-top: auto; /* Pushes terms to the bottom of the form card */ }
      .terms-wrapper input[type="checkbox"] { -webkit-appearance: none; appearance: none; background-color: transparent; margin: 0; width: 1.15em; height: 1.15em; border: 1px solid var(--divider-color); border-radius: .5rem; display: grid; place-content: center; cursor: pointer; }
      .terms-wrapper input[type="checkbox"]::before { content: ""; width: 0.65em; height: 0.65em; transform: scale(0); transition: 120ms transform ease-in-out; box-shadow: inset 1em 1em var(--text-color-light); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
      .terms-wrapper input[type="checkbox"]:checked::before { transform: scale(1); }
      .terms-wrapper label { font-size: 14px; color: var(--text-color-muted-light); }
      .terms-wrapper a { color: var(--text-color-light); text-decoration: underline; }
      .submit-button { width: 100%; padding: 16px; font-size: 16px; font-weight: 500; color: #0a0a0a; background: linear-gradient(to bottom, #ffffff, #e0e0e0); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: .5rem; cursor: pointer; transition: all 0.3s ease; }
      .submit-button:hover { background: linear-gradient(to bottom, #f5f5f5, #d5d5d5); transform: translateY(-2px); }

      /* Utility Classes */
      .hidden { display: none !important; }

      /* Responsive Design */
      @media (max-width: 1024px) {
          .contact-container { grid-template-columns: 1fr; gap: 60px; }
      }
      @media (max-width: 768px) {
          .form-grid { grid-template-columns: 1fr; }
      }






/* === VISION SECTION (WHITE THEME) === */
.vision-section { 
  padding: 120px 6%; 
  text-align: center; 
  background-color: var(--dark-bg);
 } 

 .vision-content { 
  max-width: 800px; 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
 } 

 .vision-title { 
  font-size: clamp(2.2rem, 5vw, 2.2rem); 
  font-weight: 600; 
  line-height: 1.3; 
  margin: 0 0 24px 0; 
  color: #FFFFFF; /* White text for title */ 
 } 

 .vision-description { 
  font-size: 18px; 
  color: #A0A0A0; /* Light gray text for description */ 
  line-height: 1.6; 
  max-width: 600px; 
  margin: 0 0 32px 0; 
 } 

 .vision-cta { 
  font-size: 18px; 
  font-weight: 500; 
  display: inline-block; 
  color: #FFFFFF; /* White text for CTA link */ 
 } 

/* === PRICING SECTION === */
.pricing-section { padding: 120px 6%; background-color: #050505; }
.pricing-header { text-align: center; max-width: 800px; margin: 0 auto 80px auto; }
.pricing-title { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 600; line-height: 1.2; margin: 0 0 24px 0; }
.pricing-subtitle { font-size: 18px; color: var(--text-color-muted-light); line-height: 1.6; max-width: 550px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.pricing-card { background-color: var(--card-dark-bg); border: 1px solid var(--card-border-color); border-radius: .5rem; padding: 32px; display: flex; flex-direction: column; }
.pricing-card.highlighted { border-color: #e32b2b; background-color: #1a1813; }
.card-header { min-height: 150px; }
.plan-label { font-size: 14px; color: var(--text-color-muted-light); margin: 0 0 8px 0; }
.plan-label.yellow-label { color:#e32b2b; font-weight: 500; }
.plan-name { font-size: 40px; font-weight: 600; margin: 0; line-height: 1.2; }
.plan-price { font-size: 24px; font-weight: 500; color: var(--text-color-muted-light); margin: 8px 0 0 0; }
.card-divider { height: 1px; background-color: var(--divider-color); margin: 24px 0; }
.card-cta { width: 100%; padding: 14px; text-align: center; font-size: 16px; font-weight: 500; color: #0a0a0a; background: linear-gradient(to bottom, #ffffff, #e0e0e0); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: .5rem; transition: all 0.3s ease; }
.card-cta:hover { background: linear-gradient(to bottom, #f5f5f5, #d5d5d5); transform: translateY(-2px); }
.card-description { font-size: 16px; line-height: 1.6; color: var(--text-color-muted-light); margin: 24px 0; min-height: 70px; }
.features-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.features-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.checkmark { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-card { max-width: 500px; margin: 0 auto; width: 100%; } }

/* === FAQ SECTION (REVISED) === */
.faq-section { 
    padding: 100px 6%; 
}
.faq-container { 
    max-width: 900px; 
    margin: 0 auto; 
    background-color: #111; 
    border: 1px solid var(--card-border-color); 
    border-radius: .5rem; 
    padding: 36px 60px; 
}
.faq-title { 
    text-align: center; 
    font-size: clamp(2.2rem, 5vw, 2.5rem);
    font-weight: 600; 
    margin: 0 auto 40px auto; 
    max-width: 600px; 
    line-height: 1.3; 
}
.faq-item { 
    padding: 24px 0; 
    border-bottom: 1px solid var(--divider-color); 
}
.faq-item:last-child { 
    border-bottom: none; 
    padding-bottom: 0;
}
.faq-item:first-of-type {
    padding-top: 0;
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}
.faq-question { 
    font-size: 18px; 
    font-weight: 500; 
    margin: 0; 
    line-height: 1.4;
}
/* === FAQ TOGGLE ICON STYLES === */

.faq-toggle {
    position: relative;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: 1px solid #444;
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.faq-toggle span {
    background-color: #fff;
    position: absolute;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Horizontal bar */
.faq-toggle span:first-child {
    width: 14px;
    height: 2px;
}

/* Vertical bar */
.faq-toggle span:last-child {
    width: 2px;
    height: 14px;
}


/* --- ACTIVE STATE --- */
/* This is the new part you need to add */

/* When the item is active, make the vertical bar disappear */
.faq-item.active .faq-toggle span:last-child {
    transform: scaleY(0);
    opacity: 0;
}

/* Optional: change the background color of the toggle when active */
.faq-item.active .faq-toggle {
    background-color: #222;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
}
.faq-answer p {
    color: var(--text-color-muted-light);
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
    padding-right: 44px; /* Align text with question, accounting for toggle width */
}
.faq-answer p a {
    color: var(--text-color-light);
    text-decoration: underline;
}

/* Active State Styles */
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust if your answers are longer */
    padding-top: 16px;
}
/* This makes the vertical bar disappear smoothly */
.faq-item.active .faq-toggle span:last-child {
    transform: scaleY(0);
    opacity: 0;
}
.faq-item.active .faq-toggle {
    background-color: #222;
}

@media (max-width: 768px) { 
    .faq-container { padding: 40px 24px; } 
    .faq-title { font-size: 28px; } 
    .faq-question { font-size: 16px; } 
    .faq-answer p { padding-right: 0; }
}

/* === REVISED MOBILE NAVIGATION & ACCORDION STYLES === */
.mobile-accordion-content {
  display: none;
}
@media (max-width: 1024px) {

  .desktop-nav-container .logo{
    display: none;
  }
  .desktop-nav-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; /* Corrected: Positions the menu below the header */
    left: 0;
    height: calc(100dvh - 60px); /* This calculation now works correctly */
    background-color: #000;
    padding: 24px 6% 40px; /* Corrected: Reduced top padding for better alignment */
    align-items: flex-start;
    justify-content: space-between;
    overflow-y: auto;
    margin: 0;
    margin-left: 0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    visibility: hidden;
  }

  .desktop-nav-container.mobile-active {
    transform: translateX(0%);
    opacity: 1;
    visibility: visible;
    width: 100%;
  }
.desktop-nav-container .nav-wrapper {
  width: 100%;
  flex-grow: 1; 
  overflow-y: auto; 
  padding-bottom: 30px; 
}

.desktop-nav-container .header-actions {
  flex-shrink: 0; 
}
  .desktop-nav-container .main-nav,
  .desktop-nav-container .header-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
  .nav-item{
    width: 100%;
  }
  .desktop-nav-container .nav-link {
    height: auto;
    font-size: 28px;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--divider-color);
    justify-content: space-between;
    color: var(--text-color-light);
  }
  .desktop-nav-container .nav-link .dropdown-arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .desktop-nav-container .nav-item.accordion-active > .nav-link .dropdown-arrow {
    transform: rotate(-180deg);
  }
  .mobile-accordion-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1),
      padding-top 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    padding-top: 0;
  }
  .nav-item.accordion-active > .mobile-accordion-content {
    max-height: 1000px;
    padding-top: 24px;
  }
  .mobile-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 16px;
    margin-bottom: 24px;
  }
  .mobile-sub-link {
    font-size: 18px;
    color: var(--text-color-muted-light);
    transition: color 0.3s ease;
  }
  .mobile-sub-link:hover {
    color: var(--text-color-light);
  }
  .mobile-featured-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-featured-card {
    position: relative;
    width: 100%;
    border-radius: .5rem;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: flex-end;
    color: white;
    padding: 16px;
  }
  .mobile-featured-card .card-background-image {
    z-index: 1;
    filter: brightness(0.9);
  }
  .mobile-featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
  }
  .mobile-featured-content {
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .mobile-featured-content h3 {
    font-size: 20px;
    margin: 0 0 4px 0;
    font-weight: 600;
  }
  .mobile-featured-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }
  .desktop-nav-container .header-actions a {
    padding-top: 32px;
    width: 100%;
  }
  .desktop-nav-container .contact-button {
    margin: 0;
    width: 100%;
    padding: 16px;
    font-size: 18px;
  }
}

/* === PIONEERING SECTION === */
.pioneering-section {
  padding: 120px 6%;
  background-color: var(--dark-bg);
}
.pioneering-container {
  max-width: 1200px;
  margin: 0 auto;
}
.pioneering-header {
  margin-bottom: 80px;
}
.ai-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--card-border-color);
  background-color: #111;
  border-radius: .5rem;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}
.pioneering-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 900px;
}
.pioneering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.pioneering-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: .5rem;
  display: block;
}
.pioneering-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-color-muted-light);
  margin: 0 0 24px 0;
}
.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 40px;
  color: var(--text-color-light);
  transition: color 0.3s ease;
}
.scroll-link:hover {
  color: var(--text-color-muted-light);
}
.scroll-link svg {
  transition: transform 0.3s ease;
}
.scroll-link:hover svg {
  transform: translateY(3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .pioneering-grid {
      grid-template-columns: 1fr;
      gap: 60px;
  }
  .pioneering-image-wrapper {
      max-width: 500px;
      margin: 0 auto;
  }
}



/* === SERVICES SHOWCASE SECTION (NORMAL LAYOUT) === */
.services-showcase-section {
  background-color: #f8f9fa;
  padding: 120px 6%;
}
.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: 4rem;
}
.showcase-content {
  max-width: 480px;
}
.showcase-content h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #0c0c0c;
}
.showcase-content > p {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin: 0 0 40px 0;
}
.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0c0c0c;
  margin: 0 0 4px 0;
}
.feature-item-text p {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin: 0;
}
.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #0c0c0c;
  transition: color 0.3s ease;
}
.showcase-link:hover {
  color: #555555;
}

/* Simplified Image Wrapper */
.showcase-image-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: .5rem;
}



/* Responsive adjustments */
@media (max-width: 992px) {
  .showcase-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 2.5rem;
  }
  .showcase-image-wrapper {
      order: -1;
      height: 350px; /* Adjust height for mobile */
  }
  .showcase-img-fg {
      height: 60%;
      width: 50%;
      bottom: -5%;
      right: 5%;
  }
}


.showcase-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 80px auto;
}
.showcase-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: #0c0c0c;
  margin: 0;
}

/* === PROJECTS SHOWCASE SECTION === */
.projects-section {
  padding: 120px 6%;
  background-color: var(--dark-bg);
}
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
}
.projects-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  text-align: center;
  margin: 0 auto 80px auto;
  max-width: 800px;
  line-height: 1.2;
}
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  /* align-items: center; <-- This line is removed to allow stretching */
  padding-top: 60px;
  border-top: 1px solid var(--divider-color);
}
.project-item:first-child {
  padding-top: 0;
  border-top: none;
}
.project-brand-image img {
  width: 100%;
  height: 100%; /* CHANGED: This makes the image fill the container's height */
  object-fit: cover;
  border-radius: .5rem;
}
.project-details {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-showcase-images {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.project-showcase-images img {
  width: 50%;
  height: 150px;
  object-fit: cover;
  border-radius: .5rem;
}
.project-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color-light);
  margin: 0;
  flex-grow: 1; /* Pushes metric to the bottom */
}
.project-metric {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 32px;
}
.metric-number {
  font-size: 100px;
  font-weight: 600;
  line-height: 0.8;
}
.metric-text {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-color-muted-light);
  padding-bottom: 8px; /* Aligns baseline with number */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .project-item {
      grid-template-columns: 1fr;
      gap: 40px;
  }
}
@media (max-width: 768px) {
  .project-item {

    gap: 16px;
}
  .projects-title {
      font-size: 2.2rem;
  }
  .project-brand-image img {
      height: 250px; /* Revert to a fixed height for the stacked mobile view */
  }
  .metric-number {
      font-size: 80px;
  }
  .project-showcase-images {
      flex-direction: column;
  }
  .project-showcase-images img {
      width: 100%;
  }
  
}

/* === CUSTOMER STORIES SECTION === */
.customer-stories-section {
  padding: 120px 0;
  background-color: var(--dark-bg);
  overflow: hidden; /* Must be hidden for infinite loop */
}
.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto 60px auto;
  padding: 0 6%;
  max-width: 1200px;
}
.stories-header-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  margin: 0 0 16px 0;
}
.stories-header-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color-muted-light);
  margin: 0;
  max-width: 450px;
}
.stories-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.stories-nav-button {
  width: 44px;
  height: 44px;
  border-radius: .5rem;
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  color: var(--text-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.stories-nav-button:hover {
  background-color: #2a2a2a;
  border-color: #444;
}
.stories-nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stories-slider-wrapper {
  margin-bottom: 60px;
}
.stories-slider-track {
  display: flex;
  padding: 0 6%;
  gap: 32px;
}
.story-card {
  position: relative;
  flex-shrink: 0;
  width: 30%;
  aspect-ratio: 4 / 5;
  border-radius: .5rem;
  overflow: hidden;
  color: white;
  cursor: pointer;
}
.story-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}
.story-card:hover .story-bg-img {
  transform: scale(1.05);
}
.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
  z-index: 2;
}
.story-client-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  max-height: 24px;
  max-width: 100px;
  filter: brightness(0) invert(1);
}
.story-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.story-card:hover .story-play-button {
  opacity: 1;
}
.story-card h3 {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 3;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* NEW Pagination Styles */
.stories-pagination {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
}
.pagination-line {
  height: 1px;
  background-color: var(--divider-color);
  flex-grow: 1;
}
.pagination-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px; /* Space between line and dots */
  flex-shrink: 0;
}
.stories-pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: .5rem;
  background-color: #444;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}
.stories-pagination-dot.active {
  background-color: #fff;
  width: 28px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .story-card {
      width: 45%;
  }
}
@media (max-width: 768px) {
  .stories-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
  }
  .stories-nav {
      align-self: flex-end;
  }
  .story-card {
      width: 80%;
  }
}

/* === PAYMENT QUOTE SECTION === */
.payment-quote-section {
  padding: 0 6% 120px; /* Aligns padding with other sections */
  background-color: #050505; /* Matches the pricing section background */
}

.payment-quote-container {
  max-width: 1200px;
  margin: 0 auto;
}

.payment-card {
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  border-radius: .5rem; /* Matches your standard border-radius */
  padding: 40px;
  text-align: center;
}

.payment-card h3 {
  font-size: 32px; /* Matches other section titles */
  font-weight: 600;
  margin: 0 0 16px 0;
}

.payment-card p {
  font-size: 18px; /* Matches standard paragraph text */
  color: var(--text-color-muted-light);
  max-width: 550px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.payment-form .form-row {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  max-width: 800px; /* Centers the form nicely */
  margin: 0 auto;
  flex-wrap: wrap; 
}

.payment-form .form-field {
  flex: 1; 
  text-align: left;
}

.payment-form .form-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Reusing your form input styles */
.payment-form .form-field input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--divider-color); /* Full border like newsletter */
  border-radius: .5rem;
  padding: 12px 16px;
  font-size: 16px;
  color: var(--text-color-light);
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.payment-form .form-field input:focus {
  border-color: var(--text-color-light);
  box-shadow: 0 0 0 3px var(--glow-color); /* Adds a nice glow on focus */
}

/* Reusing your primary button style */
.payment-form .submit-button {
  flex-shrink: 0;
  padding: 14px 32px;
  height: auto;
  margin-bottom: 0; /* Aligns with the bottom of the input fields */
}

/* Responsive adjustments for the payment form */
@media (max-width: 768px) {
  .payment-form .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .payment-form .submit-button {
    margin-top: 10px;
    padding: 16px;
  }
}

/* === CTA SECTION (STYLES FOR NEW DESCRIPTION) === */
.cta-content {
  gap: 0; /* Reset gap to control spacing with margins */
}

.cta-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color-muted-light);
  max-width: 600px; /* Keeps the text readable */
  margin: 24px 0 32px 0; /* Creates space above and below */
}


/* === STATS SECTION === */
.stats-section {
  padding: 120px 6%;
  background-color: var(--dark-bg);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stats-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 auto 80px auto;
  max-width: 800px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-card {
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  border-radius: .5rem;
  padding: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}



.stat-number {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 600;
  line-height: 1;
  margin: 0 0 16px 0;
  color: var(--text-color-light);
}

.stat-label {
  font-size: 16px;
  color: var(--text-color-muted-light);
  line-height: 1.5;
  margin: 0;
  min-height: 3em; /* Helps align text across cards */
}

/* === RESPONSIVE STATS SECTION (NEW) === */

/* For tablets and small laptops (up to 1074px) */
@media (max-width: 1074px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
  .stat-card:nth-child(3) {
    grid-column: 1 / -1; /* Makes the 3rd card span the full width */
  }
}

/* For mobile (up to 768px) - This will override the above */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr; /* 1 column */
  }
  .stat-card:nth-child(3) {
    grid-column: auto; /* Resets the span for single column layout */
  }
  .stats-title {
    font-size: 2.2rem;
  }
}



/* === FULLY CUSTOM SELECT DROPDOWN STYLES === */

/* Main container for the custom select */
.custom-select-container {
  position: relative;
  width: 100%;
}

/* The clickable box that shows the selected value */
.custom-select-trigger {
  /* Mimic the style of other text inputs */
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider-color);
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-color-light);
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s ease;
}

/* Change border color when the dropdown is open (active) */
.custom-select-container.open .custom-select-trigger {
  border-bottom-color: var(--text-color-light);
}

/* Style for the placeholder text */
.selected-option.placeholder {
  color: #666;
}

/* The custom arrow icon */
.custom-arrow {
  color: var(--text-color-muted-light);
  transition: transform 0.3s ease;
}

/* Rotate the arrow when the dropdown is open */
.custom-select-container.open .custom-arrow {
  transform: rotate(180deg);
}

/* The list of options */
.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-border-color);
  border-radius: .5rem;
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 0 0;
  z-index: 10;
  
  /* Animation for showing/hiding */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

/* Show the options list when the container is open */
.custom-select-container.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Individual option items */
.custom-options li {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: var(--text-color-light);
}

/* Hover effect for options */
.custom-options li:hover {
  background-color: rgba(255, 255, 255, 0.08);
}



