:root {
  --saffron: #FF9933;
  --green: #138808;
  --navy: #002366;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
}

/* ===== NAVIGATION ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--saffron); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid var(--gray-100);
  padding: 1rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--gray-100); color: var(--saffron); }

/* ===== PAGE HERO BANNER (for inner pages) ===== */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #003580 60%, #001a4d 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1692632210058-283144d61718?w=1400&q=40') center/cover;
  opacity: 0.08;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}
.page-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--saffron); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: white; }

/* ===== COMMON ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}
.tri-divider {
  width: 96px;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(to right, var(--saffron) 33%, white 33% 66%, var(--green) 66%);
  border-radius: 2px;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.footer-logo-wrap {
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  padding: 6px;
  display: flex;
}
.footer-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
}
.footer-desc { color: #9ca3af; font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.8rem; }
.footer-reg { color: #9ca3af; font-size: 0.82rem; display: flex; align-items: flex-start; gap: 0.4rem; }
.footer-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 1rem;
}
.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.footer-info-item .f-icon { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-info-item a { color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.footer-info-item a:hover { color: var(--saffron); }
.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-left { display: flex; align-items: center; gap: 0.75rem; }
.footer-bottom-logo { width: 30px; height: 30px; object-fit: contain; background: white; border-radius: 50%; padding: 2px; }
.footer-copy { color: #6b7280; font-size: 0.82rem; }
.footer-tagline { color: #6b7280; font-size: 0.82rem; font-family: 'Noto Sans Devanagari', sans-serif; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--green));
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  z-index: 90;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  border-radius: 0.8rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 999;
  max-width: 320px;
  border-left: 4px solid var(--green);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.toast.show { transform: translateX(0); }
.toast h4 { font-weight: 700; margin-bottom: 0.25rem; color: var(--gray-800); }
.toast p { font-size: 0.85rem; color: var(--gray-600); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}
