/* ============================================================
   LUXURY LANDING PAGE — style.css
   Palette: Teal #008080 · White · Dark Teal #004d4d
   Typography: Playfair Display (headings) + Inter (body)
   ============================================================ */

/* ── Reset & Tokens ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #008080;
  --teal-dark: #006666;
  --teal-deeper: #004d4d;
  --teal-light: #00b3b3;
  --white: #ffffff;
  --off-white: #f8fafa;
  --text-dark: #1a1a2e;
  --text-muted: #555e68;
  --gold: #c8a96e;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-pad {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-brand {
  color: var(--teal-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-light);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--teal);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--teal-dark);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    flex-direction: column;
    background: var(--teal-deeper);
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: rgba(255, 255, 255, .9) !important;
    font-size: 1.1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 77, 77, .82) 0%, rgba(0, 128, 128, .6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 28px;
  opacity: .85;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  opacity: .85;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--white);
  color: var(--teal-dark);
}

.btn-primary:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 179, 179, .35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots span.active {
  background: var(--white);
  transform: scale(1.25);
}

/* ── Split Sections (Lab + Courses) ─────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* box-shadow removed for transparent look */
}

.split-img img {
  width: 450px;
  max-width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
  mix-blend-mode: multiply;
}

.split-img:hover img {
  transform: scale(1.04);
}

/* Decorative accent bar */
/* Decorative accent bar removed */
.split-img::before {
  display: none;
}

.split-text .feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse .split-img {
    order: -1;
  }
}

/* ── Course Cards ───────────────────────────────────────── */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

.course-card {
  background: var(--white);
  border: 1px solid rgba(0, 128, 128, .1);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s ease;
}

.course-card:hover::before {
  transform: scaleY(1);
}

.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.course-tier {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.course-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.course-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Contact Section (full-width centered) ──────────────── */
.contact-section {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal-dark) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0, 179, 179, .08);
  top: -150px;
  right: -100px;
}

.contact-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(0, 179, 179, .06);
  bottom: -100px;
  left: -80px;
}

.contact-info-fullwidth {
  position: relative;
  z-index: 1;
}

.contact-info-fullwidth .section-label {
  color: var(--teal-light);
}

.contact-info-fullwidth .section-title {
  color: var(--white);
}

.contact-info-fullwidth .section-desc {
  color: rgba(255, 255, 255, .7);
  text-align: center;
}

.contact-info-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info-card-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 18px 28px;
  transition: var(--transition);
}

.contact-info-card-item:hover {
  background: rgba(255,255,255,.10);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.contact-info-card-item .contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-card-item span {
  color: rgba(255, 255, 255, .85);
  font-size: .92rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .contact-info-cards {
    flex-direction: column;
    align-items: center;
  }
  .contact-info-card-item {
    width: 100%;
    max-width: 340px;
  }
}

/* ── Fixed Floating Form Panel ──────────────────────────── */

/* Toggle Button */
.fixed-form-toggle {
  position: fixed;
  right: 28px;
  bottom: 100px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 128, 128, .4);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  animation: toggle-glow 2.5s ease-in-out infinite;
}

.fixed-form-toggle:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 128, 128, .5);
}

.fixed-form-toggle i {
  font-size: 1rem;
}

@keyframes toggle-glow {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(0, 128, 128, .4);
  }
  50% {
    box-shadow: 0 6px 32px rgba(0, 179, 179, .6), 0 0 0 6px rgba(0, 179, 179, .1);
  }
}

/* Panel */
.fixed-form-panel {
  position: fixed;
  right: -420px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  width: 360px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  transition: right .45s cubic-bezier(.4, 0, .2, 1), box-shadow .45s ease;
  box-shadow: -8px 0 40px rgba(0, 0, 0, .15);
}

.fixed-form-panel.open {
  right: 20px;
  box-shadow: -12px 0 60px rgba(0, 0, 0, .25);
}

/* Panel Header */
.fixed-form-header {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal) 100%);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.fixed-form-header::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 179, 179, .15);
  top: -40px;
  right: -20px;
}

.fixed-form-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.fixed-form-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .95rem;
}

.fixed-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.fixed-form-header p {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.3;
}

.fixed-form-close {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.fixed-form-close:hover {
  background: rgba(255,255,255,.2);
  transform: rotate(90deg);
}

/* Panel Body */
.fixed-form-body {
  background: var(--white);
  padding: 22px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}

.fixed-form-body .form-group {
  margin-bottom: 14px;
}

.fixed-form-body .form-group label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.fixed-form-body .form-group input,
.fixed-form-body .form-group select {
  width: 100%;
  padding: 11px 14px;
  background: var(--off-white);
  border: 1.5px solid rgba(0, 128, 128, .12);
  border-radius: 10px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: .88rem;
  transition: var(--transition);
  outline: none;
}

.fixed-form-body .form-group input::placeholder {
  color: #aab;
}

.fixed-form-body .form-group input:focus,
.fixed-form-body .form-group select:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, .1);
}

.fixed-form-body .form-group select option {
  background: var(--white);
  color: var(--text-dark);
}

.fixed-form-body .btn-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fixed-form-body .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 179, 179, .35);
}

.fixed-form-body .btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.fixed-form-body .form-msg {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .82rem;
  display: none;
}

.fixed-form-body .form-msg.success {
  display: block;
  background: rgba(0, 179, 179, .1);
  color: var(--teal-dark);
  border: 1px solid rgba(0, 179, 179, .25);
}

.fixed-form-body .form-msg.error {
  display: block;
  background: rgba(255, 77, 77, .08);
  color: #c0392b;
  border: 1px solid rgba(255, 77, 77, .2);
}

/* Overlay */
.fixed-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.fixed-form-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Hide toggle when panel is open */
.fixed-form-toggle.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(.8);
}

/* ── Fixed Form — Tablet ────────────────────────────────── */
@media (max-width: 900px) {
  .fixed-form-panel {
    width: 320px;
  }

  .fixed-form-toggle {
    right: 16px;
    bottom: 90px;
    padding: 12px 18px;
    font-size: .85rem;
  }
}

/* ── Fixed Form — Mobile ────────────────────────────────── */
@media (max-width: 600px) {
  .fixed-form-toggle {
    right: 14px;
    bottom: 96px;
    padding: 12px 18px;
    font-size: .82rem;
    border-radius: 50px;
  }

  .fixed-form-toggle .toggle-label {
    display: inline;
  }

  .fixed-form-panel {
    right: auto;
    left: 0;
    top: auto;
    bottom: -100%;
    transform: translateY(0);
    width: 100%;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    transition: bottom .4s cubic-bezier(.4, 0, .2, 1);
  }

  .fixed-form-panel.open {
    right: auto;
    bottom: 0;
  }

  .fixed-form-body {
    padding: 18px 20px 28px;
    max-height: calc(85vh - 75px);
  }

  .fixed-form-header {
    padding: 16px 20px;
  }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: #001a1a;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal-light);
}

/* ── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  transition: transform .3s ease;
  animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ── Image Placeholders (fallback if images missing) ──── */
.placeholder-img {
  width: 450px;
  max-width: 100%;
  height: 520px;
  object-fit: cover;
  background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 50%, #80cbc4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── AOS Override for smoothness ────────────────────────── */
[data-aos] {
  transition-timing-function: cubic-bezier(.4, 0, .2, 1) !important;
}

/* ── Responsive Fine-Tuning ─────────────────────────────── */
@media (max-width: 480px) {
  .section-pad {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: .95rem;
  }

  .hero-btns .btn {
    padding: 12px 24px;
    font-size: .85rem;
  }

  .split-img img {
    height: 320px;
    width: 100%;
  }
}