/* ============================================================
   SHAIBAL BOSE — Insurance & Investment Advisor
   Premium Custom Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* === ROOT VARIABLES === */
:root {
  --bg:        #04080f;
  --bg2:       #080d1a;
  --gold:      #d97706;
  --gold-l:    #f59e0b;
  --gold-ll:   #fbbf24;
  --blue:      #1e3a8a;
  --violet:    #5b21b6;
  --cyan:      #06b6d4;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --border:    rgba(255,255,255,0.08);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--violet)); border-radius: 3px; }

/* === GRADIENT TEXT === */
.g-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text {
  background: linear-gradient(135deg, #d97706, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blue-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === GLASSMORPHISM === */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}
.glass-dark {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
}

/* === GRADIENT BORDER === */
.g-border {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(4,8,15,0.95), rgba(4,8,15,0.95)) padding-box,
    linear-gradient(135deg, #3b82f6, #8b5cf6, #d97706) border-box;
  border-radius: 1.25rem;
}

/* === NAVBAR === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: all 0.3s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(4,8,15,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold-l); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
#mobile-menu.open { max-height: 500px; }

/* === BUTTONS === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #b45309, #d97706, #f59e0b);
  color: #0a0e1a;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(217,119,6,0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-l);
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(217,119,6,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217,119,6,0.25);
}
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: all 0.3s ease;
}
.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(29,78,216,0.4);
}

/* === HERO === */
.hero-wrap {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,
    #020817 0%,
    #0c1445 20%,
    #1e1b4b 40%,
    #1a237e 60%,
    #0d1b45 80%,
    #020817 100%
  );
}
.hero-wrap::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.14) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.hero-wrap::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,0.1) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}
@keyframes float-orb {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-120px) rotate(720deg); opacity: 0; }
}

/* === PAGE HERO BANNER === */
.page-hero {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    #020817 0%,
    #0d1b45 35%,
    #1e1b4b 65%,
    #020817 100%
  );
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: -200px; right: 5%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,0.1) 0%, transparent 70%);
  bottom: -50px; left: 10%;
  pointer-events: none;
}

/* === SECTION UTILITIES === */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217,119,6,0.1);
  border: 1px solid rgba(217,119,6,0.3);
  color: var(--gold-l);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.gold-line {
  width: 70px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l), var(--gold-ll));
  border-radius: 3px;
  margin: 0.8rem 0 1.5rem;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* === CARDS === */
.prem-card {
  background: linear-gradient(135deg,
    rgba(30,58,138,0.12),
    rgba(91,33,182,0.08)
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1);
  position: relative;
  overflow: hidden;
}
.prem-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(217,119,6,0.04));
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: 1.5rem;
  pointer-events: none;
}
.prem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217,119,6,0.25);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(217,119,6,0.08);
}
.prem-card:hover::after { opacity: 1; }

/* Info card */
.info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.info-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(217,119,6,0.2);
  transform: translateY(-4px);
}

/* Icon badge */
.icon-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* === STATS === */
.stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* === TESTIMONIAL SLIDER === */
.t-wrapper { overflow: hidden; position: relative; }
.t-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
}
.t-slide { min-width: 100%; padding: 0 4px; }
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.t-dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 5px;
}

/* === FAQ === */
.faq-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
  margin-bottom: 0.75rem;
}
.faq-item.open { border-color: rgba(217,119,6,0.3); }
.faq-q {
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  transition: background 0.3s;
  user-select: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq-q:hover { background: rgba(255,255,255,0.06); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  background: rgba(0,0,0,0.2);
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-a.open { max-height: 200px; padding: 1.2rem 1.5rem; }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* === SERVICE TABS === */
.s-tab {
  padding: 9px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}
.s-tab.active, .s-tab:hover {
  background: linear-gradient(135deg, #1e3a8a, #5b21b6);
  border-color: rgba(139,92,246,0.4);
  color: white;
  box-shadow: 0 4px 15px rgba(91,33,182,0.3);
}

/* Plan badge */
.plan-no {
  display: inline-block;
  font-size: 0.68rem;
  background: rgba(139,92,246,0.18);
  border: 1px solid rgba(139,92,246,0.3);
  color: #a78bfa;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Highlight banner */
.h-banner {
  background: linear-gradient(135deg,
    rgba(217,119,6,0.12),
    rgba(245,158,11,0.06)
  );
  border: 1px solid rgba(217,119,6,0.35);
  border-radius: 1rem;
  padding: 1.25rem 1.75rem;
}

/* === GALLERY === */
.gal-item {
  overflow: hidden;
  border-radius: 1.25rem;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s;
}
.gal-item img {
  transition: transform 0.45s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal-item:hover { border-color: rgba(217,119,6,0.3); }
.gal-item:hover img { transform: scale(1.08); }
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gal-item:hover .gal-overlay { opacity: 1; }

/* Filter btn */
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #94a3b8;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29,78,216,0.3);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 2rem;
}
#lightbox.active { display: flex; }

/* === CONTACT FORM === */
.f-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 13px 18px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}
.f-input:focus {
  border-color: rgba(217,119,6,0.5);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.1);
  background: rgba(255,255,255,0.08);
}
.f-input::placeholder { color: #475569; }
.f-input option { background: #0a0e1a; color: white; }
.f-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.f-error {
  display: none;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 4px;
}

/* === MAP === */
.map-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.07);
}

/* === FOOTER === */
footer {
  background: linear-gradient(135deg,
    #020817 0%,
    #0c1445 25%,
    #020817 55%,
    #1a0a00 80%,
    #020817 100%
  );
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-link { color: #64748b; font-size: 0.88rem; transition: color 0.3s; }
.footer-link:hover { color: var(--gold-l); }

/* === FLOATING BUTTONS === */
.wa-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform 0.3s;
}
.wa-btn:hover { transform: scale(1.1) rotate(-5deg); }
.wa-btn::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.up-btn {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 15px rgba(29,78,216,0.4);
}
.up-btn.visible { opacity: 1; pointer-events: auto; }
.up-btn:hover { transform: translateY(-4px); }

/* === SCROLL ANIMATIONS === */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos="fade-up"]    { transform: translateY(35px); }
[data-aos="fade-left"]  { transform: translateX(-35px); }
[data-aos="fade-right"] { transform: translateX(35px); }
[data-aos="zoom-in"]    { transform: scale(0.88); }
[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* === VIDEO SECTION === */
.vid-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.vid-wrap::after {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}
.vid-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 640px) {
  .section-title { font-size: 1.6rem; }
  .hero-wrap { min-height: 100svh; }
}

/* === PROFILE IMAGE === */
.profile-ring {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed, #d97706);
  padding: 4px;
  display: inline-block;
}
.profile-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #1e3a8a, #4c1d95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
}

/* === SHRIRAM RATE TABLE === */
.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rate-row:last-child { border-bottom: none; }

/* === SUCCESS ALERT === */
#form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* === ANIMATED COUNTER === */
.counter-wrap {
  background: linear-gradient(135deg, rgba(30,58,138,0.2), rgba(91,33,182,0.15));
  border: 1px solid rgba(255,255,255,0.07);
}
