// Import partials
@import 'variables';
@import 'animations';
@import 'components';

// Reset & Base Styles
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: $font-primary;
    font-size: $font-size-base;
    line-height: 1.6;
    color: $black;
    background: $off-white;
    overflow-x: hidden;
}

// Navigation
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba($white, 0.9);
    backdrop-filter: blur(15px);
    z-index: $z-index-fixed;
    padding: $spacing-lg 0;
    transition: all $transition-base;
    
    &.scrolled {
        padding: $spacing-md 0;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        background: rgba($white, 0.98);
    }
    
    .nav-wrapper {
        display: grid;
        grid-template-columns: 200px 1fr 200px;
        align-items: center;
        gap: $spacing-2xl;
        
        @media (max-width: $breakpoint-md) {
            grid-template-columns: 1fr auto;
        }
    }
    
    .logo {
        img {
            height: 45px;
            transition: all $transition-base;
        }
    }
    
    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: $spacing-xl;
        
        @media (max-width: $breakpoint-md) {
            display: none;
        }
    }
    
    .nav-cta {
        justify-self: end;
        
        @media (max-width: $breakpoint-md) {
            display: none;
        }
    }
    
    .nav-link {
        color: $black;
        text-decoration: none;
        font-weight: 500;
        transition: all $transition-base;
        position: relative;
        padding: $spacing-sm 0;
        
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: $primary-gold;
            transition: width $transition-base;
        }
        
        &:hover {
            color: $primary-gold;
            
            &::after {
                width: 100%;
            }
        }
    }
    
    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        justify-self: end;
        
        @media (max-width: $breakpoint-md) {
            display: flex;
        }
        
        span {
            width: 25px;
            height: 3px;
            background: $black;
            transition: all $transition-base;
            border-radius: 2px;
        }
        
        &.active {
            span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            
            span:nth-child(2) {
                opacity: 0;
            }
            
            span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
        }
    }
}

// Hero Section
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    
    .hero-bg {
        position: absolute;
        top: -70px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        
        .hero-bg-image {
            width: 100%;
            height: calc(100% + 70px);
            object-fit: cover;
            object-position: center top;
            position: absolute;
            top: 0;
            left: 0;
        }
    }
    
    .hero-animated-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;

        .hero-icon {
            position: absolute;
            display: block;
            border-radius: 50%;
            animation-iteration-count: infinite;
            animation-timing-function: linear;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            &.icon-1 {
                width: 60px; height: 60px; top: 15%; left: 10%;
                animation-name: hero-icon-float-1; animation-duration: 15s;
                opacity: 0.5;
            }
            &.icon-2 {
                width: 80px; height: 80px; top: 20%; left: 85%;
                animation-name: hero-icon-float-2; animation-duration: 18s; animation-delay: 2s;
                opacity: 0.7;
            }
            &.icon-3 {
                width: 100px; height: 100px; top: 70%; left: 5%;
                animation-name: hero-icon-float-3; animation-duration: 22s;
                opacity: 0.6;
            }
            &.icon-4 {
                width: 150px; height: 80px; top: 80%; left: 70%;
                animation-name: hero-icon-float-3; animation-duration: 12s; animation-delay: 1s;
                opacity: 1;
            }
            &.icon-5 {
                width: 50px; height: 50px; top: 50%; left: 50%; transform: translateX(-50%);
                animation-name: hero-icon-float-1; animation-duration: 20s; animation-delay: 3s;
                opacity: 0.3;
            }
            &.icon-6 {
                width: 120px; height: 40px; top: 65%; left: 60%;
                animation-name: hero-icon-float-3; animation-duration: 28s; animation-delay: 4s;
                opacity: 0.25;
            }
            &.icon-7 {
                width: 35px; height: 35px; top: 5%; left: 40%;
                animation-name: hero-icon-float-2; animation-duration: 16s;
                opacity: 0.8;
            }
        }
        @media (max-width: $breakpoint-md) {
            .hero-icon {
                &.icon-1, &.icon-2, &.icon-3, &.icon-5, &.icon-6 {
                    transform: scale(0.7);
                }
                &.icon-4, &.icon-7 {
                    display: none;
                }
            }
        }
    }

    .hero-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 2;
        height: 100%;
        width: 100%;
        gap: 60px;
        @media (max-width: $breakpoint-lg) {
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }
    }
    
    .hero-text {
        max-width: 580px;
        padding-right: $spacing-2xl;
        
        @media (max-width: $breakpoint-lg) {
            max-width: 100%;
            padding-right: 0;
            margin-bottom: $spacing-2xl;
        }
    }

    .mobile-showcase {
        position: relative;
        margin-right: -130px;
        .mobile-phones {
            max-width: 650px;
            width: 100%;
            filter: drop-shadow(0 20px 50px rgba(0,0,0,0.2));
        }
        
        @media (max-width: $breakpoint-lg) {
            display: none;
        }
    }
    
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: $spacing-sm;
        background: rgba($white, 0.9);
        backdrop-filter: blur(5px);
        color: $primary-gold-dark;
        border: 1px solid rgba($primary-gold, 0.5);
        box-shadow: 0 8px 25px rgba($primary-gold, 0.25);
        border-radius: $radius-full;
        margin-bottom: $spacing-md;
        padding: 16px 32px;
        font-size: 1.2rem;
        font-weight: 600;
        
        .badge-icon {
            width: 20px;
            height: 20px;
        }
        
        @media (max-width: $breakpoint-md) {
            padding: 10px 18px;
            font-size: 0.9rem;
        }
    }

    .hero-title {
        font-size: clamp(1.5rem, 3.5vw, 3rem);
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: $spacing-md;
        color: $black;
        letter-spacing: -0.5px;

        .text-highlight {
            color: $primary-orange;
        }
    }

    .hero-subtitle {
        font-size: $font-size-base;
        color: rgba($black, 0.7);
        margin-bottom: $spacing-xl;
        line-height: 1.6;
        max-width: 500px;
        
        @media (max-width: $breakpoint-lg) {
            margin: 0 auto $spacing-xl;
        }
    }
    
    .hero-buttons {
        .hero-button {
            display: inline-flex;
            font-weight: 600;
            padding: $spacing-lg $spacing-2xl;
            font-size: $font-size-lg;
            border-radius: $radius-full;
            border: none;
            cursor: pointer;
            transition: all $transition-base;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
            background: $gold-gradient;
            color: $black;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: -150%;
                width: 100%;
                height: 100%;
                background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.6) 50%, transparent 80%);
                transform: skewX(-25deg);
                transition: left 0.8s ease;
            }

            &:hover {
                transform: translateY(-3px) scale(1.03);
                box-shadow: 0 15px 35px rgba($primary-gold, 0.3);

                &::before {
                    left: 150%;
                }
            }
            
            @media (max-width: $breakpoint-md) {
                padding: $spacing-md $spacing-xl;
                font-size: $font-size-base;
            }
        }
    }
}

.logo-slider-section {
    background: $white;
    padding: $spacing-3xl 0;
    position: relative;
    overflow: hidden;

    &::before,
    &::after {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        width: 200px;
        z-index: 2;
        pointer-events: none;
    }

    &::before {
        left: 0;
        background: linear-gradient(to right, $white, transparent);
    }

    &::after {
        right: 0;
        background: linear-gradient(to left, $white, transparent);
    }

    .logo-slider-track {
      display: flex;
      align-items: center;
      animation: logo-scroll 40s linear infinite;
      width: fit-content;
    }

    .logo-item {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 250px;
        height: 80px;
        flex-shrink: 0;
        padding: 0 $spacing-xl;
    }

    .logo-img {
      max-width: 150px;
      max-height: 45px;
      width: auto;
      height: auto;
      object-fit: contain;
      opacity: 0.8;
      transition: all $transition-base;
    }

    .logo-item:hover .logo-img {
      opacity: 1;
      transform: scale(1.1);
    }
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1500px);
  }
}

// ** MODIFIED: Features Section **
.features {
    padding: $spacing-2xl 0 $spacing-4xl; // Reduced top padding to lessen the gap
    background: $white;
    
    .section-header {
        margin-bottom: $spacing-3xl;
    }

    .features-grid-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: $spacing-2xl;
        @media (max-width: $breakpoint-lg) {
            flex-direction: column;
        }
    }

    .features-column {
        display: flex;
        flex-direction: column;
        gap: $spacing-xl;
    }

    .features-center-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: $spacing-md;
        margin: 0 $spacing-xl;
        
        .center-logo-icon { max-width: 150px; }
        .center-logo-font { max-width: 220px; }

        @media (max-width: $breakpoint-lg) {
            order: -1; // Moves logo to the top on mobile screens
            margin-bottom: $spacing-2xl;
        }
    }

    // Class for the pop-in animation on scroll
    .pop-in {
        animation: popIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        animation-play-state: paused;
        opacity: 0; // Start hidden
    }
    
    .feature-card {
        background: linear-gradient(135deg, $white 0%, #FFFBE5 100%);
        border: 1px solid #F3E9C4;
        border-radius: $radius-lg;
        padding: $spacing-xl;
        width: 380px;
        box-shadow: $shadow-md;
        transition: all $transition-base;
        position: relative;
        
        h3 {
            font-size: $font-size-lg;
            font-weight: 600;
            margin-bottom: $spacing-sm;
            padding-right: 40px; // Make space for corner icon
        }

        p {
            color: $dark-gray;
            font-size: $font-size-base;
        }

        &:hover {
            transform: translateY(-8px);
            box-shadow: $shadow-xl;
        }
    }

    .card-corner-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $gold-gradient;
        box-shadow: 0 4px 10px rgba($primary-gold, 0.3);

        svg {
            width: 22px;
            height: 22px;
            stroke: $black;
        }
    }
}

// Animation for the central logo
@keyframes subtle-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

//promo section
.promo-section {
min-height: 740px; 
display: flex;
align-items: center;
justify-content: center;
padding: auto auto;

background: linear-gradient(120deg, #fffbe5 0%, #ffe5a5 55%, #fff 100%);

@media (max-width: 800px) {
    padding: 40px 0;
    min-height: 340px;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    .promo-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    background: transparent;
    object-fit: contain;

    @media (max-width: 600px) {
        max-width: 94vw;
        border-radius: 18px;
    }
    }
}
}


//vendor guide section
.vendor-guide-section {
  background: #fff;
  padding: 90px 0 60px 0;

  .vendor-guide-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #252525;
    letter-spacing: 0.01em;
  }
  .vendor-guide-desc {
    text-align: center;
    font-size: 1.14rem;
    color: #888;
    margin-bottom: 44px;
  }

  .vendor-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;

    @media (max-width: 980px) {
      flex-direction: column;
      gap: 40px;
    }
  }

  .vendor-guide-image {
    flex: 1 1 55%;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    img {
      width: 100%;
      height: auto;
      display: block;
      
    }
  }

  .vendor-guide-steps {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 36px;
    min-width: 350px;
    max-width: 540px;

    .vendor-step-card {
      background: #f6f7f9;
      color: #222;
      border-radius: 22px;
      box-shadow: 0 6px 28px 0 rgba(185,134,11,0.08);
      padding: 36px 42px;
      display: flex;
      align-items: center;
      gap: 32px;
      font-size: 1.45rem;
      font-weight: 600;
      cursor: pointer;
      position: relative;
      transition: background 0.33s cubic-bezier(.5,1.6,.6,.99), color 0.22s, box-shadow 0.19s;
      min-height: 88px;

      .vendor-step-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
        background: #f4f3f2;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        color: #b8860b;
        transition: background 0.33s, color 0.24s;
        img, svg {
          width: 38px;
          height: 38px;
        }
      }

      &:hover, &:focus {
        background: linear-gradient(120deg, #ffe376 0%, #ffc800 100%);
        color: #fff;
        box-shadow: 0 8px 40px 0 rgba(185,134,11,0.18);

        .vendor-step-icon {
          background: #b8860b;
          color: #fff;
          img, svg {
            filter: brightness(0) invert(1);
          }
        }
      }
    }
  }
}
// Distributor Section
.compare-section {
  background: #fff;
  padding: 60px 0 0 0;
  position: relative;
  z-index: 2;

  .dotted-curve-container {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
    text-align: center;
    .dotted-curve {
      width: 100%;
      max-width: 1100px;
      height: 100px;
      margin: 0 auto;
      display: block;
    }
    .distributor-btn {
      position: absolute;
      top: 160px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg,#FFD600,#B8860B);
      color: #fff;
      border: none;
      padding: 18px 48px;
      border-radius: 16px;
      font-size: 1.3rem;
      font-weight: 700;
      box-shadow: 0 4px 24px 0 rgba(185,134,11,0.13);
      cursor: pointer;
      transition: background 0.24s, transform 0.24s;
      z-index: 5;
      &:hover {
        background: linear-gradient(120deg,#FFC800,#FFD600 85%);
        transform: translateX(-50%) scale(1.05);
      }
    }
  }

  .compare-cards {
    display: flex;
    gap: 36px;
    max-width: 1280px;
    margin: 150px auto 0 auto;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    align-items: stretch;

    @media (max-width: 1000px) {
      flex-direction: column;
      gap: 34px;
      align-items: center;
    }
  }

  .compare-card {
    flex: 1 1 410px;
    min-width: 320px;
    max-width: 530px;
    background: linear-gradient(120deg, #fffbe5 0%, #fff9e1 100%);
    border-radius: 18px;
    box-shadow: 0 4px 38px 0 rgba(185,134,11,0.09);
    padding: 38px 42px 32px 42px;
    border: 1.5px solid #f3e9c4;
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: opacity 0.6s cubic-bezier(.5,1.6,.6,.99), transform 0.6s cubic-bezier(.5,1.6,.6,.99);

    &.fade-in-up.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    &.delay-1 {
      transition-delay: 0.14s;
    }

    h3 {
      text-align: center;
      font-size: 1.68rem;
      font-weight: 700;
      color: #463d20;
      margin-bottom: 8px;
    }
    .subtitle {
      text-align: center;
      color: #9b8d4a;
      margin-bottom: 22px;
      font-size: 1.09rem;
    }
    .timeline {
      border-left: 2px dashed #e4d9b0;
      padding-left: 32px;
      margin-top: 10px;
      .timeline-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 24px;
        &:last-child { margin-bottom: 0; }
        .timeline-dot {
          margin-right: 18px;
          width: 22px;
          height: 22px;
          border-radius: 5px;
          box-shadow: 0 2px 8px 0 rgba(185,134,11,0.11);
          flex-shrink: 0;
        }
        strong {
          font-weight: 700;
          color: #b8860b;
          font-size: 1.05rem;
          margin-bottom: 2px;
          display: block;
        }
        p {
          color: #3e3823;
          margin: 2px 0 0 0;
          font-size: 1rem;
        }
      }
    }
  }
}


// ** UPDATED: How It Works Section **
.how-it-works {
    padding: $spacing-4xl 0;
    background: $white;
    
    .section-header {
        margin-bottom: $spacing-3xl;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: $spacing-xl;

        @media (max-width: $breakpoint-lg) {
            grid-template-columns: repeat(2, 1fr);
        }
        @media (max-width: $breakpoint-sm) {
            grid-template-columns: 1fr;
        }
    }

    .step-card {
        background: $white;
        border: 1px solid $gray;
        border-radius: $radius-xl;
        padding: $spacing-2xl $spacing-xl;
        text-align: center;
        box-shadow: $shadow-sm;
        transition: all $transition-base;
        
        // MODIFIED: Updated hover state
        &:hover {
            transform: translateY(-10px);
            box-shadow: $shadow-lg;
            border-color: $primary-gold;
            background: linear-gradient(135deg, $white 0%, $secondary-gold 100%); // Goldenish white gradient on hover
        }
    }

    .step-icon {
        margin-bottom: $spacing-lg;
        
        svg {
            width: 64px;
            height: 64px;
            stroke: $primary-gold;
            stroke-width: 1.5;
            fill: rgba($primary-gold, 0.05);
        }

        &.is-animating {
            animation: icon-float 4s ease-in-out infinite;
        }
    }

    .step-description {
        font-size: $font-size-lg;
        font-weight: 500;
        color: $black;
        max-width: 200px;
        margin: 0 auto;
    }

    .steps-cta {
        text-align: center;
        margin-top: $spacing-3xl;
    }
}


// Stats Section
.stats {
    padding: $spacing-3xl 0;
    // MODIFIED: Changed background to a white-to-gold gradient
    background: linear-gradient(135deg, $white 0%, $secondary-gold 100%);
    
    .stats-grid {
        @extend .grid-4;
        text-align: center;
    }
    
    .stat-item {
        // MODIFIED: Text colors updated for the new light background
        .stat-number {
            font-size: $font-size-4xl;
            font-weight: 800;
            margin-bottom: $spacing-sm;
            // ADDED: Golden gradient text effect for a premium look
            background: $gold-gradient;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        p {
            font-size: $font-size-lg;
            color: $dark-gray; // Softer color for the labels
        }
    }
}


.contact-faq-section {
  padding: 80px 0 64px 0;
  background: #fff;

  .section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #232323;
  }
  .section-subtitle {
    text-align: center;
    font-size: 1.14rem;
    color: #8a8782;
    margin-bottom: 38px;
  }
  .contact-faq-grid {
    display: flex;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: flex-start;

    @media (max-width: 1000px) {
      flex-direction: column;
      gap: 38px;
    }
  }

  .contact-card,
  .faq-card {
    flex: 1 1 400px;
    background: linear-gradient(135deg, #faf9ff 70%, #fffbe7 100%);
    box-shadow: 0 8px 32px 0 rgba(100,70,20,0.09);
    border-radius: 14px;
    padding: 36px 30px 30px 30px;
    min-width: 420px;
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    h3 {
      font-size: 1.3rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 4px;
      color: #333;
    }
    .desc {
      font-size: 1.06rem;
      color: #90896a;
      text-align: center;
      margin-bottom: 18px;
    }
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
    label {
      font-size: 1.04rem;
      font-weight: 500;
      color: #2e2e2e;
      display: flex;
      flex-direction: column;
      gap: 6px;
      input, textarea {
        font-size: 1.07rem;
        padding: 11px 15px;
        border: 1.5px solid #e6dba7;
        border-radius: 8px;
        background: #fffef8;
        color: #37322a;
        transition: border-color 0.22s;
        &:focus {
          border-color: #ffd700;
          outline: none;
        }
      }
      textarea {
        min-height: 80px;
        resize: vertical;
      }
    }
    .golden-btn {
      margin-top: 8px;
      background: linear-gradient(120deg,#FFD600,#B8860B);
      color: #fff;
      font-size: 1.15rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      padding: 13px 0;
      cursor: pointer;
      box-shadow: 0 3px 10px 0 rgba(185,134,11,0.10);
      transition: background 0.24s, transform 0.16s;
      &:hover {
        background: linear-gradient(120deg,#FFC800,#FFD600 90%);
        transform: translateY(-2px) scale(1.04);
      }
    }
  }

  .faq-accordion {
    .faq-item {
      border-bottom: 1px solid #efe7cf;
      &:last-child { border-bottom: none; }
      .faq-question {
        width: 100%;
        background: none;
        border: none;
        text-align: left;
        font-size: 1.11rem;
        font-weight: 300;
        color: #333;
        padding: 19px 0;
        cursor: pointer;
        position: relative;
        transition: color 0.18s;
        outline: none;
        &::after {
          content: '';
          border: solid #c8b26a;
          border-width: 0 3px 3px 0;
          display: inline-block;
          padding: 4px;
          position: absolute;
          right: 8px;
          top: 30%;
          transform: rotate(45deg);
          transition: transform 0.24s;
        }
      }
      &.active .faq-question {
        color: #b8860b;
        &::after {
          transform: rotate(-135deg);
        }
      }
      .faq-answer {
        display: none;
        font-size: 1.04rem;
        color: #625b44;
        padding-bottom: 17px;
        padding-right: 18px;
        line-height: 1.6;
        animation: fadeInAccordion 0.38s;
      }
      &.active .faq-answer {
        display: block;
      }
    }
  }
}

// Accordion answer animation
@keyframes fadeInAccordion {
  from { opacity: 0; transform: translateY(-10px);}
  to   { opacity: 1; transform: translateY(0);}
}

// CTA Section
.cta {
    padding: $spacing-4xl 0;
    background: $white;
    
    .cta-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
        
        h2 {
            font-size: $font-size-4xl;
            font-weight: 800;
            margin-bottom: $spacing-lg;
            
            @media (max-width: $breakpoint-md) {
                font-size: $font-size-3xl;
            }
        }
        
        p {
            font-size: $font-size-lg;
            color: $dark-gray;
            margin-bottom: $spacing-2xl;
        }
    }
}

.testimonials-section {
  background: linear-gradient(120deg, #fffbe7 0%, #ffe6a7 100%);
  padding: 64px 0;
  .testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    @media (max-width: 1100px) {
      flex-direction: column-reverse;
      align-items: center;
      gap: 32px;
    }
  }
  .testimonial-carousel {
    flex: 2 1 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 340px;
    .section-title {
      text-align: center;
      font-size: 2.4rem;
      font-weight: 800;
      color: #b8860b;
      margin-bottom: 8px;
      margin-top: 0;
    }
    .section-subtitle {
      text-align: center;
      font-size: 1.15rem;
      color: #b8860bcc;
      margin-bottom: 24px;
      font-weight: 500;
    }
    .carousel-viewport {
      overflow: hidden;
      width: 670px;
      max-width: 100vw;
      margin: 0 auto;
    }
    .carousel-track {
      display: flex;
      gap: 32px;
      will-change: transform;
    }
    .testimonial-card {
      flex: 0 0 310px;
      min-width: 310px;
      max-width: none;
      background: linear-gradient(120deg, #fff 85%, #fff7df 100%);
      border-radius: 18px;
      box-shadow: 0 4px 32px 0 rgba(180, 160, 60, 0.10);
      padding: 38px 28px 30px 28px;
      text-align: center;
      min-height: 170px;
      height: 220px; /* MODIFIED: Added a fixed height for consistent card sizes */
      margin: 0 0px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      p {
        font-size: 1.1rem;
        color: #232323;
        margin-bottom: 22px;
        font-weight: 500;
        font-family: inherit;
      }
      span {
        color: #ba9c46;
        font-size: 1.07rem;
        font-weight: 500;
      }
    }
  }
  .testimonial-img {
    flex: 1 1 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    img {
      width: 100%;
      max-width: 350px; /* MODIFIED: Set a max-width to control picture size */
    }
  }
}


// Footer
.footer {
    background: $black;
    color: $white;
    padding: $spacing-3xl 0 $spacing-xl;
    
    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: $spacing-3xl;
        margin-bottom: $spacing-2xl;
        
        @media (max-width: $breakpoint-md) {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }
    
    .footer-brand {
        img {
            height: 40px;
            margin-bottom: $spacing-md;
            filter: brightness(0) invert(1);
        }
        
        p {
            color: rgba($white, 0.7);
        }
    }
    
    .footer-links {
        h4 {
            color: $primary-gold;
            margin-bottom: $spacing-lg;
            font-size: $font-size-lg;
        }
        
        a {
            display: block;
            color: rgba($white, 0.7);
            text-decoration: none;
            margin-bottom: $spacing-md;
            transition: color $transition-base;
            
            &:hover {
                color: $primary-gold;
            }
        }
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: $spacing-xl;
        border-top: 1px solid rgba($white, 0.1);
        color: rgba($white, 0.5);
    }
}