/* =============================================================
   STYLES.CSS — Sri Ramdev Group
   Shared global styles: reset, variables, nav, footer, utilities
   All pages link this file first, then their own page CSS.
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  --blue:        #2b45a3;
  --blue-lt:     #3b55b3;
  --blue-dk:     #1e3280;
  --blue-xdk:    #142060;
  --gold:        #e8b400;
  --gold-dk:     #c89800;
  --white:       #ffffff;
  --text:        #1f2937;
  --text-mid:    #4b5563;
  --text-lt:     #9ca3af;
  --bg:          #f8f9fb;
  --bg-alt:      #eef1f9;
  --border:      #e5e7eb;
  --nav-h:       72px;
  --topbar-h:    36px;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
  --shadow:      0 4px 16px rgba(43,69,163,0.12);
  --shadow-lg:   0 12px 40px rgba(43,69,163,0.16);
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --t:           0.25s;
  --container:   1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ── */
.label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title span { color: var(--blue); }

.section-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 580px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,180,0,0.32);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43,69,163,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Top Bar ── */
.topbar {
  background: var(--blue-xdk);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.topbar-item svg { width: 12px; height: 12px; flex-shrink: 0; }
.topbar-item a { color: inherit; transition: color var(--t); }
.topbar-item a:hover { color: var(--gold); }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 6px;
}
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lt);
  font-family: 'Outfit', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block;
  padding: 8px 13px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 4px); left: 0;
  background: var(--white);
  min-width: 230px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
  z-index: 100;
}
.nav-dd:hover .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dd-menu li a {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
  border-left: 3px solid transparent;
  text-transform: none;
  letter-spacing: 0;
}
.nav-dd-menu li a:hover {
  color: var(--blue);
  border-left-color: var(--gold);
  background: var(--bg);
}
.nav-dd-menu li a::after { display: none; }
.nav-dd > a::after { right: 4px; }

.nav-cta { margin-left: auto; flex-shrink: 0; }

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

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blue-xdk);
  z-index: 9950;
  flex-direction: column;
  padding: 28px 24px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.mobile-nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.mobile-nav-logo img { height: 40px; width: 40px; object-fit: contain; border-radius: 6px; }
.mobile-nav-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 18px; color: var(--white);
}
.mobile-close {
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 26px; cursor: pointer; line-height: 1;
  padding: 4px;
}
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
  padding: 14px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 20px; font-weight: 600;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--t);
}
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-sub a { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.5); padding-left: 16px; }
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 28px;
}
.mobile-nav-cta { margin-bottom: 24px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }
.mobile-nav-contact { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-contact a {
  font-size: 15px; font-weight: 500;
  color: var(--gold);
  display: flex; align-items: center; gap: 8px;
}
.mobile-nav-contact a svg { width: 14px; height: 14px; }

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 990;
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── Cookie Banner ── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--blue-xdk);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 9998;
  transition: transform 0.4s var(--ease);
}
.cookie-bar.hidden { transform: translateY(100%); }
.cookie-bar p { font-size: 13px; color: rgba(255,255,255,0.75); flex: 1; min-width: 200px; }
.cookie-bar p a { color: var(--gold); text-decoration: underline; }
.cookie-accept {
  background: var(--gold); color: var(--text);
  border: none; border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 13px;
  cursor: pointer; white-space: nowrap;
}

/* ── Page Hero (used on inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-xdk) 0%, var(--blue) 100%);
  padding: 56px 0 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .label { color: rgba(255,255,255,0.5); }
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-family: 'Outfit', sans-serif;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── Footer ── */
footer {
  background: var(--blue-xdk);
  color: rgba(255,255,255,0.7);
}
.footer-body { padding: 60px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.5fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo {
  display: flex; align-items: center; gap: 12px;
}
.footer-logo img { height: 44px; width: 44px; object-fit: contain; border-radius: 6px; }
.footer-logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 18px; color: var(--white);
}
.footer-logo-sub {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-family: 'Outfit', sans-serif;
}
.footer-desc {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.6); max-width: 290px;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232,180,0,0.3);
  padding: 4px 10px; border-radius: 3px;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.58);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 11px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.6);
}
.footer-contact-item svg {
  width: 14px; height: 14px; flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold); fill: none; stroke-width: 2;
}
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color var(--t); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 3px; }
.footer-bottom-left p { font-size: 12px; color: rgba(255,255,255,0.38); }
.footer-reg {
  font-size: 11px; color: rgba(255,255,255,0.28);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.footer-bottom-right { display: flex; gap: 18px; }
.footer-bottom-right a {
  font-size: 12px; color: rgba(255,255,255,0.38);
  transition: color var(--t);
}
.footer-bottom-right a:hover { color: var(--gold); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay: 0.47s; }
.stagger-children.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay: 0.54s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta, .topbar-left { display: none; }
  .hamburger { display: flex; }
  .topbar-item:not(.topbar-phone) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  :root { --nav-h: 64px; }
}
