/* ===================================================
   ALPHA vriddhi — Main Stylesheet
   Theme: Dark finance | Green #2ec27e | Gold #f0b429
   Font: Bebas Neue (display) + Outfit (body)
   =================================================== */


:root {
  --green: #328c6ee0;
  --green-dark: hsla(158, 70%, 36%, 0.848);
  --green-light: #219967cb;
  --gold: #f0b429;
  --gold-dark: #c9920f;
  --dark: #f8f9fa;
  --dark-2: #ffffff;
  --dark-3: #f1f3f5;
  --dark-card: #ffffff;
  --dark-border: rgba(0, 0, 0, 0.08);
  --text: #343a40;
  --text-muted: #6c757d;
  --white: #212529;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-green: 0 4px 24px rgba(46,194,126,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILS ===== */
.container { width: 92%; max-width: 1240px; margin: 0 auto; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.mt-1 { margin-top: 1.5rem; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem;
}
.section-label span { display: block; width: 32px; height: 2px; background: var(--green); border-radius: 2px; }
.section-label.center { justify-content: center; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); line-height: 1.15; margin-bottom: 0.75rem; }
.section-head p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0; background: var(--dark); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-inner { text-align: center; }
.pre-logo img { width: 220px; margin-bottom: 2rem; animation: pulse 1.5s ease-in-out infinite; }
.pre-bar { width: 200px; height: 3px; background: rgba(0,0,0,0.1); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.pre-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); animation: preload 1.8s ease-in-out infinite; }
@keyframes preload { 0%{width:0%} 50%{width:80%} 100%{width:100%} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(0.97)} }

/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); animation: waBounce 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }
@keyframes waBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark-2); border-bottom: 1px solid var(--dark-border);
  padding: 0.45rem 0; font-size: 0.78rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.topbar-left { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); }
.topbar-left i { color: var(--green); }
.topbar-left .sep { opacity: 0.3; }
.topbar-right { display: flex; gap: 0.75rem; }
.topbar-right a { color: var(--text-muted); font-size: 0.8rem; transition: var(--transition); }
.topbar-right a:hover { color: var(--gold); }

/* ===== NAVBAR ===== */



.navbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  padding: 0.85rem 0;
}
.nav-logo img { height: 70px; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block; padding: 0.45rem 0.9rem;
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius-sm); transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: rgba(46,194,126,0.08); }
.nav-links a.active { color: var(--green); }





/* Dropdown */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 0.6rem 0; min-width: 230px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: var(--transition);
  z-index: 100;
}
.dropdown li a { font-size: 0.85rem; padding: 0.55rem 1.25rem; border-radius: 0; }
.dropdown li a:hover { background: rgba(46,194,126,0.1); color: var(--green); padding-left: 1.5rem; }

.btn-cta {
  padding: 0.6rem 1.4rem; background: var(--green); color: var(--dark);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem;
  transition: var(--transition); white-space: nowrap; flex-shrink: 0;
}
.btn-cta:hover { background: var(--gold); box-shadow: 0 4px 20px rgba(240,180,41,0.3); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.75rem 1.75rem; background: var(--green); color: var(--dark);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.92rem;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold); box-shadow: 0 6px 28px rgba(240,180,41,0.35); transform: translateY(-2px); }
.btn-primary.lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.75rem 1.75rem; background: transparent; color: var(--white);
  border: 1.5px solid rgba(0,0,0,0.25); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: rgba(46,194,126,0.06); transform: translateY(-2px); }
.btn-outline.lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: 2rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,194,126,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,194,126,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.glow-green { width: 600px; height: 600px; background: rgba(46,194,126,0.12); top: -200px; left: -100px; }
.glow-gold { width: 400px; height: 400px; background: rgba(240,180,41,0.08); bottom: 0; right: 100px; }

/* Ticker tape */
.ticker-tape {
  position: absolute; top: 0; left: 0; right: 0;
  background: rgba(46,194,126,0.12); border-bottom: 1px solid rgba(46,194,126,0.25);
  height: 44px; display: flex; align-items: center; overflow: hidden;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; color: var(--green-dark);
}
.ticker-inner {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker-inner span { padding: 0 0.25rem; }
.ticker-inner .up { color: var(--green); }
.ticker-inner .down { color: #e55353; }
.ticker-inner i { font-size: 0.65rem; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; padding: 6rem 0 5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,194,126,0.1); border: 1px solid rgba(46,194,126,0.3);
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.78rem;
  font-weight: 600; color: var(--green); margin-bottom: 1.25rem;
}
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white); line-height: 1.05;
  letter-spacing: 2px; margin-bottom: 1.25rem;
}
.hero-text p { font-size: 1.05rem; color: var(--text-muted); max-width: 460px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); letter-spacing: 1px; line-height: 1; }
.stat span:last-of-type { font-size: 1.4rem; color: var(--gold); }
.stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.stat-div { width: 1px; height: 40px; background: var(--dark-border); }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-wrap { position: relative; width: 500px; height: 500px; max-width: 100%; }
.floating-icon {
  position: absolute;
  width: 76px; height: 76px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: var(--green);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  z-index: 2;
}
.float-1 { top: -30px; left: -30px; animation: floatAnim 4s ease-in-out infinite; color: var(--green); }
.float-2 { bottom: 40px; right: -35px; animation: floatAnim 5s ease-in-out infinite 1s; color: var(--gold); }
.float-3 { top: 40%; left: -40px; animation: floatAnim 4.5s ease-in-out infinite 0.5s; color: var(--green-dark); }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
  z-index: 1;
}
.scroll-line { width: 1px; height: 40px; background: var(--dark-border); position: relative; overflow: hidden; }
.scroll-line span { display: block; position: absolute; width: 100%; height: 40%; background: var(--green); animation: scrollDown 1.5s ease-in-out infinite; }
@keyframes scrollDown { 0%{top:-40%;opacity:0} 50%{opacity:1} 100%{top:100%;opacity:0} }

/* ===== MARQUEE BAND ===== */
.marquee-band {
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--gold-dark));
  padding: 0.75rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-track span {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--dark); flex-shrink: 0;
}
.marquee-track i { margin-right: 6px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== ABOUT ===== */
.about-section { padding: 6rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-bg {
  position: absolute; inset: 10%; background: var(--dark-3);
  border: 1px solid var(--dark-border); border-radius: var(--radius);
  z-index: 0;
}
.about-img-placeholder {
  position: relative; z-index: 1;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  /* 📸 REPLACE THIS WITH: <img src="assets/images/analyst.jpg" alt="Analyst"/> */
}
.placeholder-inner {
  text-align: center; color: var(--text-muted); padding: 2rem;
}
.placeholder-inner i { font-size: 4rem; color: var(--dark-border); margin-bottom: 1rem; }
.placeholder-inner span { font-size: 0.85rem; line-height: 1.6; }
.placeholder-inner small { font-size: 0.72rem; color: var(--green); display: block; margin-top: 0.5rem; }
.about-exp-badge {
  position: absolute; bottom: -20px; right: -20px; z-index: 2;
  background: var(--gold); border-radius: 50%; width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(240,180,41,0.35);
}
.exp-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--dark); line-height: 1; }
.exp-txt { font-size: 0.62rem; font-weight: 700; text-align: center; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; }
.about-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.about-text .lead { font-size: 1rem; color: var(--text); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.about-list { display: flex; flex-direction: column; gap: 0.6rem; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); }

/* ===== SERVICES ===== */
.services-section { padding: 6rem 0; position: relative; overflow: hidden; }
.services-bg-pattern {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(46,194,126,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(240,180,41,0.04) 0%, transparent 40%);
}
.services-section .container { position: relative; z-index: 1; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  position: relative; overflow: hidden; transition: var(--transition);
  cursor: pointer;
}
.service-card:hover { border-color: rgba(46,194,126,0.4); transform: translateY(-4px); box-shadow: var(--shadow-green); }
.service-card:hover .svc-hover-glow { opacity: 1; }
.svc-hover-glow {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: var(--transition);
  background: radial-gradient(ellipse at 50% 0%, rgba(46,194,126,0.06) 0%, transparent 70%);
}
.svc-icon-wrap {
  width: 54px; height: 54px; background: rgba(46,194,126,0.1);
  border: 1px solid rgba(46,194,126,0.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--green); margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .svc-icon-wrap { background: var(--green); color: var(--dark); box-shadow: 0 4px 20px rgba(46,194,126,0.3); }
.service-card h4 { font-size: 1.05rem; color: var(--white); font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--green); transition: var(--transition); }
.svc-link:hover { gap: 10px; color: var(--gold); }

/* ===== WHY US ===== */
.why-section { padding: 6rem 0; background: var(--dark-2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white); margin-bottom: 1rem; line-height: 1.2; }
.why-text > p { color: var(--text-muted); margin-bottom: 2rem; }
.why-features { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(46,194,126,0.1); border: 1px solid rgba(46,194,126,0.2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--green);
}
.why-item h5 { font-size: 0.95rem; color: var(--white); font-weight: 700; margin-bottom: 0.3rem; }
.why-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* Orbit */
.why-visual { display: flex; justify-content: center; }
.why-circle-wrap { position: relative; width: 320px; height: 320px; }
.why-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid;
}
.r1 { width: 100%; height: 100%; border-color: rgba(46,194,126,0.12); animation: spin 20s linear infinite; }
.r2 { width: 72%; height: 72%; border-color: rgba(240,180,41,0.15); animation: spin 14s linear infinite reverse; }
.r3 { width: 44%; height: 44%; border-color: rgba(46,194,126,0.2); animation: spin 8s linear infinite; }
@keyframes spin { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }
.why-center-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; background: var(--dark-2); border-radius: 50%;
  width: 100px; height: 100px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 2px solid var(--dark-border);
}
.why-center-logo img { width: 90%; }
.orbit-dot {
  position: absolute; width: 40px; height: 40px; z-index: 3;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--green);
}
.d1 { top: 0; left: 50%; transform: translateX(-50%); top: -20px; }
.d2 { right: -20px; top: 50%; transform: translateY(-50%); color: var(--gold); }
.d3 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.d4 { left: -20px; top: 50%; transform: translateY(-50%); }

/* ===== PROCESS ===== */
.process-section { padding: 6rem 0; }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; position: relative;
}
.process-step {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; position: relative;
  transition: var(--transition);
}
.process-step:hover { border-color: rgba(46,194,126,0.35); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display); font-size: 3.5rem; color: rgba(46,194,126,0.08);
  line-height: 1; position: absolute; top: 1rem; right: 1rem;
}
.step-icon {
  width: 56px; height: 56px; background: rgba(46,194,126,0.1);
  border: 1px solid rgba(46,194,126,0.2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--green); margin: 0 auto 1rem;
}
.process-step h4 { font-size: 0.95rem; color: var(--white); font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  z-index: 2; color: var(--green); font-size: 1rem; opacity: 0.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 6rem 0; position: relative; overflow: hidden; background: var(--dark-2); }
.testi-bg-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(46,194,126,0.05), transparent 70%);
  pointer-events: none;
}
.testi-swiper { padding-bottom: 3rem !important; }
.testi-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 2rem; height: auto;
}
.testi-quote { font-size: 2rem; color: var(--green); opacity: 0.3; margin-bottom: 1rem; line-height: 1; }
.testi-text { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1.25rem; }
.testi-stars { display: flex; gap: 4px; color: var(--gold); font-size: 0.8rem; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: 0.85rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(46,194,126,0.12);
  border: 1px solid rgba(46,194,126,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--green);
}
.testi-name { display: block; font-weight: 700; font-size: 0.9rem; color: var(--white); }
.testi-city { font-size: 0.75rem; color: var(--text-muted); }
.swiper-pagination-bullet { background: var(--text-muted) !important; }
.swiper-pagination-bullet-active { background: var(--green) !important; }

/* ===== COMPLAINT TABLE ===== */
.complaint-section { padding: 5rem 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--dark-border); }
.complaint-table { width: 100%; border-collapse: collapse; }
.complaint-table th {
  background: rgba(46,194,126,0.08); color: var(--green); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--dark-border);
}
.complaint-table td { padding: 0.85rem 1.5rem; font-size: 0.88rem; color: var(--text); border-bottom: 1px solid rgba(0,0,0,0.05); }
.complaint-table tbody tr:hover { background: rgba(0,0,0,0.02); }
.total-row td { color: var(--white); font-weight: 600; background: rgba(46,194,126,0.04); border-top: 1px solid var(--dark-border); }

/* ===== CTA ===== */
.cta-section {
  padding: 5rem 0; background: var(--dark-3); position: relative; overflow: hidden;
  border-top: 1px solid var(--dark-border); border-bottom: 1px solid var(--dark-border);
}
.cta-bg-shape {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(46,194,126,0.08), transparent 65%);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); margin-bottom: 0.5rem; }
.cta-inner p { color: var(--text-muted); }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--dark-2); border-top: 1px solid var(--dark-border); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo { height: 75px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(0,0,0,0.05); border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text-muted); transition: var(--transition);
}
.footer-social a:hover { background: var(--green); color: var(--dark); border-color: var(--green); }
.footer-col h5 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--dark-border); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul li a { font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); padding-left: 4px; }
.footer-col ul li a i { font-size: 0.65rem; color: var(--green); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.84rem; color: var(--text-muted); align-items: flex-start; line-height: 1.5; margin-bottom: 0.5rem; }
.footer-contact li i { margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--dark-border); padding: 1.5rem 0;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.4rem; }
.footer-bottom .copy { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ===== SERVICES PAGE ===== */
.page-hero {
  padding: 5rem 0 4rem;
  background: var(--dark-2);
  border-bottom: 1px solid var(--dark-border);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(46,194,126,0.07), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--green); }
.breadcrumb i { font-size: 0.6rem; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4.5rem); color: var(--white); letter-spacing: 2px; }

/* Services detail */
.service-detail { padding: 6.5rem 0; border-bottom: 1px solid var(--dark-border); }
.service-detail:nth-child(even) { background: var(--dark-3); }
.service-detail:nth-child(even) .sd-grid { direction: rtl; }
.service-detail:nth-child(even) .sd-grid > * { direction: ltr; }
.sd-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.sd-content .section-label { margin-bottom: 1rem; }
.sd-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white);
  margin-bottom: 1.25rem; line-height: 1.15; font-weight: 800;
}
.sd-content p {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.85;
  margin-bottom: 1.35rem; max-width: 520px;
}
.sd-content p:first-of-type { color: var(--text); font-weight: 500; }
.sd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 2rem; }
.sd-feat {
  display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text);
  background: rgba(46,194,126,0.06); border: 1px solid rgba(46,194,126,0.12);
  padding: 0.7rem 1rem; border-radius: 10px; font-weight: 500;
  transition: var(--transition);
}
.sd-feat:hover { background: rgba(46,194,126,0.12); border-color: rgba(46,194,126,0.25); transform: translateY(-2px); }
.sd-feat i { color: var(--green); font-size: 0.8rem; flex-shrink: 0; }
.sd-visual {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 0; min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sd-visual:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(46,194,126,0.12); }
.sd-visual img { transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.sd-visual:hover img { transform: scale(1.04); }
.sd-visual-icon { font-size: 5rem; color: rgba(46,194,126,0.12); }
.sd-visual-badge {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  background: var(--green); color: #fff; padding: 0.45rem 1.1rem;
  border-radius: 50px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px;
  z-index: 2; box-shadow: 0 4px 16px rgba(46,194,126,0.3);
}

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(46,194,126,0.1); border: 1px solid rgba(46,194,126,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--green);
}
.c-info span { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.c-info a, .c-info p { color: var(--white); font-size: 0.9rem; font-weight: 500; }
.contact-form-wrap {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 2.5rem;
}
.contact-form-wrap h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 0.5rem; }
.contact-form-wrap p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0,0,0,0.04); border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem;
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); background: rgba(46,194,126,0.05); }
.form-group select option { background: var(--dark-card); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 0.9rem; background: var(--green); color: var(--dark);
  font-weight: 800; font-size: 1rem; border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
}
.form-submit:hover { background: var(--gold); box-shadow: 0 6px 28px rgba(240,180,41,0.3); }

/* Appointment */
.appointment-section { padding: 5rem 0; background: var(--dark-2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
}
@media (max-width: 768px) {
  .topbar-left .sep, .topbar-left span:last-child { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); flex-direction: column; align-items: flex-start; padding: 1rem; border-bottom: 1px solid var(--dark-border); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 0.75rem 1rem; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(0,0,0,0.03); border-radius: 0; padding: 0 0 0 1rem; }
  .nav-toggle { display: flex; }
  .btn-cta { display: none; }
  .navbar { position: relative; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 0 3rem; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .sd-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Escalation Matrix Table Styles */
.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 128, 0, 0.05);
}

.escalation-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Ensures it scrolls on mobile instead of squishing */
    background-color: #ffffff;
}

.escalation-table th {
    background-color: #e6f4ea;
    color: #059669;
    font-weight: 700;
    text-align: left;
    padding: 16px;
    border-bottom: 2px solid #10b981;
    white-space: nowrap;
    font-size: 15px;
}

.escalation-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
}

.escalation-table tbody tr:last-child td {
    border-bottom: none;
}

.escalation-table tbody tr:hover {
    background-color: #f8fcf9; /* Slight green hover effect */
}

/* Emphasized highlight for important notices */
.notice-highlight {
    color: #059669;
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}

/* Prevents the entire website from scrolling left/right */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
    margin: 0;
    padding: 0;
}


.alert-warning-text {
        display: block !important; /* Turns off the desktop flex layout */
        white-space: normal;
        line-height: 1.5;
        text-align: center; /* Centers the icon and text together */
    }
    
    .alert-warning-text i {
        margin-right: 6px; /* Adds a tiny space between the icon and the first word */
    }


    .footer-bottom {
    width: 100vw;
    margin: 0;
    padding: 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100vw;
    max-width: none !important;

    padding: 0 20px;
    box-sizing: border-box;
}

.footer-bottom-content p {
    margin: 0;
}



    .page-hero { 
        padding: 3rem 0 1rem; 
        background: transparent; 
        position: relative; 
    }
    .page-hero .container { 
        width: 92%; 
        max-width: 1000px; 
        margin: 0 auto; 
    }
    .breadcrumb { 
        display: flex; 
        align-items: center; 
        gap: 8px; 
        font-size: 0.85rem; 
        color: #6c757d; 
        margin-bottom: 0.75rem; 
    }
    .breadcrumb a { 
        color: #2ec27e; 
        text-decoration: none; 
        font-weight: 600; 
    }
    .page-hero h1 { 
        font-family: 'Bebas Neue', sans-serif; 
        font-size: 3.2rem; 
        color: #212529; 
        letter-spacing: 1.5px; 
        margin: 0; 
        text-transform: uppercase; 
    }

    /* 2. About Section */
    .about-section { 
        font-family: 'Outfit', sans-serif; 
        background: transparent; 
        padding: 2rem 0 5rem; 
        box-sizing: border-box; 
    }
    .about-section .container { 
        width: 92%; 
        max-width: 1000px; 
        margin: 0 auto; 
    }
    
    .section-label { 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        gap: 12px; 
        font-size: 0.85rem; 
        font-weight: 700; 
        letter-spacing: 2px; 
        text-transform: uppercase; 
        color: #2ec27e; 
        margin-bottom: 2rem; 
    }
    .section-label span { 
        display: block; 
        width: 30px; 
        height: 2px; 
        background: #2ec27e; 
    }
    
    .about-text-container { 
        text-align: center; 
        position: relative;
        z-index: 1;
    }
    .about-text-container h2 { 
        font-size: 2.4rem; 
        color: #212529; 
        line-height: 1.2; 
        margin: 2.5rem 0 0.2rem; 
    }
    .about-text-container .lead { 
        font-size: 1.15rem; 
        color: #2ec27e; 
        font-weight: 700; 
        margin-bottom: 1.5rem; 
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .about-text-container p { 
        color: #4a4a4a; 
        margin-bottom: 1.2rem; 
        line-height: 1.7; 
        font-size: 1.05rem; 
        max-width: 850px; 
        margin-left: auto; 
        margin-right: auto; 
    }
    
    /* 3. Info Cards Grid & Dynamic Green Hover Fill */
    .info-cards-grid { 
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
        gap: 1.5rem; 
        margin: 3.5rem 0 2.5rem; 
        text-align: left; 
    }
    .info-card { 
        background: #ffffff; 
        padding: 2.2rem 1.8rem; 
        border-radius: 12px; 
        border-top: 4px solid #2ec27e; 
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03); 
        display: flex;
        flex-direction: column;
        
        transform: translateY(0);
        /* Smooth transitions for background color and elevations */
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                    background-color 0.3s ease,
                    border-top-color 0.3s ease;
        position: relative;
    }
    
    /* Hover State: Fills background with green */
    .info-card:hover {
        transform: translateY(-10px);
        background-color: #2ec27e;
        border-top-color: #249b65;
        box-shadow: 0 20px 38px rgba(46, 194, 126, 0.15), 0 12px 24px rgba(0, 0, 0, 0.02);
    }
    
    .info-card h3 { 
        font-size: 1.15rem; 
        color: #212529; 
        margin: 0 0 0.8rem; 
        text-transform: uppercase; 
        letter-spacing: 1px; 
        font-weight: 800; 
        transition: color 0.3s ease;
    }
    
    /* Inverts headings to white on hover */
    .info-card:hover h3 {
        color: #ffffff;
    }
    
    .info-card .card-highlight { 
        display: block; 
        color: #2ec27e; 
        font-weight: 700; 
        margin-bottom: 0.8rem; 
        font-size: 0.95rem; 
        line-height: 1.4;
        transition: color 0.3s ease;
    }

    /* Inverts highlights to light green/white tint on hover */
    .info-card:hover .card-highlight {
        color: #e2f7ed;
    }

    .info-card p { 
        font-size: 0.95rem; 
        color: #6c757d; 
        margin: 0; 
        line-height: 1.6;
        transition: color 0.3s ease;
    }

    /* Inverts body text to clear white on hover */
    .info-card:hover p {
        color: #ffffff;
    }



    .btn-primary {
        display: inline-block;
        background: #2ec27e;
        color: #fff;
        padding: 0.8rem 2rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    .btn-primary:hover {
        background: #249b65;
        transform: translateY(-2px);
    }

    /* 5. Enhanced Graphical Line Animation Styles */
    .chart-bg-animation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; 
        pointer-events: none; 
        overflow: hidden;
        opacity: 0.14; 
    }

    .chart-grid {
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: 
            linear-gradient(to right, rgba(46, 194, 126, 0.2) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(46, 194, 126, 0.2) 1px, transparent 1px);
        background-size: 40px 40px;
    }

    .graphical-svg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .climbing-graph-line {
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .line-lead {
        stroke: #2ec27e;
        stroke-width: 4;
        stroke-dasharray: 1500;
        stroke-dashoffset: 1500;
        animation: drawLine 8s linear infinite, floatTrend 6s ease-in-out infinite alternate;
    }

    .line-shadow {
        stroke: #1f8a55;
        stroke-width: 2.5;
        opacity: 0.6;
        stroke-dasharray: 1500;
        stroke-dashoffset: 1500;
        animation: drawLine 10s linear infinite, floatTrend 9s ease-in-out infinite alternate-reverse;
    }

    .chart-bars {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        padding: 0 5%;
        box-sizing: border-box;
    }

    .chart-bar {
        width: 25px;
        background: linear-gradient(to top, rgba(46, 194, 126, 0.2), rgba(46, 194, 126, 0.9));
        border-radius: 4px 4px 0 0;
        animation: growBar 4s ease-in-out infinite alternate;
        transform-origin: bottom;
    }

    .chart-bar:nth-child(1) { height: 20%; animation-delay: 0.2s; }
    .chart-bar:nth-child(2) { height: 35%; animation-delay: 0.5s; }
    .chart-bar:nth-child(3) { height: 28%; animation-delay: 0.1s; }
    .chart-bar:nth-child(4) { height: 50%; animation-delay: 0.8s; }
    .chart-bar:nth-child(5) { height: 42%; animation-delay: 0.3s; }
    .chart-bar:nth-child(6) { height: 65%; animation-delay: 1.1s; }
    .chart-bar:nth-child(7) { height: 58%; animation-delay: 0.6s; }
    .chart-bar:nth-child(8) { height: 80%; animation-delay: 1.4s; }

    @keyframes drawLine {
        to { stroke-dashoffset: 0; }
    }

    @keyframes floatTrend {
        0% { transform: translateY(15px) scaleY(0.97); }
        100% { transform: translateY(-15px) scaleY(1.03); }
    }

    @keyframes growBar {
        0% { transform: scaleY(0.85); }
        100% { transform: scaleY(1.15); }
    }


    .nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: #50c48e;
}
.nav-link.active {
    background-color: #f0fdf4 !important;
    color: #50c48e !important;
}


/* =========================================
   MOBILE RESPONSIVE STYLES (Max-width 991px)
   ========================================= */
@media screen and (max-width: 991px) {
    
/* 3. Mobile Navigation Menu Layout */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0; /* Keeps it centered */
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
        padding: 20px 0;
        display: flex; 
        z-index: 1000;
        border-top: 1px solid rgba(46, 194, 126, 0.2);

        /* BULLETPROOF HIDING METHOD */
        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* Stops you from clicking invisible links */
        transform: translateY(-15px); /* Slides it up slightly when hidden */
        transition: all 0.3s ease-in-out;
    }
    
    /* Reveal when hamburger is clicked */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0); /* Drops down smoothly */
    }

}


/* =========================================
   MOBILE FOOTER BOTTOM (Max-width 991px)
   ========================================= */
@media screen and (max-width: 991px) {
    .footer-bottom-content {
        flex-direction: column; /* Stacks the paragraphs vertically */
        text-align: center;     /* Centers the text */
        gap: 12px;              /* Adds a nice gap between the SEBI text and the copyright */
        padding: 15px 20px;     /* Adds a little vertical breathing room */
    }
}



/* =========================================
   MOBILE DISCLAIMER SECTION (Max-width 991px)
   ========================================= */
@media screen and (max-width: 991px) {
    
    /* 1. Reduce the massive vertical white space on mobile */
    .disclaimer-section {
        padding: 2rem 0; 
    }
    
    /* 2. Give the text slightly more width on small screens */
    .disclaimer-section .container {
        width: 95%; 
    }

    /* 3. Scale down the green badge slightly so it doesn't dominate the screen */
    .disclaimer-title {
        font-size: 0.85rem !important; 
        padding: 6px 16px; 
        margin-bottom: 15px;
        color: #ffffff !important; /* Ensures the white text overrides any old rules */
    }

    /* 4. Optimize legal text readability */
    .disclaimer-text {
        font-size: 13.5px !important; /* Slightly scaled down for small screens */
        line-height: 1.6 !important; 
        text-align: justify; /* Legal text looks much more professional justified on phones */
    }
}


/* =========================================
       PREMIUM SEBI ALERT BANNER (DESKTOP)
       ========================================= */
    @media screen and (max-width: 991px) {
    
    
       .sebi-top-alert {
        background: linear-gradient(135deg, rgba(222, 241, 233, 0.9) 0%, rgba(204, 233, 221, 0.95) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        color: #090f0cd1;
        padding: 14px 24px; 
        line-height: 1.2;
        font-family: 'Outfit', sans-serif;
        font-size: 0.95rem; 
        font-weight: 600;
        border-bottom: 1px solid rgba(46, 194, 126, 0.25);
        letter-spacing: 0.2px;
        z-index: 1000;
        position: relative;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
        display: flex;                   
        justify-content: space-between;  
        align-items: center;
    }
    
    .sebi-top-alert::-webkit-scrollbar {
        display: none;
    }

    .sebi-top-alert .alert-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        max-width: none;      
        margin: 0;            
        padding: 0 20px;      
        box-sizing: border-box;
    }

  }


  /* Mobile adjustments */
    @media (max-width: 768px) {
        /* 1. Remove the body padding that is creating the massive page gaps */
        body { 
            padding: 0 !important; 
        }
        
        /* 2. Reduce the margins around the white box to pull it closer to the header/footer */
        .terms-container { 
            padding: 35px 20px 20px; 
            margin: 40px 15px 30px 15px; /* Top: 40px, Left/Right: 15px, Bottom: 30px */
        } 
        
        .fancy-glowing-btn { 
            font-size: 0.95rem !important; 
            padding: 10px 30px; 
        }
        
        .terms-container h2 { 
            font-size: 15px !important; 
        }
        
        .contact-row { 
            flex-direction: column; 
        }
        
        .contact-label { 
            margin-bottom: 4px; 
            width: auto; 
        }
    }



    /* =========================================
   MOBILE NAVBAR & HAMBURGER POSITIONING (Max-width 991px)
   ========================================= */
@media screen and (max-width: 991px) {
    
    /* 1. Hide the desktop CTA button on mobile so it doesn't break the layout */
    .nav-inner .btn-cta {
        display: none !important;
    }

    /* 2. Set the navbar container to full width so the right-alignment works */
    .nav-inner {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding-right: 60px !important; /* Leaves room so the logo doesn't crash into the menu */
    }

    /* 3. Force the hamburger menu to the exact right edge */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001; 
        
        /* THE MAGIC PINNING CODE */
        position: absolute !important;
        right: 20px !important; /* Distance from the right edge */
        top: 50% !important; 
        transform: translateY(-50%) !important; 

        
    }

    /* 4. Turn the hamburger lines brand green */
    .nav-toggle span {
        background-color: #2ec27e !important;
    }
}

/* =========================================
   MOBILE FIXES (Max-width 991px)
   ========================================= */
@media screen and (max-width: 991px) {
    
    /* 1. Hide the SEBI banner entirely on phones/tablets */
    .sebi-top-alert {
        display: none !important;
    }

    /* ... any other mobile rules for your menu or logo can stay below this ... */
}




