/* ============================================
   Sterling Gift Card - Responsive Overrides
   ============================================ */
@font-face {
  font-family: 'Gambarino';
  src: url('../assets/fonts/Gambarino-Regular.eot');
  src: url('../assets/fonts/Gambarino-Regular.eot?#iefix') format('embedded-opentype'),
    url('../assets/fonts/Gambarino-Regular.ttf') format('truetype'),
    url('../assets/fonts/Gambarino-Regular.woff') format('woff'),
    url('../assets/fonts/Gambarino-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Small laptop / compact desktop (1280–1440px) */
@media (max-width: 1440px) {
  .nav-links .nav-link {
    padding: 8px 10px;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-layout {
    gap: 20px;
  }

  .occasions-swiper .swiper-slide {
    width: clamp(260px, 30vw, 420px);
  }
}

/* Medium laptop — keep 4 step columns, tighten nav */
@media (max-width: 1280px) {
  .navbar-collapse {
    background: var(--white);
    /* padding: 16px; */
    margin-top: 0;
    border-radius: 12px;
    /* box-shadow: var(--shadow-card); */
  }

  .nav-links {
    align-items: center;
    text-align: center;
    gap: 1.3vw;
  }

  .feature-item {
    white-space: normal;
    /* max-width: 200px; */
  }

  .benefits-intro {
    grid-column: 1 / 3;
  }

  .benefit-card--resorts {
    grid-column: 3;
  }

  .section-title {
    font-size: 28px;
  }

  .step-content h3 {
    font-size: 22px;
  }

  .step-content p {
    /* font-size: 12px; */
  }

  .benefit-card h4 {
    font-size: 20px !important;
  }

  .benefit-card p {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 16px;
  }
}

/* Tablet landscape & small desktop nav collapse */
@media (max-width: 1199px) {
  .hero-image-col {
    margin-top: 32px;
  }

  .hero-card-wrapper {
    transform: rotate(-7deg);
    max-width: 480px;
  }

  .redemption-right {
    padding-left: 0;
    margin-top: 16px;
  }

  .benefits-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-intro {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: none;
  }

  .benefit-card--resorts {
    grid-column: 1;
    grid-row: 2;
  }

  .benefit-card--stay {
    grid-column: 2;
    grid-row: 2;
  }

  .benefit-card--valid {
    grid-column: 1;
    grid-row: 3;
  }

  .benefit-card--partial {
    grid-column: 2;
    grid-row: 3;
  }

  .benefit-card--available {
    grid-column: 1;
    grid-row: 4;
  }

  .benefit-card--support {
    grid-column: 2;
    grid-row: 4;
  }

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

  .step-card-first {
    border-radius: 25px 0 0 0;
  }

  .step-card:nth-child(2) {
    border-radius: 0 25px 0 0;
  }

  .step-card:nth-child(3) {
    border-radius: 0 0 0 25px;
  }

  .step-card-last {
    border-radius: 0 0 25px 0;
  }

  .wedding-swiper .swiper-slide {
    width: 100%;
    max-width: 560px;
  }

  .carousel-edge-fade,
  .carousel-tabs-fade {
    display: none;
  }

  .carousel-tabs-viewport {
    width: 92vw;
  }

  .carousel-tabs-track {
    gap: 8vw;
  }

  .carousel-tab.is-active {
    font-size: 5.5vw;
  }

  .carousel-tab.is-side {
    font-size: 3vw;
  }

  .faq-header {
    margin-bottom: 32px;
  }
}


/* Tablet portrait */
@media (max-width: 991px) {
  .header-container {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .mobile-cta-item {
    width: 100%;
    margin-top: 12px;
  }

  .mobile-cta-item .btn {
    width: 100%;
  }

  .hero-section {
    padding-bottom: 48px;
  }

  .hero-buttons .btn {
    flex: 1 1 auto;
    min-width: 200px;
  }

  .feature-bar-inner {
    min-height: auto;
  }

  .feature-bar-inner .scallop-img {
    /* display: none; */
    position: absolute;
    bottom: -7px;
  }
  

  .feature-items {
    position: relative;
    inset: auto;
    background: var(--purple-dark);
    border-radius: 0 0 20px 20px;
    justify-content: flex-start;
    gap: 20px;
    padding: 40px var(--container-padding);
  }

  .get-in-touch-btn {
        width: 36%;
  }

  .timeline{
    margin-bottom: 20px;
  }

      .cta-footer p {
        display: none;
    }

  .feature-item {
    max-width: none;
    white-space: normal;
    width: calc(50% - 10px);
  }

  .occasions-carousel-wrapper {
    margin: 0 calc(-1 * var(--container-padding));
    padding: 0 var(--container-padding);
  }

  .redemption-left .section-title br {
    display: none;
  }

  .timeline-rail {
    left: 29px;
    top: 60px;
    bottom: 60px;
  }

  .wedding-carousel-section {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .wedding-carousel-box {
    padding: 40px 20px;
  }

  .carousel-caption {
    gap: 8px;
  }

  .caption-text {
    max-width: 100%;
    padding: 0 8px;
  }

  .resorts-carousel-wrapper {
    margin: 0 calc(-1 * var(--container-padding));
    padding: 0 var(--container-padding);
  }

  .resorts-swiper {
    padding-right: var(--container-padding);
  }

  .resorts-cta {
    flex-direction: column;
    gap: 20px;
  }

  .cta-content {
    margin-bottom: 24px;
  }

  .cta-photos {
    min-height: 320px;
  }

  .cta-footer {
    flex-direction: column;
    gap: 12px;
    display: none;
  }

  .cta-footer p {
    line-height: 1.5;
  }
}

/* Mobile */
@media (max-width: 767px) {

  /* .hero-buttons {
        flex-direction: column;
      }
    
      .hero-buttons .btn {
        width: 100%;
        min-width: 0;
      } */
  .feature-icon {
    margin-right: 3.5%;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .hero-buttons .btn {
    flex: none;
    width: 50%;
    margin: auto;
    min-width: 0;
    /* padding-left: 12px;
        padding-right: 12px; */
    padding: 6%;
    /* font-size: 14px; */
    font-size: 13px;
    justify-content: center;
  }
  .btn-mobile-header {
    width: 44%;
  }

  .feature-items{
    gap:35px
  }

  .hero-card-wrapper {
    transform: rotate(-4deg);
    max-width: 300px;
  }

  .feature-items {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-item {
    width: 100%;
    /* font-size: 20px; */
    font-size: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card,
  .step-card-first,
  .step-card-last,
  .step-card:nth-child(2),
  .step-card:nth-child(3) {
    border-radius: 20px;
    min-height: 180px;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .step-content {
    margin-left: 52px;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefits-intro,
  .benefit-card--resorts,
  .benefit-card--stay,
  .benefit-card--valid,
  .benefit-card--partial,
  .benefit-card--available,
  .benefit-card--support {
    grid-column: 1;
    grid-row: auto;
  }

  .benefit-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .carousel-tabs-track {
    gap: 16px;
  }

  .occasions-swiper .swiper-slide {
    width: 280px;
  }

  .resorts-swiper .swiper-slide {
    width: 300px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow img {
    width: 36px;
    height: 36px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .polaroid-1 {
    left: 0;
  }

  .polaroid-2 {
    right: 0;
    top: 70px;
  }

  .section-title {
    font-size: 28px !important;
  }

  .step-content p {
    font-size: 16px !important;
  }

  .redemption-desc {
    font-size: 16px !important;
  }

  .btn-flip-simple {
    font-size: 14px;
    width: 50%;
    padding: 6%;
  }



  .timeline-content h4 {
    font-size: 16px !important;
  }

  .caption-text h3 {
    font-size: 16px !important;

  }

  .caption-text {
    padding: 0 !important;
  }

  .caption-text p {
    font-size: 16px !important;
    width: 100%;
  }

  .resort-overlay h3 {
    font-size: 18px;
  }

  .resort-overlay p {
    font-size: 14px;
    font-weight: 400;
  }

  .resorts-cta-text {
    font-size: 25px;
  }

  .benefits-subtitle {
    font-size: 16px !important;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-question span:first-child {
    font-size: 16px;
  }

  .wedding-carousel-section {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 12%;
  }

  .resorts-cta {
    padding-top: 10% !important;
  }

  .resorts-cta.text-center a.btn.btn-primary.btn-flip {
    font-size: 14px;
    width: 30%;
    padding: 6%;
  }

  .mobile-cta-item .btn {
    font-size: 14px;
    padding: 4%;
    width: 50% !important;
  }

  .nav-links .nav-link {
    font-size: 16px !important;
  }

  .terms-modal-body li {
    font-size: 16px !important;
  }

  .btn-proceed {
    font-size: 16px;
    padding: 4%;
  }

  .occasion-overlay h3 {
    font-size: 18px;
  }

  .occasion-overlay p {
    font-size: 16px;
  }

  .final-cta-section>img {
    max-width: 500vw !important;
    position: relative !important;
    margin-bottom: -24vw !important;
  }

  .nav-links {
    align-items: start;
    text-align: left;
    gap: 1.3vw;
  }

  .occasions-section {
    padding: 16% 0 4%;
  }

  .steps-section {
    padding: 9% 0 4% !important;
  }

  .step-number {
    padding: 4%;
  }

  .redemption-section {
    padding-top: 12%;
  }

  .resorts-section {
    padding: 16% 0 5%;
  }

  .resorts-cta {
    padding-top: 14% !important;
  }

  .benefits-section {
    padding-top: 13% !important;
  }

  .faq-header {
    margin-bottom: 1% !important;
  }


}

/* Small mobile */
@media (max-width: 375px) {
  .carousel-tabs-track {
    gap: 12px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }
}

/* Header scroll effect */
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Smooth scroll offset for sticky header */
section[id] {
  scroll-margin-top: 90px;
}



/* Hero Section - Mobile */
.hero-content {
  /* text-align: center; */
}

.hero-heading {
  font-size: 28px !important;
  line-height: 1.3 !important;
  margin-bottom: 12px;
}

.hero-subheading {
  font-size: 24px !important;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 14px !important;
  margin-bottom: 24px;
}

/* CTA Buttons - Stack Full Width */
.hero-cta-group,
.cta-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.hero-cta-group .btn,
.cta-buttons-group .btn {
  width: 100% !important;
  max-width: 300px;
  min-width: auto !important;
}

/* Gift Card Image - Full Width Below */
/* .hero-image-col {
      margin-top: 32px !important;
      width: 100%;
    }
    
    .hero-image-col img {
      width: 100%;
      height: auto;
      max-width: 280px;
      margin: 0 auto;
      display: block;
    } */

/* Avatar Section */
.avatar-group {
  margin-top: 20px;
  justify-content: center;
}

/* Secondary Section Images - Stack Vertically */
.secondary-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.secondary-images img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Subtext Visibility */
.secondary-subtext {
  font-size: 13px;
  margin-bottom: 16px;
}

/* Padding Adjustments */
.hero-container,
.section-container {
  /* padding: 24px 16px !important; */
}

/* Heading Sizes - Secondary Section */
.secondary-heading {
  font-size: 20px !important;
  text-align: center;
}

.desktop-features {
  display: block;
}

.mobile-features {
  display: none;
}



@media (max-width: 767px) {
  .hero-section {
    background-image: url(../assets/images/MobUnion.png);
    background-repeat: no-repeat;
    background-position: 22% -68%;
    background-size: cover;
  }

  .cta-features {
    font-size: 16px;
  }

  .desktop-features {
    display: none;
  }

  .mobile-features {
    display: block;
  }

  .mobile-features span {
    font-size: 11px;
  }

  .cta-features-top {
    margin-bottom: 8px;
  }

  .cta-buttons .back {
    white-space: normal;
  }
}


@media (max-width: 767px) {

  .final-cta-section .cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .final-cta-section .cta-buttons .btn {
    flex: 1;
    min-width: 0;
    width: auto;

    height: 48px;
    padding: 0 12px;

    font-size: 13px;
    justify-content: center;
  }

  .final-cta-section .cta-buttons .front,
  .final-cta-section .cta-buttons .back {
    white-space: nowrap;
    font-size: 13px;
  }
}


/* @media (max-width: 420px) {
    .btn-mobile-header {
      font-size: 13px !important;
    }
  
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
      gap: 8px;
    }
  
    .navbar-brand {
      flex: 0 0 auto;
      max-width: 80px;
    }
  
    .logo-img {
      width: 100%;
      height: auto;
    }
  
    .btn-mobile-header {
      flex: 1;
      max-width: 140px;
      font-size: 11px;
      padding: 8px 10px;
      white-space: nowrap;
    }
  
    .navbar-toggler {
      flex: 0 0 auto;
      padding: 4px;
      margin-left: 0;
    }
  
  } */


  @media (max-width:396px){

        .logo-img {
        width: 22vw;
    }
        .btn-mobile-header {
          width: 46%;
          font-size: 13px;
        }
        
  }


@media (max-width: 365px) {

  .final-cta-section .cta-buttons span {
    font-size: 11px !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    flex: none;
  }

  .btn-flip,
  .btn-outline-primary {
    width: 100% !important;
  }
}

@media (max-width: 320px) {
  .btn-mobile-header {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn,
  .btn-flip-simple {
    width: 100%;
    flex: none;
    font-size: 16px;
    padding: 10%;
  }

  .btn-flip-simple {
    font-size: 14px;
    width: 50%;
    padding: 6%;
  }
}