/* ================================================
   GHATAK BIDAY — Premium Bengali Matrimonial
   Global Stylesheet v2.0
   ================================================ */

/* ── Google Fonts ──────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────── */
:root {
  --red:          #B22222;
  --red-dark:     #8B0000;
  --red-light:    #FFF0F0;
  --gold:         #D4AF37;
  --gold-dark:    #9A7B10;
  --gold-light:   #FFF8E7;
  --gold-shine:   #F5DFA0;
  --green:        #22C55E;
  --green-light:  #DCFCE7;
  --cream:        #FFF8F0;
  --white:        #FFFFFF;
  --dark:         #1E293B;
  --text:         #1E293B;
  --muted:        #64748B;
  --border:       #E2D5C3;
  --bg:           #FFFFFF;
  --shadow:       0 4px 24px rgba(178,34,34,0.10);
  --shadow-lg:    0 8px 40px rgba(178,34,34,0.14);
  --shadow-gold:  0 4px 20px rgba(212,175,55,0.25);
  --shadow-glass: 0 8px 32px rgba(0,0,0,0.12);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-full:  9999px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Poppins', 'Inter', sans-serif;
  --font-bengali: 'Hind Siliguri', sans-serif;
  --gradient:     linear-gradient(135deg, #B22222 0%, #8B0000 100%);
  --gradient-gold:linear-gradient(135deg, #D4AF37 0%, #9A7B10 100%);
  --gradient-warm:linear-gradient(135deg, #8B0000 0%, #B22222 40%, #D4AF37 100%);
  --transition:   all 0.3s ease;
}

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Typography ────────────────────────────── */
.font-heading { font-family: var(--font-heading); }
.font-bengali { font-family: var(--font-bengali); }

/* ── Container ─────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9375rem; transition: var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  border: 2px solid var(--gold); color: var(--gold);
  background: transparent;
}
.btn-secondary:hover { background: var(--gradient-gold); color: #fff; }
.btn-outline {
  border: 2px solid var(--red); color: var(--red);
  background: transparent;
}
.btn-outline:hover { background: var(--gradient); color: #fff; }
.btn-white {
  background: #fff; color: var(--red); font-weight: 700;
  box-shadow: var(--shadow-glass);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost-white {
  border: 2px solid rgba(255,255,255,0.4); color: #fff; background: transparent;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ─────────────────────────────────── */
.card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-glass {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius); box-shadow: var(--shadow-glass);
}
.card-dark {
  background: rgba(30,41,59,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

/* ── Form Fields ───────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.75rem; font-weight: 600;
  color: var(--muted); margin-bottom: 0.375rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9375rem; outline: none; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(178,34,34,0.10); }
.form-control::placeholder { color: #aaa; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.875rem center;
  padding-right: 2.5rem;
}
.form-error { color: var(--red); font-size: 0.75rem; margin-top: 0.25rem; display: block; }
.input-group { position: relative; }
.input-group .form-control { padding-left: 2.75rem; }
.input-group .input-icon {
  position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

/* ── Badges ─────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 700;
}
.badge-verified { background: var(--green-light); color: #16a34a; }
.badge-premium  { background: var(--gold-light);  color: var(--gold-dark); }
.badge-popular  {
  background: var(--gradient-gold); color: #fff;
  position: absolute; top: -1px; right: 0;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
  padding: 0.3rem 0.875rem; font-size: 0.6875rem;
}

/* ── Section Helpers ───────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-heading {
  font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700;
  color: var(--dark); line-height: 1.2;
}
.section-subheading {
  color: var(--muted); font-size: 1.0625rem; margin-top: 0.75rem;
  max-width: 36rem; line-height: 1.65;
}
.section-tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.625rem;
}

/* ── Divider ───────────────────────────────── */
.divider { width: 3.5rem; height: 3px; background: var(--gradient); border-radius: 2px; margin: 1rem 0; }
.divider-center { margin: 1rem auto; }

/* ── Avatars ───────────────────────────────── */
.avatar {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.avatar-red  { background: var(--gradient); color: #fff; }
.avatar-gold { background: var(--gradient-gold); color: #fff; }

/* ── Star Rating ───────────────────────────── */
.stars { display: flex; gap: 2px; color: var(--gold); font-size: 0.875rem; }

/* ── Mandala BG ────────────────────────────── */
.mandala-bg {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  pointer-events: none; z-index: 0; opacity: 0.04;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}

/* ── Animations ────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-14px); } }
@keyframes shimmer  { 0% { background-position:-200% 0; } 100% { background-position:200% 0; } }
@keyframes pulse    { 0%,100% { transform:scale(1); } 50% { transform:scale(1.04); } }
@keyframes slideIn  { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:translateX(0); } }
@keyframes countUp  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

.animate-fade-up  { animation: fadeUp 0.6s ease both; }
.animate-fade-in  { animation: fadeIn 0.5s ease both; }
.animate-float    { animation: float 3.5s ease-in-out infinite; }
.animate-shimmer  { background: linear-gradient(90deg,#f0e6d3 25%,#fdf7f0 50%,#f0e6d3 75%); background-size:200% 100%; animation:shimmer 1.5s infinite; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll-reveal (added by JS) */
.reveal { opacity:0; transform:translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.70); backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: 0.875rem 0;
}
.navbar-brand { display: flex; align-items: center; gap: 0.875rem; }
.brand-logo {
  width: 42px; height: 42px; border-radius: var(--radius-full);
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-bengali); font-weight: 700; color: #fff; font-size: 1.125rem;
  box-shadow: var(--shadow);
}
.brand-name { font-family: var(--font-heading); font-weight: 700; color: var(--red); font-size: 1.1875rem; line-height: 1; }
.brand-tagline { font-family: var(--font-bengali); font-size: 0.6875rem; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.875rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--red-light); color: var(--red);
}
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.hamburger {
  display: none; padding: 0.5rem; border-radius: var(--radius-sm);
  color: var(--text); transition: var(--transition);
}
.hamburger:hover { background: var(--cream); }
.mobile-menu {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.9375rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--red-light); color: var(--red); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.nav-user-avatar {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: linear-gradient(160deg, #0e0000 0%, #1e0505 50%, #1a0000 100%);
  color: #fff; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 50%; right: -5rem; transform: translateY(-50%);
  width: 600px; height: 600px; opacity: 0.04;
  background-image: url('/static/website/images/mandala.png');
  background-size: contain; background-repeat: no-repeat; pointer-events: none;
}
.footer-main { padding: 3.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: var(--gold-shine); }
.footer-tagline { font-family: var(--font-bengali); font-size: 0.75rem; color: var(--gold); }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; margin-top: 0.875rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-icon {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; transition: var(--transition);
}
.social-icon:hover { background: var(--gradient-gold); color: #fff; }
.footer-heading { color: var(--gold); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.footer-contact-item i { color: var(--gold); font-size: 0.875rem; flex-shrink: 0; }
.footer-trust { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 0.75rem; margin-top: 1rem; }
.footer-bottom { padding: 1rem 0; text-align: center; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-link { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-link:hover { color: var(--gold); }

/* Newsletter */
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.newsletter-input {
  flex: 1; padding: 0.625rem 0.875rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 0.875rem; outline: none; transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-btn {
  padding: 0.625rem 1rem; border-radius: var(--radius-sm);
  background: var(--gradient-gold); color: #fff; font-weight: 600; font-size: 0.8125rem;
  transition: var(--transition); white-space: nowrap;
}
.newsletter-btn:hover { transform: translateY(-1px); }

/* ── HERO ───────────────────────────────────── */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a0000 0%, #4a0000 35%, #7b1515 65%, #9e2a2a 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: 0.18;
  mix-blend-mode: luminosity;
}
.hero-mandala {
  position: absolute; top: 50%; right: -4rem; transform: translateY(-50%);
  width: 700px; height: 700px; opacity: 0.07;
  background-image: url('/static/website/images/mandala.png');
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none; animation: float 8s ease-in-out infinite;
}
.hero-mandala-left {
  position: absolute; top: 50%; left: -8rem; transform: translateY(-50%) scaleX(-1);
  width: 420px; height: 420px; opacity: 0.04;
  background-image: url('/static/website/images/mandala.png');
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none; animation: float 10s ease-in-out infinite reverse;
}
.hero-overlay-lr { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,0,0,0.92) 0%, rgba(74,0,0,0.70) 45%, rgba(74,0,0,0.15) 100%); }
.hero-overlay-tb { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,0,0,0.70) 0%, transparent 55%); }
.hero-blob-gold { position: absolute; top: 5rem; right: 2.5rem; width: 360px; height: 360px; border-radius: var(--radius-full); background: radial-gradient(circle, rgba(212,175,55,0.22) 0%, rgba(212,175,55,0.04) 70%); filter: blur(40px); pointer-events: none; animation: float 5s ease-in-out infinite; }
.hero-blob-red  { position: absolute; bottom: 5rem; left: 2.5rem; width: 280px; height: 280px; border-radius: var(--radius-full); background: radial-gradient(circle, rgba(178,34,34,0.30) 0%, rgba(178,34,34,0.05) 70%); filter: blur(48px); pointer-events: none; animation: float 4s ease-in-out infinite reverse; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.10); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--gold); }
.hero-title {
  font-family: var(--font-heading); font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--gold-shine); }
.hero-subtitle { color: rgba(255,255,255,0.70); font-size: 1.0625rem; line-height: 1.7; max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-trust-badges { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.hero-trust-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.875rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.80); font-size: 0.8125rem; font-weight: 500;
}
.hero-content { position: relative; z-index: 10; padding: 4rem 0; }
.hero-image-side { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-couple-frame {
  width: 320px; height: 320px; border-radius: var(--radius-full);
  overflow: hidden; border: 4px solid rgba(212,175,55,0.4);
  box-shadow: var(--shadow-gold); position: relative;
}
.hero-couple-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat-card {
  position: absolute; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius);
  padding: 0.875rem 1.25rem; box-shadow: var(--shadow-glass); text-align: center; min-width: 120px;
}
.hero-stat-card .stat-val { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
.hero-stat-card .stat-lbl { color: var(--muted); font-size: 0.75rem; margin-top: 2px; }
.hero-stat-1 { top: 15%; left: -60px; animation: float 3s ease-in-out infinite; }
.hero-stat-2 { top: 20%; right: -55px; animation: float 3s ease-in-out infinite 1s; }

/* ── SEARCH SECTION ─────────────────────────── */
.search-section { padding: 2rem 0; }
.search-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 2rem;
}
.search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }

/* ── STATS BAR ──────────────────────────────── */
.stats-bar { padding: 3rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--red); }
.stat-label  { color: var(--muted); font-size: 0.875rem; margin-top: 0.25rem; font-weight: 500; }

/* ── FEATURES ───────────────────────────────── */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.feature-card {
  background: var(--cream); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; margin-bottom: 1.125rem; box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-title { font-family: var(--font-heading); font-weight: 700; color: var(--dark); font-size: 1.0625rem; margin-bottom: 0.5rem; }
.feature-desc  { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ── HOW IT WORKS ───────────────────────────── */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.step-item  { text-align: center; }
.step-circle {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  background: var(--gradient); color: #fff; font-family: var(--font-heading);
  font-weight: 700; font-size: 1.375rem; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1rem; box-shadow: var(--shadow);
  position: relative;
}
.step-emoji { position: absolute; top: -6px; right: -6px; font-size: 1.125rem; }
.step-title { font-family: var(--font-heading); font-weight: 600; color: var(--dark); margin-bottom: 0.375rem; }
.step-desc  { color: var(--muted); font-size: 0.875rem; }

/* ── PROFILE CARDS ──────────────────────────── */
.profiles-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.profile-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--transition);
}
.profile-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.profile-photo-wrap { position: relative; height: 220px; overflow: hidden; }
.profile-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.profile-card:hover .profile-photo-wrap img { transform: scale(1.05); }
.profile-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,41,59,0.65) 0%, transparent 50%); }
.profile-photo-badge { position: absolute; top: 0.75rem; right: 0.75rem; }
.profile-photo-name { position: absolute; bottom: 0.75rem; left: 0.75rem; color: #fff; }
.profile-photo-name h4 { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.profile-photo-name span { font-size: 0.75rem; color: rgba(255,255,255,0.80); }
.profile-details { padding: 1rem; }
.profile-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.375rem; margin-bottom: 1rem; }
.profile-meta-item { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--muted); }
.profile-meta-item i { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }
.profile-actions { display: flex; gap: 0.5rem; }
.profile-action-view {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  padding: 0.625rem; border-radius: var(--radius-sm); font-size: 0.8125rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text); transition: var(--transition);
}
.profile-action-view:hover { border-color: var(--red); color: var(--red); }
.profile-action-heart {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  padding: 0.625rem; border-radius: var(--radius-sm); font-size: 0.8125rem; font-weight: 600;
  background: var(--gradient); color: #fff; box-shadow: var(--shadow); transition: var(--transition);
}
.profile-action-heart:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.profile-action-star {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border); color: var(--muted);
  transition: var(--transition); font-size: 0.875rem;
}
.profile-action-star:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-light); }

/* ── MEMBERSHIP PLANS ───────────────────────── */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.plan-card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  border: 2px solid var(--border); transition: var(--transition); position: relative; overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.highlight { background: var(--dark); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.plan-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--dark); margin-bottom: 0.25rem; }
.plan-card.highlight .plan-name { color: #fff; }
.plan-price { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--red); }
.plan-card.highlight .plan-price { color: var(--gold-shine); }
.plan-period { font-size: 0.875rem; color: var(--muted); }
.plan-card.highlight .plan-period { color: rgba(255,255,255,0.5); }
.plan-features { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.625rem; }
.plan-feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text); }
.plan-card.highlight .plan-feature { color: rgba(255,255,255,0.80); }
.plan-feature i.check { color: var(--green); }
.plan-card.highlight .plan-feature i.check { color: var(--gold); }
.duration-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: var(--radius-full); padding: 0.45rem 1.1rem; font-size: 0.875rem; cursor: pointer; transition: all 0.2s; }
.duration-btn:hover, .duration-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ── Mandala on light/cream sections ─────────────────── */
/*
 * The mandala.png is white-on-transparent, visible on dark bg.
 * On cream/white sections we convert it to a warm crimson/gold
 * using CSS filter on an absolutely-positioned pseudo-element.
 * filter breakdown:
 *   brightness(0)   → turns white → black (transparent stays)
 *   invert(1)        → black → white again (needed baseline)
 *   sepia(1)         → warm brownish tint
 *   saturate(4)      → vivid colour
 *   hue-rotate(330deg) → shift to red/crimson (~#9e2a2a range)
 *   brightness(0.65) → darken to be visible but subtle on cream
 */
.section-mandala        { position: relative; overflow: hidden; }
.section-mandala > .container { position: relative; z-index: 1; }
.section-mandala::after {
  content: '';
  position: absolute; top: 50%; right: -5rem;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  background-image: url('/static/website/images/mandala.png');
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none; z-index: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(330deg) brightness(0.65);
  opacity: 0.10;
  animation: float 12s ease-in-out infinite;
}
/* Left-aligned variant */
.section-mandala-left::after {
  right: auto; left: -5rem;
  transform: translateY(-50%) scaleX(-1);
  animation-direction: reverse;
}
/* Dual — both sides (adds left via ::before) */
.section-mandala-dual::before {
  content: '';
  position: absolute; top: 50%; left: -5rem;
  transform: translateY(-50%) scaleX(-1);
  width: 360px; height: 360px;
  background-image: url('/static/website/images/mandala.png');
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none; z-index: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(330deg) brightness(0.65);
  opacity: 0.06;
  animation: float 15s ease-in-out infinite reverse;
}

/* Certificate upload widget */
.cert-upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--cream);
}
.cert-upload-zone:hover, .cert-upload-zone.drag-over {
  border-color: var(--gold); background: var(--gold-light);
}
.cert-upload-zone i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: 0.625rem; }
.cert-status-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.3rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600;
}
.cert-status-badge.pending  { background: rgba(212,175,55,0.15); color: #92670a; }
.cert-status-badge.verified { background: rgba(22,163,74,0.12);  color: #166534; }
.cert-status-badge.rejected { background: rgba(178,34,34,0.12);  color: var(--red); }

/* Official certificate section — 2-col on ≥900px */
@media (min-width: 900px) {
  #cert-trust-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── SUCCESS STORIES ────────────────────────── */
.story-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); box-shadow: var(--shadow); height: 100%; }
.story-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.story-avatar {
  width: 60px; height: 60px; border-radius: var(--radius-full); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; color: #fff;
  box-shadow: var(--shadow);
}
.story-names { font-family: var(--font-heading); font-weight: 700; color: var(--dark); font-size: 0.9375rem; }
.story-date  { font-size: 0.75rem; color: var(--gold); font-weight: 600; }
.story-text  { color: var(--muted); font-size: 0.875rem; line-height: 1.7; font-style: italic; }

/* ── CTA BANNER ─────────────────────────────── */
.cta-banner { padding: 5rem 0; background: var(--gradient); position: relative; overflow: hidden; text-align: center; }
.cta-banner-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
.cta-banner-sub { color: rgba(255,255,255,0.70); font-size: 1.0625rem; max-width: 34rem; margin: 0 auto 2rem; }

/* ── PROFILE DETAIL ─────────────────────────── */
.profile-detail-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.profile-detail-photo { width: 8rem; height: 8rem; border-radius: var(--radius-full); object-fit: cover; border: 4px solid var(--gold); box-shadow: var(--shadow-gold); }
.profile-section-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.profile-section-title { font-family: var(--font-heading); font-weight: 700; color: var(--dark); font-size: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.profile-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.profile-field-label { font-size: 0.75rem; color: var(--muted); font-weight: 500; margin-bottom: 0.125rem; }
.profile-field-val   { font-size: 0.875rem; color: var(--text); font-weight: 600; }

/* ── DASHBOARD ──────────────────────────────── */
.dashboard-layout { display: flex; min-height: calc(100vh - 72px); }
.sidebar {
  width: 256px; flex-shrink: 0; background: var(--dark); color: #fff;
  display: flex; flex-direction: column;
  position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto;
}
.sidebar-brand { padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-user  { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 0.75rem; }
.sidebar-nav   { flex: 1; padding: 0.75rem; overflow-y: auto; }
.sidebar-item  {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.60); transition: var(--transition);
  text-decoration: none; margin-bottom: 2px;
}
.sidebar-item:hover, .sidebar-item.active { color: #fff; background: rgba(255,255,255,0.10); }
.sidebar-item.active { background: var(--gradient); }
.sidebar-logout { padding: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); }
.dashboard-main { flex: 1; overflow: auto; background: var(--cream); }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; background: #fff; border-bottom: 1px solid var(--border); }
.dashboard-content { padding: 1.5rem; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 0.875rem; font-size: 1.125rem; }
.stat-card-val   { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--dark); }
.stat-card-label { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.stats-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

/* ── MULTI-STEP REGISTRATION ────────────────── */
.step-progress { display: flex; align-items: center; margin-bottom: 2rem; overflow-x: auto; padding-bottom: 0.25rem; }
.step-dot {
  display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 48px;
  position: relative;
}
.step-dot::before {
  content: ''; position: absolute; top: 16px; left: 50%; right: -50%;
  height: 2px; background: var(--border); z-index: 0;
}
.step-dot:last-child::before { display: none; }
.step-dot .dot-circle {
  width: 32px; height: 32px; border-radius: var(--radius-full); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 0.8125rem;
  font-weight: 700; background: #fff; color: var(--muted); position: relative; z-index: 1; transition: var(--transition);
}
.step-dot.active .dot-circle  { border-color: var(--red); background: var(--red); color: #fff; }
.step-dot.done  .dot-circle   { border-color: var(--green); background: var(--green); color: #fff; }
.step-dot.done::before        { background: var(--green); }
.step-dot.active::before      { background: var(--border); }
.step-dot .dot-label { font-size: 0.625rem; font-weight: 600; color: var(--muted); margin-top: 0.375rem; text-align: center; white-space: nowrap; }
.step-dot.active .dot-label { color: var(--red); }
.step-dot.done  .dot-label  { color: var(--green); }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeUp 0.35s ease; }

/* ── CHIP SELECT ────────────────────────────── */
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chip {
  padding: 0.5rem 1rem; border-radius: var(--radius-full); border: 1.5px solid var(--border);
  font-size: 0.8125rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: var(--transition); background: #fff;
}
.chip:hover  { border-color: var(--red); color: var(--red); }
.chip.active { border-color: var(--red); background: var(--red-light); color: var(--red); }

/* ── CONTACT PAGE ───────────────────────────── */
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact-info-card {
  background: var(--cream); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.contact-info-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; margin: 0 auto 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; margin-bottom: 0.75rem; }
.faq-btn  { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; text-align: left; background: none; border: none; cursor: pointer; transition: background 0.2s; }
.faq-btn:hover { background: var(--cream); }
.faq-question { font-weight: 600; color: var(--dark); font-size: 0.9375rem; }
.faq-icon { color: var(--gold); font-weight: 700; font-size: 1.25rem; flex-shrink: 0; margin-left: 0.75rem; transition: transform 0.2s; }
.faq-btn.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 200px; padding: 0 1.25rem 1rem; }
.faq-answer p  { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ── ABOUT PAGE ─────────────────────────────── */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 1rem; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 3.5rem; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: 0; width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.timeline-content { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.25rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.timeline-title { font-family: var(--font-heading); font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.timeline-desc  { color: var(--muted); font-size: 0.875rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 700px; margin: 0 auto; }
.team-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.team-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-4px); }
.team-avatar { width: 80px; height: 80px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0 auto 1rem; box-shadow: var(--shadow); }
.team-name { font-family: var(--font-heading); font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.team-role { color: var(--muted); font-size: 0.8125rem; }

/* ── LOADING SKELETON ───────────────────────── */
.skeleton-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); }
.skeleton-line { border-radius: 6px; height: 14px; }

/* ── LOGIN PAGE ─────────────────────────────── */
.login-layout { min-height: 100vh; display: flex; }
.login-left {
  flex: 1; background: var(--gradient); display: none;
  flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem; position: relative; overflow: hidden;
}
.login-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--cream); }
.login-card  { width: 100%; max-width: 440px; }
.login-form-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 2.25rem; }

/* ── SWIPER OVERRIDES ───────────────────────── */
.swiper-pagination-bullet-active { background: var(--red) !important; }
.swiper-button-next::after, .swiper-button-prev::after { color: var(--red) !important; font-size: 1.1rem !important; }

/* ── BACK TO TOP ────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px;
  border-radius: var(--radius-full); background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 99; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; transform: translateY(12px);
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }

/* ── TOASTS ─────────────────────────────────── */
#toast-container { position: fixed; top: 1.25rem; right: 1.25rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.625rem; }
.toast {
  display: flex; align-items: center; gap: 0.625rem;
  background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--border);
  padding: 0.875rem 1.125rem; box-shadow: var(--shadow-glass); font-size: 0.875rem;
  animation: slideIn 0.3s ease; min-width: 240px; max-width: 320px;
}
.toast.success { border-left: 4px solid var(--green); }
.toast.error   { border-left: 4px solid var(--red); }
.toast.success i { color: var(--green); }
.toast.error   i { color: var(--red); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (min-width: 576px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(4, 1fr); }
  .profiles-grid  { grid-template-columns: repeat(2, 1fr); }
  .plans-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-detail-layout { grid-template-columns: 300px 1fr; }
  .login-left { display: flex; }
  .team-grid  { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
  .nav-links, .nav-actions { display: flex !important; }
  .hamburger { display: none !important; }
  .features-grid  { grid-template-columns: repeat(3, 1fr); }
  .profiles-grid  { grid-template-columns: repeat(3, 1fr); }
  .plans-grid     { grid-template-columns: repeat(4, 1fr); }
  .steps-grid     { grid-template-columns: repeat(4, 1fr); }
  .footer-grid    { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hero-content   { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .stats-cards-grid { grid-template-columns: repeat(4, 1fr); }
  .search-grid    { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
  .nav-links  { display: none; }
  .nav-actions { display: none; }
  .hamburger  { display: flex !important; }
  .sidebar    { position: fixed; inset-y: 0; left: 0; z-index: 200; transform: translateX(-100%); transition: transform 0.3s; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; display: none; }
  .sidebar-backdrop.open { display: block; }
  .hero-stat-1, .hero-stat-2 { display: none; }
  .hero-image-side { display: none; }
}
@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .section-heading { font-size: 1.75rem; }
  .hero { min-height: auto; }
  .hero-title { font-size: 2rem; }
}
