/* --- Polymath Display (headings) --- */
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Thin.ttf") format("truetype");
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Extralight.ttf") format("truetype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Semibold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Polymath Display";
  src: url("../fonts/Polymath-Display-Black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* --- Figtree (body) --- */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ============================================================
   AQUA SOCIAL FEST — Professional Event Landing Page CSS
   ============================================================ */

:root {
  --primary:        #0284C7;
  --primary-dark:   #0369A1;
  --secondary:      #06B6D4;
  --accent:         #38BDF8;
  --bg-page:        #FFFFFF;
  --bg-light:       #F8FAFC;
  --bg-sky:         #F0F9FF;
  --bg-dark:        #0B192C;
  --text-dark:      #0F172A;
  --text-muted:     #475569;
  --border-color:   #E2E8F0;
  --font-display:   "Polymath Display", system-ui, sans-serif;
  --font-body:      "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1rem; }
a { text-decoration: none; }

/* NAVBAR — Transparent on Hero, Solid/Glass on Scroll */
.site-nav {
  background: rgba(11, 25, 44, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.95rem 0;
  transition: all 0.35 ease;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
}

/* Scrolled / Stuck State (Ocean Blue Glass Navbar) */
.site-nav.is-stuck {
  padding: 0.55rem 0;
  background: rgba(11, 25, 44, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 35px rgba(2, 10, 20, 0.45);
}

/* Mobile Toggler Hamburger Icon - Bright White & Highly Visible */
.navbar-toggler {
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.35rem 0.5rem !important;
  outline: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  transition: background 0.2s ease !important;
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #FFFFFF !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4) !important;
}
.navbar-toggler-icon-custom {
  color: #FFFFFF !important;
  font-size: 1.85rem !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.site-logo-img {
  height: 38px;
  width: auto;
  transition: height 0.3s ease;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link-item {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.95rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 0.25s ease, background 0.25s ease;
  border-radius: 8px;
}
.nav-link-item:hover, 
.nav-link-item.active {
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.1);
}

.btn-book-now {
  background: linear-gradient(135deg, #0284C7, #06B6D4);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-book-now:hover {
  background: linear-gradient(135deg, #0369A1, #0284C7);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
}

/* HERO SECTION */
.hero-wrapper {
  position: relative;
  padding: 9rem 0 6rem;
  background:
    linear-gradient(180deg, rgba(11, 25, 44, 0.85) 0%, rgba(15, 23, 42, 0.88) 100%),
    url("../img/pool-bg.png") center center / cover no-repeat;
  color: #FFFFFF;
  overflow: hidden !important;
  width: 100%;
  max-width: 100%;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #7DD3FC;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 5.2vw, 4.5rem);
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-headline .text-aqua { color: #38BDF8; }

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: #BAE6FD;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: clamp(0.85rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.btn-hero-main {
  background: #0284C7;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-main:hover {
  background: #0369A1;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.85rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* HERO META BAR */
.hero-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.meta-item-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
}
.meta-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: #F0F9FF;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.meta-info label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 2px;
  display: block;
}
.meta-info strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

/* SECTION STYLING */
.section-block { padding: 5.5rem 0; }
.section-header { text-align: center; max-width: 40rem; margin: 0 auto 3.2rem; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* SCHEDULE TIMELINE */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.timeline-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.time-badge {
  background: #F0F9FF;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.85rem;
}
.timeline-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.timeline-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* PERKS GRID */
.perk-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.perk-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.perk-icon-wrapper {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: #F0F9FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.perk-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.perk-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* REGISTRATION SECTION SPLIT LAYOUT */
.ticket-preview-card {
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.ticket-preview-card::after {
  content: "AQUA FEST 2026";
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.ticket-pass-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: #38BDF8;
  line-height: 1;
}

/* FORM STYLING */
.registration-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.input-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: block;
}

.form-control, .input-group-text {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-dark) !important;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-group-text {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--primary) !important;
  font-weight: 700;
}
.form-control:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  outline: none;
}

/* RADIO CARDS */
.pill-radio-container {
  display: flex;
  gap: 10px;
}
.pill-radio-box {
  flex: 1;
  position: relative;
}
.pill-radio-box input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  cursor: pointer;
}
.pill-radio-box label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  margin: 0;
}
.pill-radio-box input[type="radio"]:checked + label {
  background: #F0F9FF;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

/* OTP PANEL */
.otp-card-panel {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem;
}
.status-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-pill.unverified { background: #FEE2E2; color: #DC2626; }
.status-pill.verified { background: #DCFCE7; color: #16A34A; }

.btn-action-otp {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  color: var(--primary);
  font-weight: 700;
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  transition: background 0.15s ease;
}
.btn-action-otp:hover:not(:disabled) {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-submit-registration {
  background: var(--primary);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem;
  border-radius: 8px;
  border: none;
  width: 100%;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-submit-registration:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-submit-registration:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ACCORDIONS */
.custom-accordion .accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.custom-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  background: #FFFFFF;
  padding: 1.1rem 1.35rem;
  box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #F0F9FF;
}

/* FOOTER */
.footer-wrapper {
  background: #0B192C;
  color: rgba(248, 250, 252, 0.85);
  padding: 3.5rem 0 2.5rem;
}
.footer-wrapper p {
  color: rgba(248, 250, 252, 0.8) !important;
}
.footer-wrapper .footer-copy {
  color: rgba(248, 250, 252, 0.75) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* FLOATING TOASTS */
#toastContainer {
  position: fixed;
  top: 85px; right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}
#toastContainer .toast { pointer-events: auto; }
.aqua-toast {
  border-radius: 8px;
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #334155;
}
.aqua-toast .toast-body {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
}
.aqua-toast.toast-ok { border-color: #16A34A; }
.aqua-toast.toast-ok i { color: #4ADE80; font-size: 1.2rem; }
.aqua-toast.toast-bad { border-color: #DC2626; }
.aqua-toast.toast-bad i { color: #F87171; font-size: 1.2rem; }
.aqua-toast.toast-info i { color: #38BDF8; font-size: 1.2rem; }
.aqua-toast .btn-close { filter: invert(1); margin-left: auto; opacity: 0.7; }

/* ============================================================
   RESPONSIVE MEDIA QUERIES & SMALL SCREEN OPTIMIZATIONS
   Standard typography scaling & layout guards for small smartphones
   (Widths: <=991px, <=767px, <=575px, <=480px, <=400px, <=360px, <=325px)
   ============================================================ */

/* 1. TABLETS & SMALL DESKTOPS (< 992px) */
@media (max-width: 991.98px) {
  .site-nav {
    padding: 0.65rem 0;
  }
  .site-logo-img {
    height: 32px;
  }
  .brand-title {
    font-size: 1.02rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .navbar-collapse {
    flex-grow: 1;
    flex-basis: 100%;
    width: 100%;
    background: rgba(11, 25, 44, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  }
  .navbar-collapse .nav-link-item {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    border-radius: 8px;
  }
  .navbar-collapse .nav-link-item:last-child {
    border-bottom: none;
  }
  .navbar-collapse .nav-link-item:hover,
  .navbar-collapse .nav-link-item.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8 !important;
  }
  .hero-wrapper { padding: 7.5rem 0 4.5rem; }
  .section-block { padding: 3.5rem 0; }
}

/* 2. MEDIUM MOBILE & LANDSCAPE PHONES (< 768px) */
@media (max-width: 767.98px) {
  .hero-wrapper { padding: 6.5rem 0 3.5rem !important; }
  .facility-card-img { height: 280px !important; }
  .hero-glow {
    width: 320px;
    height: 320px;
    top: -50px;
    right: -50px;
    opacity: 0.6;
  }
  .section-heading, h2.display-6 { font-size: clamp(1.4rem, 4.2vw, 2.2rem) !important; }
}

/* 3. STANDARD SMARTPHONES (< 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .site-logo-img {
    height: 28px;
  }
  .brand-title {
    font-size: 0.92rem;
  }
  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }
  #hero h1.display-4, .hero-headline {
    font-size: 1.85rem !important;
    line-height: 1.18 !important;
  }
  #hero p.fs-5, .hero-description {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
  #hero .hero-pill-badge-custom, .hero-pill-badge {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.85rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .pkg-card {
    padding: 1.25rem !important;
  }
  .pkg-card .display-5 {
    font-size: 2rem !important;
  }
  .facility-card-img {
    height: 350px !important;
  }
  .facility-card-overlay {
    padding: 1.15rem 1rem !important;
  }
  #hero .hero-snapshot-card {
    padding: 1.15rem !important;
  }
}

/* 4. COMPACT SMARTPHONES (< 480px) */
@media (max-width: 480px) {
  .hero-wrapper {
    padding: 5.5rem 0 2.5rem !important;
  }
  #hero h1.display-4, .hero-headline {
    font-size: 1.7rem !important;
  }
  #hero .hero-buttons-wrapper, .hero-cta-buttons, .hero-cta-wrapper {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }
  #hero .hero-buttons-wrapper .btn, .hero-cta-buttons .btn, .hero-cta-wrapper .btn {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    text-align: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .section-heading, h2.display-6 {
    font-size: 1.45rem !important;
  }
  .section-subtext, p.fs-5 {
    font-size: 0.9rem !important;
  }
  .facility-card-img {
    height: 390px !important;
  }
}

/* 5. NARROW SMARTPHONES (< 400px) */
@media (max-width: 400px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .site-logo-img {
    height: 24px !important;
    max-width: 130px !important;
  }
  .brand-title {
    font-size: 0.82rem !important;
  }
  .brand-sub {
    display: none !important;
  }
  #hero h1.display-4, .hero-headline {
    font-size: 1.55rem !important;
    letter-spacing: -0.02em !important;
  }
  #hero p.fs-5, .hero-description {
    font-size: 0.9rem !important;
  }
  #hero .hero-pill-badge-custom, .hero-pill-badge {
    font-size: 0.74rem !important;
    padding: 0.3rem 0.75rem !important;
  }
  .pkg-card {
    padding: 1rem !important;
  }
  .pkg-card .display-5 {
    font-size: 1.8rem !important;
  }
  #hero .hero-snapshot-card {
    padding: 0.95rem !important;
  }
  #hero .hero-snapshot-card .d-flex {
    padding: 0.6rem !important;
    gap: 0.5rem !important;
  }
  #hero .hero-snapshot-card .fs-2 {
    font-size: 1.35rem !important;
  }
  .facility-card-img {
    height: 300px !important;
  }
}

/* 6. EXTRA NARROW SMARTPHONES (< 360px) */
@media (max-width: 360px) {
  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #hero h1.display-4, .hero-headline {
    font-size: 1.42rem !important;
  }
  #hero p.fs-5, .hero-description {
    font-size: 0.85rem !important;
  }
  #hero .hero-pill-badge-custom, .hero-pill-badge {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.65rem !important;
  }
  #hero .hero-buttons-wrapper .btn, .hero-cta-buttons .btn, .hero-cta-wrapper .btn {
    font-size: 0.85rem !important;
    padding: 0.65rem 0.75rem !important;
  }
  .pkg-card {
    padding: 0.85rem !important;
  }
  .pkg-card .display-5 {
    font-size: 1.65rem !important;
  }
  .facility-card-img {
    height: 320px !important;
  }
  #hero .hero-snapshot-card {
    padding: 0.8rem !important;
  }
}

/* 7. ULTRA SMALL / LOW DPI SMARTPHONES (< 325px / 320px Exact Viewport) */
@media (max-width: 325px) {
  html, body {
    font-size: 13.5px !important;
  }
  .container {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .site-nav {
    padding: 0.35rem 0 !important;
  }
  .site-logo-img {
    height: 22px !important;
    max-width: 110px !important;
  }
  #hero h1.display-4, .hero-headline {
    font-size: 1.32rem !important;
    line-height: 1.15 !important;
  }
  #hero p.fs-5, .hero-description {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
  #hero .hero-pill-badge-custom, .hero-pill-badge {
    font-size: 0.68rem !important;
    padding: 0.22rem 0.55rem !important;
  }
  #hero .hero-buttons-wrapper .btn, .hero-cta-buttons .btn, .hero-cta-wrapper .btn {
    font-size: 0.82rem !important;
    padding: 0.6rem 0.65rem !important;
  }
  .section-heading, h2.display-6 {
    font-size: 1.18rem !important;
  }
  .section-subtext, p.fs-5 {
    font-size: 0.8rem !important;
  }
  .pkg-card {
    padding: 0.75rem !important;
  }
  .pkg-card .display-5 {
    font-size: 1.45rem !important;
  }
  .facility-card-img {
    height: 300px !important;
  }
  #hero .hero-snapshot-card {
    padding: 0.75rem !important;
  }
  #hero .hero-snapshot-card .d-flex {
    padding: 0.5rem !important;
    gap: 0.4rem !important;
  }
  #hero .hero-snapshot-card .fs-2 {
    font-size: 1.2rem !important;
  }
}
