/* ============================================================
   UK.UK.COM Theme — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --navy:    #0B1F3A;
  --navy2:   #112845;
  --navy3:   #1A3560;
  --red:     #C8102E;
  --red2:    #A80D26;
  --gold:    #C9A225;
  --gold2:   #A8851E;
  --cream:   #F7F4EE;
  --cream2:  #EDE9E1;
  --white:   #FFFFFF;
  --text:    #1A1A2E;
  --text2:   #4A4A5A;
  --text3:   #7A7A8A;
  --border:  rgba(11,31,58,0.12);
  --ff-h:    'Cormorant Garamond', Georgia, serif;
  --ff-b:    'DM Sans', sans-serif;
  --ff-m:    'DM Mono', monospace;
  --radius:  10px;
  --shadow:  0 2px 24px rgba(11,31,58,0.10);
  --shadow2: 0 8px 48px rgba(11,31,58,0.16);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-b); color: var(--text); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label    { font-family: var(--ff-m); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.tag              { display: inline-block; font-family: var(--ff-m); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--navy); color: var(--gold); padding: 4px 10px; border-radius: 4px; }
.tag.red          { background: var(--red); color: #fff; }
.tag.gold         { background: var(--gold); color: var(--navy); }
.tag.green        { background: #1A6B3C; color: #fff; }
.tag.orange       { background: #D4650A; color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== BUTTONS ===== */
.btn              { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-b); font-size: 14px; font-weight: 600; padding: 14px 28px; border-radius: 8px; cursor: pointer; transition: all .2s; border: none; }
.btn-primary      { background: var(--red); color: #fff; }
.btn-primary:hover{ background: var(--red2); transform: translateY(-1px); }
.btn-secondary    { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold         { background: var(--gold); color: var(--navy); }
.btn-gold:hover   { background: var(--gold2); transform: translateY(-1px); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--gold); }

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,37,0.2);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.site-branding { display: flex; align-items: baseline; gap: 6px; }
.site-logo-main { font-family: var(--ff-h); font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.site-logo-main span { color: var(--gold); }
.site-logo-sub  { font-family: var(--ff-m); font-size: 10px; letter-spacing: .15em; color: rgba(201,162,37,0.7); text-transform: uppercase; }
.main-navigation ul { display: flex; align-items: center; gap: 4px; }
.main-navigation li { position: relative; }
.main-navigation a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,0.8); padding: 8px 12px; border-radius: 6px;
  transition: color .2s, background .2s; display: block;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--gold); background: rgba(201,162,37,0.08); }
.nav-cta { background: var(--red) !important; color: #fff !important; border-radius: 6px; margin-left: 8px !important; }
.nav-cta:hover { background: var(--red2) !important; }

/* Dropdown */
.main-navigation .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy2); min-width: 200px; border-radius: 8px;
  box-shadow: var(--shadow2); padding: 8px 0; z-index: 999;
  border: 1px solid rgba(201,162,37,0.15);
}
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu a { color: rgba(255,255,255,0.7); font-size: 13px; padding: 9px 18px; border-radius: 0; }
.main-navigation .sub-menu a:hover { color: var(--gold); background: rgba(201,162,37,0.07); }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 7px 12px; border-radius: 6px; cursor: pointer; font-size: 18px; }

/* ===== MODULE NAV (Sticky sub-nav) ===== */
.module-nav {
  background: var(--navy2);
  border-bottom: 1px solid rgba(201,162,37,0.15);
  position: sticky; top: 68px; z-index: 900;
}
.module-nav-inner {
  display: flex; max-width: 1200px; margin: 0 auto; padding: 0 32px;
  overflow-x: auto; scrollbar-width: none;
}
.module-nav-inner::-webkit-scrollbar { display: none; }
.module-tab {
  display: flex; align-items: center; gap: 8px; padding: 16px 20px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55);
  border-bottom: 2px solid transparent; transition: all .2s; cursor: pointer; text-decoration: none;
}
.module-tab:hover, .module-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.module-tab .num {
  font-family: var(--ff-m); font-size: 10px; background: rgba(201,162,37,0.15); color: var(--gold);
  width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; background: var(--navy); position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,16,46,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(201,162,37,0.07) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(201,162,37,1) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,37,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.union-jack-bg { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 560px; height: 380px; opacity: .04; }
.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 140px 32px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-eyebrow { font-family: var(--ff-m); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero-h1 { font-family: var(--ff-h); font-size: clamp(48px, 5vw, 76px); font-weight: 600; line-height: 1.08; color: var(--white); margin-bottom: 28px; }
.hero-h1 em { color: var(--gold); font-style: italic; }
.hero-h1 .accent-red { color: var(--red); }
.hero-desc { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.65); max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; }
.hero-stat { background: rgba(255,255,255,0.03); padding: 28px 24px; backdrop-filter: blur(8px); }
.stat-num { font-family: var(--ff-h); font-size: 42px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ===== SECTIONS ===== */
.module-section { padding: 100px 0; }
.module-section--light  { background: var(--cream); }
.module-section--white  { background: var(--white); }
.module-section--dark   { background: var(--navy); }
.section-header { margin-bottom: 64px; }
.section-title { font-family: var(--ff-h); font-size: clamp(38px, 4vw, 56px); font-weight: 600; line-height: 1.12; color: var(--navy); margin-bottom: 16px; }
.section-title em { color: var(--red); font-style: italic; }
.section-title--white { color: var(--white); }
.section-title--white em { color: var(--gold); }
.section-desc { font-size: 16px; line-height: 1.75; color: var(--text2); max-width: 660px; }
.section-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--red)); margin: 20px 0; border-radius: 2px; }

/* ===== FEATURE CARDS ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s; position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--red)); opacity: 0; transition: opacity .25s; }
.feature-card:hover { box-shadow: var(--shadow2); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy3)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; }
.feature-card h3 { font-family: var(--ff-h); font-size: 21px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--text2); }

/* ===== BAND SCORE TABLE ===== */
.band-table { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 48px; }
.band-table table { width: 100%; border-collapse: collapse; }
.band-table th { background: var(--navy); color: var(--gold); font-family: var(--ff-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 14px 20px; text-align: left; }
.band-table td { padding: 14px 20px; font-size: 14px; border-top: 1px solid var(--border); }
.band-table tr:nth-child(even) td { background: rgba(11,31,58,0.02); }
.band-table td:first-child { font-family: var(--ff-h); font-weight: 600; font-size: 20px; color: var(--navy); }
.band-table tr:hover td { background: rgba(201,162,37,0.05); }

/* ===== INSTITUTION CARDS ===== */
.institutions-section { margin-top: 64px; }
.institutions-title { font-family: var(--ff-h); font-size: 28px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.inst-subtitle { font-size: 14px; color: var(--text2); margin-bottom: 32px; }
.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.inst-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: all .2s; }
.inst-card:hover { box-shadow: var(--shadow); border-color: rgba(201,162,37,0.3); }
.inst-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inst-name { font-family: var(--ff-h); font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.inst-detail { font-size: 13px; color: var(--text2); line-height: 1.6; display: flex; align-items: flex-start; gap: 8px; }
.inst-detail svg { flex-shrink: 0; margin-top: 1px; }
.inst-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.inst-btn { font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 6px; transition: all .2s; display: inline-flex; align-items: center; gap: 5px; }
.inst-btn-primary { background: var(--navy); color: #fff; }
.inst-btn-primary:hover { background: var(--navy3); }
.inst-btn-map { background: rgba(201,162,37,0.1); color: var(--gold2); border: 1px solid rgba(201,162,37,0.2); }
.inst-btn-map:hover { background: rgba(201,162,37,0.2); }
.inst-btn-web { background: rgba(200,16,46,0.08); color: var(--red2); border: 1px solid rgba(200,16,46,0.15); }
.inst-btn-web:hover { background: rgba(200,16,46,0.14); }

/* ===== PROCESS STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; margin-bottom: 64px; }
.steps::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--gold), var(--red)); }
.step { display: flex; gap: 28px; padding-bottom: 40px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-num { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--ff-h); font-size: 18px; font-weight: 700; border: 2px solid var(--gold); position: relative; z-index: 2; }
.step-body { padding-top: 10px; }
.step-body h3 { font-family: var(--ff-h); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.step-body p { font-size: 14px; line-height: 1.65; color: var(--text2); }
.step-tip { display: inline-block; margin-top: 8px; font-family: var(--ff-m); font-size: 11px; background: rgba(201,162,37,0.1); color: var(--gold2); padding: 4px 10px; border-radius: 4px; letter-spacing: .06em; }

/* ===== JOB LISTINGS ===== */
.jobs-section { margin-top: 64px; }
.jobs-title { font-family: var(--ff-h); font-size: 32px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.jobs-subtitle { font-size: 14px; color: var(--text2); margin-bottom: 32px; }
.jobs-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { font-family: var(--ff-b); font-size: 12.5px; font-weight: 500; padding: 7px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--white); color: var(--text2); cursor: pointer; transition: all .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.job-cards { display: flex; flex-direction: column; gap: 16px; }
.job-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; gap: 24px; transition: all .2s; }
.job-card:hover { box-shadow: var(--shadow); border-color: rgba(201,162,37,0.25); }
.job-logo { width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--ff-h); font-size: 18px; font-weight: 700; color: var(--gold); }
.job-info { flex: 1; min-width: 0; }
.job-title { font-family: var(--ff-h); font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.job-org { font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.job-meta-item { font-size: 12px; color: var(--text3); display: flex; align-items: center; gap: 4px; }
.job-right { text-align: right; flex-shrink: 0; }
.job-salary { font-family: var(--ff-h); font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.job-apply { font-size: 12.5px; font-weight: 600; padding: 8px 20px; border-radius: 6px; background: var(--red); color: #fff; display: inline-block; transition: background .2s; }
.job-apply:hover { background: var(--red2); }

/* ===== SCHOLARSHIPS ===== */
.scholarship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.scholarship-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: all .2s; }
.scholarship-card:hover { box-shadow: var(--shadow2); transform: translateY(-2px); }
.sch-header { display: flex; align-items: flex-start; justify-content: space-between; }
.sch-name { font-family: var(--ff-h); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.sch-amount { font-family: var(--ff-h); font-size: 28px; font-weight: 700; color: var(--gold); margin: 4px 0 0; }
.sch-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }
.sch-deadline { font-family: var(--ff-m); font-size: 11px; color: var(--red); letter-spacing: .06em; }
.sch-btn { margin-top: auto; font-size: 12.5px; font-weight: 500; padding: 8px 16px; border-radius: 6px; background: rgba(11,31,58,0.07); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; transition: all .2s; align-self: flex-start; }
.sch-btn:hover { background: var(--navy); color: var(--gold); }

/* ===== ALERT BOX ===== */
.alert-box { border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; margin: 32px 0; }
.alert-box.warning { background: rgba(212,101,10,0.08); border: 1px solid rgba(212,101,10,0.2); }
.alert-box.info    { background: rgba(26,107,60,0.07); border: 1px solid rgba(26,107,60,0.2); }
.alert-box.danger  { background: rgba(200,16,46,0.06); border: 1px solid rgba(200,16,46,0.18); }
.alert-icon  { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.alert-title { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.alert-text  { font-size: 13px; line-height: 1.6; color: var(--text2); }
.alert-text a { color: var(--red); }

/* ===== REGULATORY CARDS ===== */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.reg-card { border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.reg-card.nmc { background: var(--navy); }
.reg-card.gmc { background: #1A3A2A; }
.reg-card-title { font-family: var(--ff-h); font-size: 28px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.reg-card-sub { font-family: var(--ff-m); font-size: 10px; letter-spacing: .15em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 20px; }
.reg-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.reg-list li { font-size: 13px; color: rgba(255,255,255,0.8); padding-left: 16px; position: relative; line-height: 1.5; }
.reg-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 2px; }
.reg-score { display: inline-block; margin-top: 16px; background: rgba(201,162,37,0.15); border: 1px solid rgba(201,162,37,0.3); border-radius: 6px; padding: 10px 16px; }
.reg-score-num   { font-family: var(--ff-h); font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; }
.reg-score-label { font-size: 11px; color: rgba(255,255,255,0.5); }

/* ===== COUNTRY CARDS ===== */
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.country-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all .2s; }
.country-card:hover { box-shadow: var(--shadow); }
.country-flag { font-size: 28px; margin-bottom: 8px; }
.country-name { font-family: var(--ff-h); font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.country-note { font-size: 12px; color: var(--text2); line-height: 1.5; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 6px; }

/* ===== UCAS TIMELINE ===== */
.ucas-timeline { display: flex; gap: 0; margin-bottom: 64px; overflow-x: auto; padding-bottom: 8px; }
.timeline-item { flex: 1; min-width: 150px; position: relative; }
.timeline-item::before { content: ''; position: absolute; top: 20px; left: 50%; right: -50%; height: 2px; background: var(--cream2); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--ff-h); font-size: 14px; font-weight: 700; color: var(--gold); margin: 0 auto 12px; position: relative; z-index: 2; }
.timeline-month { text-align: center; font-family: var(--ff-m); font-size: 10px; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.timeline-event { text-align: center; font-size: 12.5px; color: var(--navy); font-weight: 500; line-height: 1.4; }

/* ===== GRADUATE ROUTE CALCULATOR ===== */
.calc-box { background: var(--navy); border-radius: var(--radius); padding: 36px; margin-bottom: 48px; }
.calc-title { font-family: var(--ff-h); font-size: 24px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.calc-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.calc-field { flex: 1; min-width: 180px; }
.calc-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 6px; display: block; }
.calc-input,
.calc-select { width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 7px; color: var(--white); font-family: var(--ff-b); font-size: 14px; padding: 12px 14px; outline: none; transition: border .2s; appearance: none; -webkit-appearance: none; }
.calc-input:focus,
.calc-select:focus { border-color: var(--gold); }
.calc-select option { background: var(--navy); }
.calc-btn { background: var(--gold); color: var(--navy); font-family: var(--ff-b); font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 7px; border: none; cursor: pointer; transition: all .2s; white-space: nowrap; }
.calc-btn:hover { background: var(--gold2); }
.calc-result { margin-top: 20px; background: rgba(201,162,37,0.1); border: 1px solid rgba(201,162,37,0.2); border-radius: 8px; padding: 16px 20px; display: none; }
.calc-result.show { display: block; }
.calc-result-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.calc-result-date  { font-family: var(--ff-h); font-size: 24px; color: var(--gold); }
.calc-result-note  { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 6px; }

/* ===== CTA STRIP ===== */
.cta-strip { background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%); padding: 80px 0; border-top: 1px solid rgba(201,162,37,0.15); border-bottom: 1px solid rgba(201,162,37,0.15); }
.cta-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-family: var(--ff-h); font-size: 40px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.cta-text p  { font-size: 15px; color: rgba(255,255,255,0.60); max-width: 480px; line-height: 1.65; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== WIDGET AREAS ===== */
.widget-area { padding: 40px 0; }
.widget { margin-bottom: 32px; }
.widget-title { font-family: var(--ff-h); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; }

/* ===== BLOG / POSTS ===== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.post-card:hover { box-shadow: var(--shadow2); transform: translateY(-3px); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 24px; }
.post-card-cat  { font-family: var(--ff-m); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.post-card-title { font-family: var(--ff-h); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.post-card-excerpt { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; }
.post-card-meta { font-size: 12px; color: var(--text3); display: flex; gap: 12px; }
.read-more { font-size: 13px; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.read-more:hover { gap: 8px; }

/* Single post */
.entry-header { padding: 120px 0 60px; background: var(--navy); }
.entry-title { font-family: var(--ff-h); font-size: clamp(36px, 4vw, 54px); font-weight: 600; color: var(--white); line-height: 1.12; max-width: 800px; }
.entry-meta { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 16px; display: flex; gap: 20px; }
.entry-content { max-width: 760px; margin: 60px auto; padding: 0 32px; font-size: 16px; line-height: 1.8; color: var(--text); }
.entry-content h2,h3,h4 { font-family: var(--ff-h); color: var(--navy); margin: 32px 0 14px; }
.entry-content h2 { font-size: 30px; }
.entry-content h3 { font-size: 24px; }
.entry-content p  { margin-bottom: 20px; }
.entry-content ul,ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; background: rgba(201,162,37,0.05); margin: 28px 0; font-family: var(--ff-h); font-size: 20px; color: var(--navy); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { font-size: 12.5px; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.breadcrumbs a { color: rgba(255,255,255,0.6); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--gold); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 48px 0; }
.page-numbers { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; border: 1px solid var(--border); color: var(--text2); transition: all .2s; }
.page-numbers:hover, .page-numbers.current { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ===== FOOTER ===== */
.site-footer { background: #050E1C; padding: 80px 0 0; border-top: 1px solid rgba(201,162,37,0.12); }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 32px 60px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand {}
.footer-logo-text { font-family: var(--ff-h); font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo-text span { color: var(--gold); }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .2s; }
.social-btn:hover { background: rgba(201,162,37,0.15); border-color: rgba(201,162,37,0.3); }
.footer-col-title { font-family: var(--ff-m); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-nav-list a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 32px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.28); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ===== ANIMATIONS ===== */
@keyframes ukuk-fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up         { animation: ukuk-fadeUp .7s ease forwards; opacity: 0; }
.delay-1         { animation-delay: .1s; }
.delay-2         { animation-delay: .22s; }
.delay-3         { animation-delay: .36s; }
.delay-4         { animation-delay: .50s; }
.js-reveal       { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-content        { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid        { grid-template-columns: 1fr 1fr; }
  .inst-grid           { grid-template-columns: 1fr; }
  .reg-grid            { grid-template-columns: 1fr; }
  .scholarship-grid    { grid-template-columns: 1fr 1fr; }
  .country-grid        { grid-template-columns: 1fr 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .posts-grid          { grid-template-columns: 1fr 1fr; }
  .job-card            { flex-direction: column; align-items: flex-start; }
  .job-right           { text-align: left; }
  .menu-toggle         { display: block; }
  .main-navigation     { display: none; }
  .main-navigation.toggled { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy2); padding: 16px; border-top: 1px solid rgba(201,162,37,0.15); }
  .main-navigation.toggled ul { flex-direction: column; gap: 4px; }
  .main-navigation.toggled .sub-menu { position: static; box-shadow: none; border: none; padding-left: 20px; }
}
@media (max-width: 600px) {
  .container           { padding: 0 20px; }
  .feature-grid        { grid-template-columns: 1fr; }
  .scholarship-grid    { grid-template-columns: 1fr; }
  .country-grid        { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; }
  .posts-grid          { grid-template-columns: 1fr; }
  .calc-row            { flex-direction: column; }
  .cta-strip-inner     { flex-direction: column; }
  .footer-bottom       { flex-direction: column; align-items: flex-start; }
  .hero-stats          { grid-template-columns: 1fr 1fr; }
}

/* ===== WORDPRESS CORE ALIGNMENT ===== */
.alignleft  { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; font-size: 12px; color: var(--text3); text-align: center; }
.wp-caption-text { margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; }
