/* ═══════════════════════════════════════════════
   NEKAR MATRIMONY — MAIN CSS
   Navy + Orange · Poppins · Community First
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy:        #0B2545;
  --navy-md:     #163872;
  --navy-lt:     #1F4FA0;
  --orange:      #E07B1A;
  --orange-lt:   #F5A840;
  --orange-pale: #FFF0DC;
  --cream:       #FFFAF4;
  --cream-dk:    #F5EDE0;
  --white:       #FFFFFF;
  --charcoal:    #1A1A2E;
  --gray:        #6B7280;
  --gray-lt:     #D1D5DB;
  --border:      rgba(224,123,26,0.2);
  --border-navy: rgba(11,37,69,0.15);
  --shadow-sm:   0 2px 12px rgba(11,37,69,0.08);
  --shadow-md:   0 8px 32px rgba(11,37,69,0.12);
  --shadow-lg:   0 20px 60px rgba(11,37,69,0.18);
  --radius:      14px;
  --radius-lg:   22px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:'Poppins',sans-serif; background:var(--cream); color:var(--charcoal); overflow-x:hidden; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
ul { list-style:none; }
input,select,textarea,button { font-family:'Poppins',sans-serif; }

::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--cream-dk); }
::-webkit-scrollbar-thumb { background:var(--orange); border-radius:10px; }

/* ── Layout ─────────────────────────────────── */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section    { padding:90px 0; }
.section-sm { padding:50px 0; }
.page-wrap  { min-height:100vh; display:flex; flex-direction:column; }
.page-main  { flex:1; }

/* ── Typography ─────────────────────────────── */
.tag {
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:600; letter-spacing:2.5px;
  text-transform:uppercase; color:var(--orange);
  background:var(--orange-pale); padding:5px 14px;
  border-radius:50px; margin-bottom:16px;
  border:1px solid rgba(224,123,26,0.25);
}
.section-title {
  font-size:clamp(1.8rem,3.5vw,2.8rem);
  font-weight:700; line-height:1.2;
  color:var(--navy); margin-bottom:16px;
}
.section-sub { font-size:0.97rem; color:var(--gray); max-width:560px; line-height:1.8; }
.divider { width:50px; height:3px; background:linear-gradient(90deg,var(--orange),var(--orange-lt)); border-radius:4px; margin:14px 0 28px; }
.section-head.center { text-align:center; }
.section-head.center .divider  { margin:14px auto 28px; }
.section-head.center .section-sub { margin:0 auto; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 28px; border-radius:50px;
  font-size:0.92rem; font-weight:600;
  cursor:pointer; border:none; transition:var(--transition);
}
.btn-primary { background:var(--navy); color:var(--white); }
.btn-primary:hover { background:var(--navy-md); transform:translateY(-2px); box-shadow:0 6px 24px rgba(11,37,69,0.35); }
.btn-orange  { background:var(--orange); color:var(--white); }
.btn-orange:hover  { background:#c96d14; transform:translateY(-2px); box-shadow:0 6px 24px rgba(224,123,26,0.4); }
.btn-outline { background:transparent; color:var(--navy); border:2px solid var(--navy); }
.btn-outline:hover { background:var(--navy); color:var(--white); }
.btn-outline-white { background:transparent; color:var(--white); border:2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background:rgba(255,255,255,0.15); border-color:white; }
.btn-sm { padding:8px 18px; font-size:0.82rem; }

/* ── Navbar ─────────────────────────────────── */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:16px 0; transition:var(--transition);
}
.navbar.scrolled {
  background:rgba(11,37,69,0.97);
  backdrop-filter:blur(16px);
  box-shadow:0 2px 24px rgba(0,0,0,0.2);
  padding:11px 0;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; align-items:center; gap:12px; cursor:pointer; text-decoration:none; }
.logo-mark { width:44px; height:44px; flex-shrink:0; }
.logo-text-wrap { display:flex; flex-direction:column; line-height:1; }
.logo-name { font-size:1.35rem; font-weight:800; color:var(--white); letter-spacing:-0.5px; }
.logo-name span { color:var(--orange-lt); }
.logo-tagline { font-size:9px; font-weight:500; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,0.55); margin-top:1px; }
.nav-links { display:flex; align-items:center; gap:30px; }
.nav-links a { font-size:0.88rem; font-weight:500; color:rgba(255,255,255,0.8); transition:color var(--transition); }
.nav-links a:hover, .nav-links a.active { color:var(--orange-lt); }
.nav-right { display:flex; align-items:center; gap:10px; }
.btn-nav {
  display:flex; align-items:center; gap:7px;
  padding:8px 18px; border-radius:50px;
  border:1.5px solid rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.08);
  font-size:0.83rem; font-weight:600;
  color:var(--white); cursor:pointer; transition:var(--transition);
}
.btn-nav:hover { background:var(--orange); border-color:var(--orange); }
.btn-nav.active { background:var(--orange); border-color:var(--orange); }
.nav-user-name { font-size:0.82rem; font-weight:600; color:var(--orange-lt); max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px; }
.hamburger span { display:block; width:24px; height:2px; background:white; border-radius:4px; transition:var(--transition); }

/* ── Mobile Nav ─────────────────────────────── */
.mobile-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:1400; display:none; }
.mobile-overlay.open { display:block; }
.mobile-nav {
  position:fixed; top:0; right:-100%; width:280px; height:100vh;
  background:var(--navy); z-index:1500;
  box-shadow:-8px 0 40px rgba(0,0,0,0.3);
  transition:var(--transition); padding:90px 28px 40px;
  display:flex; flex-direction:column; gap:4px;
}
.mobile-nav.open { right:0; }
.mobile-nav a { font-size:1rem; font-weight:500; color:rgba(255,255,255,0.8); padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.08); }
.mobile-nav a:hover { color:var(--orange-lt); }

/* ── Footer ─────────────────────────────────── */
footer { background:var(--charcoal); color:rgba(255,255,255,0.65); padding:60px 0 28px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer-brand p { font-size:0.85rem; line-height:1.75; margin-top:16px; max-width:260px; color:rgba(255,255,255,0.55); }
.footer-socials { display:flex; gap:10px; margin-top:20px; }
.social-btn { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,0.07); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.6); transition:var(--transition); }
.social-btn:hover { background:var(--orange); color:white; }
.footer-col h4 { font-size:0.8rem; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:white; margin-bottom:18px; }
.footer-col ul { display:flex; flex-direction:column; gap:10px; }
.footer-col ul li a { font-size:0.85rem; transition:color var(--transition); }
.footer-col ul li a:hover { color:var(--orange-lt); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
.footer-bottom p { font-size:0.8rem; }
.security-badges { display:flex; gap:10px; flex-wrap:wrap; }
.s-badge { display:flex; align-items:center; gap:6px; font-size:10px; font-weight:600; color:rgba(255,255,255,0.45); background:rgba(255,255,255,0.05); padding:4px 12px; border-radius:20px; }
.s-badge i { color:var(--orange-lt); }

/* ── WhatsApp FAB ───────────────────────────── */
.whatsapp-fab { position:fixed; bottom:28px; right:28px; z-index:999; }
.wa-btn { width:58px; height:58px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; font-size:26px; color:white; box-shadow:0 6px 24px rgba(37,211,102,0.5); cursor:pointer; transition:var(--transition); border:none; }
.wa-btn:hover { transform:scale(1.1); }
.wa-popup { position:absolute; bottom:72px; right:0; width:300px; background:white; border-radius:var(--radius); box-shadow:var(--shadow-lg); overflow:hidden; display:none; animation:popIn 0.3s ease; }
@keyframes popIn { from{opacity:0;transform:translateY(10px) scale(0.95)} to{opacity:1;transform:translateY(0) scale(1)} }
.wa-popup.open { display:block; }
.wa-header { background:#25D366; padding:16px 20px; display:flex; align-items:center; gap:12px; }
.wa-header-icon { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; font-size:18px; color:white; }
.wa-header h4 { color:white; font-size:0.9rem; font-weight:700; }
.wa-header p  { color:rgba(255,255,255,0.8); font-size:11px; margin-top:1px; }
.wa-online { width:7px; height:7px; border-radius:50%; background:#7FFF00; display:inline-block; margin-right:4px; }
.wa-body { padding:18px 20px; }
.wa-body p { font-size:0.85rem; color:var(--gray); line-height:1.6; margin-bottom:14px; }
.wa-quick { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.wa-q { font-size:11px; padding:5px 11px; border:1px solid var(--border-navy); border-radius:20px; cursor:pointer; transition:var(--transition); background:none; }
.wa-q:hover { border-color:#25D366; color:#25D366; }
.wa-input { display:flex; gap:8px; }
.wa-input input { flex:1; padding:9px 13px; border:2px solid var(--border-navy); border-radius:50px; font-size:0.82rem; outline:none; }
.wa-input input:focus { border-color:#25D366; }
.wa-send { padding:9px 18px; background:#25D366; color:white; border:none; border-radius:50px; font-weight:600; font-size:0.82rem; cursor:pointer; }

/* ── Toast ──────────────────────────────────── */
.toast { position:fixed; bottom:100px; left:50%; transform:translateX(-50%) translateY(30px); background:var(--navy); color:white; padding:12px 24px; border-radius:50px; font-size:0.85rem; font-weight:500; opacity:0; transition:all 0.3s; z-index:4000; pointer-events:none; display:flex; align-items:center; gap:10px; white-space:nowrap; }
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.toast i { color:var(--orange-lt); }

/* ── Modals ─────────────────────────────────── */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.6); backdrop-filter:blur(8px); z-index:2000; display:none; align-items:center; justify-content:center; }
.modal-overlay.open { display:flex; }
.modal { background:white; border-radius:var(--radius-lg); padding:44px 38px; max-width:420px; width:92%; position:relative; animation:modalIn 0.35s ease; text-align:center; }
@keyframes modalIn { from{opacity:0;transform:scale(0.92)} to{opacity:1;transform:scale(1)} }
.modal-close { position:absolute; top:14px; right:16px; background:none; border:none; font-size:22px; cursor:pointer; color:var(--gray); }

/* ── Cards ──────────────────────────────────── */
.card { background:var(--white); border-radius:var(--radius); border:1px solid var(--border-navy); padding:24px; }
.card-hover { transition:var(--transition); }
.card-hover:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }

/* ── Page Header ─────────────────────────────── */
.page-header { background:var(--navy); padding:100px 0 50px; color:white; }
.page-header .tag { color:var(--orange-lt); background:rgba(224,123,26,0.2); border-color:rgba(224,123,26,0.3); }
.page-header .section-title { color:white; }
.page-header .divider { background:linear-gradient(90deg,var(--orange-lt),rgba(255,255,255,0.2)); }

/* ── Scroll Reveal ──────────────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── Responsive ─────────────────────────────── */
@media(max-width:1024px) { .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .section { padding:60px 0; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}
@media(max-width:480px) {
  .modal { padding:32px 22px; }
  .whatsapp-fab { bottom:18px; right:18px; }
  .wa-popup { right:-10px; width:280px; }
}
