/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a3a5c;
  --navy-dark: #112741;
  --gold:   #c8a96e;
  --gold-light: #e8c98e;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --gray:   #6b7280;
  --text:   #1f2937;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utilities ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.bg-light    { background: var(--light); }
.bg-navy     { background: var(--navy); color: var(--white); }

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.divider {
  width: 56px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.75rem auto 1.25rem;
}
.divider-left { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,169,110,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
}

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: var(--navy-dark);
  flex-shrink: 0;
}
.nav-logo-text span { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.8; letter-spacing: 0.05em; text-transform: uppercase; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 0.8rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  margin-left: 0.5rem;
}
.nav-link.nav-cta:hover {
  background: var(--gold-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4d7b 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,169,110,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; opacity: 0.88; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label  { font-size: 0.82rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-visual {
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-card h4 { color: var(--gold-light); margin-bottom: 0.35rem; }
.hero-card p  { opacity: 0.8; font-size: 0.9rem; margin: 0; }

/* ── Announcement bar ── */
.announcement {
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), #2a5a8c);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.card h3 { margin-bottom: 0.5rem; color: var(--navy); }
.card p  { color: var(--gray); font-size: 0.95rem; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Course category cards ── */
.course-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course-category-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
}
.course-category-header .cat-icon {
  font-size: 2rem; margin-bottom: 0.75rem;
}
.course-category-header h3 { margin-bottom: 0.35rem; }
.course-category-header p  { font-size: 0.9rem; opacity: 0.8; margin: 0; }
.course-list { padding: 1.5rem; }
.course-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.course-item:last-child { border-bottom: none; padding-bottom: 0; }
.course-code {
  background: var(--light);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.course-bundle {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ── Timeline / Steps ── */
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step  { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.step-body h3 { color: var(--navy); margin-bottom: 0.35rem; }
.step-body p  { color: var(--gray); margin: 0; font-size: 0.95rem; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info-item h4 { color: var(--navy); margin-bottom: 0.2rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info-item p, .contact-info-item a { color: var(--text); font-size: 0.95rem; margin: 0; }
.contact-info-item a:hover { color: var(--navy); text-decoration: underline; }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
textarea { resize: vertical; min-height: 130px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p  { opacity: 0.85; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Bio card ── */
.bio-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
}
.bio-card-sidebar {
  background: var(--navy);
  padding: 2.5rem 1.75rem;
  color: var(--white);
  text-align: center;
}
.bio-avatar {
  width: 100px; height: 100px;
  background: rgba(200,169,110,0.25);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}
.bio-card-sidebar h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.bio-card-sidebar p  { font-size: 0.85rem; opacity: 0.75; margin: 0; }
.bio-card-body { padding: 2.5rem; }
.bio-card-body p { color: var(--gray); }

/* ── Board of Directors ── */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.board-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.board-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--navy), #2a5a8c);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  color: var(--white);
}
.board-card h3 { color: var(--navy); margin-bottom: 0.3rem; }
.board-card p  { color: var(--gray); font-size: 0.88rem; margin: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { opacity: 0.7; font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem; opacity: 0.75;
  transition: opacity var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--gold-light); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.85rem; font-size: 0.9rem; opacity: 0.8;
}
.footer-contact-item span:first-child { flex-shrink: 0; }
.footer-contact-item a { opacity: 1; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* ── Alert / Info box ── */
.info-box {
  background: rgba(26,58,92,0.06);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}
.info-box strong { color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-card     { grid-template-columns: 1fr; }
  .bio-card-sidebar { display: flex; align-items: center; gap: 1.5rem; text-align: left; }
  .bio-avatar { margin: 0; width: 70px; height: 70px; font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-visual  { display: none; }
  .hero-stats   { gap: 1.25rem; }
  .grid-2, .grid-3, .grid-4, .board-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 0.7rem 1rem; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 0.5rem; }
  .nav-toggle { display: flex; }

  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
