/* ==========================================================================
   HALTON REGIONAL POLICE SERVICE - OFFICIAL PORTAL STYLESHEET
   Design System: Deep Navy Civic Authority, Clean White Content & Gold Accents
   WCAG 2.1 AA Accessible | Fully Responsive | GSAP Enhanced
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM VARIABLES & ROOT TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Authority Navy & Police Blue */
  --hrps-navy-950: #050d1a;
  --hrps-navy-900: #0a1628;
  --hrps-navy-850: #0e1e38;
  --hrps-navy-800: #13274a;
  --hrps-navy-700: #1b355f;
  --hrps-navy-600: #25467c;
  --hrps-navy-500: #335999;

  /* Brand Accents */
  --hrps-gold: #e5a823;
  --hrps-gold-light: #fcd34d;
  --hrps-gold-dark: #b88210;
  --hrps-gold-glow: rgba(229, 168, 35, 0.25);

  --hrps-cyan: #0284c7;
  --hrps-cyan-bright: #0ea5e9;
  --hrps-cyan-glow: rgba(14, 165, 233, 0.25);

  /* Emergency Red */
  --hrps-emergency: #dc2626;
  --hrps-emergency-hover: #b91c1c;
  --hrps-emergency-glow: rgba(220, 38, 38, 0.35);

  /* Status Colors */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-info: #0284c7;

  /* Surfaces & Backgrounds */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-subtle-blue: #eef4fb;
  --bg-dark-section: #081324;
  --bg-card-dark: #0f2240;

  /* Text Colors */
  --text-primary: #0a1628;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* Borders */
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-dark-hover: rgba(229, 168, 35, 0.4);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 22, 40, 0.05);
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 6px 20px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 14px 34px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 24px 50px rgba(10, 22, 40, 0.16);
  --shadow-card-hover: 0 20px 40px -10px rgba(10, 22, 40, 0.15);
  --shadow-glow-gold: 0 0 25px rgba(229, 168, 35, 0.3);

  /* Typography: Global Roboto */
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Roboto', ui-monospace, SFMono-Regular, monospace;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure typography and form controls inherit Roboto naturally */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
div,
span,
label,
li,
td,
th {
  font-family: var(--font-main);
}

button,
input,
select,
textarea,
optgroup {
  font-family: var(--font-main);
}

/* ==========================================================================
   FONT AWESOME SHIELD & IMMUNITY
   Prevents any font inheritance or overrides from breaking Font Awesome icons.
   ========================================================================== */
.fa,
.fas,
.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.far,
.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fab,
.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Explicitly force all Font Awesome icon pseudo-elements to inherit icon font */
.fa::before,
.fas::before,
.far::before,
.fab::before,
.fa-solid::before,
.fa-regular::before,
.fa-brands::before,
[class*="fa-"]::before,
[class^="fa-"]::before {
  font-family: inherit !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
  padding: 10px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--trans-fast);
  text-decoration: none;
}

.skip-link:focus {
  top: 15px;
  outline: 3px solid #ffffff;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--hrps-navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--hrps-navy-700);
  text-decoration: none;
  transition: color var(--trans-fast), transform var(--trans-fast);
}

a:hover {
  color: var(--hrps-gold-dark);
}

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

/* Focus Visible for High Accessibility */
:focus-visible {
  outline: 3px solid var(--hrps-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. HEADER OVERLAY WRAPPER & TOP NOTIFICATION BAR
   -------------------------------------------------------------------------- */
.site-header-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  pointer-events: none;
}

.site-header-wrapper .top-notice-bar,
.site-header-wrapper .main-header {
  pointer-events: auto;
}

.top-notice-bar {
  background: rgba(5, 13, 26, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light-muted);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1050;
  padding: 6px 0;
}

/* Top Utility Navigation Links */
.top-utility-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-utility-link {
  color: #cbd5e1;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--trans-fast);
  white-space: nowrap;
}

.top-utility-link:hover {
  color: #ffc107;
}

/* Yellow "I Want To" Button */
.btn-top-iwantto {
  background-color: #ffc107;
  color: #050d1a;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 5px 14px;
  border-radius: 4px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.01em;
  transition: all var(--trans-fast);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
}

.btn-top-iwantto:hover,
.btn-top-iwantto:focus {
  background-color: #ffca2c;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-top-iwantto.no-arrow::after {
  display: none;
}

.top-iwantto-menu {
  background: #091528;
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-top: 3px solid #ffc107;
  border-radius: var(--radius-sm);
  min-width: 260px;
  padding: 8px 0;
  z-index: 1100;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.top-iwantto-menu .dropdown-header {
  color: #ffc107;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 8px 18px 4px;
}

.top-iwantto-menu .dropdown-item {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  transition: all var(--trans-fast);
}

.top-iwantto-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffc107;
  padding-left: 22px;
}

.top-iwantto-menu .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.emergency-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--hrps-emergency);
  color: #ffffff;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  animation: subtlePulse 2.5s infinite;
  text-decoration: none;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.emergency-pill:hover {
  background-color: var(--hrps-emergency-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

@keyframes subtlePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.top-bar-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--trans-fast);
}

.top-bar-link:hover {
  color: #ffffff;
}

.top-bar-link strong {
  color: #ffffff;
}



/* --------------------------------------------------------------------------
   4. STICKY / FIXED HEADER & MEGA-NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  background: linear-gradient(180deg, rgba(5, 13, 26, 0.72) 0%, rgba(7, 16, 31, 0.45) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.main-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060;
  background: rgba(6, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(229, 168, 35, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  transition: padding var(--trans-normal);
}

.main-header.scrolled .header-container {
  padding: 8px 0;
}

/* Brand / Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-crest {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform var(--trans-normal);
}

.brand-link:hover .brand-crest {
  transform: scale(1.05);
}

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

.brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-title-accent {
  color: var(--hrps-gold);
}

.brand-tagline {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  cursor: pointer;
  border: none;
  background: transparent;
  text-decoration: none;
}

.nav-link-custom:hover,
.nav-item:hover>.nav-link-custom,
.nav-link-custom.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-custom i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform var(--trans-normal);
  color: #94a3b8;
}

.nav-item:hover>.nav-link-custom i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--hrps-gold);
}

/* Animated Underline */
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--hrps-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--trans-fast);
  transform-origin: center;
}

.nav-link-custom:hover::after,
.nav-item:hover>.nav-link-custom::after {
  transform: scaleX(1);
}

/* Mega-Menu & Dropdowns */
.mega-menu,
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0c1a30;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--hrps-gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  padding: 24px;
  display: none;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 1060;
  backdrop-filter: blur(20px);
}

.nav-item:hover>.mega-menu,
.nav-item:hover>.dropdown-menu-custom,
.nav-item.open>.mega-menu,
.nav-item.open>.dropdown-menu-custom {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: dropdownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.mega-menu-wide {
  width: 780px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
}

.nav-item:hover>.mega-menu-wide {
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-regular {
  min-width: 320px;
}

.mega-col-title {
  color: var(--hrps-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-item-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  text-decoration: none;
  transition: all var(--trans-fast);
  margin-bottom: 4px;
}

.mega-item-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateX(4px);
}

.mega-item-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(229, 168, 35, 0.12);
  color: var(--hrps-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.mega-item-link:hover .mega-item-icon {
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
}

.mega-item-heading {
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.mega-item-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-trigger-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.search-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.btn-header-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hrps-emergency);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 4px 14px var(--hrps-emergency-glow);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.btn-header-emergency:hover {
  background: var(--hrps-emergency-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5);
}

.btn-header-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--hrps-gold);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.btn-header-report:hover {
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.35rem;
  padding: 8px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. HERO FULLSCREEN SLIDER SECTION (100% Fullscreen, Left Content, Right Cutout)
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
  background-color: #07101f;
  background-image:
    radial-gradient(circle at 75% 40%, rgba(20, 50, 95, 0.8) 0%, rgba(7, 16, 31, 0.98) 65%),
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 45%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Subtle background atmosphere texture & bokeh */
.hero-slider-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 40px 70px, rgba(245, 166, 35, 0.18), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

#heroCarousel,
.hero-carousel-inner,
.hero-carousel-item {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-carousel-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  overflow: hidden;
}

/* Photographic Background Image & Cinematic Atmosphere Overlay */
.hero-background-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.62) contrast(1.12);
}

.carousel-item.active .hero-bg-img {
  transform: scale(1.14);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(5, 13, 26, 0.95) 0%,
      rgba(7, 16, 31, 0.88) 40%,
      rgba(10, 22, 40, 0.65) 70%,
      rgba(5, 13, 26, 0.85) 100%);
  z-index: 2;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.5;
}

.hero-slide-row {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 30px;
}

/* Left Content Column */
.hero-left-col {
  position: relative;
  z-index: 10;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5a623;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-slider-title {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title-yellow {
  color: #f5a623;
  display: inline;
}

.hero-slider-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 34px;
  font-weight: 400;
}

/* Dual CTA Buttons (Yellow & White) */
.hero-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 88px;
}

.btn-hero-yellow {
  background: #f5a623;
  color: #08111e;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.4);
  transition: all var(--trans-fast);
  border: none;
}

.btn-hero-yellow:hover {
  background: #ffb73b;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.6);
}

.btn-hero-white {
  background: #ffffff;
  color: #08111e;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all var(--trans-fast);
  border: none;
}

.btn-hero-white:hover {
  background: #f1f5f9;
  color: #08111e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* 3 Key Metrics Row */
.hero-metrics-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 14px;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: #f5a623;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  opacity: 0.95;
}

/* Right Content Column: Cutout Officer Image */
.hero-right-col {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-cutout-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-officer-cutout {
  max-height: 88vh;
  max-height: 88dvh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item.active .hero-officer-cutout {
  animation: heroCutoutFloat 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCutoutFloat {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

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

/* Slider Navigation Controls */
.hero-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 20;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--trans-fast);
}

.hero-slider-nav-btn:hover {
  background: #f5a623;
  color: #08111e;
  border-color: #f5a623;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
  left: 20px;
}

.hero-slider-next {
  right: 20px;
}

/* Slider Indicators */
.hero-slider-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-slider-indicators button {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--trans-fast);
  padding: 0;
}

.hero-slider-indicators button.active {
  width: 48px;
  background: #f5a623;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.8);
}

/* --------------------------------------------------------------------------
   6. FLOATING QUICK ACTION PANEL
   -------------------------------------------------------------------------- */
.floating-actions-wrapper {
  position: relative;
  z-index: 25;
  margin-top: -70px;
  padding-top: 0;
  margin-bottom: 45px;
}

.floating-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.quick-action-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 4px solid var(--card-accent, #1b355f);
  border-radius: 12px;
  padding: 24px 18px 20px;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 215px;
}

/* Base top accent border bar */
.quick-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, #1b355f);
  transition: height var(--trans-fast), background var(--trans-fast);
}

.quick-action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(10, 22, 40, 0.18), 0 6px 14px rgba(0, 0, 0, 0.08);
}

.quick-action-card:hover::before {
  height: 6px;
}

/* Individual Card Accent Colors (Sab me alag-alag border color) */

/* Card 1: Report a Crime (Crimson Red) */
.quick-action-card.card-crime,
.quick-action-card:nth-child(1) {
  --card-accent: #d4901e;
}

.quick-action-card.card-crime .qa-icon-wrap,
.quick-action-card:nth-child(1) .qa-icon-wrap {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.quick-action-card.card-crime:hover .qa-icon-wrap,
.quick-action-card:nth-child(1):hover .qa-icon-wrap {
  background: #dc2626;
  color: #ffffff;
}

.quick-action-card.card-crime:hover .qa-card-arrow,
.quick-action-card:nth-child(1):hover .qa-card-arrow {
  color: #dc2626;
}

.quick-action-card.card-crime:hover,
.quick-action-card:nth-child(1):hover {
  border-color: rgba(220, 38, 38, 0.35);
}

/* Card 2: Report Collision (Royal Blue) */
.quick-action-card.card-collision,
.quick-action-card:nth-child(2) {
  --card-accent: #d4901e;
}

.quick-action-card.card-collision .qa-icon-wrap,
.quick-action-card:nth-child(2) .qa-icon-wrap {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}

.quick-action-card.card-collision:hover .qa-icon-wrap,
.quick-action-card:nth-child(2):hover .qa-icon-wrap {
  background: #1d4ed8;
  color: #ffffff;
}

.quick-action-card.card-collision:hover .qa-card-arrow,
.quick-action-card:nth-child(2):hover .qa-card-arrow {
  color: #1d4ed8;
}

.quick-action-card.card-collision:hover,
.quick-action-card:nth-child(2):hover {
  border-color: rgba(29, 78, 216, 0.35);
}

/* Card 3: Non-Emergency Line (Golden Amber / Warm Orange) */
.quick-action-card.card-non-emergency,
.quick-action-card:nth-child(3) {
  --card-accent: #d4901e;
}

.quick-action-card.card-non-emergency .qa-icon-wrap,
.quick-action-card:nth-child(3) .qa-icon-wrap {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

.quick-action-card.card-non-emergency:hover .qa-icon-wrap,
.quick-action-card:nth-child(3):hover .qa-icon-wrap {
  background: #ea580c;
  color: #ffffff;
}

.quick-action-card.card-non-emergency:hover .qa-card-arrow,
.quick-action-card:nth-child(3):hover .qa-card-arrow {
  color: #ea580c;
}

.quick-action-card.card-non-emergency:hover,
.quick-action-card:nth-child(3):hover {
  border-color: rgba(234, 88, 12, 0.35);
}

/* Card 4: Interactive Crime Map (Geospatial Teal / Cyan) */
.quick-action-card.card-crime-map,
.quick-action-card:nth-child(4) {
  --card-accent: #d4901e;
}

.quick-action-card.card-crime-map .qa-icon-wrap,
.quick-action-card:nth-child(4) .qa-icon-wrap {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

.quick-action-card.card-crime-map:hover .qa-icon-wrap,
.quick-action-card:nth-child(4):hover .qa-icon-wrap {
  background: #0d9488;
  color: #ffffff;
}

.quick-action-card.card-crime-map:hover .qa-card-arrow,
.quick-action-card:nth-child(4):hover .qa-card-arrow {
  color: #0d9488;
}

.quick-action-card.card-crime-map:hover,
.quick-action-card:nth-child(4):hover {
  border-color: rgba(13, 148, 136, 0.35);
}

/* Card 5: Police Detachments (Stations & Divisions Royal Indigo) */
.quick-action-card.card-detachments,
.quick-action-card:nth-child(5) {
  --card-accent: #d4901e;
}

.quick-action-card.card-detachments .qa-icon-wrap,
.quick-action-card:nth-child(5) .qa-icon-wrap {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.quick-action-card.card-detachments:hover .qa-icon-wrap,
.quick-action-card:nth-child(5):hover .qa-icon-wrap {
  background: #6366f1;
  color: #ffffff;
}

.quick-action-card.card-detachments:hover .qa-card-arrow,
.quick-action-card:nth-child(5):hover .qa-card-arrow {
  color: #6366f1;
}

.quick-action-card.card-detachments:hover,
.quick-action-card:nth-child(5):hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.qa-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
  transition: transform var(--trans-fast), background var(--trans-fast), color var(--trans-fast);
}

.quick-action-card:hover .qa-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.qa-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hrps-navy-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.qa-card-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 14px;
  flex-grow: 1;
}

.qa-card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hrps-navy-700);
  transition: gap var(--trans-fast), color var(--trans-fast);
  margin-top: auto;
}

.quick-action-card:hover .qa-card-arrow {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   7. "HOW CAN WE HELP?" SERVICE GRID SECTION
   -------------------------------------------------------------------------- */
.services-section {
  padding: 80px 0 100px;
  background-color: var(--bg-body);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hrps-gold-subtle, rgba(229, 168, 35, 0.12));
  color: var(--hrps-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hrps-gold-light);
  border: 1px solid rgba(229, 168, 35, 0.3);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--hrps-navy-950);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-title-dark {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.section-subtitle-dark {
  color: #94a3b8;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--trans-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color var(--trans-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::after {
  border-color: var(--hrps-gold);
}

.service-card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle-blue);
  color: var(--hrps-navy-700);
  margin-bottom: 20px;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--hrps-navy-900) 0%, var(--hrps-navy-700) 100%);
  color: var(--hrps-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 20px;
  transition: all var(--trans-fast);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--hrps-gold-light) 0%, var(--hrps-gold) 100%);
  color: var(--hrps-navy-950);
  transform: scale(1.1) rotate(5deg);
}

.service-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--hrps-navy-900);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hrps-navy-800);
  text-decoration: none;
  transition: all var(--trans-fast);
  margin-top: auto;
}

.service-card-link i {
  font-size: 0.8rem;
  transition: transform var(--trans-fast);
}

.service-card:hover .service-card-link {
  color: var(--hrps-gold-dark);
}

.service-card:hover .service-card-link i {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   8. LATEST NEWS & UPDATES (EDITORIAL STYLE)
   -------------------------------------------------------------------------- */
.news-section {
  padding: 100px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.news-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.news-filter-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--hrps-navy-900);
  color: #ffffff;
  border-color: var(--hrps-navy-900);
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 22, 40, 0.2);
}

.news-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.news-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(6px);
  color: var(--hrps-gold);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 168, 35, 0.4);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-meta i {
  color: var(--hrps-navy-500);
}

.news-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hrps-navy-950);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color var(--trans-fast);
}

.news-card:hover .news-headline {
  color: var(--hrps-navy-600);
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--hrps-navy-800);
  text-decoration: none;
  transition: all var(--trans-fast);
  margin-top: auto;
}

.news-link i {
  transition: transform var(--trans-fast);
}

.news-card:hover .news-link {
  color: var(--hrps-gold-dark);
}

.news-card:hover .news-link i {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   9. COMMUNITY SAFETY SPLIT SECTION
   -------------------------------------------------------------------------- */
.community-section {
  padding: 110px 0;
  background-color: var(--bg-body);
  position: relative;
  overflow: hidden;
}

.community-img-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.community-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.floating-stat-badge {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 290px;
  backdrop-filter: blur(10px);
}

.floating-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.floating-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hrps-navy-950);
  line-height: 1.1;
}

.floating-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.community-pillar-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.community-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle-blue);
  color: var(--hrps-navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hrps-navy-900);
  margin-bottom: 3px;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. SPECIALIZED SERVICES GRID
   -------------------------------------------------------------------------- */
.services-grid-section {
  padding: 100px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.service-box {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--trans-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 168, 35, 0.4);
}

.service-box-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--hrps-navy-900);
  color: var(--hrps-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform var(--trans-fast);
}

.service-box:hover .service-box-icon {
  transform: scale(1.1) rotate(-6deg);
}

.service-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hrps-navy-900);
  margin-bottom: 8px;
}

.service-box-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-box-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hrps-navy-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.service-box:hover .service-box-link {
  color: var(--hrps-gold-dark);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   11. CRIME & COMMUNITY SITUATIONAL INTELLIGENCE (DARK FEATURE SECTION)
   -------------------------------------------------------------------------- */
.intel-section {
  padding: 110px 0;
  background-color: var(--bg-dark-section);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.intel-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0) 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  filter: blur(80px);
}

.intel-radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.intel-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
  width: fit-content;
}

.intel-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans-fast);
}

.intel-tab-btn.active,
.intel-tab-btn:hover {
  background: var(--hrps-navy-700);
  color: #ffffff;
}

.intel-tab-btn.active {
  background: linear-gradient(135deg, var(--hrps-gold) 0%, var(--hrps-gold-dark) 100%);
  color: var(--hrps-navy-950);
}

/* Interactive Crime Map Display Canvas */
.map-canvas-card {
  background: #09172c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.map-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(5, 13, 26, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #10b981;
}

.map-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.map-zone-filter {
  display: flex;
  gap: 6px;
}

.zone-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.zone-chip.active,
.zone-chip:hover {
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
  border-color: var(--hrps-gold);
}

.map-viewport {
  position: relative;
  height: 480px;
  background: #061122;
  overflow: hidden;
}

.svg-map-render {
  width: 100%;
  height: 100%;
}

.map-pin {
  cursor: pointer;
  transition: transform var(--trans-fast);
}

.map-pin:hover {
  transform: scale(1.3);
}

/* Map Interactive Side Panel */
.map-incident-panel {
  background: rgba(8, 19, 36, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  height: 480px;
  overflow-y: auto;
}

.incident-card-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.incident-card-item:hover,
.incident-card-item.selected {
  background: rgba(229, 168, 35, 0.12);
  border-color: var(--hrps-gold);
  transform: translateX(4px);
}

.incident-type-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 6px;
}

.badge-theft {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.badge-traffic {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.badge-breakin {
  background: rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
}

.badge-patrol {
  background: rgba(14, 165, 233, 0.25);
  color: #bae6fd;
}

.incident-meta-time {
  font-size: 0.72rem;
  color: #94a3b8;
  float: right;
}

.incident-location {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.incident-summary {
  font-size: 0.76rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.35;
}

/* Crime Stoppers Callout */
.crimestoppers-banner {
  background: linear-gradient(135deg, #162c50 0%, #0d1e37 100%);
  border: 1px solid rgba(229, 168, 35, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cs-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 18px var(--hrps-gold-glow);
  transition: all var(--trans-fast);
}

.cs-phone-btn:hover {
  background: #ffffff;
  color: var(--hrps-navy-950);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. MESSAGE FROM THE CHIEF
   -------------------------------------------------------------------------- */
.chief-section {
  padding: 110px 0;
  background-color: var(--bg-body);
}

.chief-card-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.chief-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
}

.chief-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 13, 26, 0.2) 0%,
      rgba(5, 13, 26, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-xl);
}

.pulse-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  padding-left: 5px;
  box-shadow: 0 0 0 0 rgba(229, 168, 35, 0.7);
  animation: playPulse 2s infinite;
  transition: transform var(--trans-fast);
}

.chief-video-overlay:hover .pulse-play-btn {
  transform: scale(1.12);
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 168, 35, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(229, 168, 35, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 168, 35, 0);
  }
}

.chief-badge-plate {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 168, 35, 0.3);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.chief-quote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--hrps-navy-900);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 28px;
  border-left: 4px solid var(--hrps-gold);
}

.chief-credentials {
  margin-bottom: 28px;
}

.chief-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hrps-navy-950);
  margin-bottom: 4px;
}

.chief-rank {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hrps-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   13. STATISTICS FULL-WIDTH ANIMATED STRIP
   -------------------------------------------------------------------------- */
.stats-strip {
  background: linear-gradient(135deg, var(--hrps-navy-950) 0%, var(--hrps-navy-900) 50%, var(--hrps-navy-850) 100%);
  color: #ffffff;
  padding: 80px 0;
  border-top: 1px solid rgba(229, 168, 35, 0.25);
  border-bottom: 1px solid rgba(229, 168, 35, 0.25);
  position: relative;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 16px;
  position: relative;
}

.stat-number {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-number-accent {
  color: var(--hrps-gold);
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. COMMUNITY & SOCIAL MEDIA HUB
   -------------------------------------------------------------------------- */
.social-section {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.social-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-sm);
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.social-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.social-network-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
}

.icon-x {
  background: #000000;
}

.icon-facebook {
  background: #1877f2;
}

.icon-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.icon-youtube {
  background: #ff0000;
}

.social-handle {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--hrps-navy-950);
}

.social-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.social-snippet {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-social-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--trans-fast);
  margin-top: auto;
}

.social-card:hover .btn-social-follow {
  background: var(--hrps-navy-900);
  color: #ffffff;
  border-color: var(--hrps-navy-900);
}

/* --------------------------------------------------------------------------
   15. TOURLY STYLE ROYAL BLUE CARD FOOTER
   -------------------------------------------------------------------------- */
.footer-wrapper.style-two {
  background-color: #00026e;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  padding: 75px 0 0 0;
  box-shadow: 0 20px 60px rgba(0, 2, 110, 0.35);
}

.footer-wrapper.style-two .footer-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #0b131e;
  pointer-events: none;
}

.footer-card {
  position: relative;
  z-index: 2;
}

.footer-brand-crest {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Subscribe Pill Form */
.footer-card .subscribe-form {
  position: relative;
  z-index: 2;
}

.footer-card .subscribe-form .form-control {
  border-radius: 999px;
  background-color: #ffffff;
  width: 100%;
  height: 52px;
  position: relative;
  z-index: 1;
  color: #00026e;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  padding-left: 24px;
  padding-right: 76px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.footer-card .subscribe-form .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 8, 202, 0.4);
}

.footer-card .subscribe-form .btn-submit {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border-radius: 999px;
  background-color: #0008ca;
  color: #ffffff;
  width: 52px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  z-index: 2;
  transition: all 0.3s ease;
  font-size: 15px;
}

.footer-card .subscribe-form .btn-submit:hover {
  background-color: #00026e;
  transform: translateX(2px);
}

/* Social Nav */
.footer-card .social-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-card .social-nav a {
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-card .social-nav a:hover {
  background-color: #0008ca;
  border-color: #0008ca;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 8, 202, 0.4);
}

/* Card Titles with Underline Accent */
.footer-card .card-title {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 35px;
  letter-spacing: -0.01em;
}

.footer-card .card-title:before {
  width: 48px;
  height: 2px;
  bottom: -14px;
  left: 0;
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
}

.footer-card .card-title:after {
  width: 9px;
  height: 2px;
  bottom: -14px;
  left: 54px;
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
}

/* Footer Nav Links */
.footer-card .footer-nav {
  display: flex;
  list-style: none;
  flex-direction: column;
  gap: 13px;
  padding-left: 0;
  margin: 0;
}

.footer-card .footer-nav li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-card .footer-nav li a:hover {
  color: #ffc107;
  padding-left: 6px;
}

/* Contact Cards */
.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-contact-card .icon {
  border-radius: 8px;
  background: #0008ca;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 8, 202, 0.35);
}

.footer-contact-card:hover .icon {
  background: #ffc107;
  color: #00026e;
  transform: scale(1.06);
}

.footer-contact-card p,
.footer-contact-card a {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.5;
}

/* Copyright Row */
.copyright-wrapper {
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  position: relative;
  z-index: 2;
}

/* Floating Back To Top Button matching Tourly blue style */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0008ca;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 22px rgba(0, 8, 202, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1030;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--trans-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: #00026e;
  color: #ffc107;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 26px rgba(0, 8, 202, 0.7);
}

/* --------------------------------------------------------------------------
   16. SEARCH MODAL & VIDEO MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop-custom {
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(12px);
}

.modal-content-police {
  background: #0c1a30;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--hrps-gold);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal-header-police {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
}

.search-input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 1.15rem;
  color: #ffffff;
  transition: all var(--trans-fast);
}

.search-input-field:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hrps-gold);
  outline: none;
}

.quick-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.quick-tag:hover {
  background: var(--hrps-gold);
  color: var(--hrps-navy-950);
}

/* --------------------------------------------------------------------------
   17. MOBILE OFF-CANVAS NAVIGATION
   -------------------------------------------------------------------------- */
.offcanvas-police {
  background-color: var(--hrps-navy-950);
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  width: 340px;
}

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: var(--hrps-gold);
}

.mobile-submenu {
  list-style: none;
  padding: 8px 0 8px 16px;
  margin: 0;
  display: none;
}

.mobile-submenu.show {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 8px 0;
  color: #94a3b8;
  font-size: 0.88rem;
  text-decoration: none;
}

.mobile-sub-link:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINT REFINEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .floating-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mega-menu-wide {
    width: 680px;
  }
}

@media (max-width: 991.98px) {

  .nav-menu,
  .btn-header-report,
  .search-trigger-btn {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-slide-row {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-left-col {
    padding-right: 0;
    margin-top: 20px;
  }

  .hero-slider-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn-group {
    justify-content: center;
  }

  .hero-metrics-row {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
  }

  .hero-officer-cutout {
    max-height: 48vh;
  }

  .hero-slider-nav-btn {
    display: none;
  }

  .floating-actions-wrapper {
    margin-top: -30px;
  }

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

  .community-main-img,
  .chief-img {
    height: 380px;
  }

  .floating-stat-badge {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }

  .map-incident-panel {
    height: 300px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 575.98px) {
  .top-notice-bar {
    font-size: 0.72rem;
  }

  .brand-crest {
    width: 44px;
    height: 44px;
  }

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

  .brand-tagline {
    font-size: 0.65rem;
  }

  .hero-slider-title {
    font-size: 1.95rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-yellow,
  .btn-hero-white {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-officer-cutout {
    max-height: 38vh;
  }

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

  .community-main-img,
  .chief-img {
    height: 280px;
  }
}

/* --------------------------------------------------------------------------
   18B. RESCUEX BLOG & SECURITY UPDATES SECTION (STICKY & SCROLL ANIMATION)
   -------------------------------------------------------------------------- */
.blog-rescuex-section {
  background-color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: visible;
}

.blog-section-row {
  position: relative;
}

.blog-sticky-col {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 110px !important;
  align-self: flex-start !important;
  z-index: 20;
}

.blog-sticky-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 110px !important;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 15px;
}

/* Tag Pill with Flame */
.blog-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blog-flame-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a1628;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
  flex-shrink: 0;
}

.blog-pill-tag {
  background-color: #f5a623;
  color: #08111e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 999px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 12px rgba(245, 166, 35, 0.3);
}

/* Section Title & Subtitle */
.blog-section-title {
  font-size: clamp(2.35rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0a1628;
  letter-spacing: -0.025em;
  margin-top: 16px;
  margin-bottom: 20px;
}

.blog-section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #556274;
  margin-bottom: 24px;
  max-width: 420px;
}

/* RescueX Pill Button with Attached Arrow Circle */
.btn-rescuex-pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-rescuex-text {
  background-color: #f5a623;
  color: #08111e;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: all 0.3s ease;
  line-height: 1.2;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.35);
}

.btn-rescuex-icon {
  width: 48px;
  height: 48px;
  background-color: #050b14;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  box-shadow: 0 4px 14px rgba(5, 11, 20, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-rescuex-icon svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-rescuex-pill:hover .btn-rescuex-text {
  background-color: #ffb73b;
  color: #000000;
  transform: translateX(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.55);
}

.btn-rescuex-pill:hover .btn-rescuex-icon {
  background-color: #08111e;
  transform: scale(1.08);
}

.btn-rescuex-pill:hover .btn-rescuex-icon svg {
  transform: translate(3px, -3px);
}

/* Small Variant for Cards */
.btn-rescuex-sm .btn-rescuex-text {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn-rescuex-sm .btn-rescuex-icon {
  width: 38px;
  height: 38px;
  margin-left: 5px;
}

/* Stacked Blog Cards */
.blog-cards-stack {
  position: relative;
}

.blog-rescuex-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 14px;
  border: 1px solid rgba(10, 22, 40, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.03);
}

.blog-card-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.blog-card-media {
  flex: 0 0 420px;
  max-width: 420px;
  height: 275px;
  border-radius: 22px;
  overflow: hidden;
  background-color: #f1f5f9;
  position: relative;
}

.blog-img-zoom-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.blog-card-content {
  flex: 1 1 auto;
  padding: 10px 18px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Card Meta Row */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.meta-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: rgba(245, 166, 35, 0.14);
  color: #0a1628;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.meta-date-badge i {
  color: #d97706;
}

.meta-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
}

.meta-time-badge i {
  color: #475569;
}

/* Card Title */
.blog-card-title {
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.32;
  color: #0a1628;
  margin-bottom: 12px;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Card Excerpt */
.blog-card-excerpt {
  font-size: 0.96rem;
  line-height: 1.62;
  color: #526071;
  margin-bottom: 18px;
}

/* Card Hover & Active Scroll States */
.blog-rescuex-card:hover,
.blog-rescuex-card.is-active {
  border-color: rgba(181, 181, 255, 0.6);
  box-shadow: 0 20px 48px rgba(10, 22, 40, 0.08);
  transform: translateY(-4px);
}

.blog-rescuex-card:hover .blog-card-img {
  transform: scale(1.06);
  filter: brightness(1.03);
}

.blog-rescuex-card:hover .blog-card-title a {
  color: #1b355f;
}

.blog-rescuex-card:hover .btn-rescuex-icon svg {
  transform: translate(2px, -2px);
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) {
  .blog-card-media {
    flex: 0 0 340px;
    max-width: 340px;
    height: 250px;
  }

  .blog-card-inner {
    gap: 22px;
  }

  .blog-card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 991.98px) {
  .blog-rescuex-section {
    padding: 60px 0;
  }

  .blog-sticky-sidebar {
    position: static;
    margin-bottom: 40px;
    padding-right: 0;
  }

  .blog-card-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .blog-card-media {
    flex: 0 0 100%;
    max-width: 100%;
    height: 240px;
  }

  .blog-card-content {
    padding: 0 6px 6px;
  }
}

/* --------------------------------------------------------------------------
   18C. BUILTEX STYLE YOUTH ENGAGEMENT VIDEO CALLOUT SECTION
   -------------------------------------------------------------------------- */
.builtex-intro-video {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background-color: #071224;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.builtex-intro-video .intro-bg-video {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.builtex-intro-video .intro-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builtex-intro-video .intro-video-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(90deg, #071224 0%, rgba(7, 18, 36, 0.92) 44%, rgba(7, 18, 36, 0.60) 68%, rgba(7, 18, 36, 0.15) 100%);
}

.builtex-sub-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 22px;
}

.builtex-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #f7ce3e;
  display: inline-block;
  box-shadow: 0 0 10px rgba(247, 206, 62, 0.8);
}

.builtex-main-title {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 720px;
}

.builtex-lead-text {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  max-width: 620px;
}

/* Yellow Button matching Builtex */
.btn-builtex-highlighted {
  background-color: #f7ce3e;
  color: #071224 !important;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 34px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(247, 206, 62, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-builtex-highlighted:hover {
  background-color: #ffffff;
  color: #071224 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-builtex-highlighted svg {
  transition: transform 0.3s ease;
}

.btn-builtex-highlighted:hover svg {
  transform: translate(2px, -2px);
}

/* Circular Yellow Phone Item */
.intro-video-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro-video-contact-item .icon-box-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #f7ce3e;
  color: #071224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.35s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(247, 206, 62, 0.3);
}

.intro-video-contact-item:hover .icon-box-circle {
  transform: scale(1.1);
  background-color: #ffffff;
  color: #071224;
}

.intro-video-contact-item-content h3 a {
  transition: color 0.25s ease;
}

.intro-video-contact-item-content h3 a:hover {
  color: #f7ce3e !important;
}

/* Play Button with Pulse Animation */
.intro-video-play-btn {
  display: inline-block;
  position: relative;
}

.builtex-play-trigger {
  display: inline-block;
  text-decoration: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.play-icon-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background-color: #0d1e38;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 16px rgba(13, 30, 56, 0.5), 0 0 0 32px rgba(13, 30, 56, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  animation: builtexPulse 2.4s infinite;
}

.play-icon-circle i {
  margin-left: 4px;
}

@keyframes builtexPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 206, 62, 0.6), 0 0 0 16px rgba(13, 30, 56, 0.5), 0 0 0 32px rgba(13, 30, 56, 0.25);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(247, 206, 62, 0), 0 0 0 24px rgba(13, 30, 56, 0.35), 0 0 0 44px rgba(13, 30, 56, 0.1);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(247, 206, 62, 0), 0 0 0 16px rgba(13, 30, 56, 0.5), 0 0 0 32px rgba(13, 30, 56, 0.25);
  }
}

.builtex-play-trigger:hover .play-icon-circle {
  background-color: #f7ce3e;
  color: #071224;
  transform: scale(1.1);
}

@media (max-width: 991.98px) {
  .builtex-intro-video {
    padding: 70px 0;
  }

  .builtex-intro-video .intro-video-overlay {
    background: rgba(7, 18, 36, 0.88);
  }

  .builtex-main-title {
    font-size: 2.2rem;
  }

  .intro-video-play-btn {
    margin-top: 30px;
  }
}

/* --------------------------------------------------------------------------
   18D. FIRECORE MODERN PROJECT - STACKING LEADERSHIP CARDS
   Matched from https://wp.xeontheme.com/firecore/home-layout3/
   -------------------------------------------------------------------------- */
.firecore-projects-section {
  position: relative;
  padding: 90px 0 50px;
  background-color: var(--bg-body);
}

.firecore-section-header {
  margin-bottom: 55px;
}

.firecore-section-title {
  font-family: var(--font-main);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--hrps-navy-950);
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 14px;
}

.project_sticky_cards_01 {
  position: relative;
}

.modern-projects-block-style1 {
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .project_sticky_cards_01 .pinned_item {
    position: sticky;
    top: 110px;
    margin-bottom: 60px;
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  }

  .project_sticky_cards_01 .pinned_item:nth-child(1) {
    z-index: 2;
  }

  .project_sticky_cards_01 .pinned_item:nth-child(2) {
    z-index: 3;
    top: 130px;
  }
}

.modern-projects-block-style1 .modern-project-inner {
  display: grid;
  grid-template-columns: 370px 1fr;
  /* User requirement: image width smaller, text width larger */
  gap: 28px;
  align-items: stretch;
}

/* Left: Image Part (Smaller Width) */
.modern-projects-block-style1 .modern-project-left-part {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(5, 13, 26, 0.18);
  background: #071325;
}

.modern-projects-block-style1 .modern-project-thumb {
  width: 100%;
  height: 100%;
  min-height: 420px;
  position: relative;
}

.modern-projects-block-style1 .modern-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 20px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-projects-block-style1:hover .modern-project-thumb img {
  transform: scale(1.03);
}

/* Right: Content Part (Larger Width) */
.modern-projects-block-style1 .modern-project-content-part {
  position: relative;
  padding: 46px 52px;
  border-radius: 20px;
  background: #09172e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(5, 13, 26, 0.22);
}

/* Firecore signature watermark */
.modern-projects-block-style1 .modern-project-content-part:before {
  position: absolute;
  bottom: -15px;
  right: 25px;
  content: "";
  height: 220px;
  width: 220px;
  background-image: url('../assets/img/hrps-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.modern-projects-block-style1 .modern-project-content-part>* {
  position: relative;
  z-index: 1;
}

.leadership-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5a623;
  margin-bottom: 12px;
}

.modern-projects-block-style1 .modern-project-title {
  font-family: var(--font-main);
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.modern-projects-block-style1 .modern-project-excerpt {
  color: #cbd5e1;
  font-size: 1.06rem;
  line-height: 1.82;
  margin-bottom: 32px;
}

.modern-projects-block-style1 .modern-project-excerpt .highlight-quote {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--hrps-gold);
  margin-bottom: 12px;
}

.modern-projects-block-style1 .modern-project-excerpt p:last-child {
  margin-bottom: 0;
}

/* Firecore orange/gold pill button */
.firecore-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f5a623;
  color: #08111e !important;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

.firecore-pill-btn:hover {
  background: #ffb73b;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.55);
}

.firecore-pill-btn i {
  transition: transform 0.3s ease;
}

.firecore-pill-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 1199.98px) {
  .modern-projects-block-style1 .modern-project-inner {
    grid-template-columns: 320px 1fr;
    gap: 20px;
  }

  .modern-projects-block-style1 .modern-project-content-part {
    padding: 36px 38px;
  }
}

@media (max-width: 991.98px) {
  .modern-projects-block-style1 .modern-project-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modern-projects-block-style1 .modern-project-thumb {
    min-height: 340px;
    max-height: 420px;
  }

  .modern-projects-block-style1 .modern-project-content-part {
    padding: 30px 24px;
  }
}

/* --------------------------------------------------------------------------
   19. ACCESSIBILITY: PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg-img {
    transform: none !important;
  }

  .pulse-play-btn,
  .emergency-pill,
  .hero-badge-dot {
    animation: none !important;
  }
}