/* ─── Design Tokens ─────────────────────────────── */
:root {
  --primary:   #003366;
  --secondary: #0056B3;
  --accent:    #00AEEF;
  --success:   #28A745;
  --danger:    #DC3545;
  --bg:        #F8FAFC;
  --text:      #1E293B;
  --text-muted:#64748B;
  --white:     #ffffff;
  --card-shadow: 0 4px 24px rgba(0,51,102,.08);
  --card-shadow-hover: 0 12px 40px rgba(0,51,102,.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ─── Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 99px; }

/* ─── Utility ───────────────────────────────────── */
.text-primary   { color: var(--primary)   !important; }
.text-accent    { color: var(--accent)     !important; }
.text-secondary { color: var(--secondary)  !important; }
.bg-primary-custom { background: var(--primary) !important; }
.section-pad { padding: 96px 0; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.badge-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-accent {
  background: rgba(0,174,239,.12);
  color: var(--accent);
}
.badge-primary {
  background: rgba(0,51,102,.1);
  color: var(--primary);
}

/* ─── Navbar ────────────────────────────────────── */
#mainNav {
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 18px 0;
}
#mainNav.scrolled {
  background: rgba(0,30,60,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 32px rgba(0,0,0,.25);
  padding: 10px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  font-weight: 800;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.05rem; font-weight: 700; color: white; }
.brand-tagline { font-size: .65rem; color: rgba(255,255,255,.65); letter-spacing: .8px; text-transform: uppercase; }

.nav-link-custom {
  color: rgba(255,255,255,.88) !important;
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 99px;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after { transform: scaleX(1); }
.nav-link-custom:hover { color: white !important; background: rgba(255,255,255,.08) !important; }

.btn-nav-apply {
  background: linear-gradient(135deg, var(--accent), #0090d0);
  color: white !important;
  border-radius: 99px;
  padding: 9px 24px !important;
  font-weight: 600;
  font-size: .85rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,174,239,.35);
}
.btn-nav-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,174,239,.5);
}

/* ─── Hero ──────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #001a33 0%, #003366 45%, #004d99 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,174,239,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 350px; height: 350px; background: var(--secondary); bottom: -80px; left: -60px; animation-delay: 3s; }
.hero-orb-3 { width: 200px; height: 200px; background: #00d4ff; top: 50%; left: 40%; animation-delay: 6s; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,.15);
  border: 1px solid rgba(0,174,239,.3);
  backdrop-filter: blur(10px);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,174,239,.2); }
  50%       { box-shadow: 0 0 0 8px rgba(0,174,239,0); }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), #a8edff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), #007cc7);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 99px;
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0,174,239,.45);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,174,239,.55); color: white; }
.btn-hero-secondary {
  background: rgba(255,255,255,.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 14px 36px;
  border-radius: 99px;
  font-size: .95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.18); color: white; transform: translateY(-3px); }

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-item { display: flex; align-items: center; gap: 10px; }
.hero-stat-icon {
  width: 40px; height: 40px;
  background: rgba(0,174,239,.15);
  border: 1px solid rgba(0,174,239,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-stat-value { font-size: 1.4rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .5px; }

/* Hero Card Float */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card-main {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  animation: heroCardFloat 6s ease-in-out infinite;
}
@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hc-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: white;
}
.hc-name { font-size: .92rem; font-weight: 600; color: white; }
.hc-sub  { font-size: .72rem; color: rgba(255,255,255,.5); }
.hc-status {
  margin-left: auto;
  background: rgba(40,167,69,.2);
  color: #4ade80;
  border: 1px solid rgba(40,167,69,.3);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
}
.hc-progress-label { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.hc-bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.hc-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #007cc7); }
.hc-steps { display: flex; gap: 6px; margin-top: 16px; }
.hc-step {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}
.hc-step.done { background: var(--accent); }
.hc-step.active { background: linear-gradient(90deg, var(--accent), rgba(0,174,239,.3)); }

.hero-badge-float {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
}
.hero-badge-float .icon { font-size: 1.4rem; }
.hero-badge-float .val { font-weight: 700; color: var(--primary); font-size: .95rem; line-height: 1; }
.hero-badge-float .lbl { color: var(--text-muted); font-size: .7rem; }
.hbf-1 { bottom: 30px; left: -20px; animation: hbfFloat1 5s ease-in-out infinite; }
.hbf-2 { top: 40px; right: -20px; animation: hbfFloat2 5s ease-in-out 1.5s infinite; }
@keyframes hbfFloat1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes hbfFloat2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ─── Stats Section ─────────────────────────────── */
#stats {
  background: var(--primary);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300AEEF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-icon {
  width: 56px; height: 56px;
  background: rgba(0,174,239,.15);
  border: 1px solid rgba(0,174,239,.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 auto 14px;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  height: 80px;
  margin: auto;
}

/* ─── Faculties ─────────────────────────────────── */
#faculties { background: white; }
.faculty-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid #e8eef5;
  padding: 28px 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.faculty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(0,174,239,.3);
}
.faculty-card:hover::before { transform: scaleX(1); }
.faculty-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: var(--transition);
}
.faculty-card:hover .faculty-icon { transform: scale(1.1) rotate(5deg); }
.faculty-name { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.faculty-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.faculty-meta { display: flex; justify-content: space-between; align-items: center; }
.faculty-programs { font-size: .78rem; color: var(--text-muted); }
.faculty-arrow {
  width: 30px; height: 30px;
  background: var(--bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: .9rem;
  transition: var(--transition);
}
.faculty-card:hover .faculty-arrow {
  background: var(--primary);
  color: white;
}

/* ─── Programs ──────────────────────────────────── */
#programs { background: var(--bg); }
.search-bar {
  background: white;
  border-radius: 14px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--card-shadow);
  border: 1.5px solid #e8eef5;
  max-width: 560px;
  margin: 0 auto 48px;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .92rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: transparent;
}
.search-bar input::placeholder { color: var(--text-muted); }
.btn-search {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-search:hover { background: var(--secondary); }

.program-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid #e8eef5;
  overflow: hidden;
  transition: var(--transition);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.program-card-header {
  padding: 22px 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.program-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.program-title { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.program-faculty { font-size: .78rem; color: var(--text-muted); }
.program-card-body { padding: 16px 22px 22px; }
.program-tag {
  display: inline-block;
  background: var(--bg);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 500;
  margin-right: 6px;
  margin-bottom: 6px;
}
.program-info { display: flex; gap: 16px; margin: 14px 0; }
.program-info-item { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--text-muted); }
.btn-program {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-program:hover { color: var(--primary); gap: 10px; }

/* ─── Admission Process ─────────────────────────── */
#admission-process { background: white; }
.timeline-wrapper {
  position: relative;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 120px);
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 99px;
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 8px;
}
.step-circle {
  width: 56px; height: 56px;
  background: white;
  border: 3px solid #e2e8f0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  transition: var(--transition);
  position: relative;
}
.step-circle.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 6px rgba(0,51,102,.1);
}
.step-circle.done {
  border-color: var(--success);
  background: var(--success);
  color: white;
}
.step-number {
  position: absolute;
  top: -8px; right: -8px;
  width: 20px; height: 20px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: .82rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 4px; }
.step-desc  { font-size: .72rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* Mobile timeline */
.mobile-timeline { display: none; }
.mt-step {
  display: flex;
  gap: 18px;
  padding-bottom: 28px;
  position: relative;
}
.mt-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px; top: 52px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--primary), rgba(0,174,239,.2));
}
.mt-circle {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.mt-body { flex: 1; padding-top: 6px; }
.mt-title { font-size: .9rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.mt-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Merit List ────────────────────────────────── */
#merit-list { background: var(--bg); }
.merit-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid #e8eef5;
  overflow: hidden;
  transition: var(--transition);
}
.merit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.merit-card-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.merit-title { font-size: .95rem; font-weight: 700; color: white; }
.merit-date  { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.merit-badge {
  background: rgba(255,255,255,.15);
  color: white;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
}
.merit-card-body { padding: 18px 22px; }
.merit-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.merit-row:last-child { border-bottom: none; }
.merit-row-label { font-size: .82rem; color: var(--text-muted); }
.merit-row-value { font-size: .82rem; font-weight: 600; color: var(--text); }
.merit-card-footer {
  padding: 14px 22px;
  background: #f8fafc;
  border-top: 1px solid #e8eef5;
  display: flex;
  gap: 10px;
}
.btn-merit-download {
  flex: 1;
  background: var(--primary);
  color: white;
  border: none;
  padding: 9px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-merit-download:hover { background: var(--secondary); color: white; }
.btn-merit-view {
  flex: 1;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 9px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-merit-view:hover { background: var(--primary); color: white; }

.merit-search {
  max-width: 440px;
  margin: 0 auto 40px;
}
.merit-search-inner {
  display: flex;
  background: white;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.merit-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
}
.merit-search button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.merit-search button:hover { background: var(--secondary); }

/* ─── News ──────────────────────────────────────── */
#news { background: white; }
.news-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid #e8eef5;
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.news-img-wrap {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eef8, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.news-img-icon { font-size: 3rem; color: var(--secondary); opacity: .4; }
.news-category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
}
.news-body { padding: 20px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-date { font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.news-title { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.news-excerpt { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--secondary);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.news-read-more:hover { color: var(--primary); gap: 10px; }

/* Featured news */
.news-featured {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1.5px solid #e8eef5;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}
.news-featured:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.news-featured-img {
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,.3);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
}

/* ─── Newsletter ────────────────────────────────── */
#newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, #004d99 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,174,239,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,174,239,.1) 0%, transparent 50%);
}
.newsletter-box { position: relative; z-index: 1; }
.newsletter-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 10px; }
.newsletter-desc  { font-size: .95rem; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 14px;
  overflow: hidden;
  max-width: 480px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: .9rem;
  color: white;
  font-family: 'Poppins', sans-serif;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #009dd6; }
.newsletter-features { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.newsletter-feat-item { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: rgba(255,255,255,.6); }
.newsletter-feat-item i { color: var(--accent); }

/* ─── Footer ────────────────────────────────────── */
#footer {
  background: #001833;
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-brand { margin-bottom: 20px; }
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: white;
  font-weight: 800;
}
.footer-brand-name { font-size: 1.1rem; font-weight: 700; color: white; }
.footer-desc { font-size: .84rem; line-height: 1.8; color: rgba(255,255,255,.5); max-width: 300px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-3px); }

.footer-heading { font-size: .88rem; font-weight: 700; color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .84rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::before { width: 12px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.fc-icon {
  width: 34px; height: 34px;
  background: rgba(0,174,239,.1);
  border: 1px solid rgba(0,174,239,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: .85rem;
  flex-shrink: 0;
}
.fc-text { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.fc-label { font-size: .75rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  margin-top: 56px;
}
.footer-bottom-text { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.3); text-decoration: none; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ─── Back to Top ───────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,51,102,.3);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
#backToTop.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#backToTop:hover { background: var(--secondary); transform: translateY(-3px); }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 991px) {
  .timeline-line, .timeline-steps { display: none; }
  .mobile-timeline { display: block; }
  .hero-visual { margin-top: 40px; }
}
@media (max-width: 767px) {
  .section-pad { padding: 72px 0; }
  .hero-stats { gap: 18px; }
  .stat-divider { display: none; }
  .newsletter-form { flex-direction: column; border-radius: 14px; }
  .newsletter-form button { width: 100%; justify-content: center; border-radius: 0 0 12px 12px; }
  .footer-bottom-links { justify-content: flex-start; margin-top: 8px; }
}
