/*
 * Theme Name:  EduNova University
 * Theme URI:   https://example.com/edunova
 * Author:      EduNova Themes
 * Version:     2.0.0
 * License:     GNU General Public License v2 or later
 * Text Domain: edunova
 *
 * ════════════════════════════════════════════════════════════════
 *  IMAGE SIZE REFERENCE — Every image size registered by this theme
 * ════════════════════════════════════════════════════════════════
 *
 *  #   Handle                  Dimensions        Crop   Used In
 *  ─── ─────────────────────── ──────────────    ─────  ─────────────────────────────────────────
 *  1   (custom-logo)           280 × 80 px       No     Site header. Use transparent PNG.
 *                                                        Retina: upload 560×160 px.
 *
 *  2   edunova-hero            1920 × 900 px     Yes    Hero slider – each slide background.
 *                                                        Upload landscape images ≥1920 px wide.
 *                                                        Keep important content in left 55%
 *                                                        (right side may be clipped on mobile).
 *
 *  3   edunova-news            800 × 500 px      Yes    News/blog post card thumbnails.
 *                                                        16:10 ratio. Centre the subject.
 *
 *  4   edunova-program         600 × 400 px      Yes    Academic programme card images.
 *                                                        3:2 ratio. FA icon shown as fallback.
 *
 *  5   edunova-faculty         400 × 400 px      Yes    Faculty profile photos. CSS circular crop.
 *                                                        Upload square portrait/headshot.
 *                                                        Centre the face in the frame.
 *
 *  6   edunova-gallery         800 × 600 px      Yes    Campus photo gallery grid.
 *                                                        4:3 ratio. Lightbox shows full upload.
 *
 *  7   edunova-testimonial     120 × 120 px      Yes    Testimonial author avatars (circular).
 *                                                        Square headshot. Displays at 60 CSS px.
 *
 *  8   edunova-download-icon    64 ×  64 px      Yes    File download card icon thumbnail.
 *                                                        Optional — FA icon used as fallback.
 *
 *  9   edunova-thumb           400 × 300 px      Yes    General: sidebar, related posts, archive.
 *                                                        4:3 multi-purpose thumbnail.
 *
 *  10  (WP built-ins, auto-generated)
 *      thumbnail               150 × 150 px      Yes    WordPress default
 *      medium                  300 × 300 px      No     WordPress default
 *      medium_large            768 × auto px     No     WordPress default
 *      large                  1024 × 1024 px     No     WordPress default
 *      full                    Original upload          WordPress default
 * ════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════ */
:root {
  /* Brand */
  --navy:          #0b1f4a;
  --navy-mid:      #16306e;
  --navy-light:    #1e4080;
  --navy-dark:     #06122e;
  --gold:          #c9960c;
  --gold-light:    #e8b82a;
  --gold-pale:     #f5d87a;
  --gold-muted:    #a37908;
  --cream:         #faf8f3;
  --ivory:         #f2eed8;

  /* Neutrals */
  --ink:           #111827;
  --slate:         #374151;
  --muted:         #6b7280;
  --light:         #9ca3af;
  --border:        #e5e7eb;
  --border-subtle: #f0f0f0;
  --surface:       #f9fafb;
  --white:         #ffffff;

  /* Semantic */
  --success:       #15803d;
  --danger:        #dc2626;
  --warning:       #d97706;
  --info:          #1d4ed8;

  /* File type colours */
  --pdf-color:     #dc2626;
  --doc-color:     #2563eb;
  --xls-color:     #16a34a;
  --ppt-color:     #ea580c;
  --zip-color:     #7c3aed;
  --img-color:     #0891b2;
  --other-color:   #6b7280;

  /* Gradients */
  --grad-navy:   linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  --grad-gold:   linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  --grad-hero:   linear-gradient(105deg, rgba(6,18,46,.95) 0%, rgba(11,31,74,.72) 55%, rgba(11,31,74,.3) 100%);
  --grad-card:   linear-gradient(180deg, transparent 40%, rgba(6,18,46,.9) 100%);
  --grad-shine:  linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale */
  --s-1: .25rem;   --s-2: .5rem;    --s-3: .75rem;
  --s-4: 1rem;     --s-5: 1.25rem;  --s-6: 1.5rem;
  --s-8: 2rem;     --s-10: 2.5rem;  --s-12: 3rem;
  --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;

  /* Shape */
  --r-xs: 4px;   --r-sm: 8px;   --r-md: 14px;
  --r-lg: 22px;  --r-xl: 32px;  --r-full: 999px;

  /* Shadow */
  --sh-xs: 0 1px 3px rgba(11,31,74,.06);
  --sh-sm: 0 2px 10px rgba(11,31,74,.09);
  --sh-md: 0 6px 28px rgba(11,31,74,.13);
  --sh-lg: 0 14px 56px rgba(11,31,74,.19);
  --sh-xl: 0 28px 90px rgba(11,31,74,.26);
  --sh-glow: 0 0 48px rgba(201,150,12,.3);
  --sh-gold-sm: 0 4px 16px rgba(201,150,12,.28);

  /* Misc */
  --max-w: 1280px;
  --hdr-h: 88px;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .28s var(--ease);
  --t-slow: .65s var(--ease);
}

/* ═══════════════════════════════════
   RESET
   ═══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-muted); }
ul { list-style: none; }
button { font-family: var(--font-ui); cursor: pointer; }
input, textarea, select { font-family: var(--font-ui); }

/* ═══════════════════════════════════
   GOOGLE FONTS IMPORT (referenced in functions.php enqueue)
   Cormorant Garamond + DM Sans
   ═══════════════════════════════════ */

/* ═══════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--slate); line-height: 1.78; }

/* ═══════════════════════════════════
   UTILITIES
   ═══════════════════════════════════ */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad  { padding: var(--s-20) 0; }
.section-pad-sm { padding: var(--s-12) 0; }
.text-center  { text-align: center; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-8); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-8); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-6); }

/* ═══════════════════════════════════
   BADGE / CHIP
   ═══════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .8rem;
  border-radius: var(--r-full);
  font-family: var(--font-ui);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge-gold    { background: var(--grad-gold); color: #fff; box-shadow: var(--sh-gold-sm); }
.badge-navy    { background: var(--grad-navy); color: #fff; }
.badge-outline { background: transparent; border: 1.5px solid currentColor; }
.badge-success { background: rgba(21,128,61,.1); color: var(--success); border: 1px solid rgba(21,128,61,.2); }
.badge-danger  { background: rgba(220,38,38,.08); color: var(--danger); border: 1px solid rgba(220,38,38,.18); }
.badge-warning { background: rgba(217,119,6,.1);  color: var(--warning); border: 1px solid rgba(217,119,6,.2); }

/* ═══════════════════════════════════
   BUTTONS
   ═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: .93rem; font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--t);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Shimmer overlay */
.btn::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: var(--grad-shine);
  transition: left .5s var(--ease);
}
.btn:hover::before { left: 140%; }

.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-dark);
  box-shadow: var(--sh-gold-sm);
}
.btn-gold:hover { color: var(--navy-dark); transform: translateY(-3px); box-shadow: var(--sh-glow); }

.btn-navy {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn-navy:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--sh-md); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold-muted);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--grad-gold); color: var(--navy-dark); transform: translateY(-3px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; transform: translateY(-3px); }

.btn-ghost {
  background: rgba(11,31,74,.06);
  color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover { background: rgba(11,31,74,.1); transform: translateY(-2px); }

.btn-lg  { padding: 1.05rem 2.6rem; font-size: 1.02rem; border-radius: var(--r-lg); }
.btn-sm  { padding: .5rem 1.2rem; font-size: .84rem; }
.btn-xs  { padding: .32rem .8rem; font-size: .75rem; }

/* ═══════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════ */
.section-header { margin-bottom: var(--s-12); }
.section-header.centered { text-align: center; }
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-muted);
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-header.centered .eyebrow { justify-content: center; }
.section-header h2 { margin-bottom: .8rem; }
.section-header p  { color: var(--muted); max-width: 55ch; font-size: 1.06rem; line-height: 1.82; }
.section-header.centered p { margin: 0 auto; }

/* Decorative rule */
.deco-rule {
  display: flex; align-items: center; gap: .5rem;
  margin: .9rem 0;
  justify-content: flex-start;
}
.section-header.centered .deco-rule { justify-content: center; }
.deco-rule::before, .deco-rule::after { content: ''; flex: 1; height: 1px; background: var(--border); max-width: 48px; }
.deco-diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); border-radius: 1px; flex-shrink: 0; }

/* ═══════════════════════════════════
   TOP BAR
   ═══════════════════════════════════ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  font-size: .79rem;
  padding: .48rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; }
.top-bar a { color: rgba(255,255,255,.65); transition: color var(--t); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-item { display: flex; align-items: center; gap: .38rem; }
.top-bar-item i { color: var(--gold); font-size: .75rem; }
.tb-socials { display: flex; gap: .35rem; }
.tb-socials a {
  width: 25px; height: 25px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem;
  transition: all var(--t);
}
.tb-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

/* ═══════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════ */
.site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky;
  top: 0; z-index: 900;
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--t), border-color var(--t);
}
.site-header.scrolled { box-shadow: var(--sh-md); border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); gap: var(--s-8); }

/* Logo */
.site-logo { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; text-decoration: none; }
.site-logo img { height: 52px; width: auto; }
.logo-crest {
  width: 52px; height: 52px;
  background: var(--grad-navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: var(--gold-light);
  box-shadow: 0 4px 14px rgba(11,31,74,.28);
  flex-shrink: 0;
  transition: all var(--t);
}
.site-logo:hover .logo-crest { transform: rotate(-3deg) scale(1.04); }
.logo-text .site-name {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.025em;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text .site-name span { color: var(--gold-muted); }
.logo-text .tagline {
  font-size: .64rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--light); margin-top: .1rem;
}

/* Nav */
.primary-nav { display: flex; align-items: center; gap: .05rem; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: block; padding: .6rem 1rem;
  font-size: .875rem; font-weight: 500;
  color: var(--slate);
  border-radius: var(--r-sm);
  transition: all var(--t); white-space: nowrap;
}
.primary-nav > li > a:hover,
.primary-nav > li.current-menu-item > a {
  color: var(--navy); background: var(--surface);
}
.primary-nav > li.current-menu-item > a { font-weight: 600; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + .6rem); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--border-subtle);
  opacity: 0; pointer-events: none;
  transition: all var(--t);
  z-index: 99; padding: .45rem;
}
.dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 5px;
  background: var(--white);
  clip-path: polygon(50% 0%,0% 100%,100% 100%);
}
.primary-nav > li:hover .dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: .55rem;
  padding: .58rem 1rem;
  font-size: .855rem; color: var(--slate);
  border-radius: var(--r-sm);
  transition: all var(--t);
}
.dropdown li a:hover { background: var(--surface); color: var(--navy); padding-left: 1.3rem; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .5rem; }
.hdr-icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted); font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t);
}
.hdr-icon-btn:hover { color: var(--navy); background: var(--border-subtle); border-color: var(--navy); }
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: .5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--t); }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(6,18,46,.97);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-overlay-inner { width: 100%; max-width: 700px; padding: 0 2rem; }
.search-overlay h3 {
  color: rgba(255,255,255,.35); font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 1.5rem;
  font-family: var(--font-ui); font-weight: 600;
}
.search-overlay form { position: relative; }
.search-overlay input {
  width: 100%; background: transparent;
  border: none; border-bottom: 1.5px solid rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
  padding: 1rem 4.5rem 1rem 0; outline: none;
  transition: border-color var(--t);
}
.search-overlay input:focus { border-bottom-color: var(--gold); }
.search-overlay input::placeholder { color: rgba(255,255,255,.2); }
.search-overlay-close {
  position: fixed; top: 1.75rem; right: 1.75rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.search-overlay-close:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ═══════════════════════════════════
   TICKER BAR
   ═══════════════════════════════════ */
.ticker-bar {
  background: var(--navy);
  padding: .55rem 0;
  border-bottom: 2px solid var(--gold);
  position: relative; overflow: hidden;
}
.ticker-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 64px);
}
.ticker-inner { display: flex; align-items: center; gap: 1rem; position: relative; }
.ticker-label {
  background: var(--grad-gold); color: var(--navy-dark);
  padding: .2rem .9rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--r-xs); flex-shrink: 0;
  display: flex; align-items: center; gap: .35rem;
  box-shadow: var(--sh-gold-sm);
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-items {
  display: flex;
  animation: ticker 34s linear infinite;
  white-space: nowrap; gap: 3.5rem;
}
.ticker-items:hover { animation-play-state: paused; }
.ticker-item {
  font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.8);
  display: inline-flex; align-items: center; gap: .5rem;
  flex-shrink: 0; text-decoration: none;
  transition: color var(--t); white-space: nowrap;
}
.ticker-item i { color: var(--gold); font-size: .4rem; }
.ticker-item:hover { color: var(--gold-light); }
.ticker-more {
  flex-shrink: 0; font-size: .68rem; font-weight: 800;
  color: var(--navy-dark); background: var(--grad-gold);
  padding: .18rem .7rem; border-radius: var(--r-xs);
  white-space: nowrap; letter-spacing: .06em; text-transform: uppercase;
  display: flex; align-items: center; gap: .3rem;
  text-decoration: none; margin-left: .5rem;
  transition: all var(--t);
}
.ticker-more:hover { box-shadow: var(--sh-gold-sm); transform: scale(1.04); color: var(--navy-dark); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════
   HERO SLIDER
   Image: edunova-hero — 1920×900 px (see file header)
   ═══════════════════════════════════ */
.hero-slider { position: relative; overflow: hidden; height: 720px; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
  background-color: var(--navy-dark);
}
.slide.active { opacity: 1; z-index: 1; }

/* Rich dark-to-transparent overlay */
.slide-overlay {
  position: absolute; inset: 0;
  background: var(--grad-hero);
}
/* Diagonal gold accent band */
.slide-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, transparent 45%, rgba(201,150,12,.055) 100%);
  clip-path: polygon(55% 0%, 100% 0%, 100% 100%, 40% 100%);
}
/* Noise grain for depth */
.slide-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .5;
}

.slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-text { max-width: 680px; color: #fff; }

.slide-label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,150,12,.2); border: 1px solid rgba(201,150,12,.45);
  color: var(--gold-pale);
  padding: .38rem 1rem; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
  animation: slideUp .7s var(--ease) .1s both;
}
.slide-text h1 {
  color: #fff; margin-bottom: 1.3rem;
  text-shadow: 0 2px 40px rgba(0,0,0,.2);
  animation: slideUp .7s var(--ease) .22s both;
  line-height: 1.08;
}
.slide-text h1 em { color: var(--gold-light); font-style: normal; }
.slide-text p {
  font-size: 1.08rem; color: rgba(255,255,255,.78);
  margin-bottom: 2.2rem;
  animation: slideUp .7s var(--ease) .34s both;
  max-width: 52ch; line-height: 1.82;
}
.slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: slideUp .7s var(--ease) .46s both; }

/* Trust strip */
.slide-trust {
  display: flex; gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  animation: slideUp .7s var(--ease) .56s both;
}
.slide-trust-item { display: flex; flex-direction: column; }
.slide-trust-num {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800;
  color: var(--gold-light); line-height: 1;
}
.slide-trust-label { font-size: .68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slider controls */
.slider-controls { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: .75rem; }
.slider-dot {
  width: 7px; height: 7px; border-radius: var(--r-full);
  background: rgba(255,255,255,.28); cursor: pointer;
  transition: all .45s ease; padding: 0; border: none;
}
.slider-dot.active { background: var(--gold); width: 30px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; width: 54px; height: 54px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t); backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-50%) scale(1.06); }
.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }
.slide-counter { position: absolute; bottom: 2.5rem; right: 2rem; z-index: 10; font-size: .78rem; color: rgba(255,255,255,.4); font-family: var(--font-ui); font-weight: 600; letter-spacing: .05em; }
.slide-counter span { color: var(--gold-light); }

/* ═══════════════════════════════════
   STATS BAR
   ═══════════════════════════════════ */
.stats-bar { background: var(--white); box-shadow: var(--sh-md); position: relative; z-index: 5; }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  padding: 1.9rem 1.5rem; text-align: center;
  position: relative; border-right: 1px solid var(--border-subtle);
  transition: background var(--t);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--cream); }
.stat-item::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--grad-gold);
  transition: width var(--t); border-radius: 3px 3px 0 0;
}
.stat-item:hover::after { width: 50%; }
.stat-icon { font-size: 1.5rem; margin-bottom: .45rem; }
.stat-number {
  font-family: var(--font-heading); font-size: 2.3rem; font-weight: 800; line-height: 1;
  background: var(--grad-navy);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .74rem; color: var(--light); text-transform: uppercase; letter-spacing: .1em; margin-top: .35rem; font-weight: 600; }

/* ═══════════════════════════════════
   ABOUT
   ═══════════════════════════════════ */
.about-section { background: var(--white); overflow: visible; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-24); align-items: center; }

.about-image-stack { position: relative; padding: 2.5rem 2.5rem 2.5rem 0; }
/* Dot grid background */
.about-image-stack::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--border) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: var(--r-xl); z-index: -1; opacity: .75;
}
.about-img-main {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-xl); height: 500px; position: relative;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-main .img-placeholder {
  width: 100%; height: 100%;
  background: var(--grad-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; color: rgba(255,255,255,.1);
}
/* Floating accent image */
.about-img-accent {
  position: absolute; bottom: -1.5rem; right: -2rem;
  width: 200px; height: 200px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 5px solid var(--white); box-shadow: var(--sh-lg);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
/* Floating badge */
.about-badge {
  position: absolute; top: 0; left: -1.5rem;
  background: var(--grad-gold); color: var(--navy-dark);
  padding: 1.1rem 1.4rem; border-radius: var(--r-lg);
  text-align: center; box-shadow: var(--sh-lg);
}
.about-badge strong { display: block; font-family: var(--font-heading); font-size: 2.4rem; line-height: 1; }
.about-badge span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.feat-item {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border-subtle);
  transition: all var(--t);
}
.feat-item:hover { background: var(--white); box-shadow: var(--sh-sm); border-color: var(--gold); transform: translateY(-2px); }
.feat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--sh-xs);
}
.feat-text strong { display: block; font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: .12rem; }
.feat-text small  { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* ═══════════════════════════════════
   PROGRAMMES
   Image: edunova-program — 600×400 px
   ═══════════════════════════════════ */
.programs-section { background: var(--cream); }
.program-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-xs);
  border: 1px solid var(--border-subtle);
  transition: all var(--t); display: flex; flex-direction: column; position: relative;
}
.program-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-gold);
  transform: scaleX(0); transition: transform var(--t); transform-origin: left;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.program-card:hover::after { transform: scaleX(1); }

.program-thumb { height: 205px; background: var(--grad-navy); position: relative; overflow: hidden; }
.program-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s ease; }
.program-card:hover .program-thumb img { transform: scale(1.07); }
.program-thumb-overlay { position: absolute; inset: 0; background: var(--grad-card); }
.program-thumb .prog-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: rgba(255,255,255,.14); }
.prog-cat { position: absolute; top: 1rem; left: 1rem; }

.program-body { padding: 1.5rem; flex: 1; }
.program-body h3 { font-size: 1.18rem; margin-bottom: .5rem; line-height: 1.28; }
.program-body p  { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.68; }
.prog-meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); flex-wrap: wrap; margin-bottom: .4rem; }
.prog-meta span { display: flex; align-items: center; gap: .3rem; }
.prog-meta i { color: var(--gold-muted); }

.program-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--cream);
  display: flex; align-items: center; justify-content: space-between;
}
.program-footer a { font-size: .84rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: .4rem; transition: all var(--t); }
.program-footer a:hover { color: var(--gold-muted); gap: .65rem; }

/* ═══════════════════════════════════
   NEWS & EVENTS
   Image: edunova-news — 800×500 px
   ═══════════════════════════════════ */
.news-events { background: var(--white); }
.news-tabs { display: flex; gap: .3rem; margin-bottom: 2.5rem; background: var(--surface); padding: .35rem; border-radius: var(--r-md); width: fit-content; border: 1px solid var(--border-subtle); }
.news-tab {
  padding: .62rem 1.5rem; font-size: .875rem; font-weight: 600;
  color: var(--muted); cursor: pointer; border: none;
  background: transparent; border-radius: var(--r-sm);
  transition: all var(--t); display: flex; align-items: center; gap: .4rem;
}
.news-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--sh-sm); }
.news-tab:hover:not(.active) { color: var(--navy); }
.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 2rem; }
#tab-events.active { grid-template-columns: 1fr; max-width: 820px; }

.news-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all var(--t); display: flex; flex-direction: column; background: var(--white);
}
.news-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); border-color: transparent; }
.news-thumb { height: 215px; overflow: hidden; background: var(--surface); position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-cat { position: absolute; top: 1rem; left: 1rem; }
.news-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; font-size: .77rem; color: var(--light); flex-wrap: wrap; }
.news-body h3 { font-size: 1.1rem; margin-bottom: .6rem; line-height: 1.35; flex: 1; }
.news-body h3 a { color: inherit; }
.news-body h3 a:hover { color: var(--navy); }
.news-body p { font-size: .875rem; color: var(--muted); line-height: 1.67; margin-bottom: 1rem; }
.read-more { font-size: .82rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .38rem; margin-top: auto; transition: all var(--t); }
.read-more:hover { gap: .58rem; color: var(--gold-muted); }

.event-card { display: flex; gap: 1.5rem; padding: 1.4rem; border-radius: var(--r-lg); border: 1px solid var(--border-subtle); background: var(--white); transition: all var(--t); align-items: flex-start; }
.event-card:hover { box-shadow: var(--sh-md); background: var(--cream); border-color: transparent; transform: translateX(4px); }
.event-date { background: var(--grad-navy); color: #fff; border-radius: var(--r-md); padding: .85rem 1rem; text-align: center; min-width: 70px; flex-shrink: 0; box-shadow: var(--sh-sm); }
.event-date .day { font-family: var(--font-heading); font-size: 2.1rem; line-height: 1; font-weight: 800; }
.event-date .mon { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .75; margin-top: .2rem; }
.event-info { flex: 1; }
.event-info h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.event-info h4 a { color: inherit; }
.event-info h4 a:hover { color: var(--navy); }
.event-info p { font-size: .82rem; color: var(--muted); margin: 0 0 .6rem; }
.event-meta { display: flex; gap: 1rem; font-size: .77rem; color: var(--light); flex-wrap: wrap; }
.event-meta span { display: flex; align-items: center; gap: .3rem; }
.event-meta i { color: var(--gold-muted); }

/* ═══════════════════════════════════
   FACULTY
   Image: edunova-faculty — 400×400 px (circular)
   ═══════════════════════════════════ */
.faculty-section { background: var(--surface); }
.faculty-card {
  text-align: center; background: var(--white);
  border-radius: var(--r-lg); border: 1px solid var(--border-subtle);
  overflow: hidden; transition: all var(--t); position: relative;
  padding-bottom: 1.75rem;
}
.faculty-card-band { height: 80px; background: var(--grad-navy); }
.faculty-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
/* Image: edunova-faculty — 400×400 px, circular crop */
.faculty-photo {
  width: 110px; height: 110px; border-radius: 50%;
  margin: -55px auto 1rem;
  overflow: hidden;
  border: 4px solid var(--white); box-shadow: var(--sh-md);
  background: var(--surface); position: relative; z-index: 1;
}
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-photo-ph { width: 100%; height: 100%; background: var(--grad-navy); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: rgba(255,255,255,.35); }
.faculty-card .pad { padding: 0 1.25rem; }
.faculty-card h4 { font-size: 1.08rem; margin-bottom: .2rem; }
.faculty-card .role { font-size: .72rem; color: var(--gold-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.faculty-card .dept { font-size: .82rem; color: var(--muted); margin: .3rem 0 1rem; }
.faculty-socials { display: flex; justify-content: center; gap: .45rem; }
.faculty-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--muted);
  transition: all var(--t);
}
.faculty-socials a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }

/* ═══════════════════════════════════
   TESTIMONIALS
   Image: edunova-testimonial — 120×120 px (circular)
   ═══════════════════════════════════ */
.testimonials {
  background: var(--grad-navy); padding: var(--s-20) 0;
  overflow: hidden; position: relative;
}
.testimonials::before {
  content: '"';
  position: absolute; top: -4rem; left: 3%;
  font-family: var(--font-heading); font-size: 28rem;
  color: rgba(255,255,255,.022); line-height: 1;
  pointer-events: none; user-select: none;
}
/* Decorative ring */
.testimonials::after {
  content: '';
  position: absolute; right: -10%; bottom: -30%;
  width: 500px; height: 500px;
  border: 80px solid rgba(201,150,12,.07);
  border-radius: 50%; pointer-events: none;
}
.testimonial-slider { overflow: hidden; position: relative; z-index: 1; }
.testimonial-track { display: flex; transition: transform .75s var(--ease); }
.testimonial-slide { flex: 0 0 100%; padding: 0 1rem; }
.testimonial-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-xl);
  padding: 3rem;
  backdrop-filter: blur(14px);
  max-width: 800px; margin: 0 auto;
  position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 1.5rem; left: 2.5rem;
  font-family: var(--font-heading); font-size: 5.5rem;
  color: var(--gold-light); line-height: 1; opacity: .35;
}
.t-stars { color: var(--gold-light); margin-bottom: 1.25rem; font-size: .95rem; letter-spacing: .18em; }
.t-text { font-size: 1.15rem; color: rgba(255,255,255,.88); font-style: italic; line-height: 1.9; margin-bottom: 2rem; padding-top: 1.5rem; }
.t-author { display: flex; align-items: center; gap: 1.1rem; }
/* Image: edunova-testimonial — 120×120 px */
.t-avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--gold); background: var(--navy-light); flex-shrink: 0; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-avatar-ph { width: 100%; height: 100%; background: var(--grad-navy); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: rgba(255,255,255,.35); }
.t-name { color: #fff; font-weight: 700; font-size: 1rem; }
.t-role { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: .15rem; }
.t-controls { display: flex; justify-content: center; gap: .75rem; margin-top: 2.5rem; align-items: center; }
.t-controls button {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.6); cursor: pointer; font-size: .95rem;
  transition: all var(--t); display: flex; align-items: center; justify-content: center;
}
.t-controls button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.t-dots { display: flex; gap: .4rem; align-items: center; }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); border: none; cursor: pointer; transition: all var(--t); padding: 0; }
.t-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ═══════════════════════════════════
   FILE DOWNLOAD SECTION
   Image: edunova-download-icon — 64×64 px (optional thumbnail)
   ═══════════════════════════════════ */
.downloads-section { background: var(--cream); }

/* Filters */
.dl-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.dl-filter-btn {
  padding: .42rem 1.15rem;
  font-size: .8rem; font-weight: 600;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--muted);
  cursor: pointer; transition: all var(--t);
}
.dl-filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.dl-filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--sh-sm); }

/* Search bar */
.dl-search-wrap {
  position: relative; flex: 1; max-width: 360px;
}
.dl-search-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--light); font-size: .88rem; pointer-events: none; }
.dl-search { width: 100%; padding: .7rem 1rem .7rem 2.55rem; border: 1.5px solid var(--border); border-radius: var(--r-md); font-family: var(--font-ui); font-size: .9rem; color: var(--ink); background: var(--white); outline: none; transition: all var(--t); }
.dl-search:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,74,.07); }

/* Grid */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.1rem; }

/* Card */
.dl-card {
  background: var(--white); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  display: flex; align-items: stretch;
  overflow: hidden; transition: all var(--t); position: relative;
}
.dl-card:hover { box-shadow: var(--sh-md); border-color: transparent; transform: translateY(-3px); }

/* Colour strip by file type */
.dl-strip { width: 5px; flex-shrink: 0; }
.type-pdf   .dl-strip { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.type-doc   .dl-strip { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.type-xls   .dl-strip { background: linear-gradient(180deg, #22c55e, #15803d); }
.type-ppt   .dl-strip { background: linear-gradient(180deg, #f97316, #c2410c); }
.type-zip   .dl-strip { background: linear-gradient(180deg, #a855f7, #7e22ce); }
.type-img   .dl-strip { background: linear-gradient(180deg, #06b6d4, #0e7490); }
.type-other .dl-strip { background: linear-gradient(180deg, #9ca3af, #4b5563); }

.dl-icon-cell { width: 62px; display: flex; align-items: center; justify-content: center; padding: 1.25rem .75rem; flex-shrink: 0; }
.dl-icon-box { width: 44px; height: 44px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.type-pdf   .dl-icon-box { background: rgba(239,68,68,.1);  color: #ef4444; }
.type-doc   .dl-icon-box { background: rgba(59,130,246,.1); color: #3b82f6; }
.type-xls   .dl-icon-box { background: rgba(34,197,94,.1);  color: #22c55e; }
.type-ppt   .dl-icon-box { background: rgba(249,115,22,.1); color: #f97316; }
.type-zip   .dl-icon-box { background: rgba(168,85,247,.1); color: #a855f7; }
.type-img   .dl-icon-box { background: rgba(6,182,212,.1);  color: #06b6d4; }
.type-other .dl-icon-box { background: rgba(156,163,175,.1);color: #9ca3af; }

.dl-body { padding: 1rem .9rem 1rem 0; flex: 1; min-width: 0; }
.dl-body h4 { font-size: .925rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: .25rem; font-family: var(--font-ui); }
.dl-meta { display: flex; gap: .65rem; font-size: .73rem; color: var(--light); flex-wrap: wrap; margin-bottom: .4rem; align-items: center; }
.dl-meta span { display: flex; align-items: center; gap: .22rem; }
.dl-desc { font-size: .78rem; color: var(--muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-stats { display: flex; gap: .6rem; font-size: .71rem; color: var(--light); margin-top: .3rem; }
.dl-stats span { display: flex; align-items: center; gap: .2rem; }

.dl-actions { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 .9rem 0 .4rem; gap: .4rem; flex-shrink: 0; }
.dl-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; transition: all var(--t); text-decoration: none;
}
.dl-btn-dl  { background: var(--navy); color: #fff; }
.dl-btn-dl:hover  { background: var(--navy-light); transform: scale(1.12); box-shadow: var(--sh-md); color: #fff; }
.dl-btn-lock { background: var(--surface); color: var(--muted); border: 1.5px solid var(--border); }
.dl-btn-lock:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: scale(1.12); }
.dl-btn-view { background: rgba(11,31,74,.07); color: var(--navy); }
.dl-btn-view:hover { background: var(--navy); color: #fff; transform: scale(1.12); }

/* Lock badge */
.dl-lock-badge {
  position: absolute; top: .55rem; right: .55rem;
  background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.18);
  color: var(--danger); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .1rem .5rem; border-radius: var(--r-full);
  display: flex; align-items: center; gap: .22rem;
}

/* ── PASSWORD MODAL ──────────────── */
.dl-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6,18,46,.9);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
  backdrop-filter: blur(10px);
}
.dl-modal-overlay.active { opacity: 1; pointer-events: all; }

.dl-modal {
  background: var(--white); border-radius: var(--r-xl);
  padding: 2.5rem; width: 100%; max-width: 440px; margin: 1rem;
  position: relative; box-shadow: var(--sh-xl);
  transform: scale(.94) translateY(16px);
  transition: transform var(--t-slow);
}
.dl-modal-overlay.active .dl-modal { transform: scale(1) translateY(0); }

.modal-icon-wrap {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(11,31,74,.07), rgba(11,31,74,.14));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--navy);
  margin: 0 auto 1.25rem;
  transition: background var(--t);
}
.dl-modal h3 { text-align: center; margin-bottom: .4rem; font-size: 1.45rem; }
.modal-sub { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 1.75rem; }

.modal-file-pill {
  background: var(--surface); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md); padding: .75rem 1rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .75rem; font-size: .84rem;
}
.modal-file-pill i { color: var(--gold-muted); font-size: 1.2rem; flex-shrink: 0; }
.modal-fname { font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.modal-fsize { color: var(--light); font-size: .77rem; white-space: nowrap; flex-shrink: 0; }

.modal-pw-row { position: relative; margin-bottom: 1rem; }
.modal-pw-row input {
  width: 100%;
  padding: .88rem 3.2rem .88rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-ui); font-size: .95rem; color: var(--ink);
  outline: none; transition: all var(--t);
  letter-spacing: .08em;
}
.modal-pw-row input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,74,.08); }
.modal-pw-eye {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--light); cursor: pointer;
  font-size: .95rem; transition: color var(--t); padding: 0;
}
.modal-pw-eye:hover { color: var(--navy); }

.modal-error {
  display: none; align-items: center; gap: .4rem;
  color: var(--danger); font-size: .82rem; margin-bottom: .75rem;
  padding: .5rem .75rem;
  background: rgba(220,38,38,.06); border-radius: var(--r-sm);
  border: 1px solid rgba(220,38,38,.16);
}
.modal-error.show { display: flex; }

.modal-progress { height: 3px; background: var(--border-subtle); border-radius: 2px; margin-top: .75rem; overflow: hidden; display: none; }
.modal-progress.active { display: block; }
.modal-progress-bar { height: 100%; background: var(--grad-gold); width: 0; border-radius: 2px; }

.modal-actions { display: flex; gap: .75rem; }
.modal-actions .btn { flex: 1; justify-content: center; }
.modal-close-btn {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.modal-close-btn:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.modal-hint { font-size: .77rem; color: var(--light); text-align: center; margin-top: .75rem; }
.modal-hint a { color: var(--navy); }

.modal-success { display: none; text-align: center; padding: 1rem 0; }
.modal-success i { font-size: 3rem; color: var(--success); display: block; margin-bottom: .75rem; }
.modal-success h3 { margin-bottom: .5rem; }
.modal-success p { color: var(--muted); font-size: .88rem; }
.modal-success.show { display: block; }

/* ═══════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════ */
.cta-section { background: var(--grad-gold); padding: var(--s-20) 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 20px); }
.cta-section::after { content: ''; position: absolute; right: -6%; top: -30%; width: 520px; height: 520px; background: rgba(255,255,255,.1); border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { color: var(--navy-dark); margin-bottom: 1rem; }
.cta-inner p { color: rgba(6,18,46,.75); max-width: 52ch; margin: 0 auto 2.5rem; font-size: 1.08rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.65); }
.footer-top { padding: var(--s-20) 0 var(--s-12); }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: var(--s-12); }
.footer-brand .fname { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .5rem; letter-spacing: -.02em; }
.footer-brand p { font-size: .86rem; margin: .9rem 0 1.4rem; line-height: 1.82; color: rgba(255,255,255,.5); }
.footer-socials { display: flex; gap: .45rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: rgba(255,255,255,.55);
  transition: all var(--t);
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.footer-col h5 { color: #fff; font-size: .93rem; margin-bottom: 1.35rem; position: relative; padding-bottom: .68rem; font-family: var(--font-ui); font-weight: 700; }
.footer-col h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul li a { font-size: .86rem; color: rgba(255,255,255,.48); transition: all var(--t); display: inline-block; }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: .4rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .95rem; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-contact-item .fci { color: var(--gold); flex-shrink: 0; margin-top: .15rem; width: 16px; }
.footer-nl { margin-top: 1.5rem; }
.footer-nl p { font-size: .8rem; color: rgba(255,255,255,.42); margin-bottom: .5rem; }
.footer-nl-form { display: flex; gap: .4rem; }
.footer-nl-form input { flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; padding: .6rem .9rem; border-radius: var(--r-sm); font-size: .84rem; outline: none; transition: border-color var(--t); }
.footer-nl-form input:focus { border-color: var(--gold); }
.footer-nl-form input::placeholder { color: rgba(255,255,255,.25); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-copy a { color: var(--gold); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .76rem; color: rgba(255,255,255,.35); transition: color var(--t); }
.footer-links a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════
   STICKY ACTIONS + SCROLL PROGRESS
   ═══════════════════════════════════ */
.sticky-fab { position: fixed; right: 1.5rem; bottom: 2rem; z-index: 800; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.fab-apply {
  background: var(--grad-gold); color: var(--navy-dark);
  padding: .75rem 1.5rem; border-radius: var(--r-full);
  font-weight: 700; font-size: .88rem;
  box-shadow: var(--sh-glow);
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; transition: all var(--t);
}
.fab-apply:hover { color: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 10px 36px rgba(201,150,12,.55); }
.fab-top { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; border: none; cursor: pointer; font-size: .95rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-md); transition: all var(--t); }
.fab-top:hover { background: var(--navy-mid); transform: translateY(-3px); }
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad-gold); z-index: 9990; width: 0; transition: width .07s linear; }

/* ═══════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════ */
.page-hero { background: var(--grad-navy); padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; }
.page-hero::after { content: ''; position: absolute; right: 4%; top: -50%; width: 420px; height: 420px; background: rgba(201,150,12,.07); border-radius: 50%; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; font-size: clamp(1.85rem, 4vw, 2.9rem); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .81rem; color: rgba(255,255,255,.5); flex-wrap: wrap; margin-top: .6rem; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ═══════════════════════════════════
   FORMS
   ═══════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .45rem; color: var(--ink); }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: .82rem 1.1rem; border: 2px solid var(--border); border-radius: var(--r-md); font-family: var(--font-ui); font-size: .9rem; color: var(--ink); transition: all var(--t); background: var(--white); outline: none; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,74,.07); }

/* ═══════════════════════════════════
   GALLERY
   Image: edunova-gallery — 800×600 px
   ═══════════════════════════════════ */
.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(2,200px); gap: .7rem; border-radius: var(--r-xl); overflow: hidden; }
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,74,.72) 0%, transparent 65%); opacity: 0; transition: opacity var(--t); display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; opacity: 0; transition: all var(--t); backdrop-filter: blur(6px); }
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.97); z-index: 9999; display: none; align-items: center; justify-content: center; }
.gallery-lightbox.active { display: flex; }
.gallery-lightbox img { max-height: 90vh; max-width: 90vw; border-radius: var(--r-md); object-fit: contain; }
.lb-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; transition: all var(--t); }
.lb-close:hover { background: var(--danger); border-color: var(--danger); }

/* ═══════════════════════════════════
   WP ADMIN BAR
   ═══════════════════════════════════ */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width:782px) { .admin-bar .site-header { top: 46px; } }

/* ═══════════════════════════════════
   CONTENT
   ═══════════════════════════════════ */
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content h2, .entry-content h3 { margin-top: 2.25rem; margin-bottom: .85rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.wp-block-quote { border-left: 4px solid var(--gold); padding: .75rem 1.5rem; color: var(--muted); font-style: italic; margin: 2rem 0; background: var(--cream); border-radius: 0 var(--r-md) var(--r-md) 0; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-grid { gap: 3.5rem; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image-stack { max-width: 520px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: .6rem; }
  .gallery-item.span-2 { grid-column: span 2; grid-row: auto; height: 220px; }
  .gallery-item { height: 165px; }
}
@media (max-width: 768px) {
  :root { --hdr-h: 70px; }
  .top-bar-left { display: none; }
  .primary-nav {
    display: none; flex-direction: column;
    position: absolute; top: var(--hdr-h); left: 0; right: 0;
    background: var(--white); padding: 1rem;
    box-shadow: var(--sh-lg); border-top: 2px solid var(--gold);
    max-height: 80vh; overflow-y: auto; z-index: 99;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > li > a { padding: .8rem 1rem; border-radius: var(--r-sm); width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; border: none; background: var(--surface); display: none; margin: .25rem 0 .25rem .5rem; padding: .25rem; }
  .dropdown::before { display: none; }
  .primary-nav > li.open .dropdown { display: block; }
  .mobile-toggle { display: flex; }
  .hero-slider { height: 520px; }
  .slide-trust { gap: 1rem; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .slider-arrow { display: none; }
  .news-tabs { overflow-x: auto; }
}
@media (max-width: 520px) {
  .hero-slider { height: 440px; }
  .slide-text p, .slide-trust { display: none; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.span-2 { grid-column: span 2; }
  .about-features { grid-template-columns: 1fr; }
  .dl-modal { padding: 1.75rem; }
}
