/* ============================================================
   ULTIMATE FITNESS CENTRE — Thoothukudi
   Design System & Shared Styles
   Palette: Navy #101D32 | Lime #B7F536 | White | Grey #F3F5F7 | Charcoal #202833
   ============================================================ */

:root {
  --navy: #101D32;
  --navy-2: #16273F;
  --navy-3: #1D3049;
  --navy-deep: #0B1524;
  --lime: #B7F536;
  --lime-dark: #A3E022;
  --lime-soft: rgba(183, 245, 54, 0.14);
  --white: #FFFFFF;
  --grey: #F3F5F7;
  --charcoal: #202833;
  --muted: #5B6572;
  --border: #E3E8EE;
  --shadow-sm: 0 4px 14px rgba(16, 29, 50, 0.07);
  --shadow-md: 0 12px 30px rgba(16, 29, 50, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 29, 50, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; line-height: 1.15; color: var(--navy); letter-spacing: 0.4px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1;
  transition: all 0.25s ease; border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(183, 245, 54, 0.35); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.65); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: #1FAF55; color: #fff; }
.btn-whatsapp:hover { background: #189948; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 175, 85, 0.3); }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---------------- Header / Navigation ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--navy); transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 21, 36, 0.35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--lime);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-icon svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-top { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; }
.brand-bottom { font-family: var(--font-head); font-size: 11px; font-weight: 600; color: var(--lime); letter-spacing: 3.5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { color: rgba(255, 255, 255, 0.85); font-size: 15px; font-weight: 600; position: relative; padding: 6px 0; transition: color 0.25s; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--lime); transition: width 0.28s ease;
}
.nav-link:hover, .nav-link.active { color: var(--lime); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 8px; padding: 12px 24px; font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--lime); border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero (Home) ---------------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  padding: 130px 0 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 21, 36, 0.88) 0%, rgba(11, 21, 36, 0.72) 45%, rgba(16, 29, 50, 0.45) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(183, 245, 54, 0.4);
  backdrop-filter: blur(6px); color: var(--white); font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--lime); }

.hero-title {
  color: var(--white); font-size: clamp(42px, 6.2vw, 72px); font-weight: 700;
  line-height: 1.06; margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-title .highlight { color: var(--lime); display: block; }
.hero-sub { color: rgba(255, 255, 255, 0.82); font-size: 18px; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-chip { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.78); font-size: 14px; font-weight: 500; }
.hero-chip svg { width: 17px; height: 17px; color: var(--lime); flex-shrink: 0; }
.hero-chip strong { color: var(--white); font-weight: 600; }

/* ---------------- Page Hero (inner pages) ---------------- */
.page-hero {
  position: relative; padding: 158px 0 72px; text-align: center;
  background: var(--navy) center center / cover no-repeat;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 36, 0.86), rgba(16, 29, 50, 0.72)); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.65);
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px; font-family: var(--font-head);
}
.breadcrumb a { color: var(--lime); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.35); }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 54px); }
.page-hero-sub { color: rgba(255, 255, 255, 0.78); max-width: 620px; margin: 16px auto 0; font-size: 16.5px; }

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; }
.section.alt { background: var(--grey); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--navy);
  background: var(--lime); font-family: var(--font-head); font-size: 13px;
  font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 6px; margin-bottom: 18px;
}
.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* ---------------- Intro / split layouts ---------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }

.intro-media { position: relative; }
.intro-media .img-main { border-radius: var(--radius); width: 100%; height: 480px; object-fit: cover; box-shadow: var(--shadow-md); }
.intro-media .img-sub {
  position: absolute; right: -28px; bottom: -34px; width: 46%; height: 220px;
  object-fit: cover; border-radius: var(--radius); border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.intro-badge {
  position: absolute; left: 26px; top: 26px; background: var(--navy); color: var(--white);
  padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.intro-badge .num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--lime); line-height: 1; }
.intro-badge .lbl { font-size: 12.5px; line-height: 1.35; opacity: 0.85; }

.check-list { margin-top: 24px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 500; color: var(--charcoal); }
.check-list .tick {
  width: 24px; height: 24px; border-radius: 50%; background: var(--lime-soft); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.check-list .tick svg { width: 13px; height: 13px; }
.check-list strong { color: var(--navy); }

/* ---------------- Why Choose Us cards ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.why-card {
  grid-column: span 4; background: var(--white); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section.alt .why-card, .alt .why-card { background: var(--white); }
.why-card:nth-child(4), .why-card:nth-child(5) { grid-column: span 6; }
.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: background 0.3s ease;
}
.why-icon svg { width: 27px; height: 27px; color: var(--navy); transition: color 0.3s; }
.why-card:hover .why-icon { background: var(--lime); }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* ---------------- Program cards ---------------- */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column;
}
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.program-img { position: relative; height: 210px; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-card:hover .program-img img { transform: scale(1.07); }
.program-tag {
  position: absolute; top: 14px; left: 14px; background: var(--lime); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 6px; letter-spacing: 0.6px;
}
.program-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.program-body h3 { font-size: 21px; margin-bottom: 10px; }
.program-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; flex: 1; }
.program-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy);
  font-weight: 700; font-size: 14.5px;
}
.program-link svg { width: 16px; height: 16px; color: var(--navy); background: var(--lime); border-radius: 50%; padding: 3px; transition: transform 0.25s; }
.program-link:hover svg { transform: translateX(4px); }
.program-card.solid { background: var(--navy); border-color: var(--navy); justify-content: center; }
.program-card.solid h3 { color: var(--white); }
.program-card.solid p { color: rgba(255, 255, 255, 0.72); }
.program-card.solid .program-link { color: var(--lime); }
.program-card.solid .program-link svg { background: var(--navy-3); color: var(--lime); }

/* ---------------- Training page: detailed program rows ---------------- */
.train-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 46px 0; border-bottom: 1px solid var(--border);
}
.train-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.train-row:first-of-type { padding-top: 0; }
.train-row.rev .train-media { order: 2; }
.train-media img { width: 100%; height: 330px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.train-num {
  font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: 2.5px;
  color: var(--navy); background: var(--lime); display: inline-block; padding: 5px 13px;
  border-radius: 6px; margin-bottom: 16px; text-transform: uppercase;
}
.train-info h3 { font-size: 27px; margin-bottom: 14px; }
.train-info > p { color: var(--muted); margin-bottom: 20px; }
.benefit-list { display: grid; gap: 11px; margin-bottom: 24px; }
.benefit-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--charcoal); }
.benefit-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: 8px; flex-shrink: 0; }

/* ---------------- Gallery ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; height: 250px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 21, 36, 0.85));
  opacity: 0; transition: opacity 0.3s ease; display: flex; align-items: flex-end; padding: 18px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.gallery-overlay svg { width: 17px; height: 17px; color: var(--lime); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(11, 21, 36, 0.93);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(88vw, 1000px); max-height: 80vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white); display: flex; align-items: center; justify-content: center; transition: background 0.25s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--lime); color: var(--navy); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.85); font-size: 14.5px; font-weight: 500; }

/* ---------------- Quote band ---------------- */
.quote-band { background: var(--navy); padding: 58px 0; text-align: center; }
.quote-band p { font-family: var(--font-head); font-size: clamp(24px, 3.6vw, 40px); color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.25; }
.quote-band .lime { color: var(--lime); }
.quote-band small { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 15px; color: rgba(255, 255, 255, 0.65); text-transform: none; letter-spacing: 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; padding: 110px 0; text-align: center;
  background: var(--navy) center center / cover no-repeat;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(11, 21, 36, 0.86); }
.cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: var(--white); font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); font-size: 17.5px; margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 30px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 17px; font-weight: 700; }
.cta-phone svg { width: 19px; height: 19px; color: var(--lime); }
.cta-phone:hover { color: var(--lime); }

/* ---------------- Feature grid (facilities environment) ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; transition: transform 0.3s, box-shadow 0.3s; box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card .why-icon { margin-bottom: 16px; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------------- Membership plans ---------------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  padding: 38px 32px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.plan-card.featured { border: 2px solid var(--lime); box-shadow: var(--shadow-md); }
.plan-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--navy); font-size: 12.5px; font-weight: 700;
  padding: 7px 18px; border-radius: 999px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.plan-name { font-size: 24px; margin-bottom: 6px; }
.plan-dur { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.plan-price { font-family: var(--font-head); font-size: 26px; color: var(--navy); text-transform: none; letter-spacing: 0.5px; margin-bottom: 4px; }
.plan-price-note { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.plan-features { margin-bottom: 30px; flex: 1; }
.plan-features li { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; font-size: 15px; color: var(--charcoal); border-bottom: 1px dashed var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features .tick { width: 21px; height: 21px; border-radius: 50%; background: var(--lime-soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.plan-features .tick svg { width: 11px; height: 11px; color: var(--navy); }
.plan-btn { width: 100%; }

/* ---------------- Contact page ---------------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .why-icon { width: 50px; height: 50px; margin-bottom: 16px; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.contact-card a:hover { color: var(--navy); text-decoration: underline; }
.contact-card a.strong { color: var(--navy); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: stretch; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 40px 36px; box-shadow: var(--shadow-md); }
.contact-form-wrap h3 { font-size: 24px; margin-bottom: 8px; }
.form-note { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group label .req { color: #D93636; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; color: var(--charcoal); background: var(--grey);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--lime); background: var(--white);
  box-shadow: 0 0 0 3px rgba(183, 245, 54, 0.25);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-error { color: #D93636; font-size: 13px; margin-top: 5px; display: none; }
.form-group.invalid input, .form-group.invalid select { border-color: #D93636; }
.form-group.invalid .form-error { display: block; }

.form-success {
  display: none; background: #F2FBE0; border: 1.5px solid var(--lime); border-radius: 14px;
  padding: 20px 22px; margin-bottom: 22px; color: var(--charcoal); font-size: 15px;
}
.form-success.show { display: flex; gap: 14px; animation: fadeIn 0.4s ease; }
.form-success .tick-big { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-success .tick-big svg { width: 20px; height: 20px; color: var(--navy); }
.form-success strong { color: var(--navy); }

.map-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); position: relative; min-height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* ---------------- FAQ ---------------- */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden; transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(183, 245, 54, 0.6); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 21px 26px; text-align: left; font-size: 16.5px; font-weight: 600; color: var(--navy);
  font-family: var(--font-body); background: none;
}
.faq-q:hover { color: var(--navy); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--lime-soft); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.3s;
}
.faq-icon svg { width: 15px; height: 15px; color: var(--navy); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--lime); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }
.faq-a-inner a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr; gap: 44px;
  padding: 70px 0 50px;
}
.footer-brand .brand-top { font-size: 22px; }
.footer-brand .brand-bottom { font-size: 11.5px; }
.footer-desc { margin: 18px 0 24px; font-size: 14.5px; line-height: 1.7; max-width: 300px; }
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s;
}
.social-btn svg { width: 20px; height: 20px; color: var(--lime); }
.social-btn:hover { background: var(--lime); transform: translateY(-3px); }
.social-btn:hover svg { color: var(--navy); }
.footer-col h4 { color: var(--white); font-size: 17px; margin-bottom: 22px; letter-spacing: 1.2px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; display: inline-flex; align-items: center; gap: 9px; transition: color 0.25s, padding 0.25s; }
.footer-links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); opacity: 0.7; }
.footer-links a:hover { color: var(--lime); padding-left: 4px; }
.footer-contact li { display: flex; gap: 13px; margin-bottom: 16px; font-size: 14.5px; line-height: 1.6; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-contact a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom strong { color: var(--lime); font-weight: 600; }

/* ---------------- Back to top ---------------- */
.back-top {
  position: fixed; left: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 800; opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: all 0.3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--navy-3); }
.back-top svg { width: 20px; height: 20px; }

/* ---------------- Chatbot ---------------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; width: 62px; height: 62px; border-radius: 50%;
  background: var(--lime); color: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(16, 29, 50, 0.35); z-index: 1100; transition: transform 0.25s ease;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { width: 28px; height: 28px; position: absolute; transition: opacity 0.25s, transform 0.25s; }
.chat-fab .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.chat-fab.open .icon-chat { opacity: 0; transform: rotate(90deg) scale(0.6); }
.chat-fab.open .icon-close { opacity: 1; transform: none; }
.chat-fab .fab-dot {
  position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy); border: 2.5px solid var(--lime);
}

.chat-window {
  position: fixed; right: 22px; bottom: 96px; width: 380px; height: 580px; max-height: calc(100vh - 130px);
  background: var(--white); border-radius: 20px; overflow: hidden; z-index: 1050;
  box-shadow: 0 30px 80px rgba(11, 21, 36, 0.45); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  transform-origin: bottom right;
}
.chat-window.open { opacity: 1; visibility: visible; transform: none; }

.chat-header { background: var(--navy); padding: 16px 18px; display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--lime);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-avatar svg { width: 24px; height: 24px; }
.chat-title { flex: 1; line-height: 1.3; }
.chat-title strong { display: block; color: var(--white); font-size: 15px; font-family: var(--font-body); }
.chat-title span { color: var(--lime); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chat-title .dot-online { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.chat-clear { width: 36px; height: 36px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: background 0.25s; }
.chat-clear:hover { background: rgba(255, 255, 255, 0.22); }
.chat-clear svg { width: 17px; height: 17px; color: var(--white); }

.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--grey); display: flex; flex-direction: column; gap: 12px; }
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(16, 29, 50, 0.2); border-radius: 4px; }

.msg { max-width: 84%; padding: 12px 15px; font-size: 14.5px; line-height: 1.5; animation: msgIn 0.3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-bot { background: var(--white); color: var(--charcoal); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg-user { background: var(--lime); color: var(--navy); border-radius: 14px 14px 4px 14px; align-self: flex-end; font-weight: 500; }
.msg a { color: var(--navy); font-weight: 700; text-decoration: underline; }

.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(16, 29, 50, 0.35); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.chat-chips { padding: 10px 14px 12px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--white); border-top: 1px solid var(--border); flex-shrink: 0; max-height: 108px; overflow-y: auto; }
.chat-chips::-webkit-scrollbar { width: 4px; }
.chat-chips::-webkit-scrollbar-thumb { background: rgba(16, 29, 50, 0.2); border-radius: 4px; }
.chip {
  background: var(--white); border: 1.5px solid var(--lime); color: var(--navy);
  font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; transition: all 0.22s;
}
.chip:hover { background: var(--lime); }

.chat-input-bar { display: flex; gap: 10px; padding: 12px 14px; background: var(--white); border-top: 1px solid var(--border); flex-shrink: 0; }
.chat-input-bar input {
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--font-body); font-size: 14px; background: var(--grey); color: var(--charcoal);
}
.chat-input-bar input:focus { outline: none; border-color: var(--lime); background: var(--white); box-shadow: 0 0 0 3px rgba(183, 245, 54, 0.2); }
.chat-send {
  width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.25s, transform 0.25s;
}
.chat-send:hover { background: var(--lime-dark); transform: scale(1.05); }
.chat-send svg { width: 20px; height: 20px; }

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .chat-fab, .chat-window, .back-top { display: none !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .split, .split.rev { gap: 44px; }
  .intro-media .img-main { height: 420px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all 0.3s ease;
    box-shadow: 0 24px 40px rgba(11, 21, 36, 0.4);
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 18px 0 0; justify-content: center; }

  .split, .split.rev { grid-template-columns: 1fr; }
  .train-row.rev .train-media { order: 0; }
  .intro-media { margin-bottom: 46px; max-width: 560px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card, .why-card:nth-child(4), .why-card:nth-child(5) { grid-column: span 1; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .train-row { grid-template-columns: 1fr; gap: 28px; padding: 38px 0; }
  .train-media img { height: 260px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { min-height: 340px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 210px; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { min-height: 88vh; padding: 120px 0 70px; }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .program-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 30px 22px; }
  .intro-media .img-main { height: 320px; }
  .intro-media .img-sub { width: 52%; height: 160px; right: -10px; bottom: -26px; }
  .chat-window { width: calc(100vw - 28px); right: 14px; bottom: 88px; height: 540px; }
  .gallery-item { height: 180px; }
  .back-top { left: 14px; bottom: 14px; }
  .chat-fab { right: 14px; bottom: 14px; width: 58px; height: 58px; }
  .cta-actions .btn { width: 100%; }
  .page-hero { padding: 140px 0 56px; }
}
