/* =============================================
   GOUTHAM EDUCATION SOCIETY — Custom Stylesheet
   Design System: Deep Teal + Warm Amber + White
   ============================================= */

:root {
  --primary:    #0b4d6e;   /* deep teal */
  --primary-dk: #073550;   /* darker teal */
  --primary-lt: #1a7ca1;   /* mid teal */
  --accent:     #e8910a;   /* warm amber */
  --accent-lt:  #f5b83a;   /* light amber */
  --crimson:    #c0392b;   /* alert / donate */
  --light-bg:   #f5f9fc;   /* near-white cool */
  --text:       #1e2d3a;
  --muted:      #6b7f8e;
  --white:      #ffffff;
  --border:     #d0dde6;
  --shadow:     0 4px 24px rgba(11,77,110,.12);
}

/* ── Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

/* ── Typography ──────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--primary-dk);
  line-height: 1.25;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.gold-bar {
  width: 52px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.gold-bar.left { margin-left: 0; }

/* ── Buttons ──────────────────────────────────── */
.btn-ges {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .4px;
  transition: all .25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary-ges {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary-ges:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,145,10,.35);
}

.btn-outline-ges {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}

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

.btn-donate {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}

.btn-donate:hover {
  background: #a93226;
  border-color: #a93226;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192,57,43,.35);
}

/* ── Topbar ───────────────────────────────────── */
.topbar {
  background: var(--primary-dk);
  padding: 8px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
}

.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--accent-lt); }

.topbar .tb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 22px;
}

.topbar .tb-item i { color: var(--accent-lt); font-size: 12px; }

/* ── Navbar ───────────────────────────────────── */
.main-nav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(11,77,110,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.main-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.brand-logo-ring {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
  border: 3px solid var(--accent);
  transition: transform .4s;
}

.navbar-brand:hover .brand-logo-ring { transform: rotate(360deg); }

.brand-text-main {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-dk);
  line-height: 1.2;
}

.brand-text-sub {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .8px;
  text-transform: uppercase;
}

.main-nav .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text) !important;
  padding: 24px 14px !important;
  letter-spacing: .3px;
  transition: color .2s;
  position: relative;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transition: width .25s;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-item.active .nav-link::after { width: 80%; }

.main-nav .nav-link:hover,
.main-nav .nav-item.active .nav-link { color: var(--primary) !important; }

.nav-btn-live {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  font-size: 13px !important;
  margin-left: 8px;
}

.nav-btn-live:hover { background: var(--primary-lt) !important; color: var(--white) !important; }
.nav-btn-live::after { display: none !important; }

.nav-btn-donate {
  background: var(--crimson);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  font-size: 13px !important;
  margin-left: 6px;
}

.nav-btn-donate:hover { background: #a93226 !important; color: var(--white) !important; }
.nav-btn-donate::after { display: none !important; }

/* ── Hero Slider ──────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,53,80,.78) 0%, rgba(11,77,110,.45) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 580px;
}

.hero-content .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 12px;
  display: block;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 28px;
  max-width: 480px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.5);
  border: none;
  transition: all .3s;
}

.carousel-indicators button.active {
  background-color: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ── Stats Bar ────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 0;
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-lt);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ── About Section ────────────────────────────── */
.about-section {
  padding: 90px 0;
  background: var(--white);
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 6px 20px rgba(232,145,10,.4);
}

.about-badge .yrs {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge .since {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .85;
}

.about-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.af-icon {
  width: 42px;
  height: 42px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  transition: all .25s;
}

.about-feature-item:hover .af-icon {
  background: var(--primary);
  color: var(--white);
}

.af-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.af-text {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

/* ── Programs Section ─────────────────────────── */
.programs-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.program-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11,77,110,.07);
  transition: all .3s;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(11,77,110,.14);
}

.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-card-body {
  padding: 24px;
}

.program-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 14px;
}

.program-card-body h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.program-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.read-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .3px;
}

.read-more-link i { transition: transform .2s; margin-left: 4px; }
.read-more-link:hover i { transform: translateX(4px); }

/* ── Mission / Vision Cards ───────────────────── */
.mv-section {
  padding: 90px 0;
  background: var(--white);
}

.mv-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.mv-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.mv-card-body {
  padding: 28px;
  background: var(--white);
}

.mv-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.mv-card-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card-body p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ── CTA Band ──────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dk) 0%, var(--primary) 60%, var(--primary-lt) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 0; }

/* ── Gallery Section ──────────────────────────── */
.gallery-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,77,110,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay i {
  color: var(--white);
  font-size: 28px;
}

/* ── Contact Section ──────────────────────────── */
.contact-section {
  padding: 90px 0;
  background: var(--white);
}

.contact-info-card {
  background: var(--primary-dk);
  border-radius: 6px;
  padding: 40px 32px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.contact-info-card .subtitle {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  margin-bottom: 32px;
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.ci-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lt);
  font-size: 14px;
  flex-shrink: 0;
}

.ci-text p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

.ci-text small {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.5);
}

.contact-form-card {
  background: var(--white);
  border-radius: 6px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.contact-form-card .subtitle {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 28px;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--light-bg);
  transition: border-color .2s;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,77,110,.08);
  outline: none;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

/* ── Footer ───────────────────────────────────── */
.site-footer {
  background: var(--primary-dk);
  padding: 70px 0 0;
  color: rgba(255,255,255,.75);
}

.footer-brand .brand-logo-ring {
  background: rgba(255,255,255,.12);
  border-color: rgba(232,145,10,.6);
  color: var(--accent-lt);
}

.footer-brand .brand-text-main { color: var(--white); }
.footer-brand .brand-text-sub { color: rgba(255,255,255,.5); }

.site-footer p { font-size: 13.5px; line-height: 1.7; }

.footer-heading {
  font-size: 15px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.footer-links a:hover { color: var(--accent-lt); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 13.5px;
}

.footer-contact-item i {
  color: var(--accent-lt);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 50px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

.footer-bottom a { color: var(--accent-lt); }

/* ── Page Hero (inner pages) ──────────────────── */
.page-hero {
  background: linear-gradient(105deg, var(--primary-dk) 0%, var(--primary) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="150" cy="100" r="120" fill="rgba(255,255,255,0.03)"/></svg>') center/cover;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item { font-size: 13.5px; }
.breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-item a:hover { color: var(--accent-lt); }
.breadcrumb-item.active { color: var(--accent-lt); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── Donate Page ──────────────────────────────── */
.donate-highlight {
  background: var(--light-bg);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 24px;
}

.donate-highlight h5 { color: var(--primary); font-size: 1.1rem; margin-bottom: 4px; }
.donate-highlight p { color: var(--muted); font-size: 13.5px; margin: 0; }

.upi-box {
  background: var(--primary-dk);
  color: var(--white);
  padding: 28px;
  border-radius: 6px;
  text-align: center;
}

.upi-box h5 { color: var(--accent-lt); margin-bottom: 10px; }
.upi-id {
  font-family: monospace;
  font-size: 1.2rem;
  background: rgba(255,255,255,.1);
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 1px;
}

/* ── Utilities ───────────────────────────────── */
.bg-light-ges { background: var(--light-bg); }
.text-accent   { color: var(--accent); }
.text-muted-ges { color: var(--muted); }

.section-pad { padding: 90px 0; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 992px) {
  .main-nav .nav-link { padding: 12px 14px !important; }
  .main-nav .nav-link::after { display: none; }
  .about-badge { right: 0; bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-slide { height: 440px; }
  .stats-bar .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .about-badge { position: relative; margin: 16px auto 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-card { padding: 28px 20px; }
  .contact-info-card { padding: 28px 20px; }
}

@media (max-width: 576px) {
  .hero-slide { height: 360px; }
  .hero-content h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
}
