:root {
  --primary: #0d6efd;
  --secondary: #6c757d;
  --success: #198754;
  --info: #0dcaf0;
  --warning: #ffc107;
  --danger: #dc3545;
  --dark: #212529;
  --light: #f8f9fa;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
}

/* Government Header */
.gov-header-section {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid #f8b306;
  box-shadow: 0 4px 25px rgba(0, 63, 108, 0.15), 
              0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 0.875rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gov-header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(255, 255, 255, 0.95) 100%);
  z-index: -1;
  border-bottom: 1px solid rgba(248, 179, 6, 0.2);
}

.gov-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.gov-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.gov-logo-main {
  height: 55px;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.gov-logo-main:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.gov-logo-age {
  height: 45px;
  max-width: 190px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.gov-logo-age:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Hero Section */
.hero-section {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  width: 100%;
}

.hero-section .container-fluid {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.hero-images-column {
  background: linear-gradient(135deg, 
    #003f6c 0%, 
    #0056b3 30%, 
    #0066cc 60%, 
    #0056b3 100%);
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-images-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-info-column {
  background: linear-gradient(135deg, 
    #001f3f 0%, 
    #003366 30%, 
    #004080 60%, 
    #005099 100%);
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-info-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}


.hero-content h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-images {
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
}

.hero-logo {
  transition: transform 0.3s ease, filter 0.3s ease;
  opacity: 0.95;
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-logo:hover {
  transform: scale(1.05);
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.hero-info-column .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-illustration {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Main Navbar */
.main-navbar {
  top: 0;
  z-index: 1050;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(26, 95, 148, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25),
              0 2px 8px rgba(26, 95, 148, 0.3);
  padding: 0.75rem 0;
}

.main-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(26, 95, 148, 0.96) 0%, 
    rgba(45, 123, 184, 0.96) 50%,
    rgba(61, 148, 209, 0.96) 100%);
  z-index: -1;
}

.main-navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%);
}

.main-navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  position: relative;
}

.main-navbar .navbar-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
}

.main-navbar .navbar-brand:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.main-navbar .navbar-brand:hover::before {
  background: rgba(255, 255, 255, 0.05);
}

.main-navbar .container > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.main-navbar .btn {
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 8px;
  white-space: nowrap;
}

.main-navbar .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* About Project Section */
.about-project-section {
  padding: 80px 0;
  background: #ffffff;
}

.about-content .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.about-logos {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border: 1px solid #dee2e6;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.05);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: #ffffff;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h4 {
  color: #212529;
  font-weight: 700;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.benefit-item {
  padding: 1rem 0;
}

.benefit-item h5 {
  color: #212529;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-card h3 {
  font-size: 1.5rem;
  color: #212529;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, 
    #1a5f94 0%, 
    #2d7bb8 50%, 
    #3d94d1 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,229.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* Footer */
.footer-section {
  padding: 60px 0 30px;
  background: #212529;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  max-height: 40px;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-section h5,
.footer-section h6 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: #adb5bd;
  line-height: 1.7;
}

.footer-section a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-section hr {
  border-color: #495057;
  opacity: 1;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #003f6c;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: #003f6c;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #f8f9fa;
  border-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .gov-header-section {
    padding: 0.625rem 0;
    box-shadow: 0 3px 18px rgba(0, 63, 108, 0.2);
  }

  .gov-logos-wrapper {
    gap: 1rem;
  }

  .gov-logo-main {
    height: 45px;
    max-width: 180px;
  }

  .gov-logo-age {
    height: 40px;
    max-width: 150px;
  }

  .main-navbar {
    top: 0;
    padding: 0.5rem 0;
  }

  .main-navbar .navbar-brand {
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
  }

  .main-navbar .container > div {
    gap: 0.5rem;
  }

  .main-navbar .btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-images-column,
  .hero-info-column {
    min-height: 400px;
  }

  .hero-images {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }

  .hero-logo {
    max-height: 80px !important;
  }

  .hero-logo:last-child {
    max-height: 70px !important;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .features-section,
  .benefits-section,
  .cta-section {
    padding: 60px 0;
  }

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

  .display-5 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.benefit-item,
.stat-card {
  animation: fadeInUp 0.6s ease-out;
}
