/* Styles extracted from facilities.html */

.facility-highlight {
  color: red;
}

:root {
      --primary: #062b5f;
      --accent: #1d4ed8;
      --accent-2: #3b82f6;
      --cream: #f4f6f8;
      --white: #ffffff;
      --dark: #172033;
      --muted: #5b6773;
      --glass: rgba(255,255,255,0.86);
      --slate: #5b6773;
      --navy-2: #0b3a78;
      --blue-soft: rgba(29,78,216,0.14);
      --sky-soft: rgba(59,130,246,0.12);
    }

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

    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background: #d1d6db;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* TOP BAR */
    .top-bar {
      background: var(--primary);
      color: var(--white);
      padding: 0.5rem 0;
      font-size: 0.9rem;
      text-align: center;
    }

    /* NAVBAR (same as faculty) */
    .navbar-wrapper {
      position: sticky;
      top: 0;
      z-index: 50;
    }
    .navbar {
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      background: linear-gradient(
        120deg,
        rgba(255,255,255,0.97),
        rgba(244,246,248,0.93),
        rgba(255,255,255,0.97)
      );
      border-bottom: 1px solid rgba(91,103,115,0.22);
      box-shadow: 0 12px 30px rgba(15,23,42,0.12);
    }
    .navbar-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0.75rem 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      background: #ffffff;
      border-radius: 18px;
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .brand-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      background: radial-gradient(circle at 0% 0%, #ffffff, #f8fafc);
      border: 1px solid rgba(91,103,115,0.28);
      box-shadow: 0 10px 25px rgba(15,23,42,0.25);
      text-decoration: none;
      color: inherit;
    }
    .brand-logo-img {
      height: 52px;
      width: auto;
      display: block;
    }
    .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
    .brand-main { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
    .brand-sub  { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }

    /* Search box */
    .search-box {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.15rem 0.6rem;
      background: rgba(248,250,252,0.96);
      border-radius: 999px;
      border: 1px solid rgba(91,103,115,0.28);
    }
    .search-box input {
      border: none;
      outline: none;
      background: transparent;
      padding: 6px 4px;
      font-size: 0.85rem;
      width: 140px;
    }
    .search-box button {
      padding: 6px 12px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: white;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      font-size: 0.8rem;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(248,150,30,0.45);
      height: 40px;
      width: 60px;
    }

    .nav-menu {
      list-style: none;
      display: flex;
      gap: 1rem;
      padding: 0.15rem;
      margin: 0;
      border-radius: 999px;
      background: rgba(248,250,252,0.96);
      border: 1px solid rgba(91,103,115,0.26);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.9);
      position: relative;
    }
    .nav-menu li { position: relative; }
    .nav-link {
      display: block;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
      color: var(--muted);
      text-decoration: none;
      transition: 0.2s;
      white-space: nowrap;
    }
    .nav-link:hover {
      color: #ffffff;
      background: linear-gradient(135deg, var(--primary), var(--slate));
    }
    .nav-link.active {
      color: #ffffff;
      background: linear-gradient(135deg, var(--primary), var(--accent));
    }

    .nav-indicator {
      position: absolute;
      bottom: 2px;
      left: 0;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--primary), var(--accent-2));
      transition: transform 0.25s ease, width 0.25s ease, opacity 0.25s ease;
      opacity: 0;
      pointer-events: none;
    }

    .menu-toggle {
      display: none;
      width: 28px;
      height: 20px;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }
    .menu-toggle span {
      display: block;
      height: 2px;
      background: var(--dark);
      border-radius: 999px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .menu-toggle.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }

    /* HERO */
    .hero {
      padding: 4rem 0 2rem 0;
    }
    .hero-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      text-align: center;
      background: linear-gradient(135deg, #ffffff, var(--cream));
      border-radius: 40px;
      box-shadow: 0 14px 30px rgba(15,23,42,0.10);
    }
    .hero-inner:hover {
      transform: translateY(-3px) scale(1.02);
      cursor: pointer;
    }
    .hero-inner h1 {
      font-size: 2.4rem;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }
    .hero-inner p {
      color: #4b5563;
      max-width: 720px;
      margin: 0.25rem auto 1rem;
      font-size: 0.98rem;
    }

    /* FACILITIES SECTION */
    .section {
      padding: 2.5rem 0 3rem 0;
    }
    .section-title {
      text-align: center;
      margin-bottom: 2rem;
    }
    .section-title h2 {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 0.4rem;
    }
    .section-title p {
      color: #64748b;
      font-size: 0.95rem;
    }

    .facilities-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      background: linear-gradient(135deg, #ffffff, var(--cream));
      border-radius: 18px;
      box-shadow: 0 14px 30px rgba(15,23,42,0.14);
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
      gap: 1.35rem;
      padding: 2rem 0 2.2rem;
    }

    .facility-card {
      position: relative;
      overflow: hidden;
      min-height: 360px;
      display: flex;
      flex-direction: column;
      background: rgba(255,255,255,0.96);
      border: 1px solid rgba(91,103,115,0.14);
      border-radius: 16px;
      text-align: left;
      box-shadow:
        0 16px 30px rgba(15,23,42,0.10),
        0 1px 0 rgba(255,255,255,0.75) inset;
      transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
    }
    .facility-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent), #d4af37);
      z-index: 2;
    }

    .facility-card:hover {
      transform: translateY(-8px);
      border-color: rgba(29,78,216,0.28);
      box-shadow:
        0 24px 44px rgba(15,23,42,0.17),
        0 0 0 1px rgba(29,78,216,0.10);
    }
    .facility-card:focus-visible {
      outline: 3px solid rgba(29,78,216,0.28);
      outline-offset: 3px;
    }

    .facility-media {
      height: 126px;
      position: relative;
      overflow: hidden;
      background:
        repeating-linear-gradient(135deg, rgba(29,78,216,0.055) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, rgba(239,246,255,0.98), rgba(255,251,235,0.78));
    }
    .facility-media img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      transition: transform 0.35s ease, filter 0.35s ease;
    }
    .facility-media:has(img) .facility-image-placeholder {
      display: none;
    }
    .facility-card:hover .facility-media img {
      transform: scale(1.08);
      filter: saturate(1.08) contrast(1.04);
    }
    .facility-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(6,43,95,0.03), rgba(6,43,95,0.18));
    }
    .facility-image-placeholder {
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      color: rgba(6,43,95,0.58);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.8px;
      text-transform: uppercase;
    }
    .facility-image-placeholder i {
      font-size: 1.35rem;
      color: rgba(29,78,216,0.46);
    }

    .facility-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      left: 0.78rem;
      top: 0.78rem;
      z-index: 3;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #ffffff;
      border: 3px solid rgba(255,255,255,0.95);
      font-size: 1.05rem;
      box-shadow: 0 10px 22px rgba(6,43,95,0.24);
      pointer-events: none;
      transition: transform 0.28s ease, box-shadow 0.28s ease;
    }
    .facility-card:hover .facility-icon {
      transform: translateY(-2px) scale(1.04);
      box-shadow: 0 14px 26px rgba(6,43,95,0.30);
    }

    .facility-card h3 {
      position: relative;
      z-index: 1;
      color: var(--primary);
      font-size: 1.02rem;
      font-weight: 800;
      margin: 0.4rem 1rem 0.45rem;
      line-height: 1.22;
    }
    .facility-tag {
      position: relative;
      z-index: 1;
      align-self: flex-start;
      margin: 1rem 1rem 0;
      padding: 0.24rem 0.55rem;
      border-radius: 999px;
      background: rgba(29,78,216,0.10);
      color: var(--primary);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .facility-text {
      position: relative;
      z-index: 1;
      margin: 0 1rem;
      color: var(--slate);
      font-size: 0.84rem;
      line-height: 1.52;
    }
    .facility-meta {
      position: relative;
      z-index: 1;
      margin: 0.8rem 1rem 1rem;
      padding-top: 0.72rem;
      border-top: 1px solid rgba(91,103,115,0.12);
      color: #64748b;
      font-size: 0.78rem;
      line-height: 1.45;
    }

    .facility-note {
      max-width: 820px;
      margin: 0 auto 1.8rem;
      text-align: center;
      font-size: 0.9rem;
      color: #ef4444;
      padding: 0 20px 1.6rem;
    }

    /* FOOTER */
    .site-footer {
      background: var(--primary);
      color: #e5e7eb;
      padding-top: 3rem;
      margin-top: 3rem;
      border-top: 1px solid rgba(148,163,184,0.3);
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px 2rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2.5rem;
    }
    .footer-logo {
      font-size: 1.2rem;
      font-weight: 700;
      color: #f9fafb;
      margin-bottom: 0.5rem;
    }
    .footer-tagline {
      font-size: 0.9rem;
      color: #9ca3af;
      max-width: 260px;
    }
    .footer-copy-small {
      margin-top: 1.2rem;
      font-size: 0.8rem;
      color: #6b7280;
    }
    .footer-col h4 {
      font-size: 1rem;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #f9fafb;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li + li { margin-top: 0.4rem; }
    .footer-links a {
      font-size: 0.9rem;
      color: #9ca3af;
      text-decoration: none;
      transition: 0.2s;
    }
    .footer-links a:hover {
      color: #93c5fd;
      transform: translateX(2px);
    }
    .footer-contact {
      font-size: 0.9rem;
      color: #d1d5db;
      margin-bottom: 0.6rem;
    }
    .footer-contact a {
      color: #93c5fd;
      text-decoration: none;
    }
    .footer-contact a:hover { text-decoration: underline; }

    .footer-social {
      display: flex;
      gap: 0.6rem;
      margin-top: 0.8rem;
    }
    .footer-social a {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--primary);
      border: 1px solid rgba(147,197,253,0.28);
      color: #e5e7eb;
      font-size: 14px;
      transition: 0.2s;
    }
    .footer-social a:hover {
      background: #93c5fd;
      color: var(--primary);
      transform: translateY(-1px);
    }

    .footer-bottom {
      border-top: 1px solid rgba(147,197,253,0.16);
      padding: 0.8rem 0;
      text-align: center;
      background: var(--primary);
      font-size: 0.8rem;
      color: #6b7280;
    }

    /* FLOATING SOCIAL ICONS */
    .social-floating {
      position: fixed;
      right: 18px;
      bottom: 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 100;
    }
    .social-floating a {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-decoration: none;
      box-shadow: 0 8px 18px rgba(15,23,42,0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      font-size: 18px;
    }
    .social-floating a:hover {
      transform: translateY(-2px) scale(1.10);
      box-shadow: 0 10px 24px rgba(15,23,42,0.4);
    }
    .whatsapp-btn { background:#25d366; }
    .facebook-btn { background:#1877f2; }
    .instagram-btn {
      background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .navbar-inner { flex-wrap: nowrap; }
      .search-box { display: none; }
      .menu-toggle { display: flex; }

      .nav-menu {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        flex-direction: column;
        gap: 0;
        background: var(--glass);
        margin-top: 0.6rem;
        padding: 0.4rem;
        max-height: 0;
        overflow: hidden;
        transform-origin: top;
        transition: max-height 0.25s ease;
      }
      .nav-menu.open { max-height: 350px; }

      .nav-menu li { width: 100%; }
      .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.55rem 0.9rem;
      }

      .nav-indicator { display: none; }

      .hero-inner {
        border-radius: 30px;
      }
    }

    @media (max-width: 600px) {
      .hero {
        padding: 2.8rem 0 1.6rem 0;
      }
      .hero-inner h1 {
        font-size: 1.9rem;
      }
      .hero-inner p {
        font-size: 0.9rem;
      }

      .grid-3 {
        gap: 1.2rem;
        padding: 1.8rem 0 2rem;
      }
      .facility-card {
        min-height: 332px;
        padding: 0;
      }
      .facility-media {
        height: 108px;
      }
      .facility-icon {
        width: 40px;
        height: 40px;
        left: 0.6rem;
        top: 0.6rem;
        border-radius: 12px;
        font-size: 0.9rem;
      }
      .facility-tag {
        margin: 0.85rem 0.85rem 0;
        font-size: 0.62rem;
      }
      .facility-card h3 {
        margin: 0.35rem 0.85rem 0.35rem;
        font-size: 0.96rem;
      }
      .facility-text {
        margin-inline: 0.85rem;
        font-size: 0.8rem;
      }
      .facility-meta {
        margin: 0.7rem 0.85rem 0.9rem;
        font-size: 0.74rem;
      }
    }

    .features-section {
      max-width: 1400px;
      margin: 0 auto;
      background: linear-gradient(135deg, #ffffff, var(--cream));
      border-radius: 18px;
    }

    .features-section:hover{
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 14px 30px rgba(11, 31, 58, 0.16);
    }

    .features-header {
      text-align: center;
      margin-bottom: 50px;
      margin-top: 15px;
    }
    .features-header h2 {
      color: var(--primary);
      font-size: 2.5rem;
      margin-bottom: 15px;
    }
    .underline {
      height: 4px;
      width: 60px;
      background: linear-gradient(to right, var(--primary), var(--accent-2));
      margin: 0 auto 20px auto;
      border-radius: 2px;
    }
    .features-header p {
      color: var(--slate);
      font-size: 1.1rem;
    }
    .cards-container {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }
.feature-card {
      width: 320px;
      border-radius: 18px;
      position: relative;
      padding-top: 30px;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
      cursor: pointer;
      background: #ffffff;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(91,103,115,0.18);
      margin-bottom: 15px;
      will-change: transform;
    }

.feature-card:hover {
      transform: translateY(-10px);
      background: linear-gradient(135deg, #fff8dc, #fff1b8);
      box-shadow: 0 18px 50px rgba(220, 20, 60, 0.22);
      border-color: rgba(220, 20, 60, 0.45);
    }
    .feature-card .card-content p {
      color: var(--dark);
      font-size: 0.9rem;
      font-weight: 600;
      line-height: 1.6;
      transition: color 0.4s ease;
    }
.feature-card:hover .card-content p {
      color: #7f1d1d;
    }
    .icon-wrapper {
      width: 80px; height: 80px; border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      display: flex; justify-content: center; align-items: center;
      margin-bottom: 25px;
      border: 6px solid rgba(147,197,253,0.30);
      z-index: 2;
      transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .feature-card:hover .icon-wrapper {
      background: linear-gradient(135deg, #dc143c, #d4af37);
      border-color: rgba(212,175,55,0.42);
      box-shadow: 0 12px 28px rgba(220,20,60,0.26);
    }
    .icon-wrapper i {
      color: white;
      font-size: 2rem;
    }
    .banner {
      width: 100%;
      background: linear-gradient(to right, var(--primary), var(--accent));
      color: white;
      text-align: center;
      padding: 15px 30px 15px 15px;
      margin-bottom: 25px;
      clip-path: polygon(0% 0%, 92% 0%, 100% 50%, 92% 100%, 0% 100%);
      min-height: 85px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.25s ease;
    }
    .feature-card:hover .banner {
      background: linear-gradient(to right, #dc143c, #d4af37);
    }
    .banner span {
      text-transform: uppercase;
      font-weight: 600;
      font-size: 0.95rem;
      line-height: 1.3;
    }
    .card-content {
      padding: 0 20px 35px 20px;
      text-align: center;
    }


        /* ================= OFFER POPUP ================= */

.offer-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.offer-popup.show{
  opacity: 1;
  visibility: visible;
}

.offer-popup-content{
  position: relative;

  width: 95%;
  max-width: 500px;

  border-radius: 24px;
  overflow: hidden;

  background: white;

  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 0 6px rgba(255,255,255,0.15);

  transform: scale(0.8);
  transition: 0.4s ease;
}

.offer-popup.show .offer-popup-content{
  transform: scale(1);
}

/* IMAGE AREA */

.offer-slider{
  position: relative;
  width: 100%;
  /* keep entire image visible */
  aspect-ratio: 3 / 4;
  background: #fff;
  overflow: hidden;
}

.offer-popup.show .offer-popup-content{
  transform: scale(1);
}

.offer-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  opacity: 0;
  transition: opacity 1s ease;
}

/* CLOSE BUTTON */

.offer-close{
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;

  transition: 0.3s;
}

.offer-close:hover{
  transform: rotate(90deg) scale(1.1);
  background: #ff4d4d;
  color: white;
}

/* SLIDER */



.offer-slide.active{
  opacity: 1;
}


/* MOBILE */

@media(max-width:768px){

  .offer-popup-content{
    width: 95%;
  }

  .offer-slider{
    height: 320px;
  }
}


/* POLISHED OFFER POPUP OVERRIDES */
.offer-popup-content{
  position: relative;
  width: min(96vw, 1040px);
  max-width: none;
  max-height: 88vh;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 0 6px rgba(255,255,255,0.15);
  transform: scale(0.8);
  transition: 0.4s ease;
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(300px, 460px) minmax(190px, 0.9fr);
  align-items: stretch;
}
.offer-popup.show .offer-popup-content{
  transform: scale(1);
}
.offer-side-panel {
  background: linear-gradient(180deg, #061f45, var(--primary));
  color: #ffffff;
  padding: 2.4rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-inline: 1px solid rgba(255,255,255,0.10);
  min-height: 0;
}
.offer-side-panel h3 {
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 0.2rem;
  color: #d4af37;
  text-align: center;
}
.offer-marquee {
  position: relative;
  overflow: hidden;
  height: min(54vh, 420px);
  min-height: 270px;
  border-top: 1px solid rgba(212,175,55,0.24);
  border-bottom: 1px solid rgba(212,175,55,0.24);
  padding-block: 0.65rem;
}
.offer-marquee-track {
  display: grid;
  gap: 0.8rem;
  animation: offerTextMove 24s linear infinite;
}
.offer-side-panel:hover .offer-marquee-track {
  animation-play-state: paused;
}
.offer-side-panel ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}
.offer-side-panel li {
  background: rgba(255,255,255,0.055);
  border-left: 3px solid #d4af37;
  padding: 0.58rem 0.7rem;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: left;
}
.offer-side-panel li:nth-child(even) {
  border-left-color: #b11226;
}
.offer-side-panel li strong {
  display: block;
  color: #d4af37;
  font-size: 1.18rem;
  font-weight: 700;
}
.offer-side-panel li:nth-child(even) strong {
  color: #ffccd3;
}
.offer-side-panel li span {
  display: block;
  color: rgba(255,255,255,0.86);
  font-size: 0.82rem;
  margin-top: 0.18rem;
}
@keyframes offerTextMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.offer-slider{
  position: relative;
  width: 100%;
  height: min(78vh, 650px);
  min-height: 420px;
  aspect-ratio: auto;
  background: #fff;
  overflow: hidden;
}
.offer-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  opacity: 0;
  transition: opacity 1s ease;
}
.offer-slide.active{
  opacity: 1;
}
.offer-close{
  z-index: 20;
}
@media (max-width: 768px) {
  .offer-popup-content {
    width: min(94vw, 430px);
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .offer-slider {
    order: 1;
    height: min(42vh, 340px);
    min-height: 230px;
  }
  .offer-side-panel {
    order: 2;
    padding: 0.8rem;
  }
  .offer-popup-content > .offer-side-panel:nth-of-type(2) {
    display: none;
  }
  .offer-side-panel h3 {
    font-size: 0.95rem;
  }
  .offer-marquee {
    height: 185px;
    min-height: 185px;
  }
  .offer-marquee-track {
    animation-duration: 18s;
  }
  .offer-side-panel li {
    font-size: 0.78rem;
    padding: 0.5rem;
  }
  .offer-side-panel li strong {
    font-size: 0.95rem;
  }
  .offer-side-panel li span {
    display: none;
  }
}
@media (max-width: 420px) {
  .offer-slider {
    height: min(38vh, 300px);
    min-height: 210px;
  }
  .offer-side-panel h3 {
    font-size: 0.9rem;
  }
  .offer-marquee {
    height: 165px;
    min-height: 165px;
  }
}
