/* ============================================================
   style.css — Editorial Magazine Aesthetic
   Palette: Deep Navy + Warm Cream + Bold Amber accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:        #0d1b2a;
  --navy-light:  #162234;
  --navy-mid:    #1e3a5f;
  --amber:       #393cff;
  --amber-light: #7262ff;
  --cream:       #faf7f2;
  --cream-dark:  #f0ebe1;
  --text:        #1a1a2e;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;
  --white:       #ffffff;
  --red:         #dc2626;
  --green:       #16a34a;
  --border:      #e5e0d8;
  --shadow-sm:   0 1px 3px rgba(13,27,42,0.08);
  --shadow-md:   0 4px 16px rgba(13,27,42,0.12);
  --shadow-lg:   0 12px 40px rgba(13,27,42,0.18);
  --radius:      12px;
  --radius-sm:   6px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'DM Mono', monospace;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 3px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background:#ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 160, 32, 0.2);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
}

.nav-brand-icon {
  width: 70px; height: 70px;
  background:#ffffff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.nav-brand-text { color: #111111; }
.nav-brand-text span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.nav-brand-text small {
  display: block; font-size: 0.68rem; color: rgba(0,0,0,0.45);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: -2px;
}

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}

.nav-links a {
  color: rgba(0,0,0,0.7);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111111;
  background: rgba(0,0,0,0.07);
}

.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  background: none;
  border: none;
  border-radius: 10px;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover,
.nav-hamburger:active {
  background: rgba(0, 0, 0, 0.06);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
  transition: var(--transition);
  pointer-events: none;
}

.nav-mobile {
  display: none;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.nav-mobile a {
  display: block; color: rgba(0,0,0,0.75);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 500; font-size: 0.95rem;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--amber); }
.nav-mobile.open { display: block; }

/* Page header for inner pages */
.page-header {
  margin-top: 70px;
  background: linear-gradient(rgba(13,27,42,0.78), rgba(13,27,42,0.78)), url('../../img/quare.png') center center / cover no-repeat;
  padding: 3.5rem 1.5rem 3rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 0% 50%, rgba(232,160,32,0.1) 0%, transparent 60%);
}
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem; letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--amber-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,0.55); margin: 0; font-size: 1rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* Section divider — royal blue lines with megaphone icon */
/* ── Section Divider ── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65%;
  margin: 0 auto;
  padding: 0.5rem 0;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    #c8d4f0 30%,
    #1a3a8f 60%,
    transparent 100%);
}
.section-divider::after {
  background: linear-gradient(90deg,
    transparent 0%,
    #1a3a8f 40%,
    #c8d4f0 70%,
    transparent 100%);
}

.section-divider-icon {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  flex-shrink: 0;
}

/* flanking diamond dots */
.section-divider-icon::before,
.section-divider-icon::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #1a3a8f;
  transform: rotate(45deg);
  opacity: 0.45;
  flex-shrink: 0;
}

.section-divider-icon svg {
  color: #1a3a8f;
  flex-shrink: 0;
}

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 60px; height: 2px; background: var(--amber);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy); font-weight: 700;
}
.section-title span { color: var(--amber); }
.section-subtitle {
  font-size: 0.9rem; color: var(--text-muted);
  margin-top: 0.25rem;
}
.section-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy-mid);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
  border-bottom: 1px solid var(--navy-mid);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.section-link:hover { color: var(--amber); border-color: var(--amber); }

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative; overflow: hidden;
  height: 200px; background: var(--cream-dark);
  flex-shrink: 0;
}

.card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.04); }

.card-img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  font-size: 2.5rem; opacity: 0.6;
}

.card-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 100px;
  color: white;
}
.badge-announcement { background: var(--amber); color: var(--navy); }
.badge-news         { background: var(--navy); color: var(--white); }

.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-light);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}
.card-meta svg { flex-shrink: 0; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  line-clamp: 3;
  margin-bottom: 1.25rem; flex: 1;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

/* Featured card (first/large) */
.card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.card-featured .card-img-wrap { width: 45%; height: auto; min-height: 260px; flex-shrink: 0; position: relative; }
.card-featured .card-title    { font-size: 1.4rem; -webkit-line-clamp: 3; line-clamp: 3; }
.card-featured .card-excerpt  { -webkit-line-clamp: 4; line-clamp: 4; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  padding: 0.6rem 1.4rem; border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  letter-spacing: 0.02em; white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-accent  { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn-accent:hover  { background: var(--amber-light); border-color: var(--amber-light); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

.btn-read-more {
  background: none; border: none;
  color: var(--navy-mid); font-size: 0.85rem; font-weight: 600;
  padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.btn-read-more:hover { color: var(--amber); gap: 10px; }

/* ============================================================
   MODAL (Read More)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13,27,42,0.75);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%; max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-img {
  width: 100%; height: 280px;
  object-fit: cover; object-position: center;
  border-radius: 16px 16px 0 0;
  display: block;
  flex-shrink: 0;
}

.modal-body { padding: 2rem; }
.modal-badge { margin-bottom: 0.75rem; }
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy); margin-bottom: 0.5rem; line-height: 1.25;
}
.modal-meta {
  font-size: 0.8rem; color: var(--text-light);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-content { font-size: 0.95rem; color: var(--text); line-height: 1.8; }
.modal-close {
  position: sticky; top: 1rem; float: right;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13,27,42,0.08); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; color: var(--text);
  margin: -0.5rem -0.5rem 0.5rem 0.5rem;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(220,38,38,0.1); color: var(--red); }

/* ============================================================
   ALERT / TOAST
   ============================================================ */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid;
}
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-container {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
  background: var(--navy); color: var(--white);
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  min-width: 260px; max-width: 360px;
  transform: translateX(110%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show      { transform: translateX(0); }
.toast.toast-success { border-left: 4px solid #22c55e; }
.toast.toast-error   { border-left: 4px solid var(--red); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-label .required { color: var(--red); margin-left: 2px; }

.form-control {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(30,58,95,0.1); }
.form-control.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-error { font-size: 0.78rem; color: var(--red); margin-top: 0.3rem; display: none; }
.form-error.visible { display: block; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* ============================================================
   FEEDBACK SECTION
   ============================================================ */
.feedback-section {
  background: linear-gradient(rgba(13,27,42,0.82), rgba(13,27,42,0.82)), url('../../img/royale.jpg') center center / cover no-repeat;
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.feedback-section::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.08) 0%, transparent 70%);
}

.feedback-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

.feedback-info h2 { color: var(--white); margin-bottom: 1rem; }
.feedback-info p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item  {
  display: flex; align-items: flex-start; gap: 12px;
}
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--amber);
}
.contact-text small { display: block; color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-bottom: 2px; }
.contact-text span  { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.feedback-form-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2rem;
  backdrop-filter: blur(8px);
}
.feedback-form-card .form-label { color: rgba(255,255,255,0.8); }
.feedback-form-card .form-control {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.feedback-form-card .form-control::placeholder { color: rgba(255,255,255,0.3); }
.feedback-form-card .form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}

.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #070e16;
  padding: 0.75rem 0;
  text-align: center;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  flex-wrap: wrap;
}
.footer p { color: rgba(255,255,255,0.3); font-size: 0.74rem; margin: 0; }
.footer-logo { font-family: var(--font-display); color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer-logo strong { color: var(--amber); }

/* ============================================================
   EMPTY / LOADING STATES
   ============================================================ */
.empty-state {
  text-align: center; padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { color: var(--text-muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 0.5rem; }
.empty-state p  { font-size: 0.9rem; }

/* ============================================================
   PAGE FILTER BAR
   ============================================================ */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.filter-bar label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.filter-bar select {
  padding: 0.45rem 0.9rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 0.85rem; color: var(--text); background: var(--cream); outline: none;
  cursor: pointer;
}
.filter-bar select:focus { border-color: var(--navy-mid); }
.filter-count {
  margin-left: auto; font-size: 0.82rem; color: var(--text-muted);
  font-family: var(--font-mono);
}
.filter-count strong { color: var(--navy); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; transition: var(--transition);
}
.pagination a { color: var(--text-muted); border: 1.5px solid var(--border); background: var(--white); }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination span { background: var(--navy); color: var(--white); border: 1.5px solid var(--navy); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }

.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
}

.map-placeholder {
  width: 100%; height: 280px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; text-align: center;
  border: 1.5px dashed var(--border);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 900px) {
  .card-featured { flex-direction: column; }
  .card-featured .card-img-wrap { width: 100%; height: 220px; }
  .feedback-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .cards-grid    { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .section       { padding: 2.5rem 0; }
  .hero          { padding: 3.5rem 1.5rem 3rem; }
}

/* ============================================================
   RESPONSIVE — Mobile 375px / 425px
   ============================================================ */
@media (max-width: 480px) {

  /* ── Global ── */
  html { font-size: 15px; }
  .container { padding: 0 1rem; }
  .section    { padding: 1.75rem 0; }
  .section-sm { padding: 1.25rem 0; }

  /* ── Navbar ── */
  .nav-inner { padding: 0 1rem; height: 60px; }
  .nav-brand-icon { width: 52px; height: 52px; }
  .nav-brand-text span { font-size: 1rem; }
  .nav-brand-text small { font-size: 0.6rem; }
  .nav-mobile { padding: 0.75rem 1rem; }
  .nav-mobile a { padding: 0.65rem 0; font-size: 0.88rem; }

  /* ── Page Header (inner pages) ── */
  .page-header { padding: 2rem 1rem 1.75rem; margin-top: 60px; }
  .page-header h1 { font-size: 1.5rem; }
  .page-header p  { font-size: 0.85rem; }
  .breadcrumb     { font-size: 0.72rem; }

  /* ── Cards ── */
  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card-title   { font-size: 1rem; }
  .card-excerpt { font-size: 0.83rem; }
  .card-body    { padding: 1.1rem; }
  .card-footer  { padding: 0 1.1rem 1.1rem; }
  .card-img-wrap { height: 170px; }
  .card-featured .card-img-wrap { height: 185px; }

  /* ── Buttons ── */
  .btn    { font-size: 0.82rem; padding: 0.55rem 1.1rem; }
  .btn-lg { font-size: 0.9rem;  padding: 0.7rem 1.4rem; }
  .btn-read-more { font-size: 0.8rem; }

  /* ── Section Header ── */
  .section-title    { font-size: 1.2rem; }
  .section-subtitle { font-size: 0.8rem; }
  .section-header   { margin-bottom: 1.5rem; }

  /* ── Modal ── */
  .modal-overlay { padding: 0.75rem; align-items: flex-end; }
  .modal { border-radius: 16px 16px 0 0; max-height: 90vh; }
  .modal-body  { padding: 1.1rem; }
  .modal-title { font-size: 1.2rem; }
  .modal-img   { height: 200px; }

  /* ── Forms ── */
  .form-row   { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 1rem; }
  .form-label { font-size: 0.8rem; }
  .form-control {
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
  }
  textarea.form-control { min-height: 100px; }

  /* ── Feedback Section ── */
  .feedback-section {
    padding: 2.25rem 0;
    background-attachment: scroll;
  }
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feedback-info h2 { font-size: 1.25rem; margin-bottom: 0.65rem; }
  .feedback-info p  { font-size: 0.85rem; margin-bottom: 1.25rem; }

  .contact-items { gap: 0.9rem; }
  .contact-item  { gap: 10px; align-items: center; }
  .contact-icon  { width: 34px; height: 34px; font-size: 0.85rem; border-radius: 7px; flex-shrink: 0; }
  .contact-text small { font-size: 0.68rem; }
  .contact-text span  { font-size: 0.83rem; word-break: break-word; }

  .feedback-form-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }
  .feedback-form-card .form-control {
    font-size: 0.88rem;
    padding: 0.6rem 0.85rem;
  }

  .social-links  { gap: 0.5rem; margin-top: 1rem; }
  .social-link   { width: 32px; height: 32px; font-size: 0.85rem; border-radius: 6px; }

  /* ── Toast ── */
  .toast-container { bottom: 1rem; right: 1rem; left: 1rem; }
  .toast { min-width: unset; max-width: 100%; font-size: 0.83rem; padding: 0.85rem 1rem; }

  /* ── Filter Bar ── */
  .filter-bar   { padding: 0.75rem 1rem; gap: 0.65rem; }
  .filter-bar label { font-size: 0.78rem; }
  .filter-bar select { font-size: 0.78rem; padding: 0.35rem 0.7rem; }
  .filter-count { display: none; }

  /* ── Pagination ── */
  .pagination { gap: 0.3rem; margin-top: 2rem; }
  .pagination a, .pagination span { width: 32px; height: 32px; font-size: 0.8rem; }

  /* ── Footer ── */
  .footer { padding: 1rem 0; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0 1rem;
  }
  .footer-logo { font-size: 0.72rem; }
  .footer p    { font-size: 0.68rem; }

  /* ── Contact Page ── */
  .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact-card { padding: 1.25rem 1rem; border-radius: 10px; }
  .contact-card h3 { font-size: 1.05rem !important; margin-bottom: 1rem !important; }

  /* ── Announcements / News detail ── */
  .detail-article-body  { padding: 1.1rem; }
  .detail-headline      { font-size: 1.2rem; }
  .detail-layout        { gap: 1.25rem; }
  .detail-nav           { flex-direction: column; gap: 0.65rem; }
  .detail-nav-btn       { min-width: unset; padding: 0.75rem 1rem; }
  .sidebar-card         { padding: 1.1rem; }
  .sidebar-card h4      { font-size: 0.92rem; }

  /* ── Empty State ── */
  .empty-state { padding: 2.5rem 1rem; }
  .empty-state .empty-icon { font-size: 2.25rem; }
  .empty-state h3 { font-size: 1rem; }
  .empty-state p  { font-size: 0.83rem; }
}