/* =====================================================
   ANNOUNCEMENT PORTAL - Main Stylesheet
   Color Palette: Navy Blue (#1B2F7A) + White + Gold
   ===================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap");

:root {
  --navy:       #1B2F7A;
  --navy-dark:  #111E55;
  --navy-light: #2A4099;
  --navy-pale:  #EEF1FB;
  --gold:       #C8A84B;
  --gold-light: #F0D078;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FF;
  --gray-100:   #EEF0F8;
  --gray-200:   #DDE0F0;
  --gray-400:   #8892B8;
  --gray-600:   #5A6490;
  --gray-800:   #1E2547;
  --danger:     #E03A3A;
  --success:    #22C47A;
  --warning:    #F59E0B;
  --info:       #3B82F6;
  --font-main:  "Inter", sans-serif;
  --font-head:  "Plus Jakarta Sans", sans-serif;
  --shadow-sm:  0 1px 3px rgba(27,47,122,0.08);
  --shadow-md:  0 4px 16px rgba(27,47,122,0.12);
  --shadow-lg:  0 8px 32px rgba(27,47,122,0.16);
  --shadow-xl:  0 16px 48px rgba(27,47,122,0.20);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- LAYOUT CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy-dark); line-height: 1.3; }
p { color: var(--gray-600); }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  width: 100%;
  background: var(--navy-dark);
  color: var(--gray-200);
  font-size: 0.8rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar a { color: var(--gray-200); }
.topbar a:hover { color: var(--gold-light); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.header {
  width: 100%;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 76px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(200,168,75,0.4);
}
.logo-text { color: var(--white); }
.logo-text .site-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.logo-text .site-tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-menu > li > a.active {
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  padding-bottom: 6px;
}
.nav-menu > li > a svg { width: 16px; height: 16px; }

/* Dropdown */
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  transition: transform 0.2s;
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-800);
  font-size: 0.875rem;
  font-weight: 500;
}
.dropdown-menu a:hover { background: var(--navy-pale); color: var(--navy); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.2);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge span { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 32px; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { display: block; font-size: 2rem; font-weight: 800; color: var(--gold-light); font-family: var(--font-head); }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }

/* =====================================================
   ANNOUNCEMENT TICKER
   ===================================================== */
.ticker-wrap {
  background: var(--navy-dark);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.ticker-label {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  float: left;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-content {
  overflow: hidden;
  padding: 0 0 0 140px;
}
.ticker-inner {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  padding-right: 60px;
}
.ticker-item::before { content: "●"; color: var(--gold); font-size: 0.5rem; }
@keyframes ticker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}
.ticker-wrap:hover .ticker-inner { animation-play-state: paused; }

/* =====================================================
   MAIN CONTENT LAYOUT
   ===================================================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.section-header { margin-bottom: 32px; }
.section-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-header p { margin-top: 16px; color: var(--gray-600); }

/* =====================================================
   ANNOUNCEMENT CARDS
   ===================================================== */
.announcements-grid { display: flex; flex-direction: column; gap: 20px; }

.announcement-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.announcement-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--navy-light);
}
.announcement-card.pinned {
  border-left: 4px solid var(--gold);
  background: linear-gradient(to right, rgba(200,168,75,0.04), var(--white));
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  max-height: 240px;
}
.card-image-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.announcement-card:hover .card-image-wrap img { transform: scale(1.03); }

.card-body { padding: 24px; flex: 1; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-navy { background: var(--navy-pale); color: var(--navy); }
.badge-gold { background: rgba(200,168,75,0.15); color: #8B6914; }
.badge-success { background: rgba(34,196,122,0.12); color: #14854F; }
.badge-danger { background: rgba(224,58,58,0.12); color: #C0192F; }
.badge-pinned { background: var(--gold); color: var(--navy-dark); }

.card-date { font-size: 0.8rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }
.card-date svg { width: 14px; height: 14px; }

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--navy-light); }

.card-excerpt { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }

.card-footer {
  padding: 14px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27,47,122,0.3); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.widget-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.widget-header svg { width: 18px; height: 18px; color: var(--gold-light); }
.widget-body { padding: 20px; }

/* Categories Widget */
.category-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-800);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.category-list li a:hover { background: var(--navy-pale); color: var(--navy); border-color: var(--gray-200); }
.cat-count {
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

/* Training Widget */
.training-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.training-item {
  display: flex;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.training-item:last-child { border-bottom: none; padding-bottom: 0; }
.training-date-badge {
  flex-shrink: 0;
  width: 50px;
  height: 56px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.training-date-badge .day { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.training-date-badge .month { font-size: 0.65rem; text-transform: uppercase; color: var(--gold-light); letter-spacing: 0.05em; }
.training-info { flex: 1; min-width: 0; }
.training-title { font-size: 0.875rem; font-weight: 600; color: var(--navy-dark); margin-bottom: 4px; line-height: 1.4; }
.training-meta { font-size: 0.775rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }

/* =====================================================
   ANNOUNCEMENT DETAIL
   ===================================================== */
.detail-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 48px 0;
  color: var(--white);
}
.detail-hero h1 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 16px; }
.detail-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.detail-meta span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.detail-meta span svg { width: 16px; height: 16px; }

.detail-content {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-top: -24px;
  position: relative;
  z-index: 1;
}
.detail-content img { max-width: 100%; border-radius: var(--radius-md); margin: 20px 0; box-shadow: var(--shadow-md); }
.detail-content p { font-size: 1.02rem; line-height: 1.85; margin-bottom: 16px; color: var(--gray-800); }
.detail-content h1, .detail-content h2, .detail-content h3, .detail-content h4 { margin: 28px 0 14px; color: var(--navy-dark); font-weight: 700; }
.detail-content ul, .detail-content ol { margin: 16px 0 20px 24px; color: var(--gray-800); line-height: 1.8; }
.detail-content li { margin-bottom: 8px; }
.detail-content blockquote { border-left: 4px solid var(--navy); padding: 12px 20px; background: var(--gray-50); margin: 20px 0; border-radius: 0 8px 8px 0; font-style: italic; color: var(--gray-600); }
.detail-content a { color: var(--navy); text-decoration: underline; font-weight: 600; }
.detail-content a:hover { color: var(--gold); }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--white); }

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,47,122,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { color: var(--white); font-size: 0.85rem; font-weight: 500; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* =====================================================
   TRAINING PAGE
   ===================================================== */
.training-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.training-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.training-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.training-card-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 24px;
  color: var(--white);
}
.training-card-header .date-range {
  font-size: 0.85rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.training-card-header h3 { color: var(--white); font-size: 1.1rem; }
.training-card-body { padding: 20px; }
.training-card-body p { font-size: 0.9rem; margin-bottom: 12px; }
.training-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}
.training-detail-row:last-child { border-bottom: none; }
.training-detail-row svg { width: 16px; height: 16px; color: var(--navy); flex-shrink: 0; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-placeholder {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-placeholder .icon {
  width: 80px;
  height: 80px;
  background: var(--navy-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--navy);
}
.contact-placeholder .icon svg { width: 36px; height: 36px; }
.contact-placeholder h2 { margin-bottom: 12px; }
.contact-placeholder p { max-width: 480px; margin: 0 auto; color: var(--gray-600); }

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}
.page-link:hover { background: var(--navy-pale); color: var(--navy); border-color: var(--navy); }
.page-link.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  width: 100%;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-col ul li a svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold-light); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   SEARCH BAR
   ===================================================== */
.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
}
.search-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,47,122,0.1); }
.search-input::placeholder { color: var(--gray-400); }

/* =====================================================
   ALERTS / NOTICES
   ===================================================== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-info { background: rgba(59,130,246,0.1); border-left: 3px solid var(--info); color: #1E40AF; }
.alert-success { background: rgba(34,196,122,0.1); border-left: 3px solid var(--success); color: #14532D; }
.alert-warning { background: rgba(245,158,11,0.1); border-left: 3px solid var(--warning); color: #92400E; }
.alert-danger { background: rgba(224,58,58,0.1); border-left: 3px solid var(--danger); color: #991B1B; }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state p { font-size: 0.95rem; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease both; }
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }

/* =====================================================
   RESPONSIVE DESIGN (Desktop, Tablet, Mobile)
   ===================================================== */
/* Laptops & Small Desktops (max 1200px) */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 24px; }
  .nav-menu > li > a { padding: 8px 10px; font-size: 0.85rem; }
}

/* Tablets Landscape & Medium Screens (max 1024px) */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .training-cards { grid-template-columns: repeat(2, 1fr); }
  .announcements-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-logo-img { height: 36px; }
}

/* Tablets Portrait & Large Phones (max 880px) */
@media (max-width: 880px) {
  .topbar { display: none; }
  .header { height: auto; }
  .navbar { height: 68px; }
  .brand-logo-img { height: 34px; max-width: 200px; }

  /* Mobile Navigation Drawer */
  .nav-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px 20px;
    gap: 8px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .nav-menu.mobile-open {
    display: flex;
    animation: fadeInMenu 0.25s ease-out;
  }
  @keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    background: rgba(255,255,255,0.06);
    justify-content: flex-start;
  }
  .nav-menu > li > a.active {
    background: var(--navy-light);
    border-bottom: none;
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding-left: 15px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 4px 0 8px 12px;
    padding: 4px 8px;
    border-left: 2px solid rgba(255,255,255,0.15);
  }
  .dropdown-menu a {
    color: rgba(255,255,255,0.8);
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .hamburger { display: flex; }
  .announcements-grid { grid-template-columns: 1fr; }
  .training-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Small Tablets & Mobile Phones (max 640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .navbar { height: 64px; }
  .brand-logo-img { height: 30px; max-width: 170px; }
  .detail-hero { padding: 32px 0 24px; }
  .detail-content { padding: 24px 16px; margin-top: -16px; border-radius: var(--radius-sm); }
  .section-header h2 { font-size: 1.4rem; }
  .detail-hero h1 { font-size: 1.4rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-body { padding: 18px; }
  .card-footer { padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-footer .btn { width: 100%; justify-content: center; }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; justify-content: center; }
  .btn { width: 100%; justify-content: center; }
}

/* Extra Small Phones (max 380px) */
@media (max-width: 380px) {
  .brand-logo-img { height: 26px; max-width: 140px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
