/* ═══════════════════════════════════════════════
   JVIPS — Jathiya Valmiki Ikya Porata Samithi
   Shared Stylesheet
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C33;
  --navy: #1A237E;
  --gold: #FFD700;
  --cream: #FFF8E1;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #2d2d2d;
}

h1, h2, h3, h4, h5 {
  font-family: 'Noto Serif', serif;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#mainNav {
  background-color: var(--saffron);
}

#mainNav .navbar-brand {
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 2px;
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

#mainNav .nav-link:hover {
  color: var(--gold) !important;
}

#mainNav .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ══════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════ */

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--saffron);
  border-radius: 2px;
  margin: 10px auto 0;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Buttons */
.btn-saffron {
  background-color: var(--saffron);
  color: #fff;
  border: 2px solid var(--saffron);
  font-weight: 600;
  padding: 0.65rem 1.8rem;
  border-radius: 50px;
  transition: all 0.25s;
}

.btn-saffron:hover {
  background-color: #e05a00;
  border-color: #e05a00;
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  padding: 0.65rem 1.8rem;
  border-radius: 50px;
  transition: all 0.25s;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--navy);
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-playstore:hover {
  opacity: 0.88;
  color: var(--navy);
}

/* Social Links */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem;
  margin-right: 8px;
  transition: background 0.25s, transform 0.25s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--saffron);
  transform: translateY(-3px);
}

/* Divider */
.divider-saffron {
  border: none;
  height: 3px;
  background: linear-gradient(to right, var(--saffron), var(--gold), var(--saffron));
  margin: 0;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

footer h5 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

footer .footer-brand {
  font-family: 'Noto Serif', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

footer p { font-size: 0.88rem; line-height: 1.7; }

footer ul { list-style: none; padding: 0; margin: 0; }

footer ul li { margin-bottom: 10px; }

footer ul li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

footer ul li a:hover { color: var(--gold); }

footer ul li a i { margin-right: 6px; font-size: 0.8rem; }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  margin-top: 40px;
  padding: 16px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ══════════════════════════════════════
   HOME PAGE — HERO
══════════════════════════════════════ */
#home {
  position: relative;
  min-height: 100vh;
  background: url('images/valmiki-wallpaper-1200x800.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,35,126,0.75) 0%, rgba(0,0,0,0.6) 100%);
}

#home .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem 1rem;
}

#home .hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

#home h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

#home h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ══════════════════════════════════════
   HOME PAGE — ABOUT
══════════════════════════════════════ */
#about {
  padding: 90px 0;
  background: #fff;
}

#about img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 100%;
  height: auto;
}

.stat-card {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s;
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card .stat-number {
  font-family: 'Noto Serif', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

/* ══════════════════════════════════════
   HOME PAGE — VALMIKI MAHARSHI
══════════════════════════════════════ */
#valmiki {
  padding: 90px 0;
  background-color: var(--cream);
}

.valmiki-portrait {
  border-radius: 12px;
  border: 5px solid var(--gold);
  box-shadow: 0 8px 30px rgba(255,107,0,0.2);
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.valmiki-quote {
  border-left: 5px solid var(--saffron);
  background: rgba(255,107,0,0.06);
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
  margin: 1.5rem 0;
  font-style: italic;
  font-family: 'Noto Serif', serif;
  font-size: 1.05rem;
  color: var(--navy);
}

.valmiki-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.valmiki-info-item .icon-box {
  width: 36px;
  height: 36px;
  background: var(--saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════
   HOME PAGE — PROGRAMS
══════════════════════════════════════ */
#programs {
  padding: 90px 0;
  background: #f8f9fa;
}

.program-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(255,107,0,0.15);
}

.program-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: #fff;
}

.program-card .card-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}

.program-card .card-text {
  font-size: 0.88rem;
  color: #666;
}

/* ══════════════════════════════════════
   HOME PAGE — GALLERY
══════════════════════════════════════ */
#gallery {
  padding: 90px 0;
  background: #fff;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.08); }

/* ══════════════════════════════════════
   HOME PAGE — CONTACT
══════════════════════════════════════ */
#contact {
  padding: 90px 0;
  background: var(--cream);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item .ci-text strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info-item .ci-text span {
  color: #555;
  font-size: 0.95rem;
}

.contact-form-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 36px;
}

.contact-form-card .form-control {
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  padding: 0.7rem 1rem;
  font-size: 0.93rem;
  transition: border-color 0.2s;
}

.contact-form-card .form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 0.2rem rgba(255,107,0,0.15);
}

/* ══════════════════════════════════════
   PRIVACY POLICY PAGE
══════════════════════════════════════ */

/* Override body bg for policy page */
body.page-policy {
  background: #f8f9fa;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #283593 100%);
  padding: 70px 0 50px;
  color: #fff;
}

.page-hero h1 { font-size: 2.4rem; font-weight: 700; }

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
}

.page-hero .breadcrumb-item.active { color: var(--gold); }

.policy-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  padding: 50px 60px;
  margin-top: -30px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .policy-card { padding: 28px 20px; }
}

.policy-meta {
  background: var(--cream);
  border-left: 4px solid var(--saffron);
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: #555;
}

.policy-meta strong { color: var(--navy); }

.policy-section { margin-bottom: 2.5rem; }

.policy-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--cream);
  padding-bottom: 10px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-section h2 i {
  color: var(--saffron);
  font-size: 1.1rem;
}

.policy-section p,
.policy-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.policy-section ul { padding-left: 1.2rem; }

.policy-section ul li { margin-bottom: 6px; }

.contact-box {
  background: linear-gradient(135deg, var(--navy), #283593);
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 2rem;
}

.contact-box h4 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.5rem; }

.contact-box a { color: var(--gold); }
