:root {
  --kenya-red: #bb0000;
  --kenya-black: #000000;
  --kenya-green: #006600;
  --kenya-white: #ffffff;
  --accent-gold: #ffd700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Libre Franklin", sans-serif;
  color: var(--kenya-black);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--kenya-white);
}

/* Flag Stripe Background */
.flag-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  opacity: 0.05;
}

.flag-stripe {
  width: 100%;
  height: 33.33%;
}

.stripe-black {
  background: var(--kenya-black);
}
.stripe-red {
  background: var(--kenya-red);
}
.stripe-green {
  background: var(--kenya-green);
}

/* Header */
header {
  background: linear-gradient(135deg, var(--kenya-black) 0%, #1a1a1a 100%);
  color: var(--kenya-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--kenya-red);
}

.header-content {
  max-width: 1200px;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0rem;
  margin-left: 0;
  padding-left: 0;
}

.logo-icon img {
  width: 180px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.logo a {
  display: block;
  line-height: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--kenya-white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--kenya-red);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero {
  background: linear-gradient(
    135deg,
    var(--kenya-black) 0%,
    #2d2d2d 50%,
    var(--kenya-black) 100%
  );
  color: var(--kenya-white);
  padding: 6rem 2rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    var(--kenya-red) 0%,
    transparent 10%,
    transparent 90%,
    var(--kenya-green) 100%
  );
  opacity: 0.1;
  pointer-events: none;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero h1 .highlight {
  color: var(--kenya-red);
  display: block;
  font-size: 5.5rem;
  text-shadow: 3px 3px 0 var(--kenya-green);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.sovereignty-quote {
  font-style: italic;
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s backwards;
}

.btn {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--kenya-red);
  color: var(--kenya-white);
  box-shadow: 0 4px 15px rgba(187, 0, 0, 0.4);
}

.btn-primary:hover {
  background: #990000;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(187, 0, 0, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--kenya-white);
  border: 3px solid var(--kenya-green);
}

.btn-secondary:hover {
  background: var(--kenya-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 102, 0, 0.4);
}

/* Are You Part of the People Section */
.people-section {
  background: var(--kenya-white);
  padding: 6rem 2rem;
  position: relative;
}

.people-content {
  max-width: 1200px;
  margin: 0 auto;
}

.people-header {
  text-align: center;
  margin-bottom: 4rem;
}

.people-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: var(--kenya-black);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.people-header .underline {
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, var(--kenya-red), var(--kenya-green));
  margin: 0 auto;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.requirement-card {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-left: 6px solid var(--kenya-red);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.requirement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--kenya-red), var(--kenya-green));
  transition: width 0.3s ease;
}

.requirement-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.requirement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.requirement-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--kenya-red);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.requirement-card p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

.requirement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Voter Registration Section */
.registration-section {
  background: linear-gradient(135deg, var(--kenya-green) 0%, #005500 100%);
  color: var(--kenya-white);
  padding: 6rem 2rem;
  position: relative;
}

.registration-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.registration-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.registration-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.registration-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.flag-colors-note {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-style: italic;
  backdrop-filter: blur(10px);
}

/* Mission Section */
.mission-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("./assets/images/DSCF2281.jpg") center/cover;
  color: var(--kenya-white);
  padding: 6rem 2rem;
  position: relative;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(187, 0, 0, 0.1) 0%,
    rgba(0, 102, 0, 0.1) 100%
  );
  pointer-events: none;
}

.mission-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  color: var(--kenya-white);
}

.mission-content h3 {
  font-size: 2rem;
  color: var(--kenya-red);
  margin-bottom: 2rem;
}

.mission-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mission-feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--kenya-green);
  transition: all 0.3s ease;
}

.mission-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--kenya-red);
  transform: scale(1.05);
}

.mission-feature h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--kenya-white);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

/* Get Involved Section */
.involved-section {
  background: linear-gradient(135deg, var(--kenya-red) 0%, #990000 100%);
  color: var(--kenya-white);
  padding: 6rem 2rem;
  text-align: center;
}

.involved-content {
  max-width: 900px;
  margin: 0 auto;
}

.involved-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.involved-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.involved-cta {
  background: var(--kenya-white);
  color: var(--kenya-red);
  padding: 1.5rem 4rem;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.involved-cta:hover {
  background: var(--kenya-black);
  color: var(--kenya-white);
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
  background: var(--kenya-black);
  color: var(--kenya-white);
  padding: 3rem 2rem 2rem;
  border-top: 4px solid var(--kenya-red);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--kenya-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--kenya-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--kenya-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--kenya-green);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero h1 .highlight {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2.5rem !important;
  }
}

/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
