/* ===== DESIGN TOKENS ===== */
:root {
  --green: #0A2647;
  --green-light: #144272;
  --green-dark: #061121;
  --brown: #6B4F2A;
  --gold: #D4AF37;
  --gold-light: #F1C40F;
  --bg: #F8FAFC;
  --bg-dark: #0B192C;
  --text: #000000;
  --text-muted: #000000;
  --text-light: #F1F5F9;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --font: 'Outfit', 'Inter', 'Noto Sans Ethiopic', sans-serif;
  --gradient-primary: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  margin: 0;
  padding: 0;
  /* Do NOT set overflow-x:hidden on html — it disables native momentum scroll on iOS */
}

body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.1rem;
  padding-top: 80px;
  text-align: left;
  /* Enable native momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  /* Prevent elastic bounce / overscroll shaking at page edges */
  overscroll-behavior-y: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===== CONTAINER ===== */
/* ===== DESIGN TOKENS ===== */
:root {
  --green: #0A2647;
  --green-light: #144272;
  --green-dark: #061121;
  --brown: #6B4F2A;
  --gold: #D4AF37;
  --gold-light: #F1C40F;
  --bg: #F8FAFC;
  --bg-dark: #0B192C;
  --text: #000000;
  --text-muted: #000000;
  --text-light: #F1F5F9;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --font: 'Outfit', 'Inter', 'Noto Sans Ethiopic', sans-serif;
  --gradient-primary: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

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

html {
  max-width: 100%;
  margin: 0;
  padding: 0;
  /* Do NOT set overflow-x:hidden on html — it disables native momentum scroll on iOS */
}

body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.1rem;
  padding-top: 80px;
  text-align: left;
  /* Enable native momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  /* Prevent elastic bounce / overscroll shaking at page edges */
  overscroll-behavior-y: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  overflow: visible !important;
  /* Use will-change on box-shadow instead of transform to GPU-accelerate
     without creating a new stacking context (which breaks position:fixed children) */
  will-change: box-shadow;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  transition: var(--transition);
}

.nav-brand:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.nav-brand:active {
  transform: translateY(0) scale(0.98);
}

.nav-emblem svg {
  width: 40px;
  height: 40px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.brand-main {
  font-size: clamp(0.8rem, 2.5vw, 1.05rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
  display: block;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: clamp(0.6rem, 2vw, 0.8rem);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
}

.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: #1e40af;
  background: rgba(30, 64, 175, 0.07);
}

.nav-link.active {
  color: #1e40af;
  background: rgba(30, 64, 175, 0.1);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

/* ===== PREMIUM LANGUAGE DROPDOWN ===== */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--green);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  white-space: nowrap;
}

.lang-dropdown-trigger:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}

.lang-dropdown-trigger .flag-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  margin-left: 2px;
}

/* Rotate chevron when open */
.lang-dropdown:hover .lang-chevron,
.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 8px;
}

/* Trigger menu display */
.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.lang-dropdown-item:hover {
  background: rgba(30, 64, 175, 0.07);
  color: #1e40af;
}

.lang-dropdown-item.active {
  background: rgba(30, 64, 175, 0.10);
  color: #1e40af;
}

.lang-dropdown-item .flag-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  display: inline-block;
  vertical-align: middle;
}

.lang-btn {
  font-family: var(--font);
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-portal {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(10, 38, 71, 0.2);
}

.btn-portal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 38, 71, 0.3);
  opacity: 0.95;
}

.btn-portal i {
  font-size: 0.9rem;
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  position: relative;
  z-index: 1;
  /* Ensure overflow is visible so the X animation isn't clipped */
  overflow: visible;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  transform-origin: center;
  /* Prevent clipping during rotation */
  will-change: transform;
}

/* Hamburger → X animation when menu is open
   Center-to-center distance between span 1 and 3:
   Each span is 2px tall, gap is 5px → center offset = (2px/2 + 5px + 2px/2) = 7px */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1100;
  overflow-y: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  /* Slide down animation */
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu.open {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 24px;
  gap: 12px;
}

.mob-link {
  position: relative;
  padding: 16px 24px;
  color: #1e293b;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.mob-link:hover {
  color: var(--green);
  background: rgba(10, 38, 71, 0.06);
  border-color: rgba(10, 38, 71, 0.12);
  transform: translateX(6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Glowing left vertical bar on hover */
.mob-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 4px;
  background: var(--gold);
  border-radius: 4px;
  opacity: 0;
  transform: scaleY(0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-link:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.mob-lang {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 24px 0 40px;
  margin-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.mob-lang .lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  color: #475569;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  padding: 12px 4px;
  font-size: 0.74rem;
  text-align: center;
  font-weight: 700;
  box-sizing: border-box;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mob-lang .lang-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(10, 38, 71, 0.2);
}

.mob-lang .lang-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

.mob-lang .lang-btn .flag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mob-lang .lang-btn .flag-img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 86vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1.1);
}

/* On mobile, disable the continuous scale animation to avoid compositor pressure during scroll */
@media (max-width: 768px) {
  .hero {
    /* Use --vh custom property set by JS to avoid address-bar height shift reflows */
    height: calc(var(--vh, 1vh) * 86);
    min-height: 250px;
  }

  .hero-slide {
    transition: opacity 1s ease-in-out !important;
    transform: none !important;
  }

  .hero-slide.active {
    transform: none !important;
    filter: none !important;
  }

  /* Disable particle float animation on mobile (continuous transform = paint cost) */
  .hero-particles span {
    animation: none !important;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
  opacity: 0.4;
}

.hero-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.hero-particles span:nth-child(2) {
  left: 80%;
  top: 15%;
  animation-delay: 1s;
  animation-duration: 9s;
  width: 3px;
  height: 3px;
}

.hero-particles span:nth-child(3) {
  left: 50%;
  top: 70%;
  animation-delay: 2s;
}

.hero-particles span:nth-child(4) {
  left: 25%;
  top: 80%;
  animation-delay: 3s;
  animation-duration: 6s;
}

.hero-particles span:nth-child(5) {
  left: 70%;
  top: 60%;
  animation-delay: 1.5s;
  width: 4px;
  height: 4px;
}

.hero-particles span:nth-child(6) {
  left: 90%;
  top: 40%;
  animation-delay: 0.5s;
}

.hero-particles span:nth-child(7) {
  left: 15%;
  top: 50%;
  animation-delay: 2.5s;
  animation-duration: 10s;
}

.hero-particles span:nth-child(8) {
  left: 60%;
  top: 30%;
  animation-delay: 4s;
}

.hero-particles span:nth-child(9) {
  left: 40%;
  top: 10%;
  animation-delay: 3.5s;
}

.hero-particles span:nth-child(10) {
  left: 35%;
  top: 90%;
  animation-delay: 1s;
  animation-duration: 8s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4
  }

  50% {
    transform: translateY(-20px) scale(1.5);
    opacity: 0.8
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  pointer-events: none;
}

.hero-content>* {
  pointer-events: auto;
}

/* Dynamic Slider Overlay */
.hero-text-overlay {
  position: absolute;
  bottom: 6%;
  left: 6%;
  text-align: left;
  z-index: 10;
  max-width: 900px;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-text-overlay {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-text-overlay h1,
.hero-text-overlay h2,
.hero-slide-title {
  font-size: clamp(2rem, 5vw, 3.8rem) !important;
  font-weight: 900 !important;
  color: #FFD700 !important;
  /* Vibrant Gold */
  margin: 0 0 15px 0 !important;
  line-height: 1 !important;
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(0, 0, 0, 0.5),
    2px 2px 0 rgba(0, 0, 0, 0.3) !important;
  letter-spacing: -0.03em !important;
  display: block !important;
  text-transform: capitalize;
}

.hero-text-overlay p {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 0 15px rgba(0, 0, 0, 0.6) !important;
  margin: 0 !important;
  max-width: 100% !important;
  opacity: 1 !important;
  letter-spacing: 0.5px !important;
}

@media (max-width: 768px) {
  .hero-text-overlay {
    bottom: 35px;
    left: 5%;
    width: 90%;
  }

  .hero-indicators {
    bottom: 12px;
  }
}

/* ===== HERO SLIDER CONTROLS ===== */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  opacity: 1 !important;
}

.hero:hover .hero-arrow {
  opacity: 0.8;
}

.hero-arrow.prev {
  left: 40px;
}

.hero-arrow.next {
  right: 40px;
}

/* ===== CATEGORY FOLDERS ===== */
.gallery-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.category-folder,
.chief-card,
.former-chief-card {
  position: relative;
  min-height: 280px;
  border-radius: 24px !important;
  overflow: hidden;
  cursor: pointer !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(10, 38, 71, 0.6) 100%) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  text-decoration: none !important;
  color: inherit !important;
  padding: 25px;
}

.category-folder:hover,
.chief-card:hover,
.former-chief-card:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 15px rgba(212, 175, 55, 0.15) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 38, 71, 0.7) 100%) !important;
}

.category-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.category-folder:hover .category-cover img,
.chief-card:hover .category-cover img {
  transform: scale(1.15);
}

.folder-icon-top {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  color: var(--gold);
  z-index: 2;
  opacity: 0.6;
  transition: var(--transition);
}

.category-folder:hover .folder-icon-top {
  opacity: 1;
  transform: rotate(-10deg) scale(1.1);
}

.category-name-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 25px;
  background: linear-gradient(to top, rgba(5, 12, 26, 0.95) 0%, transparent 80%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.category-folder:hover .category-name-overlay,
.chief-card:hover .category-name-overlay {
  background: linear-gradient(to top, rgba(5, 12, 26, 0.98) 0%, transparent 90%);
}

.category-name-overlay h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.category-folder:hover .category-name-overlay h3 {
  transform: scale(1.05);
}

.category-folder::after {
  content: 'Explore Collection';
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--gold);
  color: var(--green-dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: var(--transition);
  z-index: 4;
}

.category-folder:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Gallery View Navigation */
.gallery-view {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 50px;
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font);
}

.back-btn:hover {
  background: var(--gold);
  color: var(--green-dark);
  transform: translateX(-8px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.back-btn i {
  font-size: 0.9rem;
}

.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 30;
  pointer-events: none;
}

.indicator {
  pointer-events: auto;
  width: 24px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.indicator.active {
  background: var(--gold);
  width: 48px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '★';
  font-size: 0.7rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--gradient-gold);
  color: var(--green-dark);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  padding: 14px 32px;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-stats-wrapper {
  background: var(--white);
  padding: 24px 0;
  margin-top: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: capitalize;
  font-weight: 500;
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
}


/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}

.section-light {
  background: var(--bg);
}

.section-dark {
  background: var(--green-dark);
}

.section-dark-premium {
  background: linear-gradient(160deg, #060d1f 0%, #0c1a3d 50%, #060d1f 100%);
  position: relative;
  overflow: hidden;
}

.section-dark-premium::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.section-dark-premium::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.section-dark-premium .section-header h2 {
  color: var(--white);
}

.section-dark-premium .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark-premium .section-badge {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.35);
}

.section-light-premium {
  background: linear-gradient(160deg, #EEF3FB 0%, #F4F7FB 60%, #EDF2F9 100%);
  position: relative;
}

.section-light-premium .section-header h2 {
  color: #1e3a8a;
}

.section-light-premium .section-header p {
  color: #4b5e76;
}

.section-light-premium .section-badge {
  background: rgba(30, 64, 175, 0.08);
  border-color: rgba(30, 64, 175, 0.2);
  color: #1e40af;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(139, 109, 25, 0.1);
  color: #7a5e12;
  border: 1px solid rgba(139, 109, 25, 0.25);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-dark .section-badge {
  background: rgba(201, 162, 39, 0.15);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.05rem;
  color: #4b5e76;
  max-width: 560px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

/* Gallery Section Custom Background */
/* Gallery Section Decorative Elements */
.section-dark-premium::before,
.section-light-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.section-light-premium::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
}

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

#about .cards-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  #about .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #about .cards-grid {
    grid-template-columns: 1fr;
  }
}

#news-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  #news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #news-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.65) 100%) !important;
  border-radius: 24px !important;
  padding: 40px 32px;
  box-shadow: 0 10px 30px -10px rgba(10, 38, 71, 0.06), 0 1px 3px rgba(10, 38, 71, 0.02) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  outline: 1px solid rgba(10, 38, 71, 0.03) !important;
  cursor: default;
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#about .card {
  padding: 30px 24px;
}

#about .card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

#about .card .card-text {
  font-size: 1rem;
  line-height: 1.6;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px -15px rgba(10, 38, 71, 0.12), inset 0 0 12px rgba(212, 175, 55, 0.05) !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
  outline: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.card:hover::before {
  opacity: 0.03;
}

.card-icon {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: var(--gradient-primary) !important;
  box-shadow: 0 6px 15px rgba(10, 38, 71, 0.1);
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg) !important;
  background: var(--gradient-gold) !important;
  color: var(--green-dark) !important;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.card h3 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--green) !important;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--gold) !important;
}

.card p {
  font-size: 1.05rem !important;
  color: #334155 !important;
  line-height: 1.7 !important;
  text-align: justify;
}

.card-text-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.card-text,
.full-text,
.message-content {
  font-size: 1.1rem !important;
  font-family: var(--font) !important;
  color: #334155;
  line-height: 1.7;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: max-height 0.5s ease;
}

.card-text *,
.full-text *,
.message-content * {
  font-size: 1.1rem !important;
  font-family: var(--font) !important;
}

.card-text.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

/* Ensure Rich Text styles are preserved */
.card-text h1,
.card-text h2,
.card-text h3,
.card-text h4 {
  margin: 15px 0 10px;
  color: var(--green);
  line-height: 1.2;
}

.card-text ul,
.card-text ol {
  margin: 10px 0 10px 20px;
  padding-left: 10px;
}

.card-text li {
  margin-bottom: 5px;
}

.feature-single-view {
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-banner img {
  transition: transform 0.8s ease;
}

.feature-single-view:hover .feature-banner img {
  transform: scale(1.03);
}

.back-link-sm {
  transition: all 0.3s ease;
}

.back-link-sm:hover {
  transform: translateX(-5px);
  background: white !important;
  color: var(--secondary) !important;
}

.dark .back-link-sm:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.feature-single-view .full-text p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .feature-banner {
    height: 250px !important;
  }

  .single-feature-content {
    padding: 25px !important;
  }
}

.card-text span,
.card-text strong,
.card-text em {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

.card,
.tourism-card,
.culture-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  outline: none;
}

.card:hover,
.culture-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 15px 30px rgba(0, 0, 0, 0.08);
}

.read-more-link {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.card:hover .read-more-link,
.culture-card:hover .read-more-link {
  color: #d4af37;
}

.tourism-card .read-more-link {
  color: var(--gold);
  margin-top: 20px;
}

.tourism-card:hover .read-more-link {
  color: #ffffff;
}

.card:hover .read-more-link i,
.tourism-card:hover .read-more-link i,
.culture-card:hover .read-more-link i {
  transform: translateX(5px);
}

.read-more-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: none;
  padding: 0;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.read-more-btn:hover {
  color: var(--green);
}

.read-more-btn i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.read-more-btn.active i {
  transform: rotate(180deg);
}

/* ===== TOURISM ===== */
.tourism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.tourism-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.tourism-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tourism-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.tourism-card:hover::before {
  opacity: 1;
}

/* Footer Search Bar */
.search-form input:focus {
  border-color: var(--gold) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.search-form button:hover {
  background: #e5c065 !important;
  transform: translateY(-2px);
}

.search-form button:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .search-form {
    flex-direction: column;
  }

  .search-form button {
    width: 100%;
  }
}

/* Icon badge */
.tourism-card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tourism-card:hover .tourism-card-icon-wrap {
  background: var(--gradient-gold);
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.tourism-icon {
  font-size: 2.5rem;
  transition: all 0.4s ease;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.tourism-card:hover .tourism-icon {
  color: #060d1f;
  transform: scale(1.1) rotate(5deg);
  filter: none;
}

/* Card content */
.tourism-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tourism-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.tourism-card:hover .tourism-divider {
  width: 60px;
}

.tourism-card-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.tourism-card-body .card-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 25px;
}

.tourism-card .read-more-link {
  margin-top: auto;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.tourism-card:hover .read-more-link {
  color: #ffffff;
  gap: 15px;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--green);
  color: white;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(12, 74, 122, 0.2);
}

.btn-sm:hover {
  background: var(--gold);
  color: #091D38;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 166, 47, 0.3);
}

/* Legacy selectors (keep for compatibility) */
.tourism-card-img {
  display: none;
}

/* ===== CULTURE ===== */
.card-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 40px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--green) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-arrow:hover {
  background: #1e3a8a;
  color: white;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

@media (max-width: 768px) {
  .card-slider-wrapper { padding: 0 20px !important; }
  .slider-arrow.prev { left: -5px; }
  .slider-arrow.next { right: -5px; }
}

.cards-grid,
.tourism-grid,
.culture-grid,
.dynamic-grid,
.gallery-categories-grid,
.gallery-grid,
.former-chief-grid {
  display: flex !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 20px !important;
  padding-bottom: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.cards-grid::-webkit-scrollbar,
.tourism-grid::-webkit-scrollbar,
.culture-grid::-webkit-scrollbar,
.dynamic-grid::-webkit-scrollbar,
.gallery-categories-grid::-webkit-scrollbar,
.gallery-grid::-webkit-scrollbar,
.former-chief-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.cards-grid > *,
.tourism-grid > *,
.culture-grid > *,
.dynamic-grid > *,
.gallery-categories-grid > *,
.gallery-grid > *,
.former-chief-grid > * {
  flex: 0 0 calc(33.333% - 14px) !important;
  min-width: 300px !important;
  scroll-snap-align: start !important;
}

@media (max-width: 1024px) {
  .cards-grid > *,
  .tourism-grid > *,
  .culture-grid > *,
  .dynamic-grid > *,
  .gallery-categories-grid > *,
  .gallery-grid > *,
  .former-chief-grid > * {
    flex: 0 0 calc(50% - 10px) !important;
  }
}

@media (max-width: 768px) {
  .cards-grid > *,
  .tourism-grid > *,
  .culture-grid > *,
  .dynamic-grid > *,
  .gallery-categories-grid > *,
  .gallery-grid > *,
  .former-chief-grid > * {
    flex: 0 0 100% !important;
    min-width: 100% !important;
  }
}

.culture-card {
  flex: 0 0 calc(33.333% - 14px); /* For 3 cards per row */
  min-width: 300px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 24px !important;
  padding: 35px 30px;
  border: 1px solid rgba(10, 38, 71, 0.05) !important;
  border-left: 4px solid var(--gold) !important;
  box-shadow: 0 10px 30px -10px rgba(10, 38, 71, 0.06), 0 1px 3px rgba(10, 38, 71, 0.02) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
  cursor: default;
}

@media (max-width: 1024px) {
  .culture-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 768px) {
  .culture-card { flex: 0 0 100%; min-width: 100%; }
}

.culture-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px -15px rgba(10, 38, 71, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.15) !important;
  border-left-color: var(--green) !important;
}

.culture-num {
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37, #f1c40f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.culture-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green) !important;
  margin-bottom: 10px;
}

.culture-card .card-text {
  font-size: 1.05rem !important;
  color: #334155 !important;
  line-height: 1.7 !important;
  text-align: justify;
}

.category-folder {
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-folder:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* ===== DYNAMIC SECTIONS ===== */
.dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  justify-content: center;
}

.dynamic-card {
  background: #ffffff;
  border-radius: 24px !important;
  padding: 35px 30px;
  box-shadow: 0 10px 30px -10px rgba(10, 38, 71, 0.06), 0 1px 3px rgba(10, 38, 71, 0.02) !important;
  border: 1px solid rgba(10, 38, 71, 0.05) !important;
  border-top: 4px solid var(--green) !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dynamic-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(12, 74, 122, 0.06) 0%, transparent 70%);
  border-radius: 0 24px 0 120px;
  transition: var(--transition);
}

.dynamic-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px -15px rgba(10, 38, 71, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.15) !important;
  border-top-color: var(--gold) !important;
}

.dynamic-card:hover::before {
  transform: scale(1.6);
}

.dynamic-card-icon {
  font-size: 22px;
  color: var(--green);
  margin-bottom: 20px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  background: rgba(10, 38, 71, 0.05) !important;
  border: 1px solid rgba(10, 38, 71, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynamic-card:hover .dynamic-card-icon {
  transform: scale(1.08) rotate(5deg) !important;
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}

.dynamic-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green) !important;
  margin-bottom: 12px;
}

.dynamic-card .card-text {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.6;
  text-align: justify;
}

.dynamic-card .read-more-link {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.dynamic-card:hover .read-more-link {
  color: var(--gold);
}

.dynamic-card:hover .read-more-link i {
  transform: translateX(5px);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 17, 33, 0.9), transparent);
  opacity: 0.6;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover::after {
  opacity: 0.95;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.15) rotate(2deg);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: #f8fafc;
}

.gallery-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.95rem;
  font-weight: 700;
  z-index: 3;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== CHIEFS SECTIONS ===== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  gap: 30px;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
  align-items: stretch;
}

.leadership-grid>* {
  height: 100%;
  min-height: 280px;
}

.former-chief-grid {
  margin-top: 20px;
}

.chief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* Sticky Header for Chief Profile Modal */
.chief-modal-header {
  position: sticky;
  top: 0;
  background: #0f172a !important;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 80px 20px 80px;
  margin-left: -80px;
  margin-right: -80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

.section-light .chief-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chief-modal-header .chief-view-title {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  text-align: left;
}

.chief-modal-header .close-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold) !important;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.section-light .chief-modal-header .close-modal-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.chief-modal-header .close-modal-btn:hover {
  background: var(--gold);
  color: #0f172a !important;
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .chief-modal-header {
    padding: 20px 20px 15px 20px;
    margin-left: -20px;
    margin-right: -20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}

/* Chief Single View Detail */
/* Chief Single View Detail - Redesigned to match hand-drawn sketch */
.chief-single-view-wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: #0f172a;
  padding: 0 80px 60px 80px !important;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.section-light .chief-single-view-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.chief-view-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--gold);
  text-transform: capitalize;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.chief-layout-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.chief-top-section {
  display: flex;
  gap: 50px;
  align-items: center;
}

@media (max-width: 900px) {
  .chief-top-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
  }

  .chief-view-title {
    text-align: left;
    font-size: 1.8rem;
    padding-bottom: 15px;
  }

  .chief-photo-frame {
    margin: 0 auto;
  }
}

.chief-photo-frame {
  width: 280px;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 8px solid white;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  aspect-ratio: 3/4;
}

.chief-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.chief-photo-frame:hover img {
  transform: scale(1.05);
}

.chief-bio-info {
  flex: 1;
  color: white;
  container-type: inline-size;
}

.chief-bio-info h3 {
  font-size: clamp(1.2rem, 6.5cqi, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  white-space: normal;
  overflow: visible;
  line-height: 1.2;
  width: 100%;
}

.feature-single-view.dark .chief-bio-info h3 {
  color: #ffffff;
}

.section-light .chief-bio-info h3 {
  color: #0f172a;
}

@media (max-width: 600px) {
  .chief-bio-info h3 {
    font-size: clamp(0.7rem, 6.5cqi, 1.8rem);
    white-space: nowrap;
  }
  .info-box-value {
    font-size: clamp(0.6rem, 4.5cqi, 1.1rem);
    white-space: nowrap;
  }
}

.section-light .chief-bio-info {
  color: #1e293b;
}

.section-light .chief-detail-info h3 {
  color: #0f172a;
}

.chief-detail-info .chief-date-large {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.chief-info-box,
.chief-message-box {
  position: relative;
  width: 100%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  padding: 40px 30px;
  margin-top: 10px;
}

.info-label,
.message-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0f172a;
  padding: 6px 30px;
  font-weight: 800;
  border-radius: 15px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.info-box-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.info-box-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-light .info-box-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.info-box-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.info-box-item:hover .info-box-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gold);
}

.info-box-item:hover .info-box-icon i {
  color: #ffffff;
}

.section-light .info-box-item:hover {
  background: #f1f5f9;
}

.info-box-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.section-light .info-box-icon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.info-box-icon i {
  color: var(--green);
  font-size: 1.25rem;
}

.info-box-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding-left: 5px;
}

.info-box-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.section-light .info-box-label {
  color: #64748b;
}

.info-box-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff !important;
  white-space: normal;
  line-height: 1.4;
}

.section-light .info-box-value {
  color: #0f172a !important;
}

/* Remove duplicate styles if any */
.message-content {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

.section-light .message-content {
  color: #334155;
}

@media (max-width: 900px) {
  .chief-detail-top {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .chief-detail-photo {
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
  }

  .chief-detail-info h3 {
    font-size: 1.8rem;
    white-space: normal;
  }

  .chief-single-view-wrap {
    padding: 0 20px 40px 20px !important;
    border-radius: 20px;
  }

  .chief-message-box {
    padding: 35px 15px 25px;
    border-radius: 20px;
  }

  /* chief-bio-info h3 rules removed so the fluid cqi typography handles it at all sizes */
  .info-box-list {
    margin-top: 20px;
  }

  .info-box-value {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.4;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .info-box-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .section-light .info-box-item {
    background: #ffffff;
    border-color: #cbd5e1;
  }

  .info-box-icon {
    width: 40px;
    height: 40px;
  }

  .chief-photo-frame {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 10px;
  }

  .chief-info-box {
    padding: 35px 20px 25px;
  }
}

.chief-card-duplicate-disabled,
.former-chief-card-duplicate-disabled {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 25px;
}

@media (max-width: 600px) {
  .chief-card,
  .former-chief-card {
    align-items: flex-start;
    text-align: left;
  }
}

.former-chief-card-override-disabled {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}

.chief-card-hover-duplicate-disabled:hover,
.former-chief-card-hover-duplicate-disabled:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border-color: rgba(212, 175, 55, 0.45);
}

.former-chief-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.chief-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--gold);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.chief-card:hover .chief-photo-wrap,
.former-chief-card:hover .chief-photo-wrap {
  transform: scale(1.05);
  border-color: var(--white);
}

.chief-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chief-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
  white-space: nowrap;
}

.former-chief-card .chief-info h3 {
  color: #1e3a8a;
}

.chief-date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.former-chief-card .chief-date {
  color: #64748b;
}

.former-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 400px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  background: radial-gradient(circle at 50% -20%, rgba(212, 175, 55, 0.08) 0%, rgba(7, 22, 43, 0) 60%), linear-gradient(180deg, #091D38 0%, #030a14 100%);
  color: var(--white);
  position: relative;
  padding-top: 100px;
  font-family: var(--font);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, #10b981 70%, transparent);
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 30px;
  }
}

.footer-body {
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 45px;
  align-items: start;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-info .footer-logo {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-info .footer-logo:hover {
  transform: translateY(-8px) scale(1.02);
}

.footer-info .footer-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.15));
  transition: var(--transition);
}

.footer-info .footer-logo:hover img {
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.3));
}

.footer-site-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  text-align: center;
  max-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 320px;
  font-weight: 400;
  text-align: center;
}

.social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-media h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  padding-bottom: 8px;
}

.social-media h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #10b981);
  border-radius: 1px;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icons a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--gold) !important;
  color: #091D38 !important;
  border-color: var(--gold) !important;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Contact Column */
.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
}

.footer-contact .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.footer-contact .footer-links li {
  width: 100%;
  list-style: none;
}

.footer-contact .footer-links a {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  width: 100%;
  box-sizing: border-box;
}

.footer-contact .footer-links a:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.1) !important;
  color: var(--white) !important;
}

.footer-contact .contact-icon-box {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-contact .footer-links a:hover .contact-icon-box {
  background: var(--gold);
  color: #091D38;
  transform: scale(1.08) rotate(5deg);
  border-color: var(--gold);
}

/* Links Column */
.footer-links-col {
  text-align: left;
}

.links-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
}

.links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #10b981);
  border-radius: 2px;
}

.footer-links-col .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

.footer-links-col .footer-links li {
  width: 100%;
}

.footer-links-col .footer-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  width: 100% !important;
  box-sizing: border-box;
  text-decoration: none !important;
}

.footer-links-col .footer-links a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
  color: var(--white) !important;
  transform: translateX(5px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.footer-links-col .footer-links a i {
  color: var(--gold);
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.footer-links-col .footer-links a:hover i {
  transform: translateX(3px) scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
  background: #07162B;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
  gap: 10px;
}

/* Website Visit Counter Styles (optimized for Column 5 placement) */
.footer-visitor-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.live-status-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.live-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-visitor-counter .live-indicator-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.counter-badge {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 20px;
  gap: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition);
}

.counter-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.08);
}

.counter-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter-icon {
  color: var(--gold);
  font-size: 1.15rem;
  opacity: 0.9;
  width: 20px;
  text-align: center;
}

.counter-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.counter-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font);
}

.counter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.counter-item-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 576px) {
  .counter-badge {
    flex-direction: column;
    border-radius: 20px;
    padding: 16px 20px;
    gap: 15px;
    width: 100%;
    max-width: 280px;
    align-items: stretch;
  }
  .counter-item-divider {
    width: 100%;
    height: 1px;
  }
  .counter-item {
    justify-content: center;
  }
  .counter-text {
    align-items: center;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
  }
}

@media (max-width: 768px) and (min-width: 577px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
  }
}

.copyright-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
}

.copyright-link {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
  font-weight: 600;
}

.copyright-link:hover {
  color: var(--gold);
  opacity: 1;
}

.copyright-info .divider {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

@media (max-width: 768px) {
  .copyright-info .divider {
    display: none;
  }

  .copyright-info span {
    display: block;
    width: 100%;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: #07162B;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--white);
  color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

/* Floating Chat */

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.1s;
}

/* ===== INTERMEDIATE VIEWPORT LAYOUT TUNING ===== */
@media (min-width: 1025px) and (max-width: 1320px) {
  .nav-container {
    padding: 0 20px;
    gap: 12px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .brand-main {
    font-size: 0.95rem;
  }

  .lang-dropdown-trigger {
    padding: 6px 12px;
    font-size: 0.88rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
  }

  .nav-right {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Allow the rotated X spans to render without clipping */
    overflow: visible;
  }

  .nav-brand {
    width: calc(100% - 70px);
    min-width: 0;
    overflow: hidden;
  }

  .brand-main {
    font-size: 0.8rem;
    line-height: 1.2;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    display: block;
    overflow: hidden;
    width: 100%;
  }

  .brand-sub {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }

  .hero-title {
    white-space: normal;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    margin: 0;
    /* 44×44px minimum touch target (WCAG) */
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    padding: 11px;
    background: transparent;
    border: none;
    overflow: visible;
    gap: 5px;
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .lang-dropdown {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: left;
  }

  .footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-desc {
    max-width: 100%;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-links-col {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
  }

  .contact-items {
    grid-template-columns: 1fr;
  }

  .contact-value {
    white-space: normal;
  }

  .contact-items .contact-item:last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .stat-num {
    font-size: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 26, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 40px;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.lightbox-img-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 80vh;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.lightbox-caption {
  margin-top: 25px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  transform: scale(1.1);
}

.lightbox-counter {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.lightbox-loader {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 250px;
    padding: 20px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .hero-arrow.prev {
    left: 15px;
  }

  .hero-arrow.next {
    right: 15px;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    padding: 24px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .stat {
    padding: 0;
  }

  .stat-divider {
    display: none;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-content {
    gap: 10px;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 20px;
    width: 50px;
    height: 50px;
    z-index: 2010;
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  .lightbox-caption {
    font-size: 0.9rem;
    padding: 10px 20px;
    margin-top: 15px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .lightbox-counter {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    padding: 6px 15px;
    z-index: 2010;
  }
}

/* Feature Single View - In-page details */
.feature-single-view {
  width: 100%;
  padding: 40px 60px;
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  animation: featureAppear 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--gold);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.feature-single-view::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.feature-single-view.dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid var(--gold);
  color: white;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}

.back-link-sm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none !important;
  margin-bottom: 40px;
  transition: var(--transition);
  opacity: 0.8;
}

.feature-single-view.dark .back-link-sm {
  color: var(--gold);
}

.back-link-sm:hover {
  opacity: 1;
  transform: translateX(-8px);
}

.single-feature-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.single-feature-icon {
  font-size: 5rem;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: 28px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-single-view.dark .single-feature-icon {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 15px rgba(255, 255, 255, 0.05);
}

.single-feature-text {
  flex: 1;
}

.single-feature-text h3,
.single-feature-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--green);
  line-height: 1.2;
}

.feature-single-view.dark .single-feature-text h3,
.single-feature-text h1 {
  color: var(--gold);
}

.full-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text);
  text-align: justify;
}

.full-text p,
.full-text div,
.full-text span {
  font-size: 1.1rem !important;
  font-family: var(--font) !important;
}

.full-text p {
  margin-bottom: 20px;
}

.full-text ul,
.full-text ol {
  margin: 20px 0 20px 30px;
}

.full-text li {
  margin-bottom: 12px;
}

.feature-single-view.dark .full-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Ensure full text is never clamped in expanded views */
.full-text,
.post-full-body,
.message-content {
  -webkit-line-clamp: unset !important;
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  line-height: 1.8 !important;
  font-size: 1.1rem;
  color: #334155;
}

.full-text p,
.post-full-body p,
.message-content p,
.full-text div,
.post-full-body div,
.message-content div,
.full-text span,
.post-full-body span,
.message-content span {
  line-height: 1.8 !important;
}

.full-text p,
.post-full-body p,
.message-content p {
  margin-bottom: 1.2em !important;
}

.post-full-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #000;
}

.post-full-date {
  color: #64748b;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 1.1rem;
}


@keyframes featureAppear {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.section.has-single-view {
  /* Padding transition removed to prevent scrolling/sliding illusion */
}

@media (max-width: 900px) {
  .single-feature-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .single-feature-icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    font-size: 3.5rem;
  }

  .feature-single-view {
    padding: 40px 25px;
    border-radius: 24px;
  }

  .single-feature-text h3,
  .single-feature-text h1 {
    font-size: 1.8rem;
  }
}

/* Chief Nav Buttons Hover */
.prev-chief:hover,
.next-chief:hover {
  background: transparent !important;
  color: var(--gold) !important;
  transform: translateY(-50%) scale(1.2) !important;
  box-shadow: none !important;
}

@media (max-width: 600px) {
  .prev-chief {
    left: 5px !important;
    top: 340px !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    background: transparent !important;
    border-radius: 50% !important;
    color: var(--gold) !important;
    border: none !important;
  }

  .next-chief {
    right: 5px !important;
    top: 340px !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    background: transparent !important;
    border-radius: 50% !important;
    color: var(--gold) !important;
    border: none !important;
  }
}

/* ===== FINAL AGGRESSIVE MOBILE FIX ===== */
@media (max-width: 900px) {
  .chief-layout-wrapper {
    width: 100% !important;
    display: block !important;
  }

  .chief-top-section {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 30px !important;
  }

  .chief-bio-info {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
  }

  .chief-info-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 45px 20px 30px !important;
    border: none !important;
    background: rgba(15, 23, 42, 0.7) !important;
    margin-top: 25px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
  }

  .info-label {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .info-box-item {
    padding: 18px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    display: grid !important;
    grid-template-columns: 48px 1fr !important;
    align-items: center !important;
    gap: 15px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
  }

  .info-box-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .info-box-value {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    display: block !important;
    white-space: normal !important;
  }
}


/* ===== TOURISM SECTION - PROFESSIONAL DEEP ROYAL BLUE / GOLD THEME (MATCHING LEADERSHIP) ===== */
#tourism {
  background: linear-gradient(150deg, #050d1f 0%, #0a1833 30%, #0d2244 60%, #06101e 100%);
  position: relative;
  overflow: hidden;
}

#tourism::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.09) 0%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

#tourism::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.1) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

#tourism .container {
  position: relative;
  z-index: 2;
}

#tourism .section-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
}

#tourism .section-header h2 {
  color: #ffffff;
}

#tourism .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== LEADERSHIP SECTION - PROFESSIONAL DEEP ROYAL BLUE / GOLD THEME ===== */
#leadership {
  background: linear-gradient(150deg, #050d1f 0%, #0a1833 30%, #0d2244 60%, #06101e 100%);
  position: relative;
  overflow: hidden;
}

#leadership::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.09) 0%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

#leadership::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 45%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

#leadership .container {
  position: relative;
  z-index: 2;
}

#leadership .section-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
}

#leadership .section-header h2 {
  color: #ffffff;
}

#leadership .section-header p {
  color: rgba(255, 255, 255, 0.68);
}

/* ================================================================
   PROFESSIONAL REDESIGN — TOURISM & LEADERSHIP SECTIONS
   ================================================================ */

/* ---- TOURISM: Clean Light Modern Theme ------------ */
#tourism {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

#tourism::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 0;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(10, 38, 71, 0.03) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

#tourism::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

#tourism .container {
  position: relative;
  z-index: 2;
}

/* Tourism Section Header */
#tourism .section-badge {
  background: rgba(10, 38, 71, 0.08) !important;
  border: 1px solid rgba(10, 38, 71, 0.15) !important;
  color: var(--green) !important;
  letter-spacing: 2px;
}

#tourism .section-header h2 {
  color: var(--green) !important;
  text-shadow: none;
}

#tourism .section-header p {
  color: #475569 !important;
}

/* Tourism Cards — LIGHT REDESIGN */
#tourism .tourism-grid {
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#tourism .tourism-card {
  background: #ffffff;
  border-radius: 24px !important;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 30px -10px rgba(10, 38, 71, 0.06), 0 1px 3px rgba(10, 38, 71, 0.02) !important;
  border: 1px solid rgba(10, 38, 71, 0.05) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  text-decoration: none;
}

#tourism .tourism-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px -15px rgba(10, 38, 71, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.2) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
}

#tourism .tourism-card-banner {
  height: 160px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#tourism .tourism-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#tourism .tourism-card:hover .tourism-card-banner img {
  transform: scale(1.08);
}

#tourism .tourism-card-banner.fallback-banner {
  background: linear-gradient(135deg, var(--green), #0a3d66);
  display: flex;
  align-items: center;
  justify-content: center;
}

#tourism .tourism-card-banner.fallback-banner .tourism-icon {
  font-size: 5rem;
  color: white;
  opacity: 0.9;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#tourism .tourism-card:hover .tourism-card-banner.fallback-banner .tourism-icon {
  transform: scale(1.1) rotate(5deg);
}

#tourism .banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

#tourism .tourism-card:hover .banner-overlay {
  opacity: 0.5;
}

#tourism .tourism-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

#tourism .tourism-card-body h3 {
  font-size: 1.3rem;
  color: #0f172a;
  margin: 0 0 8px 0;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

#tourism .tourism-card:hover .tourism-card-body h3 {
  color: var(--green);
}

#tourism .tourism-divider {
  width: 40px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#tourism .tourism-card:hover .tourism-divider {
  width: 70px;
  background: var(--green);
}

#tourism .tourism-card-body .card-text {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 15px;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#tourism .tourism-card-body .read-more-link {
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

#tourism .tourism-card:hover .read-more-link {
  color: var(--green);
}

#tourism .tourism-card:hover .read-more-link i {
  transform: translateX(6px);
}


/* ---- LEADERSHIP: Deep Navy + Gold Presidential Theme ---------- */
#leadership {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(180, 140, 20, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(10, 38, 71, 0.8) 0%, transparent 60%),
    linear-gradient(170deg, #080f1e 0%, #0d1d3a 40%, #071529 75%, #060d1f 100%);
  position: relative;
  overflow: hidden;
}

#leadership::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  z-index: 1;
}

#leadership::after {
  display: none;
}

#leadership .container {
  position: relative;
  z-index: 2;
}

#leadership .section-badge {
  background: rgba(212, 175, 55, 0.12) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #f0c040 !important;
  letter-spacing: 2px;
}

#leadership .section-header h2 {
  color: #ffffff !important;
}

#leadership .section-header p {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Leadership Cards — FULL REDESIGN (chief-card & former-chief-card) */
#leadership .chief-card,
#leadership .former-chief-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(212, 175, 55, 0.03) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: hidden !important;
}

#leadership .chief-card:hover,
#leadership .former-chief-card:hover {
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-10px) !important;
}

#leadership .category-folder {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(212, 175, 55, 0.03) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

#leadership .category-folder:hover {
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.15) !important;
  transform: translateY(-10px) !important;
}

/* ================================================================
   LEADERSHIP SECTION — VIBRANT PREMIUM REDESIGN (FINAL OVERRIDE)
   ================================================================ */
#leadership {
  background:
    radial-gradient(ellipse 100% 80% at 20% 0%, rgba(109, 40, 217, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 80% 100%, rgba(30, 58, 138, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    linear-gradient(150deg, #12003a 0%, #1a0550 30%, #0d1e5c 65%, #060f2e 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

#leadership::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent 0%, #a855f7 25%, #d4af37 50%, #a855f7 75%, transparent 100%) !important;
  z-index: 3 !important;
  display: block !important;
}

#leadership::after {
  content: '' !important;
  position: absolute !important;
  top: -200px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 800px !important;
  height: 800px !important;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(109, 40, 217, 0.06) 40%, transparent 70%) !important;
  filter: blur(40px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
}

#leadership .container {
  position: relative !important;
  z-index: 2 !important;
}

#leadership .section-badge {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(212, 175, 55, 0.2)) !important;
  border: 1px solid rgba(168, 85, 247, 0.6) !important;
  color: #c084fc !important;
  letter-spacing: 3px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25) !important;
}

#leadership .section-header h2 {
  color: #ffffff !important;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.4) !important;
}

#leadership .section-header p {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Leadership Cards — VIBRANT PREMIUM */
#leadership .chief-card,
#leadership .former-chief-card {
  background: linear-gradient(145deg,
      rgba(168, 85, 247, 0.15) 0%,
      rgba(109, 40, 217, 0.1) 40%,
      rgba(30, 58, 138, 0.12) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 28px !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 0 rgba(168, 85, 247, 0) !important;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: hidden !important;
}

#leadership .chief-card:hover,
#leadership .former-chief-card:hover {
  transform: translateY(-14px) scale(1.02) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 60px rgba(168, 85, 247, 0.15) !important;
}

/* Former Chiefs Folder Card */
#leadership .category-folder {
  background: linear-gradient(145deg,
      rgba(168, 85, 247, 0.15) 0%,
      rgba(109, 40, 217, 0.1) 40%,
      rgba(30, 58, 138, 0.12) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 28px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: hidden !important;
}

#leadership .category-folder:hover {
  transform: translateY(-14px) scale(1.02) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(212, 175, 55, 0.25),
    0 0 60px rgba(168, 85, 247, 0.15) !important;
}

/* Chief card text styling */
#leadership h4 {
  color: var(--gold) !important;
}

#leadership .chief-date {
  color: rgba(255, 255, 255, 0.8) !important;
}

#leadership .category-name-overlay h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

/* ================================================================
   LEADERSHIP SECTION — FINAL: PREMIUM NAVY GOLD AUTHORITY THEME
   ================================================================ */
#leadership {
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(20, 90, 150, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 80%, rgba(180, 135, 20, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(10, 40, 90, 0.4) 0%, transparent 70%),
    linear-gradient(160deg, #061220 0%, #0c2040 35%, #112850 65%, #061830 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Top gold accent line */
#leadership::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.8) 30%, rgba(212, 175, 55, 1) 50%, rgba(212, 175, 55, 0.8) 70%, transparent 100%) !important;
  z-index: 3 !important;
  display: block !important;
}

/* Warm ambient glow */
#leadership::after {
  content: '' !important;
  position: absolute !important;
  bottom: -100px !important;
  right: -100px !important;
  width: 600px !important;
  height: 600px !important;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 65%) !important;
  filter: blur(60px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
}

#leadership .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Badge */
#leadership .section-badge {
  background: rgba(212, 175, 55, 0.15) !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  color: #e8c84a !important;
  letter-spacing: 3px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 16px rgba(212, 175, 55, 0.15) !important;
}

/* Header */
#leadership .section-header h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

#leadership .section-header p {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* ---- Chief & Former Chief Cards ---- */
#leadership .chief-card,
#leadership .former-chief-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(20, 60, 120, 0.15) 50%,
      rgba(212, 175, 55, 0.05) 100%) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 26px !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: hidden !important;
}

#leadership .chief-card:hover,
#leadership .former-chief-card:hover {
  transform: translateY(-12px) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 -4px 30px rgba(212, 175, 55, 0.08) inset !important;
}

/* Former Chiefs folder */
#leadership .category-folder {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(20, 60, 120, 0.15) 50%,
      rgba(212, 175, 55, 0.05) 100%) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 26px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: hidden !important;
}

#leadership .category-folder:hover {
  transform: translateY(-12px) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* Text polish */
#leadership h4 {
  color: var(--gold) !important;
}

#leadership .chief-date {
  color: rgba(255, 255, 255, 0.78) !important;
}

#leadership .category-name-overlay h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6) !important;
}

/* === FORMER CHIEFS — NAME & DATE VISIBILITY FIX === */
#leadership .former-chief-card .chief-info h3,
#leadership .former-chief-card h3 {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7) !important;
}

#leadership .former-chief-card .chief-info p,
#leadership .former-chief-card .chief-date,
#leadership .former-chief-card p {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important;
}

#leadership .chief-card h3,
#leadership .chief-card h4,
#leadership .former-chief-card h4 {
  color: #ffffff !important;
}


/* === CHIEF PROFILE — MESSAGE TEXT VISIBILITY === */
.chief-single-view-wrap .message-content,
.chief-single-view-wrap .message-content p,
.chief-single-view-wrap .message-content span,
.chief-single-view-wrap .message-content div {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.1rem !important;
  line-height: 1.9 !important;
}

/* INFO box — vibrant gold border + glow */
.chief-single-view-wrap .chief-info-box {
  border: 2.5px solid rgba(212, 175, 55, 0.85) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.25),
    0 0 30px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* MESSAGE box — vibrant gold border + glow */
.chief-single-view-wrap .chief-message-box {
  border: 2.5px solid rgba(212, 175, 55, 0.85) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.25),
    0 0 30px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* INFO / MESSAGE label chips — bolder & brighter */
.chief-single-view-wrap .info-label,
.chief-single-view-wrap .message-label {
  background: linear-gradient(135deg, #d4af37 0%, #f0c040 100%) !important;
  color: #0a1628 !important;
  font-weight: 900 !important;
  font-size: 0.9rem !important;
  letter-spacing: 2px !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  padding: 7px 34px !important;
  border-radius: 20px !important;
}

/* === CHIEF PROFILE — FIX INFO & MESSAGE BOX OVERLAP === */

/* Ensure the layout wrapper stacks with proper gap */
.chief-layout-wrapper {
  gap: 60px !important;
}

/* Give the message box extra top margin so the floating label doesn't overlap */
.chief-message-box {
  margin-top: 40px !important;
}

/* On mobile, keep the same spacing */
@media (max-width: 900px) {
  .chief-layout-wrapper {
    gap: 50px !important;
  }

  .chief-message-box {
    margin-top: 45px !important;
  }
}

/* Responsive Feature Banner and News Banner (16:9 on Mobile) */
@media (max-width: 768px) {

  .feature-banner,
  #inline-post-image-container {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    /* Take full width on small mobile */
  }
}

/* Increase News Banner height on PC/Desktop view */
@media (min-width: 769px) {
  #inline-post-image-container {
    height: 385px !important;
  }
}
/* ===== FEEDBACK FORM ===== */
.section-light-premium {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.feedback-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(12, 74, 122, 0.15) !important;
}

.form-group-feedback input:focus, 
.form-group-feedback textarea:focus {
  outline: none;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 4px rgba(12, 74, 122, 0.1);
  background: #ffffff !important;
}

.form-group-feedback input:focus + i,
.form-group-feedback textarea:focus + i,
.form-group-feedback input:focus ~ div i,
.form-group-feedback textarea:focus ~ div i,
.form-group-feedback div input:focus ~ i,
.form-group-feedback div textarea:focus ~ i {
  color: var(--green) !important;
}

.star-rating-container label {
  font-size: 2.2rem;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.star-rating-container label:hover {
  transform: scale(1.2);
}

/* Star Rating CSS Hover & Checked behavior (Row-Reverse) */
.star-rating-container input:checked ~ label {
  color: #f59e0b !important;
}

.star-rating-container label:hover,
.star-rating-container label:hover ~ label {
  color: #fbbf24 !important;
}

#feedback-submit-btn:hover {
  background: #083a61 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(12, 74, 122, 0.35) !important;
}

#feedback-submit-btn:active {
  transform: translateY(0);
}

#feedback-submit-btn:hover #feedback-btn-icon {
  transform: translateX(4px) translateY(-2px) scale(1.1);
}

#feedback-alert {
  animation: slideDownFeedbackAlert 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFeedbackAlert {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === VIEW ALL FEEDBACKS POPUP MODAL === */
.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 13, 31, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10100;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-modal-overlay.active {
  opacity: 1;
}

.feedback-modal {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}
.feedback-modal-overlay.active .feedback-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.feedback-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feedback-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  margin: 0;
}
.feedback-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
}
.feedback-modal-close:hover {
  color: var(--green);
  transform: scale(1.1);
  background: rgba(0,0,0,0.06);
}

.feedback-modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

/* Average Rating Block */
.feedback-stats-block {
  background: linear-gradient(135deg, rgba(12, 74, 122, 0.03) 0%, rgba(20, 110, 180, 0.05) 100%);
  border: 1px solid rgba(12, 74, 122, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 20px;
}
.feedback-avg-score {
  display: flex;
  align-items: center;
  gap: 15px;
}
.feedback-avg-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.feedback-avg-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feedback-avg-stars {
  color: #f59e0b;
  font-size: 1.15rem;
}
.feedback-avg-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feedback-total-count {
  text-align: right;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
}
.feedback-total-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

/* Scrollbar styling for modal body and list */
.feedback-modal-body::-webkit-scrollbar {
  width: 8px;
}
.feedback-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
}
.feedback-modal-body::-webkit-scrollbar-thumb {
  background: rgba(12, 74, 122, 0.15);
  border-radius: 4px;
}
.feedback-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(12, 74, 122, 0.3);
}

/* Feedback Cards */
.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feedback-item-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.feedback-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border-color: rgba(12, 74, 122, 0.1);
}
.feedback-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-item-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feedback-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(12, 74, 122, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.feedback-item-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feedback-item-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
}
.feedback-item-date {
  font-size: 0.75rem;
  color: #94a3b8;
}
.feedback-item-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  display: inline-flex;
  gap: 3px;
}
.feedback-item-message {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
  margin: 0;
}
.feedback-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.feedback-empty-state i {
  font-size: 2.5rem;
  color: #cbd5e1;
}

/* Spinner inside modal */
.feedback-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 15px;
  color: #64748b;
}
.feedback-loading-spinner i {
  color: var(--green);
  font-size: 2.5rem;
}

/* Style for View All trigger on hover */
.view-all-feedbacks-btn:hover {
  background: rgba(12, 74, 122, 0.1) !important;
  border-color: rgba(12, 74, 122, 0.25) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 74, 122, 0.08);
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .feedback-stats-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feedback-total-count {
    text-align: center;
  }
  .feedback-modal-header {
    padding: 18px 20px;
  }
  .feedback-modal-body {
    padding: 20px;
  }
}

/* Admin Reply Display */
.feedback-admin-reply {
  margin-top: 15px;
  background: #f8fafc;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  position: relative;
}
.feedback-admin-reply .admin-reply-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feedback-admin-reply .admin-reply-body {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
}

/* Like Buttons Styles */
.feedback-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.admin-reply-actions {
  display: flex;
  align-items: center;
  margin-top: 12px;
}
.feedback-like-btn {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  outline: none;
}
.feedback-like-btn i {
  transition: transform 0.2s ease;
}
.feedback-like-btn:hover {
  background: rgba(12, 74, 122, 0.06);
  color: var(--green);
  border-color: rgba(12, 74, 122, 0.2);
  transform: translateY(-2px);
}
.feedback-like-btn[data-action-type="dislike"]:hover {
  background: rgba(239, 68, 68, 0.06);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}
.feedback-like-btn.liked {
  background: rgba(12, 74, 122, 0.08);
  color: var(--green);
  border-color: rgba(12, 74, 122, 0.25);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(12, 74, 122, 0.08);
}
.feedback-like-btn.liked i {
  transform: scale(1.15) rotate(-5deg);
}
.feedback-like-btn:active {
  transform: scale(0.92) translateY(0);
}
.feedback-like-btn.liked:hover {
  background: rgba(12, 74, 122, 0.12);
  border-color: rgba(12, 74, 122, 0.3);
}
.feedback-like-btn.disliked {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.25);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.08);
}
.feedback-like-btn.disliked i {
  transform: scale(1.15) rotate(5deg);
  color: #ef4444;
}
.feedback-like-btn.disliked:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}
.feedback-like-btn.disliked:hover i {
  color: #ef4444;
}

/* ===== MOBILE SCROLL & PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Disable translation on mobile reveal animations to avoid dynamic layout/height changes and scroll shaking */
  .reveal {
    transform: none !important;
    transition: opacity 0.6s ease !important;
  }
}

/* Enable hardware acceleration for smooth GPU rendering */
.reveal {
  will-change: opacity;
}

.back-to-top {
  will-change: transform, opacity;
}
