/* =========================================
   REVEALED BIBLE COLLEGE - MASTER STYLESHEET
========================================= */

/* ---------- VARIABLES ---------- */
:root {
  --navy-dark: #020617;
  --navy: #0b2c64;
  --navy-soft: #1e40af;
  --gold: #f4b400;
  --text-light: #e5e7eb;
  --text-muted: #c7d2fe;
  --radius: 1.25rem;
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--navy-dark);
  color: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease;
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* =========================================
   HEADER / NAV
========================================= */

header {
  background: linear-gradient(90deg, var(--navy), var(--navy-dark));
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 600;
}

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

.nav-cta {
  background: var(--gold);
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
}

/* =========================================
   HERO – SHARED
========================================= */

.hero {
  background: radial-gradient(
    900px 300px at 50% 0%,
    var(--navy-soft),
    var(--navy-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* Home hero larger */
.hero-home {
  min-height: 65vh;
  padding: 4.5rem 1.5rem 3rem;
}

/* Subpage hero shorter */
.hero-page {
  min-height: 32vh;
  padding: 3.5rem 1.5rem 2rem;
}

/* Home hero layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title span {
  display: block;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

/* Page titles */
.page-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
}

.hero-divider {
  width: 70px;
  height: 4px;
  background: var(--gold);
  border-radius: 999px;
  margin: 0.75rem auto 1.25rem;
}

.hero-lead {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Hero image */
.hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-primary:hover {
  background: #e2a600;
}

.btn-secondary {
  border: 2px solid rgba(255,255,255,0.35);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
}

.btn-secondary.alt {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary.alt:hover {
  background: rgba(244,180,0,0.12);
}

/* =========================================
   GLOBAL SECTIONS
========================================= */

.content-dark {
  background: var(--navy-dark);
  padding: 4rem 1.5rem;
}

.section-white {
  background: #f8fafc;
  color: #0f172a;
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  max-width: 900px;
  margin: 2.5rem auto;
}

.section h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section p,
.section ul,
.section ol {
  font-size: 1.07rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================================
   ABOUT PAGE CARDS
========================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(2, 6, 23, 0.1);
  border-top: 4px solid var(--navy);
  color: #0f172a;
}

.card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.card p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================
   PROGRAMS PAGE
========================================= */

.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.program-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  color: #0f172a;
  text-align: left;
  min-height: 220px;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.08);
  transition: 0.25s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.program-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* =========================================
   FACULTY PAGE
========================================= */

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.faculty-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 45px rgba(2, 6, 23, 0.1);
  transition: 0.25s ease;
  min-height: 340px;
  color: #0f172a;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.faculty-card img {
  width: 100%;
  max-width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  border: 4px solid var(--gold);
}

.faculty-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.faculty-card .role {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* =========================================
   CONTACT PAGE
========================================= */

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.contact-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.08);
}

.contact-icon {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  color: #0f172a;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  justify-self: center;
}

/* =========================================
   LIGHT SECTION / CTA
========================================= */

.light-section {
  background: #ffffff;
  color: #111827;
  padding: 4rem 1.5rem;
  text-align: center;
}

.light-section p {
  max-width: 700px;
  margin: 0.75rem auto 1.75rem;
  font-size: 1.1rem;
  color: #475569;
}

/* =========================================
   FOOTER
========================================= */

footer {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-benefits {
    text-align: left;
    display: inline-block;
  }

  .hero-home {
    min-height: 55vh;
    padding: 3.5rem 1.25rem 2.5rem;
  }

  .hero-page {
    min-height: 28vh;
    padding: 3rem 1.25rem 2rem;
  }
}
/* Fix hero benefits icons */
.hero-benefits {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.hero-benefits li {
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-benefits li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
}
/* ==========================
   MOBILE NAV
========================== */

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  margin-left: 1rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem;
  gap: 1.6rem;
  transition: 0.35s ease;
  z-index: 999;
  font-weight: 600;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.1rem;
}

.mobile-menu.open {
  right: 0;
}

/* Mobile CTA button */
.mobile-cta {
  background: var(--gold);
  color: #000;
  text-align: center;
  padding: .75rem;
  border-radius: 10px;
  font-weight: 800;
}

/* Hide menu items on mobile & show hamburger */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
}
/* ---------- MOBILE NAV ---------- */

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  margin-left: 1rem;
}

/* initially hidden */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100vh;
  padding: 5rem 1.5rem;
  gap: 1.5rem;
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
}

/* Show hamburger at 900px and hide desktop nav */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none !important;
  }
  .hamburger {
    display: block !important;
  }
}
/* ==========================================
   MOBILE NAV - FULL POLISHED VERSION
========================================== */

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.4s;
  border-radius: 3px;
}

/* Hamburger animation to X */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Slide-in menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--navy-dark);
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  transition: right 0.35s ease;
  z-index: 1000;
}

.mobile-menu.open {
  right: 0;
}

/* Dark overlay behind menu */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* CTA button inside mobile menu */
.mobile-cta {
  background: var(--gold);
  color: #000;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  margin-top: 1rem;
}

/* Show hamburger | hide desktop links on mobile */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
