/* ===== IALD — Main Stylesheet ===== */
:root {
  --navy: #11264A;
  --navy-dark: #0D2144;
  --navy-deep: #0a1a35;
  --gold: #FBBF24;
  --gold-dark: #d9a31c;
  --white: #ffffff;
  --off-white: #F8F9FA;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --green: #16a34a;
  --red: #dc2626;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.75rem; }
.lead { font-size: 1.125rem; color: var(--gray-600); line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 10px; font-weight: 700;
  font-size: 0.95rem; border: 2px solid transparent;
  transition: all 0.2s; white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(17,38,74,0.3); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); background: var(--gray-100); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.1); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 70px; }

.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; background: var(--navy);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.logo-mark span { color: var(--gold); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.05em; }
.logo-mark--light { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }
.logo-text strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.logo-text small { display: block; font-size: 0.62rem; color: var(--gray-400); line-height: 1.3; max-width: 200px; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
.nav-links > a, .nav-drop-trigger {
  padding: 0.5rem 0.75rem; font-size: 0.9rem; font-weight: 500;
  color: var(--gray-800); border-radius: 8px; transition: all 0.15s; cursor: pointer;
}
.nav-links > a:hover, .nav-drop-trigger:hover { background: var(--gray-100); color: var(--navy); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 0.5rem; min-width: 200px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: all 0.2s;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.6rem 1rem; font-size: 0.875rem; border-radius: 8px; color: var(--gray-800); }
.dropdown-menu a:hover { background: var(--gray-100); color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 0.5rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all 0.3s; display: block; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1a3a6b 100%);
  position: relative; overflow: hidden; padding-top: 70px;
}
.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; z-index: 1; text-align: center; padding: 4rem 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.3);
  color: var(--gold); padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 4rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2.2rem; font-weight: 900; color: var(--gold); display: block; font-family: var(--font-display); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 2rem 0; border-bottom: 1px solid var(--gray-200); }
.trust-bar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray-400); text-align: center; margin-bottom: 1.25rem; }
.trust-logos { display: flex; gap: 2.5rem; justify-content: center; align-items: center; flex-wrap: wrap; opacity: 0.55; }
.trust-logo { font-weight: 800; font-size: 0.85rem; color: var(--gray-600); letter-spacing: 0.04em; white-space: nowrap; }

/* ===== CARDS ===== */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow);
  transition: all 0.25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-300); }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.course-card { display: flex; flex-direction: column; }
.course-card-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; flex-shrink: 0; }
.course-card-icon svg { width: 26px; height: 26px; color: var(--gold); }
.course-card h3 { margin-bottom: 0.75rem; }
.course-card p { color: var(--gray-600); font-size: 0.95rem; flex: 1; margin-bottom: 1.5rem; }
.course-tag { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; font-weight: 600; color: var(--green); background: #dcfce7; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--navy); color: var(--white); }
.about-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-strip h2 { color: var(--white); margin-bottom: 1rem; }
.about-strip p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.about-strip-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.about-stat { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.25rem; }
.about-stat-num { font-size: 1.8rem; font-weight: 900; color: var(--gold); font-family: var(--font-display); }
.about-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, #1a3a6b, var(--navy)); display: flex; align-items: center; justify-content: center; }
.about-img-placeholder { color: rgba(255,255,255,0.2); font-size: 5rem; }

/* ===== PROCESS STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { text-align: center; padding: 2.5rem 2rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 3.5rem; font-weight: 900; font-family: var(--font-display); color: var(--gray-200); position: absolute; top: 1rem; right: 1.5rem; line-height: 1; }
.step-icon { width: 64px; height: 64px; background: var(--navy); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.step-icon svg { width: 32px; height: 32px; color: var(--gold); }
.step h3 { margin-bottom: 0.75rem; }
.step p { color: var(--gray-600); font-size: 0.95rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  color: var(--white); text-align: center; padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-banner::after { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: var(--gold); border-radius: 50%; opacity: 0.04; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.testimonial { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 2rem; }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-text { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; gap: 0.75rem; align-items: center; }
.testimonial-avatar { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: var(--gold); flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 600; color: var(--gray-800);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer;
}
.faq-q:hover { background: var(--gray-100); }
.faq-icon { font-size: 1.25rem; flex-shrink: 0; transition: transform 0.3s; color: var(--navy); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s; font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--off-white); border-radius: var(--radius-lg); padding: 3rem; display: flex; gap: 3rem; align-items: center; }
.newsletter-copy { flex: 1; }
.newsletter-copy h3 { margin-bottom: 0.5rem; }
.newsletter-copy p { color: var(--gray-600); }
.newsletter-form { display: flex; gap: 0.75rem; flex-shrink: 0; }
.newsletter-form input {
  padding: 0.75rem 1.25rem; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-size: 0.95rem; width: 260px; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--navy); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white); padding: 8rem 0 4rem; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto; font-size: 1.1rem; }

/* ===== PRESIDENT MESSAGE ===== */
.president-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 320px 1fr;
  border: 1px solid var(--gray-200);
}
.president-img { background: linear-gradient(160deg, var(--navy) 0%, #1a3a6b 100%); position: relative; min-height: 350px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.president-tag { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.8rem; }
.president-body { padding: 3rem; }
.president-body blockquote { font-size: 1.05rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; border-left: 3px solid var(--gold); padding-left: 1.25rem; }

/* ===== ACCREDITATIONS ===== */
.accred-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.accred-badge {
  background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.25rem 2rem; text-align: center; min-width: 150px;
}
.accred-badge strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.accred-badge span { font-size: 0.78rem; color: var(--gray-400); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-800); margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 0.2s; background: var(--white); color: var(--gray-800);
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(17,38,74,0.08); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 0.35rem; }
.form-success { color: var(--green); font-size: 0.875rem; padding: 0.75rem 1rem; background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 8px; margin-bottom: 1rem; }
.form-alert { font-size: 0.875rem; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.form-alert.error { color: var(--red); background: #fef2f2; border: 1px solid #fecaca; }
.form-alert.success { color: var(--green); background: #dcfce7; border: 1px solid #bbf7d0; }

/* ===== PORTAL LAYOUT ===== */
.portal-wrap { min-height: 100vh; background: var(--off-white); padding-top: 70px; }
.portal-header { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 1rem 0; }
.portal-inner { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 70px - 65px); }
.portal-sidebar {
  background: var(--navy); color: var(--white); padding: 1.5rem 0;
  display: flex; flex-direction: column; position: sticky; top: 70px; height: calc(100vh - 70px);
  overflow-y: auto;
}
.sidebar-user { padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.75rem; }
.sidebar-avatar { width: 48px; height: 48px; background: rgba(251,191,36,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gold); margin-bottom: 0.75rem; font-size: 1.1rem; }
.sidebar-name { font-weight: 700; font-size: 0.9rem; }
.sidebar-id { font-size: 0.75rem; color: rgba(255,255,255,0.45); font-family: monospace; margin-top: 0.2rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.65);
  transition: all 0.15s; border-left: 3px solid transparent;
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.sidebar-nav a.active { background: rgba(255,255,255,0.09); color: var(--white); border-left-color: var(--gold); }
.sidebar-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-section { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); padding: 1rem 1.5rem 0.35rem; }
.sidebar-logout { margin-top: auto; padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.portal-content { padding: 2rem 2.5rem; overflow-y: auto; }
.portal-page-title { margin-bottom: 1.75rem; }
.portal-page-title h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.portal-page-title p { color: var(--gray-400); font-size: 0.9rem; }

/* ===== PORTAL CARDS ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.stat-card-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 0.5rem; }
.stat-card-val { font-size: 1.8rem; font-weight: 900; color: var(--navy); font-family: var(--font-display); }
.stat-card-sub { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.25rem; }

/* ===== MODULE/LESSON LIST ===== */
.module-block { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.module-header { padding: 1rem 1.5rem; background: var(--navy); color: var(--white); font-weight: 700; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; }
.module-header .badge { background: rgba(255,255,255,0.15); border-radius: 100px; padding: 0.2rem 0.75rem; font-size: 0.75rem; }
.lesson-item { padding: 0.9rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--gray-200); cursor: pointer; transition: background 0.15s; }
.lesson-item:last-child { border-bottom: none; }
.lesson-item:hover { background: var(--gray-100); }
.lesson-item.completed .lesson-num { background: var(--green); color: var(--white); }
.lesson-num { width: 28px; height: 28px; border-radius: 50%; background: var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--gray-600); flex-shrink: 0; }
.lesson-title { font-weight: 600; font-size: 0.9rem; flex: 1; }
.lesson-status { font-size: 0.75rem; color: var(--gray-400); }

/* ===== STATUS BADGES ===== */
.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ===== AUTH PAGES ===== */
.auth-wrap { min-height: 100vh; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 460px; box-shadow: 0 24px 80px rgba(0,0,0,0.3); }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-title { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 0.35rem; }
.auth-sub { text-align: center; color: var(--gray-400); font-size: 0.875rem; margin-bottom: 2rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--gray-400); }
.auth-footer a { color: var(--navy); font-weight: 700; }
.security-note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--gray-400); text-align: center; justify-content: center; margin-top: 1.25rem; }

/* ===== PAYMENT STATUS ===== */
.payment-status-box { border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.payment-status-box.pending { background: #fef3c7; border: 1px solid #fcd34d; }
.payment-status-box.approved { background: #dcfce7; border: 1px solid #86efac; }
.payment-status-box.rejected { background: #fee2e2; border: 1px solid #fca5a5; }
.payment-status-box.none { background: var(--gray-100); border: 1px solid var(--gray-200); }

/* ===== UPLOAD AREA ===== */
.upload-area {
  border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 2.5rem;
  text-align: center; cursor: pointer; transition: all 0.2s;
}
.upload-area:hover { border-color: var(--navy); background: rgba(17,38,74,0.02); }
.upload-area.dragover { border-color: var(--navy); background: rgba(17,38,74,0.05); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th { background: var(--gray-100); padding: 0.75rem 1rem; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
td { padding: 0.875rem 1rem; font-size: 0.875rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-800); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-100); }

/* ===== CERTIFICATE ===== */
.certificate-wrap { background: var(--white); border: 10px solid var(--navy); border-radius: 4px; padding: 4rem; position: relative; text-align: center; min-height: 500px; }
.certificate-corner { position: absolute; width: 60px; height: 60px; }
.certificate-corner.tl { top: 12px; left: 12px; border-top: 4px solid var(--gold); border-left: 4px solid var(--gold); }
.certificate-corner.tr { top: 12px; right: 12px; border-top: 4px solid var(--gold); border-right: 4px solid var(--gold); }
.certificate-corner.bl { bottom: 12px; left: 12px; border-bottom: 4px solid var(--gold); border-left: 4px solid var(--gold); }
.certificate-corner.br { bottom: 12px; right: 12px; border-bottom: 4px solid var(--gold); border-right: 4px solid var(--gold); }
.certificate-title { font-family: var(--font-display); font-size: 2.5rem; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; margin: 1.5rem 0; }
.certificate-name { font-size: 2.8rem; font-weight: 900; color: var(--gray-800); border-bottom: 2px solid var(--navy); padding-bottom: 0.5rem; margin: 1rem auto; display: inline-block; }
.certificate-course { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 1rem 0 2rem; }

/* ===== ADMIN ===== */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy-deep); color: var(--white); padding: 0; flex-shrink: 0; position: fixed; left: 0; top: 0; height: 100vh; overflow-y: auto; }
.admin-logo { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-logo strong { color: var(--gold); }
.admin-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: all 0.15s; }
.admin-nav a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.admin-nav a.active { background: rgba(251,191,36,0.12); color: var(--gold); border-left: 3px solid var(--gold); }
.admin-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-nav-section { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.25); padding: 0.75rem 1.5rem 0.25rem; }
.admin-main { margin-left: 240px; flex: 1; min-height: 100vh; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.admin-content { padding: 2rem; }
.admin-page-title { margin-bottom: 1.75rem; }
.admin-page-title h1 { font-size: 1.5rem; }
.admin-page-title p { color: var(--gray-400); font-size: 0.875rem; margin-top: 0.25rem; }

/* ===== PROGRESS BAR ===== */
.progress-bar { background: var(--gray-200); border-radius: 100px; height: 8px; overflow: hidden; }
.progress-fill { background: linear-gradient(90deg, var(--navy), #2563eb); height: 100%; border-radius: 100px; transition: width 0.5s; }

/* ===== ALERTS ===== */
.alert { padding: 0.875rem 1.25rem; border-radius: 10px; font-size: 0.875rem; margin-bottom: 1.25rem; display: flex; gap: 0.75rem; align-items: flex-start; }
.alert-amber { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.alert-green { background: #dcfce7; border: 1px solid #86efac; color: #15803d; }
.alert-red { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-blue { background: #dbeafe; border: 1px solid #93c5fd; color: #1e40af; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-800); color: rgba(255,255,255,0.65); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-mark { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.875rem; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-400); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.bold { font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .portal-inner { grid-template-columns: 220px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .president-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); padding: 1rem; flex-direction: column; gap: 0; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; opacity: 1; pointer-events: all; transform: none; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .steps-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
  .newsletter { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  .portal-inner { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .portal-content { padding: 1.25rem; }
  .admin-content { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .auth-card { padding: 1.75rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
