/* ==========================================================================
   ALGERIAN NATIONAL GOVERNMENT CIVIL STATUS PORTAL DESIGN SYSTEM (DZ-PORTAL)
   البوابة الوطنية الرقمية للحالة المدنية - الجمهورية الجزائرية الديمقراطية الشعبية
   V4.3 — HIGH-CONTRAST FOOTER & CRYSTAL CLEAR CONTRAST FIX
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Official Algerian State Palette */
  --gov-green-primary: #006233;
  --gov-green-dark: #004021;
  --gov-green-deep: #002814;
  --gov-green-light: #e6f4ed;
  --gov-green-glow: rgba(0, 98, 51, 0.2);
  --gov-green-50: #f0fdf4;

  --gov-red: #d21034;
  --gov-red-dark: #9e0b25;

  --gov-gold: #c5a059;
  --gov-gold-light: #f7f1e3;
  --gov-gold-glow: rgba(197, 160, 89, 0.3);

  --gov-slate-900: #0f172a;
  --gov-slate-800: #1e293b;
  --gov-slate-700: #334155;
  --gov-slate-600: #475569;
  --gov-slate-100: #f1f5f9;
  --gov-slate-50: #f8fafc;

  /* Typography */
  --font-arabic: 'Cairo', 'Amiri', serif;
  --font-latin: 'Outfit', -apple-system, sans-serif;
  --font-size-base: 1rem;

  /* UI Tokens */
  --shadow-portal-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-portal-md: 0 8px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-portal-lg: 0 20px 35px -5px rgba(0, 64, 33, 0.12);
  --shadow-portal-gold: 0 4px 15px rgba(197, 160, 89, 0.25);
  --shadow-portal-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);

  --radius-gov-sm: 6px;
  --radius-gov-md: 10px;
  --radius-gov-lg: 16px;
  --radius-gov-xl: 24px;
  --radius-gov-pill: 9999px;

  /* Transitions */
  --ease-gov: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* HIGH CONTRAST MODE ACCESSIBILITY OVERRIDE */
body.high-contrast {
  --gov-green-primary: #000000;
  --gov-green-dark: #000000;
  --gov-green-light: #ffffff;
  --gov-slate-50: #ffffff;
  --gov-slate-900: #000000;
  background-color: #ffffff !important;
  color: #000000 !important;
}
body.high-contrast * { border-color: #000000 !important; }

/* FONT SIZE ACCESSIBILITY CLASSES */
body.text-size-lg { font-size: 1.15rem !important; }
body.text-size-xl { font-size: 1.3rem !important; }

/* BASE SETTINGS */
body {
  font-family: var(--font-arabic);
  background-color: #f0f2f5;
  color: var(--gov-slate-900);
  line-height: 1.6;
}

/* ==========================================================================
   1. SCROLL PROGRESS INDICATOR (TOP)
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gov-green-primary), var(--gov-gold), var(--gov-red));
  z-index: 99999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 98, 51, 0.5);
}

/* ==========================================================================
   2. GOVERNMENT TOP BAR & ACCESSIBILITY BAR
   ========================================================================== */
.gov-top-banner {
  background: linear-gradient(135deg, var(--gov-slate-900) 0%, #162033 100%);
  color: #ffffff;
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 3px solid var(--gov-gold);
  position: relative;
  overflow: hidden;
}

.gov-flag-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--gov-green-primary) 33%, #ffffff 33%, #ffffff 66%, var(--gov-red) 66%);
}

.gov-official-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gov-gold);
  letter-spacing: 0.3px;
}

.accessibility-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-access-tool {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 3px 12px;
  border-radius: var(--radius-gov-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-gov);
}
.btn-access-tool:hover {
  background: var(--gov-gold);
  color: var(--gov-slate-900);
}

/* NEWS TICKER BANNER */
.gov-ticker-bar {
  background: linear-gradient(135deg, var(--gov-green-50) 0%, var(--gov-green-light) 100%);
  border-bottom: 1px solid rgba(0, 98, 51, 0.1);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--gov-green-dark);
  font-weight: 600;
  position: relative;
}

.gov-ticker-badge {
  background: linear-gradient(135deg, var(--gov-green-primary), var(--gov-green-dark));
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-gov-pill);
  font-weight: 800;
  font-size: 0.72rem;
}

/* ==========================================================================
   3. MAIN GOVERNMENT NAVIGATION BAR
   ========================================================================== */
.gov-navbar {
  background: linear-gradient(180deg, var(--gov-green-dark) 0%, var(--gov-green-primary) 100%);
  box-shadow: var(--shadow-portal-lg);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 2px solid var(--gov-gold);
}

.gov-brand-container {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.gov-brand-titles {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.gov-republic-text {
  font-size: 0.72rem;
  color: var(--gov-gold);
  font-weight: 700;
}

.gov-portal-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
}

.gov-nav-item {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 18px !important;
  border-radius: var(--radius-gov-md);
  transition: all 0.25s var(--ease-gov);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gov-nav-item:hover,
.gov-nav-item.active {
  color: #ffffff !important;
  background: rgba(255,255,255,0.12);
}

/* ==========================================================================
   4. V4 ULTRA HERO & LANDING SECTION
   ========================================================================== */
.gov-hero-section-v4 {
  background: linear-gradient(135deg, #001f10 0%, #00361c 40%, #00522b 80%, #006233 100%);
  border-radius: var(--radius-gov-xl);
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: var(--shadow-portal-xl);
  padding: 2.75rem 2.25rem;
  margin-bottom: 2.25rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--gov-gold);
  padding: 7px 18px;
  border-radius: var(--radius-gov-pill);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
}

.hero-title-v4 {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.hero-title-v4 .text-gold-highlight {
  background: linear-gradient(135deg, #f7f1e3 0%, #c5a059 50%, #e6c88b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle-v4 {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 660px;
  margin-bottom: 1.35rem;
}

.hero-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.hero-chip-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-gov-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-actions-v4 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-actions-v4 {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}

.btn-hero-primary {
  background: linear-gradient(135deg, #c5a059 0%, #a3803c 100%);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-gov-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.hero-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-secondary-grid {
    display: flex;
    width: auto;
    gap: 8px;
  }
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 9px 12px;
  border-radius: var(--radius-gov-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.hero-card-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-gov-xl);
  padding: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   5. LANDING PLATFORM PILLARS GRID
   ========================================================================== */
.landing-pillars-grid {
  margin-bottom: 2.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-gov-lg);
  padding: 1.5rem;
  height: 100%;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gov-slate-900);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--gov-slate-600);
}

/* ==========================================================================
   6. HIGH CONTRAST & CRYSTAL CLEAR FOOTER SYSTEM
   ========================================================================== */
.gov-footer, .footer-dz {
  background: #0f172a !important; /* Deep dark slate background */
  color: #f8fafc !important;
  padding: 3.5rem 0 1.5rem !important;
  margin-top: 4rem !important;
  border-top: 4px solid var(--gov-gold) !important;
  position: relative;
  z-index: 10;
}

.gov-footer-brand-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.gov-footer-desc {
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
  color: #cbd5e1 !important; /* High-contrast crisp light silver text */
  max-width: 380px;
}

.gov-footer-badge {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-gov-pill) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  display: inline-flex !important;
  align-items: center !important;
}

.gov-footer-title {
  color: var(--gov-gold) !important; /* Metallic Gold */
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  margin-bottom: 1.2rem !important;
  position: relative;
  padding-bottom: 8px !important;
}
.gov-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40px; height: 3px;
  background: var(--gov-green-primary);
  border-radius: 3px;
}
[dir="ltr"] .gov-footer-title::after { right: auto; left: 0; }

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: #cbd5e1 !important; /* High contrast crisp links */
  text-decoration: none;
  font-size: 0.88rem !important;
  transition: all 0.25s var(--ease-gov);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}
.footer-links a:hover {
  color: var(--gov-gold) !important;
  transform: translateX(6px);
}
[dir="rtl"] .footer-links a:hover { transform: translateX(-6px); }

.footer-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-feature-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 98, 51, 0.25) !important;
  color: #4ade80 !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.footer-feature-text {
  font-size: 0.85rem !important;
  color: #e2e8f0 !important; /* Crisp high contrast text */
  font-weight: 600 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  margin-top: 2.5rem !important;
  padding-top: 1.5rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright, .footer-made-with {
  font-size: 0.82rem !important;
  color: #94a3b8 !important; /* Readable muted slate */
}

/* HIGH CONTRAST OVERRIDE FOR FOOTER */
body.high-contrast .gov-footer,
body.high-contrast .footer-dz {
  background: #000000 !important;
  border-top: 4px solid #ffffff !important;
}
body.high-contrast .gov-footer-brand-title,
body.high-contrast .gov-footer-title {
  color: #ffff00 !important;
}
body.high-contrast .gov-footer-desc,
body.high-contrast .footer-links a,
body.high-contrast .footer-feature-text,
body.high-contrast .footer-copyright,
body.high-contrast .footer-made-with {
  color: #ffffff !important;
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991.98px) {
  .gov-hero-section-v4 { padding: 2rem 1.5rem; }
  .hero-title-v4 { font-size: 1.75rem; }
}

@media (max-width: 767.98px) {
  .gov-top-banner { font-size: 0.7rem; padding: 6px 0; }
  .accessibility-toolbar { display: none; }
  .gov-hero-section-v4 { padding: 1.5rem 1.15rem; border-radius: var(--radius-gov-lg); }
  .hero-title-v4 { font-size: 1.4rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   8. V6 ULTRA NATIONAL LANDING PAGE DESIGN SYSTEM
   ========================================================================== */
.landing-hero-v5 {
  background: linear-gradient(135deg, #004d28 0%, #006233 40%, #0a2540 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* BIG Background Hero Person Image — visible on ALL screen sizes */
.hero-bg-person-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.35;
}

.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 50, 27, 0.95) 0%, rgba(0, 50, 27, 0.85) 45%, rgba(0, 50, 27, 0.4) 100%);
  z-index: 1;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, rgba(248, 249, 250, 0.7) 65%, #f8f9fa 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-badge-pill {
  backdrop-filter: blur(8px);
}

.hero-person-frame {
  backdrop-filter: blur(16px);
  transition: transform 0.4s ease;
}

.hero-person-frame:hover {
  transform: scale(1.02);
}

.hero-person-img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-floating-badge {
  backdrop-filter: blur(12px);
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-blob {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-blob.blob-1 {
  background: #c5a059;
  top: -10%;
  left: -5%;
}

.hero-glow-blob.blob-2 {
  background: #00ff88;
  bottom: -15%;
  right: -5%;
}

.hero-headline-v5 {
  font-size: 2.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fff7d6 0%, #c5a059 50%, #ffd700 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline-v5,
.hero-subtitle-v5 {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}

.btn-hero-emerald {
  background: linear-gradient(135deg, #008744 0%, #006233 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-emerald:hover {
  background: linear-gradient(135deg, #009e4f 0%, #00733c 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 98, 51, 0.4);
}

.btn-hero-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-3px);
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 10px 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.hero-stat-card .stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-stat-card .stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* ==========================================================================
   9. FLOATING BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #008744 0%, #006233 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 98, 51, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 24px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover, .back-to-top:active {
  background: linear-gradient(135deg, #009e4f 0%, #00733c 100%);
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 98, 51, 0.6);
}

/* ==========================================================================
   10. V6 VIBRANT FEATURE CARDS WITH GRADIENT ICONS
   ========================================================================== */
.feature-card-v6 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feature-card-v6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #006233 0%, #c5a059 50%, #00ff88 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card-v6:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 98, 51, 0.12);
  border-color: rgba(0, 98, 51, 0.18);
}

.feature-card-v6:hover::after {
  opacity: 1;
}

.feature-card-v6 .feature-icon-wrap {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card-v6:hover .feature-icon-wrap {
  transform: scale(1.15) rotate(5deg);
}

.feature-link {
  transition: all 0.25s ease;
}

.feature-link:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   11. V6 STEP CARDS WITH GRADIENT NUMBERS
   ========================================================================== */
.step-card-v6 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.step-card-v6:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 98, 51, 0.1);
  border-color: rgba(0, 98, 51, 0.2);
}

.step-card-v6:hover .step-num {
  transform: scale(1.15);
}

.step-card-v6 .step-num {
  transition: transform 0.4s ease;
}

/* ==========================================================================
   12. V6 PHOTO SHOWCASE CARDS
   ========================================================================== */
.showcase-card-v6 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.showcase-card-v6:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.showcase-card-v6 img {
  transition: transform 0.5s ease;
}

.showcase-card-v6:hover img {
  transform: scale(1.05);
}

.showcase-cta-card {
  background: linear-gradient(135deg, #004d28 0%, #006233 60%, #0a4030 100%);
  border: none;
  transition: all 0.35s ease;
}

.showcase-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 98, 51, 0.25);
}

/* ==========================================================================
   13. V6 INTERACTIVE TESTIMONIAL CARDS
   ========================================================================== */
.testimonial-card-v6 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.testimonial-card-v6:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.gov-cta-section {
  background: linear-gradient(135deg, #004d28 0%, #006233 60%, #061e38 100%);
}

/* COMPACT TICKER BAR STYLING */
.gov-ticker-bar {
  background: rgba(0, 40, 20, 0.95);
  font-size: 0.825rem;
}

.gov-ticker-badge {
  background: linear-gradient(135deg, #c5a059 0%, #a37c35 100%);
  color: #000000;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   14. MOBILE & TABLET RESPONSIVE DESIGN SYSTEM (UI/UX COMFORT)
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-headline-v5 { font-size: 1.85rem; line-height: 1.3; }
  .landing-hero-v5 { padding: 2rem 0; min-height: auto; }
  
  .hero-bg-person-image {
    display: none;
  }
  
  .hero-dark-overlay {
    background: linear-gradient(135deg, #004d28 0%, #006233 60%, #0a2540 100%);
  }

  .hero-mobile-person-frame {
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-mobile-person-frame:active,
  .hero-mobile-person-frame:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 575.98px) {
  .hero-headline-v5 { font-size: 1.55rem; line-height: 1.35; }
  .hero-subtitle-v5 { font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
  .hero-stat-card { padding: 8px 6px; border-radius: 12px; }
  .hero-stat-card .stat-number { font-size: 1.15rem; }
  .hero-stat-card .stat-label { font-size: 0.65rem; }
  .gov-brand-titles .gov-portal-title { font-size: 0.9rem !important; }
}

/* ==========================================================================
   15. MOBILE HERO SLIDER & COMPACT LAYOUT OPTIMIZATIONS
   ========================================================================== */
.hero-mobile-carousel {
  border-radius: 36px 12px 36px 12px !important;
  border-width: 2px !important;
  border-color: rgba(197, 160, 89, 0.6) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.25) !important;
  background: linear-gradient(135deg, #002814 0%, #004d28 100%);
}

.hero-mobile-slide-img {
  height: 210px;
  object-fit: cover;
  object-position: center 20%;
  border-top-left-radius: 34px;
  border-top-right-radius: 10px;
}

.carousel-caption-overlay {
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 10px;
}

@media (max-width: 991.98px) {
  section.py-5 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }
  .container.py-4 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .fw-black.fs-2 {
    font-size: 1.45rem !important;
    line-height: 1.3;
  }
  .max-w-700.mb-5 {
    margin-bottom: 1.75rem !important;
  }

  .feature-card-v6,
  .testimonial-card-v6 {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }
  .feature-card-v6 .feature-icon-wrap {
    margin-bottom: 1rem !important;
    width: 46px !important;
    height: 46px !important;
  }
  .feature-card-v6 .feature-icon-wrap i {
    font-size: 1.35rem !important;
  }

  .row.g-4 {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.85rem;
  }

  .landing-hero-v5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .hero-bottom-fade {
    height: 60px;
  }
}

@media (max-width: 575.98px) {
  .hero-mobile-slide-img {
    height: 190px;
  }
  .hero-headline-v5 {
    font-size: 1.35rem;
    line-height: 1.3;
  }
  .hero-subtitle-v5 {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }
  .btn-hero-emerald {
    font-size: 0.92rem;
    padding: 0.75rem 1.25rem !important;
  }
  .hero-badge-pill {
    padding: 4px 12px !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-badge-pill .fw-bold {
    font-size: 0.72rem !important;
  }
}
