/* ===================================================
   Sirish Chandra Foundation — Main Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --navy:    #0f2744;
  --navy-md: #1a3a5c;
  --navy-lt: #1e4976;
  --gold:    #c9973a;
  --gold-lt: #e2b060;
  --gold-pale: #f8f0df;
  --cream:   #fafaf7;
  --white:   #ffffff;
  --gray-lt: #f4f5f7;
  --gray:    #e2e5ea;
  --gray-md: #9ca3b0;
  --text:    #1e2535;
  --text-md: #4a5568;
  --text-lt: #718096;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(15,39,68,.10);
  --shadow-lg: 0 12px 40px rgba(15,39,68,.16);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--text-md); }

/* ── Utilities ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.text-center { text-align: center; }
.gold { color: var(--gold); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title { color: var(--navy); margin-bottom: 16px; }
.section-sub { max-width: 600px; margin: 0 auto 48px; color: var(--text-lt); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,151,58,.32); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-lt); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: rgba(255,255,255,.75); transition: color .2s; }
.top-bar a:hover { color: var(--gold-lt); }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 18px; align-items: center; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item svg { flex-shrink: 0; }

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 16px rgba(15,39,68,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.site-logo { display: flex; align-items: center; gap: 14px; }
.logo-emblem {
  width: 54px; height: 54px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-emblem span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -.02em;
}
.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text .tagline {
  font-size: .72rem;
  color: var(--text-lt);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: var(--gold-pale); }
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .22s ease;
  z-index: 999;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: .88rem;
  color: var(--text-md);
  border-bottom: 1px solid var(--gray-lt);
  transition: all .18s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gold-pale); color: var(--navy); padding-left: 24px; }
.dropdown-icon { margin-right: 6px; color: var(--gold); }

.nav-donate { margin-left: 10px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,39,68,.95) 0%, rgba(26,58,92,.85) 50%, rgba(30,73,118,.8) 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,151,58,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,151,58,.08) 0%, transparent 40%);
  z-index: 2;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,58,.2);
  border: 1px solid rgba(201,151,58,.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 8px; }
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-regn {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-addr {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  line-height: 1.5;
}
.hero-addr-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--gold);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 24px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.25);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ========================================
   ABOUT HOME SECTION
   ======================================== */
.about-home { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-md);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: rgba(255,255,255,.4);
}
.about-img-placeholder svg { opacity: .5; }
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge-txt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .88; }

.about-content { padding-left: 20px; }
.trust-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-icon {
  width: 36px; height: 36px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.trust-item strong { display: block; color: var(--navy); font-size: .95rem; }
.trust-item span { font-size: .88rem; color: var(--text-lt); }

/* ========================================
   PROGRAMS / TRAINING
   ======================================== */
.programs { background: var(--white); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.program-card {
  border-radius: 12px;
  border: 1px solid var(--gray);
  overflow: hidden;
  transition: all .25s ease;
  background: var(--white);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-card-top {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.program-card-top.navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%); }
.program-card-top.gold  { background: linear-gradient(135deg, #a0742a 0%, var(--gold) 100%); }
.program-card-top.teal  { background: linear-gradient(135deg, #0c5460 0%, #17a2b8 100%); }
.program-card-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.program-card-body { padding: 24px; }
.program-card-body h3 { color: var(--navy); margin-bottom: 8px; }
.program-card-body p { font-size: .9rem; margin-bottom: 16px; }
.program-list { margin-bottom: 20px; }
.program-list li {
  font-size: .87rem;
  color: var(--text-lt);
  padding: 4px 0;
  border-bottom: 1px dashed var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.program-list li::before { content: '›'; color: var(--gold); font-weight: 700; }
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap .18s;
}
.program-link:hover { gap: 10px; }

/* ========================================
   NOTICE / EVENTS STRIP
   ======================================== */
.notices { background: var(--navy); padding: 52px 0; }
.notices-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.notices-label {
  padding-top: 6px;
}
.notices-label h2 { color: var(--white); font-size: 2rem; }
.notices-label p { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 8px; }
.notice-list { display: flex; flex-direction: column; gap: 0; }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.notice-item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.notice-date {
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}
.notice-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.notice-date .mon {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}
.notice-text h4 { color: var(--white); font-size: .97rem; margin-bottom: 4px; }
.notice-text p { color: rgba(255,255,255,.55); font-size: .84rem; margin: 0; }
.notice-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-left: auto;
  flex-shrink: 0;
}
.notice-badge.upcoming { background: rgba(201,151,58,.25); color: var(--gold-lt); }
.notice-badge.new { background: rgba(23,162,184,.25); color: #5de3f5; }

/* ========================================
   ADMISSION STRIP
   ======================================== */
.admission-strip { background: var(--gold-pale); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 52px 0; }
.admission-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.admission-text h2 { color: var(--navy); }
.admission-text p { color: var(--text-md); margin: 8px 0 0; }
.admission-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========================================
   DONATE CTA
   ======================================== */
.donate-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 60%, #163d6b 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201,151,58,.1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.donate-cta .container { position: relative; z-index: 1; }
.donate-cta .section-label { color: var(--gold-lt); }
.donate-cta h2 { color: var(--white); margin-bottom: 16px; }
.donate-cta p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 36px; }
.donate-amounts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.donate-amt {
  padding: 10px 20px;
  border: 1px solid rgba(201,151,58,.5);
  border-radius: var(--radius);
  color: var(--gold-lt);
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-size: .9rem;
}
.donate-amt:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: #0a1c33; color: rgba(255,255,255,.72); }
.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.45); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); margin: 16px 0 20px; line-height: 1.7; }
.footer-regn { font-size: .75rem; color: rgba(255,255,255,.38); border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }

.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .87rem;
  color: rgba(255,255,255,.58);
  transition: color .18s, padding-left .18s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--gold); opacity: 0; transition: opacity .18s; }
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: rgba(255,255,255,.58); }
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .18s; }
.footer-bottom a:hover { color: var(--gold); }

/* ========================================
   INNER PAGE HERO (blank pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; font-size: 2.4rem; }
.page-hero p { color: rgba(255,255,255,.65); margin: 0; font-size: 1rem; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--gold-lt); }
.breadcrumb span { color: rgba(255,255,255,.35); }

.page-content { padding: 72px 0; min-height: 300px; }
.page-placeholder {
  text-align: center;
  padding: 72px 24px;
  color: var(--gray-md);
}
.page-placeholder svg { margin: 0 auto 20px; opacity: .3; }
.page-placeholder p { font-size: 1.1rem; color: var(--gray-md); }

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .notices-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-content { padding-left: 0; }
  .about-badge { bottom: -20px; right: 0; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; }
  .hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .2s; }
  .top-bar .container { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .programs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
  .admission-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-addr { flex-direction: column; gap: 16px; }
}
