/* ============================================================
   Kepolisian Daerah Banyuasin — Template Website Resmi
   Design: Premium Government / Law Enforcement Authority
   Colors: Navy, Black, White, Gold Accents
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Primary Palette */
  --navy-900: #0a1628;
  --navy-800: #0d1f3c;
  --navy-700: #112a50;
  --navy-600: #163564;
  --navy-500: #1b4078;
  --navy-400: #2563a0;
  --navy-300: #3b82c4;

  /* Gold Accents */
  --gold-500: #c9a84c;
  --gold-400: #d4b85c;
  --gold-300: #e0c96d;
  --gold-200: #e8d68a;
  --gold-100: #f5edc4;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e0c96d 50%, #c9a84c 100%);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #0a0a0a;

  /* Functional */
  --success: #198754;
  --danger: #dc3545;
  --info: #0dcaf0;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1280px;
  --container-padding: 0 40px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 25px rgba(201, 168, 76, 0.3);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-400);
}

/* ── Selection ── */
::selection {
  background: var(--gold-500);
  color: var(--white);
}


/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 60%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}


/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.top-bar-right a:hover {
  color: var(--gold-400);
}


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.99);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-brand img {
  height: 52px;
  width: auto;
  transition: transform var(--transition-base);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-text .brand-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.navbar-brand-text .brand-subtitle {
  font-size: 0.72rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 28px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--gold-400);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu > li > a .dropdown-arrow {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.nav-menu > li:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: rgba(13, 31, 60, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-top: 2px solid var(--gold-500);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: top left;
  transition: all var(--transition-smooth);
}

.nav-menu > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition-fast);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  color: var(--gold-400);
  background: rgba(201,168,76,0.06);
  padding-left: 30px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(13,31,60,0.85) 40%, rgba(10,22,40,0.92) 100%),
    url('../img/hero-global.jpg') center/cover no-repeat;
  z-index: 1;
}

/* Animated Pattern Overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--gold-500) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Gold line accents */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gold-500), transparent);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero h1 .gold-text {
  color: var(--gold-400);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.4);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  transform: translateY(-3px) scale(1.02);
  background: rgba(201, 168, 76, 0.05);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-500);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}

.section-tag::before {
  right: calc(100% + 12px);
}

.section-tag::after {
  left: calc(100% + 12px);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  font-weight: 700;
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.55);
}

/* Section Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 20px auto 0;
  border-radius: 3px;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  z-index: 2;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-tag::before {
  display: none;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: left;
}

.about-text {
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.9;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-700);
  font-weight: 500;
}

.about-feature-item .feature-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.05);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--gold-gradient);
  border-color: transparent;
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
}


/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  border: 1px solid var(--gray-200);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}

.news-thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--navy-900);
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-thumbnail img {
  transform: scale(1.05);
}

.news-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-thumbnail-placeholder {
  transform: scale(1.05);
}

.news-thumb-1 { background: linear-gradient(135deg, #1a365d, #2d5a8e); }
.news-thumb-2 { background: linear-gradient(135deg, #1e3a5f, #2a4a7f); }
.news-thumb-3 { background: linear-gradient(135deg, #162d50, #234875); }

.news-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-body {
  padding: 28px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.news-card:hover h3 {
  color: var(--navy-500);
}

.news-card .news-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-read-more:hover {
  color: var(--gold-400);
  gap: 10px;
}

.news-section-footer {
  text-align: center;
  margin-top: 50px;
}


/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: 
    linear-gradient(135deg, rgba(10,22,40,0.95), rgba(13,31,60,0.95)),
    url('../img/hero-global.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,168,76,0.08), transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(201,168,76,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.stat-sublabel {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}


/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-900);
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  height: 416px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform var(--transition-slow);
}

.gallery-item:nth-child(1) .gallery-placeholder {
  min-height: 420px;
}

.gallery-item:hover .gallery-placeholder {
  transform: scale(1.08);
}

.gal-1 { background: linear-gradient(135deg, #0d1f3c, #1b4078); }
.gal-2 { background: linear-gradient(135deg, #163564, #2563a0); }
.gal-3 { background: linear-gradient(135deg, #112a50, #1b4078); }
.gal-4 { background: linear-gradient(135deg, #0a1628, #163564); }
.gal-5 { background: linear-gradient(135deg, #1b4078, #3b82c4); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
}

.gallery-section-footer {
  text-align: center;
  margin-top: 40px;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(201,168,76,0.06), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(201,168,76,0.04), transparent 50%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-contact li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-contact li .contact-icon {
  width: 20px;
  text-align: center;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}


/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  color: var(--navy-900);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-gold);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}


/* ============================================================
   ANIMATIONS (Intersection Observer)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Large tablets / small desktops */
@media (max-width: 1024px) {
  :root {
    --container-padding: 0 24px;
    --section-padding: 80px 0;
  }

  .navbar .container {
    height: 70px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .gallery-item:nth-child(1) .gallery-placeholder {
    min-height: 280px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    transition: right var(--transition-smooth);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-menu > li > a {
    padding: 16px 0;
    font-size: 0.95rem;
  }

  .nav-menu > li > a::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    background: rgba(0,0,0,0.2);
    border: none;
    border-top: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 16px;
  }

  .dropdown-menu.mobile-open {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --container-padding: 0 16px;
    --section-padding: 60px 0;
  }

  .navbar .container {
    height: 64px;
  }

  .navbar-brand img {
    height: 40px;
  }

  .navbar-brand-text .brand-title {
    font-size: 0.95rem;
  }

  .navbar-brand-text .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: auto;
  }

  .gallery-item:nth-child(1) .gallery-placeholder {
    min-height: 200px;
  }

  .cta-actions {
    flex-direction: column;
  }
}

/* ============================================================
   INNER PAGE HEADER (HERO BREADCRUMB)
   ============================================================ */
.page-header {
  position: relative;
  background: var(--navy-900);
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(10,22,40,0.85), rgba(10,22,40,0.85)),
    url('../img/page-header-global.jpg') center/cover no-repeat;
  z-index: 1;
}

.page-header-title {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: var(--gold-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb-sep {
  font-size: 0.7rem;
}

/* ============================================================
   INNER PAGE SPECIFIC LAYOUTS
   ============================================================ */
/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: rgba(201,168,76,0.2);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--navy-900);
  border: 4px solid var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(201,168,76,0.5);
}
.timeline-date {
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}
.accordion-header {
  padding: 20px;
  background: var(--gray-50);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-900);
}
.accordion-content {
  padding: 20px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  display: none;
  color: var(--gray-700);
  line-height: 1.8;
}

/* Org Chart List */
.org-list {
  list-style: none;
  padding-left: 0;
}
.org-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold-500);
  padding: 24px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.org-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

/* Data Table */
.data-table-wrapper {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.data-table th, .data-table td {
  padding: 16px;
  border: 1px solid var(--gray-300);
  text-align: left;
}
.data-table th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
}
.data-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

/* Profiles Grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.profile-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-sm);
}
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--gray-200);
  border: 4px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-400);
}
.profile-name {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 6px;
}
.profile-rank {
  color: var(--gold-500);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

