/* ============================================================
   NPUC — Noble Pre-University College | Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=Montserrat:wght@500;600;700&display=swap');

/* 1. Design Tokens — White / Black / Light Blue */
:root {
  --primary:     #4DA6FF;
  --navy:        #1a6ed4;
  --navy-light:  #4DA6FF;
  --navy-dark:   #0f4fa0;
  --gold:        #4DA6FF;
  --gold-light:  #7ec0ff;
  --gold-dark:   #1a6ed4;
  --white:       #ffffff;
  --cream:       #f4f8ff;
  --surface:     #f0f5fc;
  --surface-alt: #e4edf8;
  --text:        #0a0a0a;
  --text-muted:  #444e60;
  --text-light:  #7a8699;
  --border:      #d0dcea;

  --shadow-xs: 0 1px 3px  rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 8px  rgba(0,0,0,0.09);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 36px rgba(0,0,0,0.13);

  --font-serif: 'Poppins', sans-serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-nav:   'Montserrat', system-ui, sans-serif;

  --container: 1200px;
  --radius:    8px;
  --radius-lg: 16px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: #ffffff; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* 3. Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; line-height: 1.25; color: #0a0a0a; font-weight: 700; }
h1 { font-size: clamp(2rem,    4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem,  3vw,   2.5rem); }
h3 { font-size: clamp(1.2rem,  2vw,   1.6rem); }
h4 { font-size: 1.15rem; }
p  { text-wrap: pretty; }

/* 4. Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; background: #ffffff; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 120px 0; }

/* 5. Section Header */
.section-label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1a6ed4; margin-bottom: 10px; font-family: var(--font-nav); letter-spacing: 0.14em; }
.section-title  { margin-bottom: 14px; }
.section-sub    { font-size: 1.05rem; color: #94a8c4; max-width: 580px; margin-bottom: 48px; line-height: 1.7; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin-left: auto; margin-right: auto; }

.gold-bar { display: block; width: 48px; height: 3px; background: #4DA6FF; border-radius: 2px; margin: 16px 0 0; }
.centered .gold-bar { margin-left: auto; margin-right: auto; }

/* 6. Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.navbar.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid #d0dcea; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar.scrolled .brand-name   { color: #0a0a0a; }
.navbar.scrolled .brand-sub    { color: #1a6ed4; }
.navbar.scrolled .nav-links > li > a { color: #1a1a2e; }
.navbar.scrolled .nav-links > li > a:hover,
.navbar.scrolled .nav-links > li > a.active { color: #4DA6FF; }
.navbar.scrolled .nav-toggle span { background: #0a0a0a; }
.navbar.scrolled .btn-accent { background: #4DA6FF; color: #000000; border-color: #4DA6FF; }

.navbar-inner { display: flex; align-items: center; height: 72px; gap: 12px; }
.navbar-brand { display: flex; flex-direction: column; flex-shrink: 0; text-decoration: none; margin-right: auto; }
.brand-name   { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -0.02em; }
.brand-sub    { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; }

.nav-links { display: flex; align-items: center; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: flex; align-items: center; gap: 4px; height: 72px; padding: 0 15px; font-size: 0.8rem; font-weight: 600; font-family: var(--font-nav); letter-spacing: 0.04em; color: rgba(255,255,255,0.9); transition: color 0.2s; white-space: nowrap; }
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold-light); }
.nav-links > li.has-dropdown:hover .dropdown,
.nav-links > li.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* "Apply Now" ee menu-ga mobile — desktop-ka waa qarsoon */
.mobile-apply-item { display: none; }

.dropdown { position: absolute; top: calc(100% + 4px); left: 0; min-width: 220px; background: #ffffff; border: 1px solid #d0dcea; border-top: 2px solid #4DA6FF; border-radius: 0 0 12px 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.2s var(--ease); z-index: 100; overflow: hidden; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 13px 20px; font-size: 0.85rem; font-weight: 600; color: #1a1a2e; border-bottom: 1px solid #e8edf5; transition: background 0.15s, color 0.15s, padding-left 0.15s; font-family: var(--font-nav); }
.dropdown a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4DA6FF; flex-shrink: 0; opacity: 0; transition: opacity 0.15s; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: #f0f8ff; color: #4DA6FF; padding-left: 24px; }
.dropdown a:hover::before { opacity: 1; }

.nav-cta { margin-left: 16px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.navbar.scrolled .nav-toggle span { background: #0a0a0a; }
/* Hamburger → X */
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 26px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em; border-radius: var(--radius); border: 2px solid transparent; transition: all 0.2s var(--ease); white-space: nowrap; cursor: pointer; text-decoration: none; font-family: var(--font-nav); }
.btn-primary { background: #4DA6FF; color: #000000; border-color: #4DA6FF; font-weight: 700; letter-spacing: 0.03em; }
.btn-primary:hover { background: #6db8ff; border-color: #6db8ff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77,166,255,0.35); }
.btn-accent  { background: #4DA6FF; color: #000000; border-color: #4DA6FF; font-weight: 700; letter-spacing: 0.03em; }
.btn-accent:hover { background: #6db8ff; border-color: #6db8ff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77,166,255,0.35); }
.btn-outline { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #ffffff; transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: #1a6ed4; border-color: #4DA6FF; }
.btn-outline-navy:hover { background: #4DA6FF; color: #000000; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(77,166,255,0.25); }
.btn-lg { padding: 14px 34px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* 8. Home Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: #0f1e3a; overflow: hidden; }
.hero-bg-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 60%, rgba(77,166,255,0.25) 0%, transparent 52%), radial-gradient(ellipse at 80% 30%, rgba(26,110,212,0.20) 0%, transparent 48%); z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(77,166,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(77,166,255,0.07) 1px, transparent 1px); background-size: 56px 56px; z-index: 0; }
.hero-shape { position: absolute; right: 0; top: 0; width: 42%; height: 100%; background: rgba(77,166,255,0.06); clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%); border-left: 1px solid rgba(77,166,255,0.15); z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 680px; padding-top: 80px; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(77,166,255,0.1); border: 1px solid rgba(77,166,255,0.35); color: #7ec0ff; padding: 6px 16px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; backdrop-filter: blur(8px); }
.hero h1 { color: var(--white); line-height: 1.15; margin-bottom: 12px; }
.hero h1 .accent { color: var(--gold); }
.hero-tagline { font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--gold-light); font-style: italic; margin-bottom: 20px; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 36px; line-height: 1.8; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; padding: 0 36px 0 0; }
.hero-stat + .hero-stat { padding-left: 36px; border-left: 1px solid oklch(42% 0.14 255); }
.hero-stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: oklch(62% 0.02 255); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: oklch(55% 0.02 255); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; z-index: 1; animation: bounceDown 2s ease-in-out infinite; }
.scroll-hint::after { content: ''; display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, oklch(55% 0.02 255), transparent); }
@keyframes bounceDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* 9. Page Hero (inner pages) */
.page-hero { padding: 120px 0 60px; background: linear-gradient(160deg, #0f1e3a 0%, #1a3a6e 100%); border-bottom: 1px solid #d0dcea; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, oklch(28% 0.16 255 / 0.6), transparent 55%); }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 540px; margin-top: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: oklch(60% 0.02 255); font-size: 0.8rem; margin-bottom: 12px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* 10. Stats Bar */
.stats-bar { background: #ffffff; border-top: 1px solid #d0dcea; border-bottom: 1px solid #d0dcea; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 36px 16px; border-right: 1px solid #d0dcea; }
.stat-item:last-child { border-right: none; }
.stat-num   { font-family: 'Poppins', sans-serif; font-size: 2.75rem; font-weight: 700; color: #1a6ed4; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.8rem; color: #444e60; text-transform: uppercase; letter-spacing: 0.07em; font-family: 'Montserrat', sans-serif; }

/* 11. Cards */
.card { background: #ffffff; border-radius: var(--radius-lg); border: 1px solid #d0dcea; overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); border-color: #4DA6FF; }
.card-body  { padding: 28px; }

/* Program Card */
.program-card { background: #ffffff; border: 1px solid #d0dcea; border-radius: var(--radius-lg); padding: 32px 28px; position: relative; overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s; }
.program-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #4DA6FF; opacity: 0; transition: opacity 0.2s; box-shadow: 2px 0 12px rgba(77,166,255,0.5); }
.program-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); border-color: #4DA6FF; }
.program-card:hover::before { opacity: 1; }
.program-icon { width: 52px; height: 52px; background: #e8f3ff; border: 1px solid #b8d8f8; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.program-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #0a0a0a; }
.program-card p { font-size: 0.875rem; color: #444e60; margin-bottom: 18px; line-height: 1.65; }
.program-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.program-meta span { display: flex; align-items: center; gap: 4px; }
.prog-tag { display: inline-flex; align-items: center; padding: 3px 12px; font-size: 0.72rem; font-weight: 700; border-radius: 100px; background: rgba(77,166,255,0.12); color: #4DA6FF; border: 1px solid rgba(77,166,255,0.25); letter-spacing: 0.05em; text-transform: uppercase; font-family: 'Montserrat', sans-serif; }

/* News Card */
.news-card { background: #ffffff; border: 1px solid #d0dcea; border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,0.11); border-color: #4DA6FF; }
.news-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.news-img svg { width: 100%; height: 100%; }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #4DA6FF; margin-bottom: 8px; font-family: 'Montserrat', sans-serif; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; color: #0a0a0a; }
.news-card h3 a:hover { color: var(--gold-dark); }
.news-card p  { font-size: 0.875rem; color: #444e60; margin-bottom: 16px; flex: 1; }
.news-date { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; margin-top: auto; }

/* Faculty Card */
.faculty-card { background: #ffffff; border: 1px solid #d0dcea; border-radius: var(--radius-lg); overflow: hidden; }
.faculty-header { background: linear-gradient(135deg, #1a6ed4, #4DA6FF); border-bottom: 1px solid #d0dcea; padding: 28px; color: #ffffff; }
.faculty-header h3 { color: #ffffff; font-size: 1.2rem; margin-bottom: 6px; }
.faculty-header p  { color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.faculty-body { padding: 24px; background: transparent; }
.dept-list { display: flex; flex-direction: column; gap: 10px; }
.dept-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; padding: 8px 0; border-bottom: 1px solid #d0dcea; color: #444e60; }
.dept-item:last-child { border-bottom: none; }
.dept-dot { width: 8px; height: 8px; border-radius: 50%; background: #4DA6FF; flex-shrink: 0; }

/* 12. Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* 13. Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full  { grid-column: 1 / -1; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: #0a0a0a; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; letter-spacing: 0.02em; }
.form-label .req { color: oklch(55% 0.18 25); margin-left: 2px; }
.form-control { width: 100%; padding: 11px 16px; font-size: 0.9rem; color: #0a0a0a; background: #ffffff; border: 1.5px solid #d0dcea; border-radius: var(--radius); outline: none; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; }
.form-control:focus { border-color: #4DA6FF; box-shadow: 0 0 0 3px rgba(77,166,255,0.15); }
.form-control::placeholder { color: #7a8699; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 5px; }
.form-section-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* 14. Badges */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; border-radius: 100px; text-transform: uppercase; }
.badge-navy    { background: oklch(37% 0.20 255 / 0.12); color: var(--navy); }
.badge-gold    { background: oklch(60% 0.22 232 / 0.14);  color: var(--gold-dark); }
.badge-green   { background: oklch(55% 0.15 155 / 0.15);  color: oklch(36% 0.12 155); }
.badge-pending { background: oklch(75% 0.12 90 / 0.2);    color: oklch(50% 0.14 65); }
.badge-reject  { background: oklch(55% 0.18 25 / 0.15);   color: oklch(40% 0.15 25); }

/* 15. Feature boxes */
.feature-box { text-align: center; padding: 36px 24px; }
.feature-icon { width: 64px; height: 64px; background: #e8f3ff; border: 1px solid #b8d8f8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 20px; }
.feature-box h3 { font-size: 1.1rem; margin-bottom: 10px; color: #0a0a0a; }
.feature-box p  { font-size: 0.875rem; color: #444e60; line-height: 1.65; }

/* 16. CTA Section */
.cta-section { background: linear-gradient(160deg, #0f1e3a 0%, #1a3a6e 100%); border-top: 1px solid #d0dcea; border-bottom: 1px solid #d0dcea; padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(77,166,255,0.15), transparent 60%); }
.cta-section .container { position: relative; z-index: 1; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 17. Image placeholder */
.img-ph { width: 100%; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.img-ph svg { width: 100%; height: 100%; display: block; }

/* 18. Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.ci-icon { width: 44px; height: 44px; background: oklch(60% 0.22 232 / 0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); margin-bottom: 4px; }
.ci-value { font-size: 0.9rem; color: var(--text-muted); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

/* 19. Process Steps */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 40px; height: 40px; background: #4DA6FF; border: 2px solid #4DA6FF; color: #000000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.step-content h4 { font-size: 1rem; margin-bottom: 6px; }
.step-content p  { font-size: 0.875rem; color: var(--text-muted); }

/* 20. Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid #d0dcea; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead { background: #f0f5fc; }
th { padding: 14px 16px; text-align: left; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: #444e60; border-bottom: 1px solid #d0dcea; font-family: 'Montserrat', sans-serif; }
td { padding: 14px 16px; border-bottom: 1px solid #e8edf5; vertical-align: middle; color: #0a0a0a; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f4f8ff; }

/* 21. Alert */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; border: 1px solid; }
.alert-success { background: oklch(55% 0.15 155 / 0.1); border-color: oklch(55% 0.15 155 / 0.3); color: oklch(35% 0.12 155); }
.alert-info    { background: oklch(60% 0.12 230 / 0.1); border-color: oklch(60% 0.12 230 / 0.3); color: oklch(38% 0.1 230); }
.alert-warning { background: oklch(75% 0.12 90  / 0.15); border-color: oklch(70% 0.12 82  / 0.4); color: oklch(48% 0.13 65); }

/* 22. Footer */
.footer { background: #0f1e3a; border-top: 1px solid #1a3a6e; color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer .brand-name { font-size: 1.6rem; color: #ffffff; margin-bottom: 4px; }
.footer .brand-sub  { color: #7ec0ff; margin-bottom: 18px; }
.footer-desc { font-size: 0.875rem; line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 700; transition: all 0.25s; }
.social-link:hover { background: #4DA6FF; border-color: #4DA6FF; color: #000000; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(77,166,255,0.3); }
.footer h4 { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffffff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.15s, padding-left 0.15s; }
.footer-links a:hover { color: #7ec0ff; padding-left: 4px; }
.f-contact-item { display: flex; gap: 12px; font-size: 0.875rem; line-height: 1.55; margin-bottom: 14px; }
.f-contact-item .ic { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom-inner a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-bottom-inner a:hover { color: #7ec0ff; }

/* 23. Back to Top */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: #4DA6FF; border: none; color: #000000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 4px 20px rgba(77,166,255,0.4); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.3s var(--ease); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #6db8ff; color: #000000; box-shadow: 0 6px 24px rgba(77,166,255,0.45); }

/* 24. Scroll animations */
.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.anim.in-view { opacity: 1; transform: translateY(0); }
.anim.d1 { transition-delay: 0.10s; }
.anim.d2 { transition-delay: 0.20s; }
.anim.d3 { transition-delay: 0.30s; }
.anim.d4 { transition-delay: 0.40s; }
.anim.d5 { transition-delay: 0.50s; }

/* 25. Utilities */
.text-center  { text-align: center; }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.bg-surface   { background: #f0f5fc; }
.bg-navy      { background: var(--navy-dark); }
.mt-8  { margin-top:  8px; }  .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }  .mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom:  8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* 26. Responsive */
@media (min-width: 1025px) {
  .mobile-x-close { display: none !important; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-two-col { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }

  /* backdrop-filter wuxuu menu-ga fixed-ka ah ku xirayay navbar-ka — laga saaray mobile */
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
  }

  /* ── Mobile menu panel — full screen ── */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0;
    height: 100vh; height: 100dvh;
    background: #ffffff;
    padding-top: calc(72px + var(--bar-h, 0px)); padding-bottom: 32px;
    overflow-y: auto; z-index: 998;
    border-top: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
    animation: fadeSlideDown 0.25s cubic-bezier(0.16,1,0.3,1);
  }
  /* Blue accent line just below navbar */
  .nav-links.open::before {
    content: ''; display: block; flex-shrink: 0;
    height: 3px; background: #4DA6FF;
    position: sticky; top: 0; z-index: 1;
  }
  @keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Backdrop behind menu but below navbar */
  .nav-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.35); z-index: 997;
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    animation: fadeInBd 0.25s ease;
  }
  .nav-backdrop.open { display: block; }
  @keyframes fadeInBd { from { opacity:0; } to { opacity:1; } }

  /* Each top-level item */
  .nav-links.open > li { border-bottom: 1px solid #eef3fa; }
  .nav-links.open > li > a {
    display: flex; align-items: center; justify-content: space-between;
    height: auto; padding: 16px 20px; font-size: 1rem;
    color: #0a0a0a; font-weight: 700; font-family: var(--font-nav);
    letter-spacing: 0.03em; transition: background 0.15s, color 0.15s;
  }
  .nav-links.open > li > a:hover,
  .nav-links.open > li > a.active { color: #4DA6FF; background: #f0f8ff; }

  /* Accordion arrow for dropdown parent */
  .nav-links.open .has-dropdown > a::after { content: '›'; font-size: 1.2rem; color: #94a8c4; transition: transform 0.25s; display: inline-block; }
  .nav-links.open .has-dropdown.expanded > a::after { transform: rotate(90deg); color: #4DA6FF; }
  .nav-links.open .has-dropdown > a > span.nav-dot { display: none; }

  /* Accordion dropdown */
  .nav-links.open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; border-top: 1px solid #eef3fa; border-radius: 0;
    box-shadow: none; background: #f7faff; padding: 4px 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open .has-dropdown.expanded .dropdown { max-height: 300px; }
  .nav-links.open .dropdown a {
    padding: 14px 20px 14px 36px; font-size: 0.925rem;
    color: #444e60; border-bottom: 1px solid #eef3fa;
    font-weight: 600; display: flex; align-items: center; gap: 10px;
  }
  .nav-links.open .dropdown a::before { content: '—'; color: #4DA6FF; font-size: 0.75rem; }
  .nav-links.open .dropdown a:hover { color: #4DA6FF; background: #e8f3ff; }
  .nav-links.open .dropdown a:last-child { border-bottom: none; }

  .mobile-close-item { border-bottom: 2px solid #4DA6FF !important; position: relative; }
  .mobile-close-btn {
    display: flex; align-items: center; justify-content: flex-end;
    width: 100%; padding: 10px 16px;
    background: none; border: none; cursor: pointer;
    transition: background 0.15s;
  }
  .mobile-close-btn:hover { background: #f0f8ff; }
  .mcb-x {
    width: 32px; height: 32px; border-radius: 50%;
    background: #4DA6FF; color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; line-height: 1; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(77,166,255,0.35);
  }
  .mcb-label { display: none; }
  .mobile-close-btn:hover .mcb-x { background: #1a6ed4; }

  /* "Apply Now" — menu-ga mobile gudihiisa */
  .nav-links.open .mobile-apply-item { display: block; }
  .mobile-apply-item { border-top: 2px solid #4DA6FF !important; margin-top: 8px; }
  .mobile-apply-btn {
    display: flex !important; align-items: center; justify-content: center;
    margin: 12px 16px; padding: 14px 20px !important;
    background: #4DA6FF; color: #000000 !important; font-weight: 700 !important;
    border-radius: 10px; font-size: 1rem !important; letter-spacing: 0.03em;
    box-shadow: 0 4px 16px rgba(77,166,255,0.35);
    transition: background 0.2s, transform 0.2s !important;
  }
  .mobile-apply-btn:hover { background: #6db8ff !important; transform: translateY(-1px); }

  /* ── Mobile X close button — fixed top-right (mobile only) ── */
  .mobile-x-close {
    display: none !important;
    position: fixed; top: calc(var(--bar-h, 0px) + 18px); right: 16px; z-index: 1001;
    width: 36px; height: 36px; border-radius: 50%;
    background: #4DA6FF; color: #000000;
    border: none; cursor: pointer;
    font-size: 1.25rem; font-weight: 700; line-height: 1;
    align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(77,166,255,0.45);
    transition: background 0.2s, transform 0.2s;
    font-family: inherit;
  }
  .mobile-x-close.visible { display: flex !important; }
  .mobile-x-close:hover { background: #1a6ed4; transform: scale(1.1); }
  .nav-toggle { display: flex; }
  /* Animated hamburger → X */
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat { padding: 0 20px 0 0; }
  .hero-stat + .hero-stat { padding-left: 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid #d0dcea; }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .hero { min-height: 100dvh; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat, .hero-stat + .hero-stat { padding: 0; border: none; }
  .navbar-inner { height: 64px; }
  .nav-links.open { top: 0; padding-top: calc(64px + var(--bar-h, 0px)); }
  .mobile-x-close { top: calc(var(--bar-h, 0px) + 14px); }
  #npuc-announce { font-size: 0.75rem !important; padding: 7px 14px !important; }
}
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  #npuc-announce { font-size: 0.7rem !important; padding: 6px 12px !important; }
  h1 { font-size: 1.55rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub  { font-size: 0.52rem; }
  .nav-links.open > li > a { padding: 14px 16px; font-size: 0.95rem; }
  .nav-links.open .dropdown a { padding: 12px 16px 12px 30px; font-size: 0.875rem; }
  .nav-cta.open { left: 12px; right: 12px; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; align-items: flex-start; }
  .hero-content { padding-top: calc(var(--nav-h, 64px) + 16px); padding-bottom: 90px; }

  .hero h1 { font-size: 1.9rem; line-height: 1.1; margin-bottom: 8px; }
  .hero-tagline { font-size: 1rem; margin-bottom: 10px; }
  .hero-desc { font-size: 0.85rem; line-height: 1.55; margin-bottom: 18px; }

  /* labada badhan hal safar */
  .hero-buttons { flex-direction: row; gap: 8px; margin-bottom: 24px; }
  .hero-buttons .btn { width: auto; flex: 1; padding: 11px 8px; font-size: 0.8rem; }

  /* stats-ka 2x2 oo yar */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .hero-stat, .hero-stat + .hero-stat { padding: 0; border: none; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.65rem; }

  .scroll-hint { display: none; }
}

/* ── 350px–480px hero fix — waa in uu ugu dambeeyo faylka ── */
@media (max-width: 480px) {
  .hero-buttons { flex-wrap: wrap; }
  .hero-buttons .btn { white-space: normal; min-width: 0; flex: 1 1 140px; text-align: center; }
  .hero-content { padding-bottom: 60px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE HERO FIX — fluid from 320px up to desktop
   (waa in uu ugu dambeeyo faylka)
   ══════════════════════════════════════════════════════════ */
:root { --nav-h: 72px; }
@media (max-width: 480px) { :root { --nav-h: 64px; } }

.hero { min-height: 100vh; min-height: 100svh; align-items: flex-start; }
.hero-content {
  max-width: 680px;
  padding-top: calc(var(--nav-h) + clamp(24px, 6vw, 72px));
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero h1 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 3.5rem); line-height: 1.12; }
.hero-tagline { font-size: clamp(1rem, 0.9rem + 0.8vw, 1.4rem); margin-bottom: clamp(10px, 2vw, 20px); }
.hero-desc { font-size: clamp(0.88rem, 0.8rem + 0.4vw, 1.05rem); line-height: 1.6; margin-bottom: clamp(18px, 3vw, 36px); }
.hero-buttons { flex-direction: row; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 4vw, 56px); }
.hero-buttons .btn {
  width: auto; flex: 1 1 150px; min-width: 0; white-space: normal; text-align: center;
  padding: clamp(10px, 1.4vw, 14px) clamp(14px, 2.4vw, 34px);
  font-size: clamp(0.8rem, 0.75rem + 0.3vw, 1rem);
}
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px 12px; }
.hero-stat, .hero-stat + .hero-stat { padding: 0; border: none; }
.hero-stat-num { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); }
.hero-stat-label { font-size: clamp(0.62rem, 0.6rem + 0.2vw, 0.78rem); }

@media (max-width: 1024px) { .scroll-hint { display: none; } }
@media (min-width: 1025px) { .hero { align-items: center; } }

/* Desktop-ka cidhiidhiga ah (1025–1180px): nav-ka yaree si uusan u dhaafin */
@media (min-width: 1025px) and (max-width: 1180px) {
  .nav-links > li > a { padding: 0 10px; font-size: 0.76rem; }
  .nav-cta { margin-left: 8px; }
}

@media (max-width: 768px) {
  section.hero {
    background-size: 100% 100%, 100% auto !important;
    background-position: center, center 104px !important;
    background-repeat: no-repeat, no-repeat !important;
  }
}