:root {
  --maroon: #6d1f37;
  --maroon-dark: #4a1526;
  --green: #1f4a3a;
  --cream: #f7f1e6;
  --gold: #d9a25c;
  --text: #2b2620;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e7ddc9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  position: relative;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  display: block;
}
.site-header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-header nav a:hover {
  color: var(--maroon);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff;
  padding: 64px 0;
}
.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 16px;
  line-height: 1.2;
}
.hero .lead {
  max-width: 640px;
  font-size: 1.1rem;
  opacity: 0.95;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 8px;
}
.hero-dark { background: linear-gradient(135deg, var(--maroon), var(--green)); }

/* Home hero with decorative blobs */
.hero-home {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-photo-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: rotate(2deg);
}
.hero-photo-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-card { max-width: 280px; margin: 0 auto; }
}

/* Stacked hero with a full-width branded banner image */
.hero-stacked { padding: 0; background: linear-gradient(180deg, #fdfaf3, var(--cream)); color: var(--text); }
.hero-stacked .hero-content { padding: 64px 0 36px; text-align: center; }
.hero-stacked .hero-content .lead { margin: 0 auto; opacity: 0.85; }
.hero-stacked .eyebrow { color: var(--maroon); }
.hero-stacked h1 {
  color: var(--maroon-dark);
  font-size: 2.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-photo-flat {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 24px 48px rgba(74,21,38,0.18);
}
.hero-photo-flat img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.hero-photo-flat:hover img {
  transform: scale(1.02);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(2px);
}
.hero-blob-1 {
  width: 260px; height: 260px;
  background: var(--gold);
  top: -60px; right: -60px;
}
.hero-blob-2 {
  width: 180px; height: 180px;
  background: #8fa62a;
  bottom: -70px; right: 160px;
}

/* Welcome strip */
.welcome-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e7ddc9;
  border-radius: 12px;
  padding: 28px !important;
  box-shadow: 0 10px 30px rgba(74,21,38,0.06);
}
.welcome-icon {
  color: var(--maroon);
  background: #f6e9e0;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.welcome-text { margin: 0; font-size: 1.05rem; }

/* Icons inside cards */
.card .icon, .feature .icon {
  color: var(--maroon);
  margin-bottom: 8px;
}
.why-us {
  background-image: linear-gradient(rgba(15,36,28,0.92), rgba(15,36,28,0.92)), url(/images/community-bg.jpg);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.section.why-us h2 {
  color: #fff;
  text-align: center;
  margin-top: 0;
}
.why-us .icon {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin: 0 auto 14px;
}
.card-grid-dark {
  margin-top: 32px;
}
.card-grid-dark .feature {
  text-align: center;
}
.card-grid-dark .feature h3 { color: #fff; margin-top: 4px; }
.card-grid-dark .feature p { color: #cfe0d7; }

.calling-cta { text-align: center; }
.calling-cta .btn { color: var(--maroon-dark); }
.calling-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.calling-sub {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #7a7264;
}
.calling-link {
  background: #fff;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.calling-link:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(74,21,38,0.2);
}
.calling-link-ministry {
  border-color: var(--gold);
  color: var(--maroon-dark);
}
.calling-link-ministry:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  box-shadow: 0 8px 18px rgba(217,162,92,0.35);
}

/* Page banners (Diploma / Bachelor's / Postgraduate) */
.page-banner img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* Course cards with photo thumbnails */
.course-card {
  padding: 0;
  overflow: hidden;
}
.course-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
a.course-card:hover img {
  transform: scale(1.06);
}
.course-card-body {
  padding: 18px 20px;
}
.course-card-body h3 {
  margin-bottom: 6px;
}
.course-card-body p {
  margin: 0;
  color: #5c554a;
  font-size: 0.95rem;
}

/* Staff photos */
.staff-card { text-align: center; }
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  margin-bottom: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.avatar-placeholder {
  background: #e7ddc9;
}

.featured-subjects {
  background: #fff;
  border: 1px solid #e7ddc9;
  border-radius: 12px;
  padding: 36px !important;
  box-shadow: 0 10px 30px rgba(74,21,38,0.06);
}
.featured-subjects h2 { margin-top: 0; }
.featured-subjects .card { border-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin: 8px 8px 0 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217,162,92,0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* Sections */
.section {
  padding: 48px 0;
}
.section h1 {
  font-size: 1.8rem;
  color: var(--maroon);
}
.section h2 {
  color: var(--maroon);
  font-size: 1.3rem;
  margin-top: 32px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
}
.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin: 4px 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: #fff;
  border: 1px solid #e7ddc9;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(74,21,38,0.12);
  border-color: var(--gold);
}
.card h3 {
  margin-top: 0;
  color: var(--maroon);
}

/* Green panel */
.panel-green {
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  padding: 32px;
}
.panel-green h2 { color: #fff; margin-top: 0; }

.plain-list {
  padding-left: 20px;
}
.plain-list li {
  margin-bottom: 6px;
}

/* Footer */
.site-footer {
  background: #2b2b2b;
  color: #d8d3c8;
  padding: 32px 0;
  margin-top: 32px;
}
.site-footer a { color: #fff; }
.fine-print {
  font-size: 0.8rem;
  color: #a49f95;
}
