/* ============================================
   EQUATION ELITE — Premium Math Tutoring Site
   Color Theme: Deep Navy + Electric Gold + White
   ============================================ */

:root {
  --navy: #0a0e1a;
  --navy-mid: #0f1630;
  --navy-light: #1a2240;
  --gold: #d4a017;
  --gold-bright: #f0c040;
  --gold-dim: #9a7210;
  --white: #ffffff;
  --off-white: #f5f3ee;
  --gray: #8a92a6;
  --gray-light: #c8cdd8;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(212,160,23,0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- LOADER ---- */
#loader {
  position: fixed; inset: 0; background: var(--navy); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-symbol {
  font-family: var(--font-display); font-size: 72px; color: var(--gold);
  animation: pulseGlow 1.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { text-shadow: 0 0 20px var(--gold), 0 0 60px var(--gold-dim); transform: scale(1); }
  50% { text-shadow: 0 0 40px var(--gold-bright), 0 0 100px var(--gold); transform: scale(1.1); }
}
.loader-bar { width: 200px; height: 3px; background: rgba(212,160,23,0.2); border-radius: 10px; margin: 20px auto 0; overflow: hidden; }
.loader-fill { height: 100%; background: var(--gold); border-radius: 10px; animation: loadFill 1.8s ease-out forwards; }
@keyframes loadFill { from { width: 0; } to { width: 100%; } }

/* ---- BACK TO TOP ---- */
#backToTop {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  background: var(--gold); color: var(--navy); border: none; border-radius: 50%;
  font-size: 20px; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(20px);
  transition: var(--transition); box-shadow: 0 4px 20px rgba(212,160,23,0.4);
}
#backToTop.show { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--gold-bright); transform: translateY(-3px); }

/* ---- FLOAT CONTACT ---- */
.float-contact {
  position: fixed; bottom: 90px; right: 30px; width: 48px; height: 48px;
  background: var(--navy-light); color: var(--gold); border: 1px solid var(--card-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; text-decoration: none; z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: var(--transition);
}
.float-contact:hover { background: var(--gold); color: var(--navy); transform: scale(1.1); }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 40px rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 76px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-sym {
  font-family: var(--font-display); font-size: 28px; color: var(--gold);
  text-shadow: 0 0 20px rgba(212,160,23,0.6);
}
.logo-text {
  font-family: var(--font-display); font-size: 20px; color: var(--white); font-weight: 700;
}
.logo-text em { color: var(--gold); font-style: normal; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none; margin-left: auto;
}
.nav-link {
  color: var(--gray-light); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px; transition: var(--transition); letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-cta {
  background: var(--gold); color: var(--navy); text-decoration: none;
  font-weight: 600; font-size: 14px; padding: 10px 24px; border-radius: 8px;
  transition: var(--transition); white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,160,23,0.4); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; margin-left: auto;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- SHARED ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gold-text { color: var(--gold); }
.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.section-label {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,160,23,0.3);
  padding: 6px 16px; border-radius: 20px; margin-bottom: 20px;
  background: rgba(212,160,23,0.07);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2; font-weight: 700; margin-bottom: 20px;
}
.section-sub {
  font-size: 17px; color: var(--gray); max-width: 600px; margin: 0 auto 60px; text-align: center;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======= HERO ======= */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,160,23,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.orb1 {
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(212,160,23,0.18), transparent 70%);
  top: -100px; right: -100px; animation: orbFloat 10s ease-in-out infinite;
}
.orb2 {
  width: 400px; height: 400px; background: radial-gradient(circle, rgba(26,34,64,0.8), transparent 70%);
  bottom: 0; left: -50px; animation: orbFloat 14s ease-in-out infinite reverse;
}
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }

.floating-symbols {
  position: absolute; inset: 0;
}
.floating-symbols span {
  position: absolute; font-family: var(--font-display); color: rgba(212,160,23,0.1);
  font-size: clamp(24px, 4vw, 60px); animation: floatSym 12s ease-in-out infinite;
  user-select: none;
}
.floating-symbols span:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; }
.floating-symbols span:nth-child(2) { top: 25%; left: 85%; animation-delay: 1.5s; }
.floating-symbols span:nth-child(3) { top: 65%; left: 15%; animation-delay: 2s; }
.floating-symbols span:nth-child(4) { top: 80%; left: 75%; animation-delay: 3s; }
.floating-symbols span:nth-child(5) { top: 45%; left: 90%; animation-delay: 1s; }
.floating-symbols span:nth-child(6) { top: 10%; left: 55%; animation-delay: 4s; }
.floating-symbols span:nth-child(7) { top: 75%; left: 45%; animation-delay: 2.5s; }
.floating-symbols span:nth-child(8) { top: 35%; left: 5%; animation-delay: 3.5s; }
@keyframes floatSym { 0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.1; } 50% { transform: translateY(-20px) rotate(8deg); opacity: 0.18; } }

.hero-content {
  position: relative; z-index: 1; padding: 0 24px; max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.3);
  padding: 8px 18px; border-radius: 20px; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05; margin-bottom: 28px;
  max-width: 750px; letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--gray-light); max-width: 560px;
  margin-bottom: 40px; font-weight: 300; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 10px; transition: var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-bright); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.4);
}
.btn-primary span { transition: transform 0.2s; }
.btn-primary:hover span { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 14px 30px; border-radius: 10px; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,160,23,0.07); }

.hero-stats {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-num { font-family: var(--font-display); font-size: 42px; font-weight: 900; color: var(--gold); }
.stat span { font-size: 28px; color: var(--gold); font-weight: 700; }
.stat p { font-size: 13px; color: var(--gray); margin-top: 2px; letter-spacing: 0.05em; text-transform: uppercase; }
.stat-div { width: 1px; height: 60px; background: rgba(255,255,255,0.12); }

.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1;
  color: var(--gray); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeInUp 1.5s ease 1.5s both;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.scroll-mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.25); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px; background: var(--gold); border-radius: 2px;
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } }

/* ======= WHY US ======= */
.why-us {
  padding: 100px 0; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.why-us .section-title { text-align: center; }
.why-us .section-label { display: block; text-align: center; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 56px;
}
.why-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 36px 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212,160,23,0.07), transparent);
  opacity: 0; transition: var(--transition);
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(212,160,23,0.4); }
.why-card:hover::before { opacity: 1; }
.why-icon { font-size: 40px; margin-bottom: 20px; }
.why-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.why-card p { color: var(--gray); font-size: 15px; }

/* ======= TESTIMONIALS ======= */
.testimonials { padding: 100px 0; }
.testimonials .section-title,.testimonials .section-label { text-align: center; display: block; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.testi-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 36px; transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(212,160,23,0.3); }
.featured-testi {
  background: linear-gradient(135deg, rgba(212,160,23,0.1), rgba(212,160,23,0.04));
  border-color: rgba(212,160,23,0.4);
  transform: scale(1.03);
}
.featured-testi:hover { transform: scale(1.03) translateY(-4px); }
.testi-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 3px; }
.testi-card > p { color: var(--gray-light); font-size: 15px; font-style: italic; margin-bottom: 24px; line-height: 1.8; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold);
  color: var(--navy); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--gray); }

/* ======= CTA BANNER ======= */
.cta-banner {
  padding: 100px 0; background: var(--navy-light); position: relative; overflow: hidden;
  text-align: center;
}
.cta-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,160,23,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.05) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; position: relative; }
.cta-banner p { color: var(--gray); font-size: 17px; margin-bottom: 36px; position: relative; }
.cta-banner .btn-primary { margin: 0 auto; position: relative; }

/* ======= SERVICES ======= */
.services-section { padding: 100px 0; }
.services-section .section-title,.services-section .section-label { text-align: center; display: block; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; margin-top: 20px; }
.service-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px 36px; position: relative;
  transition: var(--transition); display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(212,160,23,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-num {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-mono); font-size: 13px; color: rgba(212,160,23,0.35); font-weight: 600;
}
.service-icon-wrap { font-size: 36px; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.service-card > p { color: var(--gray); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.service-list { list-style: none; margin-bottom: 28px; }
.service-list li { font-size: 13px; color: var(--gray-light); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.service-list li::before { content: '◦ '; color: var(--gold); }
.service-link { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 14px; margin-top: auto; transition: var(--transition); }
.service-link:hover { color: var(--gold-bright); letter-spacing: 0.03em; }

/* ======= PACKAGES ======= */
.packages-section { padding: 100px 0; position: relative; overflow: hidden; }
.packages-bg { position: absolute; inset: 0; pointer-events: none; }
.packages-orb {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.07), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.packages-section .section-title,.packages-section .section-label { text-align: center; display: block; position: relative; }
.packages-section .section-sub { position: relative; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-bottom: 80px; position: relative; }
.pkg-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px 36px 36px;
  transition: var(--transition); position: relative;
}
.pkg-card:hover { transform: translateY(-8px); }
.pkg-featured {
  background: linear-gradient(145deg, rgba(212,160,23,0.12), rgba(212,160,23,0.03));
  border-color: var(--gold); box-shadow: 0 0 60px rgba(212,160,23,0.12);
}
.pkg-badge-wrap { height: 28px; margin-bottom: 16px; }
.pkg-badge {
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
}
.pkg-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pkg-price { font-size: 54px; font-weight: 900; line-height: 1; margin-bottom: 16px; font-family: var(--font-display); }
.pkg-currency { font-size: 28px; vertical-align: super; color: var(--gold); }
.pkg-period { font-size: 16px; font-weight: 400; color: var(--gray); font-family: var(--font-body); }
.pkg-desc { color: var(--gray); font-size: 14px; margin-bottom: 28px; min-height: 48px; }
.pkg-features { list-style: none; margin-bottom: 32px; }
.pkg-features li { font-size: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--gray-light); }
.pkg-features li.disabled { color: rgba(255,255,255,0.25); text-decoration: line-through; }
.pkg-btn { display: block; text-align: center; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px; border-radius: 10px; transition: var(--transition); }
.pkg-btn-gold { background: var(--gold); color: var(--navy); }
.pkg-btn-gold:hover { background: var(--gold-bright); box-shadow: 0 6px 24px rgba(212,160,23,0.4); transform: translateY(-1px); }
.pkg-btn-ghost { border: 1px solid rgba(255,255,255,0.2); color: var(--white); }
.pkg-btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,160,23,0.06); }

/* ---- FAQ ---- */
.faq-section { padding-top: 60px; }
.faq-section .section-title,.faq-section .section-label { text-align: center; display: block; }
.faq-list { margin-top: 40px; max-width: 760px; margin-left: auto; margin-right: auto; position: relative; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--white); font-family: var(--font-body);
  font-size: 16px; font-weight: 500; padding: 22px 0; cursor: pointer; display: flex;
  align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 22px; font-weight: 300; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-a p { padding: 0 0 20px; color: var(--gray); font-size: 15px; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 200px; }

/* ======= ABOUT ======= */
.about-section { padding: 100px 0; background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-img-wrap { position: relative; border-radius: 20px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; border-radius: 20px; }
.about-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(10,14,26,0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
}
.badge-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--gold); line-height: 1; }
.about-img-badge span:last-child { font-size: 13px; color: var(--gray-light); }
.about-formula-card {
  position: absolute; top: -20px; right: -20px;
  background: rgba(10,14,26,0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.mono { font-family: var(--font-mono); font-size: 13px; color: var(--gold-bright); }

.about-content { }
.about-content .section-label { display: block; }
.about-content p { color: var(--gray-light); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.about-values { margin: 28px 0; display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }
.value-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.value-item p { font-size: 14px; color: var(--gray); margin: 0; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-badge {
  background: rgba(212,160,23,0.08); border: 1px solid rgba(212,160,23,0.2);
  color: var(--gold-bright); font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 8px;
}

/* ======= CONTACT ======= */
.contact-section { padding: 100px 0; position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.1), transparent 65%);
  top: 0; right: -100px;
}
.contact-section .section-title,.contact-section .section-label { text-align: center; display: block; position: relative; }
.contact-section .section-sub { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; position: relative; margin-top: 20px; }
.contact-info-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px 32px; height: 100%;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 4px; }
.contact-detail a, .contact-detail span { font-size: 15px; color: var(--white); text-decoration: none; word-break: break-all; }
.contact-detail a:hover { color: var(--gold); }
.social-links { display: flex; gap: 10px; margin-top: 32px; }
.social-btn {
  border: 1px solid rgba(255,255,255,0.15); color: var(--gray-light); font-size: 13px;
  padding: 8px 16px; border-radius: 8px; text-decoration: none; transition: var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

.contact-form-wrap {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.form-group input,.form-group textarea,.form-group select {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 14px 18px; color: var(--white); font-family: var(--font-body);
  font-size: 15px; outline: none; transition: border 0.25s;
  -webkit-appearance: none; appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy-mid); }
.form-group input:focus,.form-group textarea:focus,.form-group select:focus {
  border-color: var(--gold); background: rgba(212,160,23,0.04);
}
.form-group input::placeholder,.form-group textarea::placeholder { color: var(--gray); }
.full-btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }
.form-success {
  background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold); padding: 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
}

/* ======= FOOTER ======= */
.footer { border-top: 1px solid rgba(255,255,255,0.07); background: var(--navy); }
.footer-top { padding: 72px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand p { color: var(--gray); font-size: 14px; margin-top: 16px; max-width: 280px; line-height: 1.8; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a, .footer-col ul li span { font-size: 14px; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 13px; color: var(--gray); }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-formula-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; background: rgba(10,14,26,0.98); backdrop-filter: blur(20px); padding: 24px; gap: 4px; border-bottom: 1px solid var(--card-border); }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 16px; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 4rem); }
  .services-grid, .packages-grid, .testi-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 32px; }
  .pkg-featured { transform: none; }
  .about-img-wrap img { height: 320px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-div { display: none; }
  .contact-form-wrap { padding: 24px 20px; }
  .service-card, .pkg-card, .why-card { padding: 28px 24px; }
}
