/* ================================================================
   KINGDOM FOUNDATION COLLEGE — STYLESHEET
   Theme: Gold (#FFD700) + Black (#0A0A0A) | No Gradients
   Fonts: Playfair Display (headings) + DM Sans (body)
================================================================ */

/* ====== CSS VARIABLES ====== */
:root {
  --gold: #FFD700;
  --gold-dark: #C9AA00;
  --black: #0A0A0A;
  --black-soft: #111111;
  --black-mid: #1A1A1A;
  --black-card: #151515;
  --white: #FFFFFF;
  --off-white: #F7F4ED;
  --text-muted: #888888;
  --text-light: #CCCCCC;
  --border: #2A2A2A;
  --border-gold: rgba(255, 215, 0, 0.25);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 4px;
  --section-pad: 96px 0;
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ====== UTILITIES ====== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-intro {
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 52px;
  font-size: 17px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-course {
  display: inline-block;
  margin-top: 20px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-course:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 15px;
}

/* ====== HEADER ====== */
header {
  background: var(--black);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-icon {
  width: 64px;
  height: 64px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}

/* ====== NAVIGATION ====== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 700;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--black) !important;
}

/* Hamburger – CSS only */
.nav-toggle-input {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle-input:checked~.hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-input:checked~.hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-input:checked~.hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====== HERO ====== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('./assets/images/banner.jpg') center/cover no-repeat;
  opacity: 0.18;
}

/* Geometric accent — no gradients */
.hero-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  border-left: 1px solid var(--border-gold);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--black-mid);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 2px;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title-accent {
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--black-mid);
  border-top: 1px solid var(--border-gold);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 40px;
  flex: 1;
  min-width: 140px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ====== ABOUT SECTION ====== */
.about-section {
  background: var(--black-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.highlight-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 24px 20px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.highlight-card:hover {
  border-color: var(--border-gold);
}

.highlight-icon {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ====== COURSES SECTION ====== */
.courses-section {
  background: var(--black);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 36px 32px;
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.25s;
}

.course-card:hover {
  border-color: var(--border-gold);
}

.course-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

.course-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.course-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-card>p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.course-meta strong {
  color: var(--gold);
}

.course-careers {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.course-careers strong {
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
}

.course-careers ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-careers ul li {
  background: var(--black-mid);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 12px;
  color: var(--text-light);
}

/* ====== VISION SECTION ====== */
.vision-section {
  background: var(--black-soft);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vision-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 48px 40px;
  border-radius: var(--radius);
  position: relative;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}

.vision-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--black-mid);
  border: 1px solid var(--border-gold);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.vision-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.vision-card p:last-child {
  margin-bottom: 0;
}

/* ====== PRINCIPAL SECTION ====== */
.principal-section {
  background: var(--black);
}

.principal-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: start;
}

.principal-avatar {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--black-card);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}

blockquote {
  border: none;
  padding: 0;
  background: transparent;
}

blockquote p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.principal-sig {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.principal-sig strong {
  font-size: 17px;
  color: var(--white);
  font-family: var(--font-display);
}

.principal-sig span {
  font-size: 13px;
  color: var(--text-muted);
}

.sig-motto {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ====== PARTNERSHIPS SECTION ====== */
.partnerships-section {
  background: var(--black-soft);
}

.partnerships-intro {
  color: var(--text-light);
  font-size: 17px;
  max-width: 760px;
  margin-bottom: 52px;
  line-height: 1.7;
}

.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partnership-item {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.partnership-item:hover {
  border-color: var(--border-gold);
}

.partnership-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.partnership-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.partnership-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====== APPLY SECTION ====== */
.apply-section {
  background: var(--black);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.step-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.step-card ul {
  list-style: none;
  margin: 12px 0;
}

.step-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-card ul li::before {
  content: '→';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

.email-link {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.email-link:hover {
  color: var(--gold-dark);
}

.email-note {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  background: var(--black-mid);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-top: 8px !important;
  line-height: 1.6 !important;
}

.apply-cta-block {
  text-align: center;
  background: var(--black-mid);
  border: 1px solid var(--border-gold);
  padding: 60px 40px;
  border-radius: var(--radius);
}

.apply-cta-block h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.apply-cta-block p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 32px;
}

.apply-cta-block .btn+.btn {
  margin-left: 16px;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--black-mid);
  border-top: 1px solid var(--border-gold);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-icon {
  width: 64px;
  height: 64px;
}

.footer-brand strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand span {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-contact p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gold);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--gold-dark);
}

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ====== RESPONSIVE — TABLET ====== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .partnerships-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .principal-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .principal-avatar {
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .hero-section::after {
    display: none;
  }

  .stat {
    padding: 20px 24px;
  }

  .stat-divider {
    display: none;
  }
}

/* ====== RESPONSIVE — MOBILE ====== */
@media (max-width: 640px) {
  :root {
    --section-pad: 60px 0;
  }

  .header-inner {
    height: 64px;
    gap: 12px;
  }

  .logo-name {
    font-size: 11px;
  }

  .logo-tagline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    border-top: 1px solid var(--border-gold);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-toggle-input:checked~.main-nav {
    display: flex;
  }

  .nav-link {
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--white);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    padding: 16px;
    border-radius: var(--radius);
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 24px;
    width: 100%;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    text-align: right;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .course-card {
    padding: 28px 22px;
  }

  .step-card {
    padding: 28px 22px;
  }

  .vision-card {
    padding: 32px 24px;
  }

  .apply-cta-block {
    padding: 40px 24px;
  }

  .apply-cta-block .btn {
    display: block;
    width: 100%;
    margin-left: 0 !important;
    margin-top: 12px;
  }

  .section-title {
    font-size: 26px;
  }
}

/* Icon sizing helpers */
.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.course-icon .lucide {
  width: 2rem;
  height: 2rem;
}

.highlight-icon .lucide {
  width: 1.25rem;
  height: 1.25rem;
}

.partnership-icon .lucide {
  width: 2rem;
  height: 2rem;
}

.step-card .btn .lucide {
  width: 1rem;
  height: 1rem;
  margin-right: .35rem;
}

.apply-cta-block .btn .lucide {
  width: 1rem;
  height: 1rem;
  margin-right: .35rem;
}

.footer-contact .lucide {
  width: 1rem;
  height: 1rem;
  margin-right: .35rem;
  vertical-align: middle;
}

.nav-cta .lucide {
  width: .9rem;
  height: .9rem;
  margin-right: .25rem;
}