/* ============================================================
   GCE WEBSITE — SHARED STYLESHEET
   Gurukul College of Education, Bhopal
   Palette: White · Sky Blue · Soft Blue-Grey
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  /* Primary — deep sky blue */
  --navy:      #1565c0;
  --navy-dark: #0d47a1;
  /* Accent — medium sky blue */
  --teal:      #1e88e5;
  --teal-lt:   #42a5f5;
  /* Highlight — bright sky / accent blue */
  --gold:      #0288d1;
  --gold-lt:   #29b6f6;
  /* Backgrounds — white & soft sky */
  --cream:     #f0f7ff;
  --cream-dk:  #ddeeff;
  --white:     #ffffff;
  --text:      #1a2a3a;
  --muted:     #5a7a9a;
  --border:    rgba(21,101,192,.12);
  --shadow-sm: 0 4px 16px rgba(21,101,192,.08);
  --shadow:    0 8px 40px rgba(21,101,192,.12);
  --shadow-lg: 0 20px 60px rgba(21,101,192,.16);
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --t:         .35s;
  --nav-h:     72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; line-height: 1.7;
  color: var(--text);
  background: linear-gradient(160deg, #ffffff 0%, #f0f7ff 50%, #e3f2fd 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Utilities ── */
.container   { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section-sm  { padding: 72px 0; }
.bg-cream    { background: var(--cream); }
.bg-navy     { background: var(--navy); }
.text-center { text-align: center; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-56 { margin-bottom: 56px; }

/* ── Section Labels / Headings ── */
.label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; color: var(--navy); line-height: 1.15;
}
.section-sub {
  font-size: 16px; color: var(--muted);
  max-width: 580px; margin-top: 14px; line-height: 1.8;
}
.section-head { margin-bottom: 56px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  border: 2px solid transparent;
  transition: all var(--t) var(--ease);
}
.btn-gold {
  background: var(--teal); color: var(--white);
  border-color: var(--teal);
}
.btn-gold:hover {
  background: var(--teal-lt); border-color: var(--teal-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,136,229,.35);
}
.btn-navy {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--teal); border-color: var(--teal);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  border-color: var(--white); background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy); color: var(--white);
}
.btn-outline-gold {
  background: transparent; color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-gold:hover {
  background: var(--teal); color: var(--white);
  transform: translateY(-2px);
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ============================================================
   NAVBAR — see navbar.css
   ============================================================ */

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 55%, #1e88e5 100%);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,.1) 0%, transparent 55%),
    radial-gradient(circle at 90% 50%, rgba(66,165,245,.15) 0%, transparent 55%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900; color: var(--white); line-height: 1.2;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
}
.breadcrumb a { font-size: 13px; color: rgba(255,255,255,.6); transition: color var(--t); }
.breadcrumb a:hover { color: #90caf9; }
.breadcrumb span { font-size: 13px; color: rgba(255,255,255,.35); }
.breadcrumb li.current { font-size: 13px; color: #90caf9; font-weight: 600; }
.page-hero-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  color: #e3f2fd; padding: 8px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #0d47a1 0%, #0a3880 100%);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.footer-logo-img-wrap {
  width: 50px; height: 50px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.footer-logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.footer-logo-text strong {
  display: block; color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 14px; line-height: 1.3;
}
.footer-logo-text span { font-size: 11px; color: rgba(255,255,255,.5); }
/* Support both .footer-about p and .footer-col-brand p */
.footer-about p,
.footer-col-brand p {
  font-size: 13.5px; color: rgba(255,255,255,.65);
  line-height: 1.85; margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.footer-social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.65); font-size: 15px;
  transition: all var(--t) var(--ease);
}
.footer-social-btn:hover {
  background: #42a5f5; color: #fff; border-color: #42a5f5;
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 12px; font-weight: 800;
  color: var(--white);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(66,165,245,.35);
}
.footer-nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-links a {
  font-size: 13.5px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 7px;
  transition: color var(--t), padding-left var(--t);
}
.footer-nav-links a i { font-size: 9px; color: #90caf9; }
.footer-nav-links a:hover { color: #90caf9; padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.footer-contact-item i {
  color: #90caf9; font-size: 14px; margin-top: 3px; flex-shrink: 0;
}
.footer-contact-item p {
  font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.65; margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p {
  font-size: 12.5px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: #90caf9; transition: opacity var(--t); }
.footer-bottom a:hover { opacity: .8; }
.admin-login-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
  font-size: 12px; color: rgba(255,255,255,.45) !important;
  text-decoration: none; transition: all var(--t);
}
.admin-login-link:hover {
  border-color: #90caf9; color: #90caf9 !important; opacity: 1 !important;
}

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--teal), var(--teal-lt));
  color: var(--white);
  border: none; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 17px;
  box-shadow: 0 8px 24px rgba(30,136,229,.4);
  opacity: 0; pointer-events: none;
  transition: all var(--t) var(--ease);
}
#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: linear-gradient(135deg, #1976d2, #64b5f6); transform: translateY(-3px); }

/* ============================================================
   CARD COMPONENTS (shared)
   ============================================================ */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
}

/* ============================================================
   DOCUMENT LIST  (Infrastructure / Report / Financial / Affidavit)
   ============================================================ */
.docs-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.docs-intro p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: 14px; }

.doc-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-bottom: 56px; padding: 36px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
}
.doc-stats .stat { text-align: center; }
.doc-stats .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 800; color: var(--gold-lt); line-height: 1;
}
.doc-stats .stat-label { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 6px; }

.doc-list { display: flex; flex-direction: column; gap: 18px; }
.doc-row {
  display: flex; align-items: center; gap: 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.doc-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-lt); }
.doc-row-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.doc-row-body { flex: 1; }
.doc-row-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px;
}
.doc-row-body p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.btn-view {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--border);
  color: var(--navy); font-weight: 700; font-size: 13px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  transition: all var(--t);
}
.btn-view:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (max-width: 700px) {
  .doc-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .btn-view { width: 100%; justify-content: center; }
}

/* ============================================================
   VISION / MISSION / VALUES CARDS  (used on Home page)
   ============================================================ */
.vmv-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    }
    .vmv-card {
      border-radius: var(--radius-lg); padding: 36px 30px;
      position: relative; overflow: hidden;
      transition: transform var(--t), box-shadow var(--t);
    }
    .vmv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
    .vmv-card.vision  { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
    .vmv-card.mission { background: linear-gradient(135deg, var(--navy-dark), var(--teal)); }
    .vmv-card.values  { background: linear-gradient(135deg, var(--gold), var(--gold-lt)); }
    .vmv-card::before {
      content: '';
      position: absolute; top: -40px; right: -40px;
      width: 160px; height: 160px; border-radius: 50%;
      background: rgba(255,255,255,.05);
    }
    .vmv-icon {
      width: 60px; height: 60px; border-radius: 16px;
      background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15);
      display: grid; place-items: center; font-size: 26px;
      margin-bottom: 22px;
    }
    .vmv-card h3 {
      font-family: 'Playfair Display', serif;
      font-size: 22px; font-weight: 900; color: var(--white); margin-bottom: 14px;
    }
    .vmv-card p { font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.8; }
    .vmv-tag {
      display: inline-block; margin-top: 20px;
      background: rgba(255,255,255,.12); color: rgba(255,255,255,.8);
      font-size: 11px; font-weight: 700; padding: 5px 14px;
      border-radius: 100px; letter-spacing: .06em; text-transform: uppercase;
    }
