:root {
 --primary: #0A2540;
 --accent: #E85D35;
 --light-bg: #F7F5F2;
 --text-dark: #1A1A1A;
 --text-light: #666666;
 --border: #E0DDD8;
}

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

/* Improve touch targets for mobile */
a,
button,
.service-card,
.case-card,
.insight-card {
  -webkit-tap-highlight-color: transparent;
}


body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: white;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo a{
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}/* 1. Ensure the nav is the reference point */
nav {
  position: relative;
}

/* 2. Hide the mega menu by default */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  width: 100vw;
  /* Full screen width like Bain */
  background: #ffffff;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 40px 0;
  border-top: 1px solid #eee;
}

/* 3. SHOW on hover */
.has-mega:hover .mega-menu {
  display: block;
}

/* 4. Layout for the content inside */
.mega-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.mega-column h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.mega-column a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
}

.mega-column a:hover {
  color: #000;
  text-decoration: underline;
}

.cta-button {
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #D14D25;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 53, 0.3);
}/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}



/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: 85vh;
  background: linear-gradient(135deg, var(--primary) 0%, #0D3A5F 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(232, 93, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}


.hero-content{

    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    position: relative;
    z-index: 1;
    color: white;
  }
.hero-content h2{
  color:white;
}
.hero-content h3 {
    color: white;

  }

  .hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .hero h1 strong {
    font-weight: 700;
    color: var(--accent);
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero p {
    font-family: 'Source Serif 4', serif;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }

  .hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
  }

  .btn-primary,
  .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }

  .btn-primary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
  }

  .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translate(-2px);
  }

  .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
  }

  .btn-secondary:hover {
    border-color: white;
    transform: translateY(-2px);
  }


 * Stats Section */ 
 .stats {
    background: var(--light-bg);
    padding: 4rem 3rem;
    animation: fadeIn 1s ease-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
 
  .stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }

  .stat-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .stat-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .stat-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .stat-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .stat-item:nth-child(4) {
    animation-delay: 0.4s;
  }

  .stat-number {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
  }

  .stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
  }

  /* Services Section */
  .services {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .section-header {
    margin-bottom: 4rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .service-flavor {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #007bff;
    /* Adds a professional accent line */
    margin-bottom: 20px;
  }

  .service-flavor h3 {
    font-family: 'Fraunces', serif;
    /* Matching your existing font choice */
    color: #333;
    margin-top: 0;
  }

  .flavor-details {
    list-style: none;
    /* Removes default bullets for a cleaner look */
    padding-left: 0;
  }

  .flavor-details li {
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    /* Matching your body font */
    line-height: 1.6;
  }

  .flavor-details li strong {
    color: #007bff;
    /* Highlights the labels */
  }

  .section-title {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary);
    max-width: 800px;
    line-height: 1.2;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .service-card {
    background: white;
    padding: 3rem;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
  }

  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }

  .service-card:hover::before {
    height: 100%;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    transition: all 0.4s ease;
  }

  .service-card:hover .service-icon {
    background: var(--accent);
    transform: rotate(10deg) scale(1.1);
  }

  .service-title {
    font-family: 'Source Serif 4', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
  }

  .service-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .service-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
  }

  .service-link:hover {
    gap: 1rem;
  }

 

  /* Add this to your styles.css */
  .section-container {
    padding: 80px 20px;
    /* Matching the Hero's breathing room */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    /* Centers the whole section on the page */
  }

 .section-container h2{
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .section-container p {
    line-height: 1.6;
    color: #555;
    /* Matching your Hero's readability */
  }

  /* Add this to styles.css */
  .hero.hero-small {
    min-height: 50vh;
    /* Shorter height for sub-pages */
  }

  /* Ensure section-container text is readable */
  .section-container {
    padding: 80px 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .hero-content ul {
    list-style: none;
    margin-top: 2rem;
  }

  .hero-content li {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Source Serif 4', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-content li strong {
    color: var(--accent);
  }



  

  /* Case Studies */
  .case-studies {
    background: var(--primary);
    padding: 8rem 3rem;
    color: white;
  }

  .case-studies-container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .case-studies .section-subtitle {
    color: var(--accent);
  }

  .case-studies .section-title {
    color: white;
  }

  .cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
  }

  .case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .case-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
  }

  .case-industry {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
  }

  .case-title {
    font-family: 'Source Serif 4', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .case-result {
    font-size: 3rem;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
  }

  .case-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
  }

  /* Insights Section */
  .insights {
    padding: 8rem 3rem;
    background: var(--light-bg);
  }

  .insights-container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .insights-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
  }

  .featured-insight {
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .featured-insight:hover {
    transform: translateY(-8px);
  }

  .insight-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
  }

  .insight-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  }

  .insight-content {
    padding: 2.5rem;
  }

  .insight-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
  }

  .insight-title {
    font-family: 'Source Serif 4', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .insight-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .insight-meta {
    font-size: 0.9rem;
    color: var(--text-light);
  }

  .side-insights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .side-insight {
    background: white;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .side-insight:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .side-insight .insight-title {
    font-size: 1.3rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, #0D3A5F 100%);
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 93, 53, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
  }

  @keyframes float {

    0%,
    100% {
      transform: translate(0, 0);
    }

    50% {
      transform: translate(-100px, -100px);
    }
  }

  .cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .cta-content h3 {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  .cta-content p {
    font-family: 'Source Serif 4', serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.7;
  }

  /* Footer */
  footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 3rem 2rem;
  }

  .footer-container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
  }

  .footer-brand h3 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  .footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
  }

  .footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--accent);
  }

  .footer-links ul {
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 0.8rem;
  }

  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: white;
  }

  .footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
  }

  .social-links {
    display: flex;
    gap: 1.5rem;
  }

  .social-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .social-links a:hover {
    color: var(--accent);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .nav-container {
      padding: 1.5rem 2rem;
    }

    .hero h1 {
      font-size: 3.5rem;
    }

    .hero-content {
      padding: 4rem 2rem;
    }

    .services,
    .insights,
    .case-studies {
      padding: 6rem 2rem;
    }

    .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .cases-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .stats-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem;
    }

    .insights-grid {
      grid-template-columns: 1fr;
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
  }

  @media (max-width: 768px) {

    /* Navigation - Mobile Menu */
    .nav-container {
      padding: 1rem 1.5rem;
    }

    .menu-toggle {
      display: flex;
    }

    .nav-links {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: white;
      flex-direction: column;
      padding: 2rem;
      gap: 1.5rem;
      transition: left 0.3s ease;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      overflow-y: auto;
    }

    .nav-links.active {
      left: 0;
    }

    .nav-links li {
      width: 100%;
      border-bottom: 1px solid var(--border);
      padding-bottom: 1rem;
    }

    .nav-links a {
      font-size: 1.1rem;
      display: block;
      padding: 0.5rem 0;
    }

    .cta-button {
      width: 100%;
      margin-top: 1rem;
    }

    /* Hero Section - Mobile */
    .hero {
      min-height: 70vh;
      margin-top: 70px;
    }

    .hero-content {
      padding: 3rem 1.5rem;
    }


    .hero h1 {
      font-size: 2.2rem;
      margin-bottom: 1.5rem;
    }

    .hero h1,
    .hero h2 {
        font-family: 'Fraunces', serif;
        font-size: 5rem;
        font-weight: 300;
        color: white;
        line-height: 1.1;
        margin-bottom: 2rem;
        max-width: 900px;
        animation: fadeInUp 0.8s ease-out 0.2s both;

      }

      .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
      }

      .hero-buttons {
        flex-direction: column;
        gap: 1rem;
      }

      .btn-primary,
      .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
  }
      /* Stats - Mobile */
      .stats {
        padding: 3rem 1.5rem;
      }

      .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .stat-number {
        font-size: 2.5rem;
      }

      /* Services - Mobile */
      .services {
        padding: 4rem 1.5rem;
      }

      .section-title {
        font-size: 2rem;
        line-height: 1.3;
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .service-card {
        padding: 2rem;
      }

      /* Case Studies - Mobile */
      .case-studies {
        padding: 4rem 1.5rem;
      }

      .case-card {
        padding: 2rem;
      }

      .case-title {
        font-size: 1.5rem;
      }

      .case-result {
        font-size: 2.2rem;
      }

      /* Insights - Mobile */
      .insights {
        padding: 4rem 1.5rem;
      }

      .insight-image {
        height: 250px;
      }

      .insight-content {
        padding: 1.5rem;
      }

      .insight-title {
        font-size: 1.5rem;
      }

      .side-insight .insight-title {
        font-size: 1.1rem;
      }

      /* CTA - Mobile */
      .cta-section {
        padding: 4rem 1.5rem;
      }

      .cta-content h2 {
        font-size: 2rem;
      }

      .cta-content p {
        font-size: 1.1rem;
      }

      /* Footer - Mobile */
      footer {
        padding: 3rem 1.5rem 2rem;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
      }
    }


    /* Extra Small Devices */
    @media (max-width: 480px) {
      .hero h1 {
        font-size: 1.8rem;
      }

      .section-title {
        font-size: 1.8rem;
      }

      .stat-number {
        font-size: 2rem;
      }

      .service-title {
        font-size: 1.3rem;
      }

      .case-title {
        font-size: 1.3rem;
      }

      .cta-content h2 {
        font-size: 1.8rem;
      }

      .nav-container {
        padding: 1rem;
      }

      .logo {
        font-size: 1.5rem;
      }
    }

    /*
.narrow-footer{
  max-width: 1000px;
  /* New max-width for this page 
  margin-top:-20px;
  padding: 0;
  }
*/
.mylist  a{
  color:white;
 }
    