/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark: #1a5e1f;
  --green: #2d8a34;
  --green-light: #e8f5e9;
  --gold: #c5a24d;
  --gold-light: #fdf6e3;
  --cream: #fefcf6;
  --charcoal: #2c2c2c;
  --gray-dark: #555;
  --gray: #888;
  --gray-light: #e0e0e0;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Georgia', serif;
  line-height: 1.3;
  color: var(--charcoal);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--gray-dark); }

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green-dark); }

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 2rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: var(--green-light);
}

.nav-links .btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-left: 0.5rem;
}

.nav-links .btn-nav:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,94,31,0.75) 0%, rgba(26,94,31,0.45) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
  background: #b8923d;
  border-color: #b8923d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197,162,77,0.4);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(45,138,52,0.3);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
}

/* Alternating section backgrounds */
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-green-light { background: var(--green-light); }
.bg-green {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
}
.bg-green h2, .bg-green h3, .bg-green p,
.bg-green .section-label { color: var(--white); }
.bg-green .section-label { opacity: 0.8; }

/* ===== MISSION / ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text .quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-dark);
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  line-height: 1.7;
}

/* ===== STATS / QUICK FACTS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--green-light);
  color: var(--green);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== FACULTY ===== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.faculty-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.faculty-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--gray-light);
}

.faculty-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green-light), #d4edda);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--green);
}

.faculty-info {
  padding: 1.25rem 1rem 1.5rem;
}

.faculty-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.faculty-info .role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faculty-info p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== ACADEMICS PREVIEW ===== */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.academic-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  display: flex;
  transition: all var(--transition);
}

.academic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.academic-card-image {
  width: 200px;
  min-height: 200px;
  flex-shrink: 0;
}

.academic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academic-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.academic-card-content h3 {
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.academic-card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.academic-card-content .link-arrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.academic-card-content .link-arrow:hover {
  color: var(--green);
}

/* ===== TESTIMONIAL / QUOTE ===== */
.quote-section {
  padding: 5rem 0;
  text-align: center;
}

.quote-section blockquote {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-style: italic;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
}

.quote-section .quote-source {
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ===== ADMISSIONS CTA ===== */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== CAMPUS / CONTACT ===== */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.campus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  text-align: center;
}

.campus-card .campus-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--green);
}

.campus-card h3 {
  margin-bottom: 0.5rem;
}

.campus-card address {
  font-style: normal;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Contact info row */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== GIVING ===== */
.giving-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.giving-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.giving-method {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.giving-method .method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--green);
}

.giving-method h4 {
  margin-bottom: 0.25rem;
}

.giving-method p {
  font-size: 0.9rem;
  margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 72px;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,94,31,0.8), rgba(26,94,31,0.5));
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero-content .breadcrumb {
  font-size: 0.95rem;
  opacity: 0.85;
}

.page-hero-content .breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}

.page-hero-content .breadcrumb a:hover {
  opacity: 1;
}

/* ===== CONTENT SECTIONS (sub-pages) ===== */
.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  margin-bottom: 1.5rem;
  color: var(--green-dark);
}

.content-section h3 {
  margin: 2rem 0 1rem;
  color: var(--charcoal);
}

.content-section ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.content-section ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--gray-dark);
}

.content-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Two-column content layout */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* ===== ACCREDITATION BADGE ===== */
.accreditation-badge {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  margin: 2rem 0;
}

.accreditation-badge img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== ADMISSION STEPS ===== */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

/* ===== CURRICULUM TABLES ===== */
.subject-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}

.subject-block h3 {
  color: var(--green-dark);
  margin: 0 0 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.subject-block h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.reading-list {
  font-style: italic;
  color: var(--gray);
}

/* ===== GIVING PAGE ===== */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.impact-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--green-light);
  border-radius: var(--radius-sm);
}

.impact-stat .number {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero-content h1 { font-size: 2.8rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  .hero { min-height: 80vh; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1.1rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-links .btn-nav {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-toggle { display: block; }

  .about-grid,
  .giving-grid,
  .content-two-col,
  .academics-grid { grid-template-columns: 1fr; gap: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2.2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .academic-card { flex-direction: column; }
  .academic-card-image { width: 100%; min-height: 180px; }

  .page-hero { height: 260px; }
  .page-hero-content h1 { font-size: 2rem; }

  .impact-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .faculty-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .stats-grid { grid-template-columns: 1fr; }
}
