/* =============================================
   FSDS - Foundation for Strategic & Development Studies
   Custom Stylesheet
   ============================================= */

:root {
  --primary: #0a2351;
  --primary-light: #143a7a;
  --primary-dark: #061535;
  --accent: #c9a84c;
  --accent-light: #e8c96a;
  --secondary: #1e6091;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --bg-light: #f8f9fc;
  --bg-section: #f0f4f8;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 12px rgba(10, 35, 81, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 35, 81, 0.14);
  --shadow-lg: 0 16px 48px rgba(10, 35, 81, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 112px;
}

/* ---- Base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--header-height);
}
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ============================================
   TOP BAR
   ============================================ */
#topbar {
  background: var(--primary-dark);
  padding: 7px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
#topbar a { color: rgba(255,255,255,0.75); }
#topbar a:hover { color: var(--accent); }
#topbar .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  margin-left: 5px;
  transition: var(--transition);
}
#topbar .social-icons a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   FIXED SITE HEADER
   ============================================ */
#siteHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  box-shadow: 0 2px 16px rgba(10,35,81,0.13);
  transition: box-shadow .3s ease;
}
#siteHeader.scrolled {
  box-shadow: 0 4px 28px rgba(10,35,81,0.2);
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNav {
  background: var(--white);
  padding: 0;
  position: relative;
  border-top: 1px solid rgba(10,35,81,0.08);
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.brand-logo {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  box-shadow: 0 2px 10px rgba(10,35,81,0.2);
  flex-shrink: 0;
}
.brand-text { line-height: 1.25; }
.brand-text .abbr {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
}
.brand-text .full-name {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  display: block;
  white-space: nowrap;
}
.navbar-nav .nav-item { position: relative; }
.navbar-nav .nav-link {
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 20px 14px !important;
  letter-spacing: 0.3px;
  position: relative;
  transition: var(--transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--secondary) !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.dropdown-menu {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  animation: fadeInDown 0.25s ease;
  margin-top: 0 !important;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  font-size: 0.87rem;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 20px;
}
.navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 6px 10px;
}
.navbar-toggler-icon { filter: invert(1); }

/* Show standard dropdown on hover (desktop) */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu { display: block; }
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,96,145,0.25) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  animation: float 8s ease-in-out infinite;
}
.hero-shapes .shape-1 { width: 500px; height: 500px; top: -150px; right: -100px; animation-delay: 0s; }
.hero-shapes .shape-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; animation-delay: 2s; }
.hero-shapes .shape-3 { width: 200px; height: 200px; top: 30%; right: 25%; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(5deg); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--accent-light);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--accent-light);
  position: relative;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.btn-hero-primary:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.5);
}
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  transform: translateY(-3px);
}
.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.hero-divider { width: 1px; background: rgba(255,255,255,0.15); }

/* Hero image card */
.hero-visual {
  position: relative;
  padding: 20px;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
}
.hero-card-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 1px solid rgba(201,168,76,0.3);
}
.research-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.research-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}
.research-pill:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.floating-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  position: absolute;
  animation: floatCard 6s ease-in-out infinite;
}
.floating-card.card-1 { bottom: 30px; left: -20px; animation-delay: 0s; }
.floating-card.card-2 { top: 30px; right: -20px; animation-delay: 1.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.floating-card .text .title { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); line-height: 1; }
.floating-card .text .sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }

/* ============================================
   SECTION STYLES
   ============================================ */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}
.divider-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 16px 0 32px;
}

/* ============================================
   TICKER / BREAKING NEWS BAR
   ============================================ */
#newsTicker {
  background: var(--accent);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.ticker-label {
  background: var(--primary);
  color: var(--white);
  padding: 4px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 4px 4px 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-wrapper { overflow: hidden; flex: 1; margin-left: 16px; }
.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  gap: 60px;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker-item::before {
  content: '●';
  font-size: 0.5rem;
  color: var(--primary);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about { background: var(--bg-light); }
.about-img-wrap {
  position: relative;
  padding: 20px 20px 20px 0;
}
.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-badge-card {
  position: absolute;
  bottom: 0; right: -10px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
}
.about-badge-card .big-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.about-badge-card .small-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-features { display: grid; gap: 16px; margin-top: 28px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.about-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}
.about-feature .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature .text h6 { font-weight: 700; font-size: 0.92rem; margin-bottom: 3px; color: var(--text-dark); }
.about-feature .text p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

/* ============================================
   RESEARCH AREAS
   ============================================ */
#research { background: var(--white); }
.research-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.research-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.research-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-6px);
}
.research-card:hover::before { transform: scaleX(1); }
.research-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 20px;
  transition: var(--transition);
}
.research-card:hover .research-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.research-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.research-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.research-link {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.research-link:hover { color: var(--accent); gap: 10px; }

/* ============================================
   PUBLICATIONS
   ============================================ */
#publications { background: var(--bg-section); }
.pub-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.pub-cover {
  aspect-ratio: 3/4;
  max-height: 240px;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 2rem;
}
.pub-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pub-tag {
  display: inline-block;
  background: rgba(10,35,81,0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.pub-body h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}
.pub-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Featured pub */
.pub-featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.pub-featured::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.pub-featured::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
}
.pub-featured .volume {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.pub-featured h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.pub-featured p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}
.btn-pub {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 50px;
  border: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  align-self: flex-start;
  position: relative;
  z-index: 1;
}
.btn-pub:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* ============================================
   EVENTS
   ============================================ */
#events { background: var(--white); }
.event-card {
  display: flex;
  gap: 20px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items: flex-start;
}
.event-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.event-date {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-date .day { font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--accent-light); }
.event-date .month { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.75); margin-top: 3px; }
.event-info h6 { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.event-info p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.event-info .badge-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-seminar { background: rgba(30,96,145,0.1); color: var(--secondary); }
.badge-conference { background: rgba(201,168,76,0.15); color: #8a6d28; }
.badge-workshop { background: rgba(40,167,69,0.1); color: #1a7a38; }
.badge-lecture { background: rgba(220,53,69,0.1); color: #b02a37; }

/* Featured event */
.event-featured {
  background: linear-gradient(135deg, var(--bg-section), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}
.event-featured h4 { font-size: 1.15rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }

/* ============================================
   NEWS & ANALYSIS
   ============================================ */
#news { background: var(--bg-section); }
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
}
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.news-category {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-body { padding: 22px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.news-meta i { color: var(--accent); }
.news-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  transition: var(--transition);
}
.news-card:hover .news-body h5 { color: var(--primary); }
.news-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.read-more:hover { color: var(--accent); gap: 9px; }

/* ============================================
   NOTICE BOARD
   ============================================ */
#notices { background: var(--white); }
.notice-list { list-style: none; padding: 0; }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  transition: var(--transition);
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { padding-left: 8px; }
.notice-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.notice-item a {
  font-size: 0.87rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
  transition: var(--transition);
  flex: 1;
}
.notice-item a:hover { color: var(--primary); }
.notice-item .date {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.notice-box-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notice-box-header h5 { font-size: 0.95rem; font-weight: 700; margin: 0; }
.notice-box-body { padding: 16px 24px; max-height: 320px; overflow-y: auto; }
.notice-box-body::-webkit-scrollbar { width: 4px; }
.notice-box-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ============================================
   PARTNERS / AFFILIATES
   ============================================ */
#partners { background: var(--bg-light); }
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  filter: grayscale(60%);
  opacity: 0.7;
  height: 90px;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.partner-logo img { max-height: 50px; object-fit: contain; }
.partner-logo span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.5px;
}

/* ============================================
   CTA BANNER
   ============================================ */
#cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
#cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
}
.newsletter-form { position: relative; max-width: 460px; }
.newsletter-form input {
  width: 100%;
  padding: 14px 160px 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 0.9rem;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form button {
  position: absolute;
  right: 5px; top: 5px; bottom: 5px;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 50px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--accent-light); }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-brand .abbr { font-size: 1.4rem; font-weight: 800; color: var(--white); letter-spacing: 2px; }
.footer-brand .full { font-size: 0.75rem; color: rgba(255,255,255,0.6); line-height: 1.5; margin-top: 4px; display: block; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin: 16px 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); transform: translateY(-3px); }
.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item i { color: var(--accent); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  margin-top: 50px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   BUTTONS (GLOBAL)
   ============================================ */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  padding: 11px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,35,81,0.3);
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  padding: 10px 26px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-accent-custom {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 11px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-accent-custom:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

/* ============================================
   COUNTER / STATS
   ============================================ */
.stats-section { background: var(--primary); padding: 60px 0; }
.stat-item { text-align: center; padding: 10px; }
.stat-item .count {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}
.stat-divider { width: 1px; background: rgba(255,255,255,0.12); }

/* ============================================
   BACK TO TOP
   ============================================ */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10,35,81,0.3);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-4px);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-accent { color: var(--accent) !important; }
.text-primary-brand { color: var(--primary) !important; }
.bg-primary-brand { background: var(--primary) !important; }
.view-all-wrap { text-align: center; margin-top: 48px; }

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] { opacity: 0; transition-property: transform, opacity; }
[data-aos].aos-animate { opacity: 1; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .section-pad { padding: 60px 0; }
  .navbar-nav .nav-link { padding: 10px 14px !important; }
  .navbar-nav .nav-link::after { display: none; }
  .hero-stats { gap: 24px; }
  .hero-divider { display: none; }
  .floating-card { display: none; }
}
@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.8rem; }
  #topbar { display: none; }
  .stats-section { padding: 40px 0; }
  .stat-divider { display: none; }
  .pub-featured { padding: 26px; }
  .pub-featured h3 { font-size: 1.3rem; }
}

/* ============================================
   HERO SLIDER (replaces static hero)
   ============================================ */
#heroSlider { position: relative; overflow: hidden; }

.slide-item {
  height: 100vh;
  min-height: 640px;
  display: flex !important;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.slide-bg-1 { background: linear-gradient(135deg, #061535 0%, #0a2351 45%, #1b5a8c 100%); }
.slide-bg-2 { background: linear-gradient(135deg, #071a3e 0%, #102e6e 45%, #0e4a70 100%); }
.slide-bg-3 { background: linear-gradient(135deg, #051825 0%, #063b5e 45%, #065a3c 100%); }
.slide-bg-4 { background: linear-gradient(135deg, #0e0604 0%, #3d1c00 40%, #0a2351 100%); }

.slide-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,96,145,0.22) 0%, transparent 50%),
    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'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%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");
  pointer-events: none;
}
.slide-shapes .ss {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  animation: float 8s ease-in-out infinite;
}
.ss-1 { width: 520px; height: 520px; top: -160px; right: -100px; animation-delay: 0s; }
.ss-2 { width: 320px; height: 320px; bottom: -90px; left: -70px; animation-delay: 2s; }
.ss-3 { width: 180px; height: 180px; top: 35%; right: 22%; animation-delay: 4s; }

/* Slide content — animates in per active slide */
.slide-badge   { opacity: 0; transform: translateY(-18px); transition: opacity .6s ease .1s, transform .6s ease .1s; }
.slide-title   { opacity: 0; transform: translateY(28px);  transition: opacity .7s ease .25s, transform .7s ease .25s; }
.slide-desc    { opacity: 0; transform: translateY(28px);  transition: opacity .7s ease .4s,  transform .7s ease .4s; }
.slide-btns    { opacity: 0; transform: translateY(28px);  transition: opacity .7s ease .55s, transform .7s ease .55s; }
.slide-stats   { opacity: 0; transform: translateY(28px);  transition: opacity .7s ease .7s,  transform .7s ease .7s; }
.slide-visual  { opacity: 0; transform: translateX(32px);  transition: opacity .8s ease .3s,  transform .8s ease .3s; }

.carousel-item.active .slide-badge,
.carousel-item.active .slide-title,
.carousel-item.active .slide-desc,
.carousel-item.active .slide-btns,
.carousel-item.active .slide-stats,
.carousel-item.active .slide-visual {
  opacity: 1; transform: none;
}

.slide-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.slide-title .hl { color: var(--accent-light); }
.slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

/* Slide stats row */
.slide-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.slide-stat .num  { font-size: 2rem; font-weight: 800; color: var(--accent-light); line-height: 1; }
.slide-stat .lbl  { font-size: 0.74rem; color: rgba(255,255,255,0.58); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.slide-sdiv { width: 1px; background: rgba(255,255,255,0.15); }

/* Custom arrows */
.slider-arrow {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: var(--transition);
  margin: 0 12px;
}
.slider-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: scale(1.08);
}
.carousel-control-prev,
.carousel-control-next { width: auto; opacity: 1; }
.carousel-control-prev:focus .slider-arrow,
.carousel-control-next:focus .slider-arrow { box-shadow: none; }

/* Custom indicator dots */
.slider-dots { bottom: 32px; gap: 6px; }
.slider-dots [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38) !important;
  border: none;
  transition: all .35s ease;
  opacity: 1;
}
.slider-dots [data-bs-target].active {
  width: 32px;
  border-radius: 5px;
  background: var(--accent) !important;
}

/* Slide progress bar */
.slide-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.1); z-index: 10;
}
.slide-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 0;
  transition: width linear;
}

/* Slide right visual card */
.slide-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
}
.slide-card-icon {
  width: 54px; height: 54px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.slide-pill {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
}
.slide-pill:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 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'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%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");
  pointer-events: none;
}
.page-header-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.page-header-circle.c1 { width: 400px; height: 400px; top: -150px; right: -80px; }
.page-header-circle.c2 { width: 250px; height: 250px; bottom: -100px; left: -60px; }
.page-header-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.page-header p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.breadcrumb { background: transparent; margin: 0; padding: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 0.84rem; }
.breadcrumb-item a:hover { color: var(--accent-light); }
.breadcrumb-item.active { color: rgba(255,255,255,0.9); font-size: 0.84rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); content: "›"; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-widget-header {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-widget-body { padding: 16px 20px; }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.86rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--text-dark); transition: var(--transition); display: flex; justify-content: space-between; align-items: center; }
.sidebar-list a:hover { color: var(--primary); padding-left: 5px; }
.sidebar-list .count {
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 100px;
}
.sidebar-tag { display: inline-block; background: var(--bg-section); border: 1px solid var(--border); color: var(--text-dark); font-size: 0.78rem; padding: 4px 12px; border-radius: 100px; margin: 3px; transition: var(--transition); }
.sidebar-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.sidebar-search input {
  width: 100%; padding: 10px 44px 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.87rem; outline: none; transition: var(--transition); background: var(--bg-light);
}
.sidebar-search input:focus { border-color: var(--primary); background: #fff; }
.sidebar-search { position: relative; }
.sidebar-search i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.team-avatar {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
  font-weight: 800;
}
.team-body { padding: 18px 16px; }
.team-body h6 { font-weight: 700; font-size: 0.94rem; color: var(--text-dark); margin-bottom: 4px; }
.team-body .role { font-size: 0.78rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.team-body p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.team-social { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.team-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-section);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  transition: var(--transition);
}
.team-social a:hover { background: var(--primary); color: #fff; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; top: 0; left: 10px; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -27px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
  font-size: 0.74rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 4px;
}
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.timeline-text { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--bg-light);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,35,81,0.08);
  background: #fff;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  height: 100%;
}
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent-light);
}
.ci-label { font-size: 0.74rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: .8px; }
.ci-value { font-size: 0.9rem; color: #fff; font-weight: 500; margin-top: 3px; }
.map-placeholder {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  color: var(--text-muted);
  overflow: hidden;
}
.map-placeholder i { font-size: 3rem; color: var(--primary); opacity: .3; }

/* ============================================
   MISSION / VALUE CARDS
   ============================================ */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff;
  margin: 0 auto 20px;
}
.value-card h5 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.value-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 991px) {
  .slide-item { height: 90vh; min-height: 560px; }
  .slide-stats { gap: 18px; }
  .slide-sdiv { display: none; }
}
@media (max-width: 767px) {
  .slide-item { height: auto; min-height: auto; padding: 100px 0 80px; }
  .slide-btns { flex-direction: column; }
  .page-header { padding: 60px 0 40px; }
  .contact-info-card { padding: 24px; }
}
}

/* ============================================
   MEGA MENU (Gmenu)
   ============================================ */
/* Force the entire chain to static so #mainNav is the only positioned ancestor */
.mega-menu-wrap,
#navbarMain,
#mainNav .container,
#mainNav .navbar-nav,
#mainNav .navbar-collapse { position: static !important; }

/* Navbar is the containing block */
#mainNav { position: relative !important; overflow: visible; }

/* Full-width dropdown — viewport-centred trick avoids mis-anchoring issues */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: 76vw;
  max-width: 1160px;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 20px 60px rgba(10,35,81,0.13), 0 4px 20px rgba(10,35,81,0.07);
  border-radius: 12px;
  padding: 28px 0 32px;
  z-index: 1200;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
/* CSS hover trigger */
.mega-menu-wrap:hover .mega-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease, visibility 0s 0s;
}
/* JS .show fallback */
.mega-dropdown.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease, visibility 0s 0s;
}

/* ---- Column heading ---- */
.mega-col-title {
  font-size: 0.67rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid #f0f3f8;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mega-col-title i { color: var(--accent); font-size: 0.76rem; }

/* ---- Menu links ---- */
.mega-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 2px;
  transition: background .15s ease;
}
.mega-link:hover {
  background: rgba(10,35,81,.05);
  text-decoration: none;
}
.mega-link .ml-icon {
  width: 36px; height: 36px;
  background: rgba(10,35,81,.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.mega-link:hover .ml-icon {
  background: var(--primary);
  color: #fff;
}
.mega-link .ml-text .ml-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  line-height: 1.25;
  margin-bottom: 2px;
  transition: color .15s;
}
.mega-link:hover .ml-text .ml-title { color: var(--primary); }
.mega-link .ml-text .ml-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- Vertical divider (Bootstrap row flex child) ---- */
.mega-divider {
  flex: 0 0 1px;
  width: 1px;
  max-width: 1px;
  padding: 0 !important;
  align-self: stretch;
  position: relative;
}
.mega-divider::after {
  content: '';
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #dde3ed 25%, #dde3ed 75%, transparent);
}

/* ---- Highlight / CTA box ---- */
.mega-highlight {
  background: linear-gradient(150deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  padding: 22px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mega-highlight .mh-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.mega-highlight h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}
.mega-highlight p {
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 16px;
}
.mega-highlight .mh-btn {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  align-self: flex-start;
  text-decoration: none;
}
.mega-highlight .mh-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Hide mega on mobile */
@media (max-width: 991px) {
  .mega-dropdown { display: none !important; }
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
#drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
#drawerOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

#mobileDrawer {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: #071a3e;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
#mobileDrawer.open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }

.drawer-header {
  background: var(--primary);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.drawer-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.drawer-logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
  color: var(--primary-dark);
}
.drawer-brand-text {
  font-size: .95rem; font-weight: 800;
  color: #fff; letter-spacing: 2px;
}
#drawerClose {
  background: rgba(255,255,255,.1);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
#drawerClose:hover { background: rgba(255,255,255,.22); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.drawer-body::-webkit-scrollbar { width: 4px; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

.drawer-nav { list-style: none; padding: 0; margin: 0; }

.drawer-link, .drawer-parent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  width: 100%;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.drawer-link:hover, .drawer-parent:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
  border-left-color: var(--accent);
  text-decoration: none;
}
.drawer-link i:first-child, .drawer-parent > i:first-child {
  width: 18px; color: var(--accent); font-size: .82rem; flex-shrink: 0;
}
.drawer-arrow {
  margin-left: auto;
  font-size: .64rem;
  color: rgba(255,255,255,.3) !important;
  transition: transform .25s;
}
.drawer-item-group.open .drawer-arrow { transform: rotate(180deg); }

.drawer-sub {
  list-style: none;
  padding: 0; margin: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,.2);
  transition: max-height .32s ease;
}
.drawer-item-group.open .drawer-sub { max-height: 800px; }

.drawer-sub a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px 9px 40px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.drawer-sub a:hover {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  text-decoration: none;
}
.drawer-sub a i { color: var(--accent); opacity: .7; font-size: .75rem; width: 15px; flex-shrink: 0; }

.drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.drawer-social {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.drawer-social:hover {
  background: var(--accent);
  color: var(--primary-dark);
  text-decoration: none;
}

/* Drawer trigger button */
#drawerToggle {
  display: none;
  background: rgba(10,35,81,.07);
  border: 1.5px solid rgba(10,35,81,.18);
  color: var(--primary);
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  margin-left: auto;
}
#drawerToggle:hover { background: rgba(10,35,81,.14); }

@media (max-width: 991px) {
  #drawerToggle { display: flex; }
  #navbarMain { display: none !important; }
}
