/* ==========================================================================
   IRONVAULT FITNESS - COMPACT & PERFECTLY SCALED MASTER STYLESHEET
   Brand: IronVault Fitness
   Author: Shivpreet Bhardwaj Portfolio Project
   Colors: Deep Navy (#0B132B), Electric Blue (#3A86FF), Energetic Cyan (#00D4FF),
           Background (#F5F8FC), Dark (#111827), White (#FFFFFF), Text (#1F2937)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,700&family=Syne:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Colors */
  --primary-navy: #0B132B;
  --primary-navy-dark: #060B18;
  --primary-navy-light: #152247;
  --electric-blue: #3A86FF;
  --electric-blue-hover: #256deb;
  --electric-blue-glow: rgba(58, 134, 255, 0.35);
  --energetic-cyan: #00D4FF;
  --energetic-cyan-glow: rgba(0, 212, 255, 0.4);
  
  /* Neutral Palette */
  --bg-light: #F5F8FC;
  --bg-white: #FFFFFF;
  --card-bg-light: #FFFFFF;
  --dark-section: #111827;
  --dark-section-2: #0F172A;
  --dark-card: #1E293B;
  --dark-card-border: rgba(255, 255, 255, 0.08);
  
  /* Typography Colors */
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --text-subtle: #6B7280;
  --text-light: #F3F4F6;
  --text-light-muted: #94A3B8;
  --text-cyan: #00D4FF;
  
  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-accent: rgba(58, 134, 255, 0.2);
  --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 16px 30px -5px rgba(11, 19, 43, 0.12);
  --shadow-glow: 0 0 25px rgba(58, 134, 255, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(0, 212, 255, 0.3);
  
  /* Typography */
  --font-heading: 'Syne', 'Plus Jakarta Sans', sans-serif;
  --font-subheading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Universal Resets --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

/* Base rem scaling for tablets and smartphones for perfectly proportional compact fit */
@media (max-width: 1024px) {
  html {
    font-size: 13.5px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 11.5px;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 10.5px;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section, header, footer, main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
}

button {
  cursor: pointer;
  background: none;
}

h1, h2, h3, h4, h5, h6, p, span, strong, em, label {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* --- Responsive Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 3vw, 1.5rem);
  padding-right: clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.container-wide {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 3vw, 1.8rem);
  padding-right: clamp(0.75rem, 3vw, 1.8rem);
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 3vw, 1.4rem);
  padding-right: clamp(0.75rem, 3vw, 1.4rem);
  box-sizing: border-box;
}

.section-padding {
  padding: clamp(2rem, 4.2vw, 3.8rem) 0;
}

.section-padding-lg {
  padding: clamp(2.6rem, 5.5vw, 4.8rem) 0;
}

.section-padding-sm {
  padding: clamp(1.2rem, 2.5vw, 2rem) 0;
}

/* --- Universal Grid Systems --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.2rem);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.2vw, 0.75rem);
}

.stats-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1rem);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --- Section Headings & Headers --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-subheading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--electric-blue);
  background: rgba(58, 134, 255, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(58, 134, 255, 0.2);
  max-width: 100%;
}

.section-tag.cyan {
  color: var(--energetic-cyan);
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.25);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--primary-navy);
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.section-title.dark-text {
  color: #FFFFFF;
}

.section-desc {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-desc.dark-subtext {
  color: var(--text-light-muted);
}

.section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}

.highlight-blue {
  color: var(--electric-blue);
}

.highlight-cyan {
  color: var(--energetic-cyan);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.35);
}

.gradient-text {
  background: linear-gradient(135deg, #3A86FF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons & Touch Controls --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.55rem 1.25rem;
  min-height: 38px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric-blue) 0%, #256deb 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px -2px var(--electric-blue-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px var(--electric-blue-glow);
}

.btn-cyan {
  background: linear-gradient(135deg, #00D4FF 0%, #00b4d8 100%);
  color: var(--primary-navy);
  font-weight: 800;
  box-shadow: 0 4px 14px -2px var(--energetic-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
  background: rgba(11, 19, 43, 0.06);
  color: var(--primary-navy);
  border: 1px solid rgba(11, 19, 43, 0.12);
}

.btn-secondary:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--electric-blue);
  border: 1.5px solid var(--electric-blue);
}

.btn-outline-blue:hover {
  background: var(--electric-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.76rem;
  min-height: 32px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  min-height: 42px;
}

/* --- Header & Navigation Bar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0.6rem 0;
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  padding: 0.4rem 0;
  background: rgba(6, 11, 24, 0.97);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(58, 134, 255, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-logo svg {
  width: clamp(22px, 3.2vw, 28px);
  height: clamp(22px, 3.2vw, 28px);
  color: var(--energetic-cyan);
  flex-shrink: 0;
}

.brand-logo span.highlight {
  color: var(--energetic-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
}

.nav-link {
  font-family: var(--font-subheading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #D1D5DB;
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--energetic-cyan));
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: transparent;
  cursor: pointer;
  z-index: 1010;
  border-radius: var(--radius-sm);
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Mobile Drawer Menu --- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  width: 82%;
  max-width: 300px;
  height: 100vh;
  height: 100dvh;
  background: var(--primary-navy-dark);
  border-left: 1px solid rgba(58, 134, 255, 0.25);
  padding: 4.2rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1005;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-drawer .nav-link {
  font-size: 1rem;
  padding: 0.7rem 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
}

.mobile-nav-drawer .nav-link.active {
  color: var(--energetic-cyan);
  font-weight: 700;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
  padding-top: clamp(5.5rem, 10vw, 7.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background-color: var(--primary-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(58, 134, 255, 0.25) 0%, transparent 50%),
    linear-gradient(to right, rgba(11, 19, 43, 0.96) 30%, rgba(11, 19, 43, 0.65) 100%),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4.2vw, 2.95rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-subhead {
  font-size: clamp(0.85rem, 1.6vw, 1.02rem);
  line-height: 1.5;
  color: #D1D5DB;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: clamp(1.4rem, 2.8vw, 2.2rem);
}

.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: clamp(0.75rem, 1.8vw, 1.2rem);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.stat-item {
  min-width: 0;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: var(--energetic-cyan);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: clamp(0.64rem, 1.2vw, 0.74rem);
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Page Hero Header (Subpages) --- */
.page-hero {
  padding: clamp(4.5rem, 8vw, 5.8rem) 0 clamp(1.8rem, 3.5vw, 2.8rem);
  background: var(--primary-navy);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 10%, rgba(58, 134, 255, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 11, 24, 0.85) 0%, var(--primary-navy) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  color: #94A3B8;
  max-width: 580px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #94A3B8;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--energetic-cyan);
}

/* --- Cards & General Layouts --- */
.card {
  background: var(--card-bg-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 134, 255, 0.3);
}

.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  color: #FFFFFF;
}

.card-dark:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(58, 134, 255, 0.12);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border: 1px solid rgba(58, 134, 255, 0.2);
  transition: var(--transition);
}

.card:hover .icon-box {
  background: var(--electric-blue);
  color: #FFFFFF;
  transform: scale(1.05);
}

.card-dark .icon-box {
  background: rgba(0, 212, 255, 0.12);
  color: var(--energetic-cyan);
  border-color: rgba(0, 212, 255, 0.25);
}

.card-dark:hover .icon-box {
  background: var(--energetic-cyan);
  color: var(--primary-navy);
}

/* --- Program Card Spec --- */
.program-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 134, 255, 0.35);
}

.program-img-wrap {
  position: relative;
  height: 165px;
  overflow: hidden;
  width: 100%;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.05);
}

.program-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--energetic-cyan);
  padding: 0.18rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.program-body {
  padding: clamp(0.95rem, 1.8vw, 1.35rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.program-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  font-size: 0.74rem;
  color: var(--text-subtle);
  font-weight: 600;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.program-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- Filter Bar --- */
.filter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
  width: 100%;
}

.filter-btn {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--text-muted);
  font-family: var(--font-subheading);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  min-height: 32px;
}

.filter-btn:hover {
  border-color: var(--electric-blue);
  color: var(--primary-navy);
}

.filter-btn.active {
  background: var(--primary-navy);
  color: var(--energetic-cyan);
  border-color: var(--primary-navy);
  box-shadow: 0 3px 10px rgba(11, 19, 43, 0.2);
}

/* --- Trainer Card Spec --- */
.trainer-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
  max-width: 100%;
}

.trainer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--electric-blue);
}

.trainer-img-box {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--primary-navy-dark);
  width: 100%;
}

.trainer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.trainer-card:hover .trainer-img-box img {
  transform: scale(1.04);
}

.trainer-overlay-socials {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  opacity: 0;
  display: flex;
  gap: 0.45rem;
  transition: var(--transition);
  z-index: 3;
}

.trainer-card:hover .trainer-overlay-socials,
.trainer-card:focus-within .trainer-overlay-socials {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.trainer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.trainer-social-btn:hover {
  background: var(--energetic-cyan);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.trainer-info {
  padding: clamp(1.1rem, 2vw, 1.4rem);
}

.trainer-role {
  color: var(--electric-blue);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  display: block;
}

.trainer-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.trainer-creds {
  font-size: 0.76rem;
  color: var(--text-subtle);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.trainer-bio {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* --- Membership Pricing Cards --- */
.billing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  text-align: center;
}

.billing-switch-label {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-navy);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-light);
  transition: .25s;
  border-radius: 30px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider-round {
  background-color: var(--electric-blue);
}

input:checked + .slider-round:before {
  transform: translateX(22px);
}

.discount-tag {
  background: rgba(0, 212, 255, 0.15);
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: inline-block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.1rem, 2vw, 1.6rem);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  max-width: 100%;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--energetic-cyan);
  box-shadow: 0 10px 30px rgba(11, 19, 43, 0.25), 0 0 20px rgba(0, 212, 255, 0.2);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--energetic-cyan), #00b4d8);
  color: var(--primary-navy);
  font-family: var(--font-subheading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 3px 12px rgba(0, 212, 255, 0.4);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.35rem;
  text-align: center;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
}

.pricing-card.featured .plan-price {
  color: #FFFFFF;
}

.plan-price span.currency {
  font-size: 1.25rem;
  vertical-align: top;
  margin-right: 2px;
}

.plan-price span.period {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-subtle);
  display: inline-block;
}

.pricing-card.featured .plan-price span.period {
  color: #94A3B8;
}

.plan-features {
  margin: 1rem 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pricing-card.featured .plan-feature-item {
  color: #E2E8F0;
}

.plan-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--electric-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card.featured .plan-feature-item svg {
  color: var(--energetic-cyan);
}

.plan-feature-item.disabled {
  opacity: 0.4;
  text-decoration: line-through;
}

/* Feature Table Comparison */
.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  margin-top: 2.8rem;
  width: 100%;
}

.comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.86rem;
}

.comparison-table th {
  background: #F8FAFC;
  font-family: var(--font-subheading);
  font-weight: 700;
  color: var(--primary-navy);
}

.comparison-table td:not(:first-child), .comparison-table th:not(:first-child) {
  text-align: center;
}

/* --- Schedule / Timetable Component --- */
.schedule-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
  width: 100%;
}

.day-tab {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.8rem;
  background: #FFFFFF;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  min-height: 34px;
}

.day-tab:hover {
  border-color: var(--electric-blue);
  color: var(--primary-navy);
}

.day-tab.active {
  background: var(--primary-navy);
  color: var(--energetic-cyan);
  border-color: var(--primary-navy);
  box-shadow: 0 3px 10px rgba(11, 19, 43, 0.2);
}

.schedule-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.schedule-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th {
  background: var(--primary-navy);
  color: #FFFFFF;
  font-family: var(--font-subheading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.schedule-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.86rem;
  color: var(--text-main);
  vertical-align: middle;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.class-tag {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-hiit { background: rgba(239, 68, 68, 0.12); color: #DC2626; }
.tag-strength { background: rgba(58, 134, 255, 0.12); color: var(--electric-blue); }
.tag-cross { background: rgba(245, 158, 11, 0.12); color: #D97706; }
.tag-yoga { background: rgba(16, 185, 129, 0.12); color: #059669; }
.tag-boxing { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }
.tag-zumba { background: rgba(236, 72, 153, 0.12); color: #DB2777; }
.tag-core { background: rgba(14, 165, 233, 0.12); color: #0284C7; }

/* --- Before / After Interactive Slider --- */
.transformation-slider-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  margin-bottom: 2rem;
  max-width: 100%;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.ba-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #FFFFFF;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
}

.ba-slider-before img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  max-width: none;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  border: 3px solid var(--electric-blue);
  color: var(--primary-navy);
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  z-index: 5;
  background: rgba(11, 19, 43, 0.85);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
}

.ba-label.before { left: 0.75rem; }
.ba-label.after { right: 0.75rem; }

.transformation-details {
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metrics-badge-group {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.metric-pill {
  background: rgba(58, 134, 255, 0.08);
  border: 1px solid rgba(58, 134, 255, 0.2);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  flex: 1 1 auto;
}

.metric-pill .metric-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--electric-blue);
  line-height: 1;
}

.metric-pill .metric-label {
  font-size: 0.68rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* --- Blog Cards & Single Post --- */
.blog-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 134, 255, 0.35);
}

.blog-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  width: 100%;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-category-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary-navy);
  color: var(--energetic-cyan);
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-content {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.76rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.blog-title a:hover {
  color: var(--electric-blue);
}

.blog-excerpt {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.blog-author-row {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Single Blog Page Elements */
.article-hero-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.8rem;
}

.article-body {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: #374151;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--primary-navy);
  margin: 1.8rem 0 0.75rem;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--primary-navy);
  margin: 1.5rem 0 0.65rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-callout {
  background: rgba(58, 134, 255, 0.08);
  border-left: 4px solid var(--electric-blue);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-weight: 500;
}

/* --- Forms & Inputs --- */
.form-group {
  margin-bottom: 1rem;
  text-align: left;
  width: 100%;
}

.form-label {
  display: block;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.card-dark .form-label {
  color: #E2E8F0;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-main);
  transition: var(--transition);
  min-height: 40px;
}

.card-dark .form-control {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.form-control:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.15);
}

.card-dark .form-control:focus {
  border-color: var(--energetic-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

/* --- Calculator Box --- */
.calculator-box {
  background: var(--dark-section);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid var(--dark-card-border);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

.calc-result-box {
  background: rgba(58, 134, 255, 0.08);
  border: 1.5px dashed rgba(0, 212, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-top: 1.25rem;
  display: none;
}

.calc-result-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* --- Testimonials --- */
.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
}

.stars-rating {
  color: #F59E0B;
  display: flex;
  gap: 3px;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.user-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.user-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-navy);
}

.user-tagline {
  font-size: 0.74rem;
  color: var(--text-subtle);
}

/* --- FAQ Accordion --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1rem 1.15rem;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 0.65rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 1.15rem;
}

/* --- CTA Strip Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 60%, var(--primary-navy-light) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.8rem) clamp(1rem, 3vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(58, 134, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.cta-banner p {
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  color: #CBD5E1;
  max-width: 580px;
  margin: 0 auto 1.6rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary-navy-dark);
  color: #E2E8F0;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.8fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.8rem;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--energetic-cyan);
  padding-left: 3px;
}

.footer-social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--electric-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
  border-color: var(--electric-blue);
}

.newsletter-form {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1 1 160px;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.82rem;
  min-height: 40px;
}

.newsletter-input:focus {
  border-color: var(--energetic-cyan);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--energetic-cyan);
}

/* --- Modals & Toasts --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95) translateY(15px);
  transition: var(--transition);
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--primary-navy);
}

.modal-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  border: 2px solid rgba(0, 212, 255, 0.4);
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: calc(100vw - 2.5rem);
}

.toast-msg {
  background: var(--primary-navy-dark);
  color: #FFFFFF;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--energetic-cyan);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slideInRight 0.3s ease;
  max-width: 100%;
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   SUPERIOR RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE -> TINY)
   ========================================================================== */

/* --- 1. Laptops & Medium Desktops (max 1200px) --- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-col:last-child { grid-column: span 4; margin-top: 0.85rem; }
}

/* --- 2. Tablets Landscape & Small Laptops (max 1024px) --- */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  
  .grid-2 { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  
  .pricing-grid { 
    grid-template-columns: 1fr; 
    max-width: 400px; 
    margin: 0 auto; 
    gap: 1.4rem; 
  }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-3px); }
  
  .transformation-slider-card { grid-template-columns: 1fr; }
  .ba-slider-container { min-height: 260px; height: 260px; }
  
  .hero-stats-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-col:last-child { grid-column: span 2; }
}

/* --- 3. Tablets Portrait & iPad (max 820px) --- */
@media (max-width: 820px) {
  .nav-actions .btn-sm { display: none; }
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 3rem; }
  .hero-content { max-width: 100%; text-align: left; }
}

/* --- 4. Phablets & Large Phones (max 640px) --- */
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .stats-grid-2 { grid-template-columns: 1fr; gap: 0.75rem; }
  
  .filter-container, .schedule-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
  }
  .filter-container::-webkit-scrollbar, .schedule-filter-bar::-webkit-scrollbar {
    display: none;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.55rem;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .hero-stats-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.8rem 0.75rem;
    gap: 0.65rem;
  }
  
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-col:last-child { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.65rem; }
  
  .cta-banner { padding: 1.8rem 0.85rem; }
  
  .ba-slider-container {
    min-height: 210px;
    height: 210px;
  }
}

/* --- 5. Standard Mobile Phones (max 480px) --- */
@media (max-width: 480px) {
  .container, .container-wide, .container-narrow {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .brand-logo { font-size: 0.95rem; }
  .brand-logo svg { width: 20px; height: 20px; }
  
  .nav-actions .btn-sm {
    padding: 0.25rem 0.55rem;
    font-size: 0.7rem;
    min-height: 26px;
  }
  
  .hero-stats-banner {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.65rem 0.55rem;
  }
  .stat-item h3 { font-size: 1.1rem; }
  .stat-item p { font-size: 0.58rem; }
  
  .ba-slider-container {
    min-height: 180px;
    height: 180px;
  }
  .ba-slider-handle {
    width: 26px;
    height: 26px;
  }
  .ba-label {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
  }
  
  .transformation-details {
    padding: 0.85rem 0.65rem;
  }
  
  .pricing-card {
    padding: 1.1rem 0.75rem;
  }
  
  .calculator-box {
    padding: 1.1rem 0.75rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form .btn {
    width: 100%;
  }
  
  #toast-container {
    right: 0.4rem;
    left: 0.4rem;
    bottom: 0.5rem;
  }
  .toast-msg {
    width: 100%;
    font-size: 0.72rem;
  }
  
  .article-hero-img {
    max-height: 170px;
  }
}

/* --- 6. Compact & Ultra-Small Phones (max 400px) --- */
@media (max-width: 400px) {
  .nav-actions .btn-sm {
    display: none; /* VIP Pass button is accessible directly in mobile drawer */
  }
  .brand-logo { font-size: 0.9rem; }
}

@media (max-width: 360px) {
  .hero-stats-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stat-item h3 { font-size: 1.15rem; }
  .pricing-header .plan-price { font-size: 1.55rem; }
  .btn { padding: 0.45rem 0.75rem; font-size: 0.76rem; }
}

/* --- 7. Landscape Orientation on Mobile Phones --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 4.2rem;
    padding-bottom: 2rem;
  }
  .mobile-nav-drawer {
    padding: 3.2rem 1rem 1rem;
  }
  .page-hero {
    padding: 4.2rem 0 1.8rem;
  }
}
