:root {
  --primary: #27ae60;
  --primary-light: #2ecc71;
  --primary-dark: #219653;
  --secondary: #f1c40f;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --text: #333333;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

.section {
  min-height: 100vh;
  width: 100%;
  padding: 100px 5% 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--dark);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 5%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo i {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80")
      no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .tagline {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Problem Section */
.problem {
  background: var(--light);
}

.problem-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.problem-item {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.problem-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.problem-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Solution Section */
.solution-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.solution-text {
  flex: 1;
}

.solution-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.token-flow {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.token-step {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.token-step:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 25px;
  width: 2px;
  height: 30px;
  background: var(--primary-light);
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 5px;
  color: var(--dark);
}

/* How It Works */
.how-it-works {
  background: var(--light);
}

.timeline {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white);
}

.timeline-icon {
  position: absolute;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -20px;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Tech Stack */
.tech-stack {
  background: var(--light);
}

.tech-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.tech-name {
  font-weight: 500;
  color: var(--dark);
}

/* Impact & Vision */
.impact-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.impact-text {
  flex: 1;
}

.impact-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.africa-map {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/86/Africa_%28orthographic_projection%29.svg/600px-Africa_%28orthographic_projection%29.svg.png")
    no-repeat center center/contain;
}

.nigeria-marker {
  position: absolute;
  top: 55%;
  left: 45%;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.nigeria-marker::after {
  content: "Nigeria";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 600;
  color: var(--primary);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--light);
  border-radius: 10px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

/* Roadmap */
.roadmap-container {
  max-width: 900px;
  margin: 50px auto 0;
  position: relative;
}

.roadmap-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: var(--primary-light);
  border-radius: 2px;
}

.roadmap-item {
  width: 50%;
  padding: 0 40px 40px;
  position: relative;
}

.roadmap-item:nth-child(odd) {
  left: 0;
}

.roadmap-item:nth-child(even) {
  left: 50%;
}

.roadmap-content {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.roadmap-item:nth-child(odd) .roadmap-content::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--white);
}

.roadmap-item:nth-child(even) .roadmap-content::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white);
}

.roadmark-marker {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
}

.roadmap-item:nth-child(odd) .roadmark-marker {
  right: -10px;
}

.roadmap-item:nth-child(even) .roadmark-marker {
  left: -10px;
}

.roadmap-content h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

.roadmap-date {
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary-light);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Developer Section */
.developer {
  background: var(--light);
}

.developer-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.developer-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.developer-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary);
  box-shadow: var(--shadow);
}

.developer-info {
  flex: 1;
}

.developer-name {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.developer-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.developer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.badge {
  padding: 5px 15px;
  background: var(--primary-light);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Thank You Section */
.thank-you {
  text-align: center;
  background: linear-gradient(rgba(39, 174, 96, 0.9), rgba(39, 174, 96, 0.8)),
    url("https://images.unsplash.com/photo-1556909114-4d0d853e5e25?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      no-repeat center center/cover;
  color: var(--white);
}

.thank-you h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.thank-you p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 30px 5%;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  margin-top: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .solution-content,
  .impact-content,
  .developer-content {
    flex-direction: column;
    gap: 30px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: 20px;
    right: auto;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    right: auto;
    border-right: 10px solid var(--white);
    border-left: none;
  }

  .roadmap-container::before {
    left: 30px;
  }

  .roadmap-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }

  .roadmap-item:nth-child(even) {
    left: 0;
  }

  .roadmap-item:nth-child(odd) .roadmark-marker,
  .roadmap-item:nth-child(even) .roadmark-marker {
    left: 20px;
    right: auto;
  }

  .roadmap-item:nth-child(odd) .roadmap-content::after,
  .roadmap-item:nth-child(even) .roadmap-content::after {
    left: -10px;
    right: auto;
    border-right: 10px solid var(--white);
    border-left: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 5%;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .tagline {
    font-size: 1.5rem;
  }

  .section {
    padding: 100px 5% 60px;
  }

  .problem-items,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .tech-icons {
    gap: 20px;
  }

  .tech-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .developer-content {
    flex-direction: column;
    text-align: center;
  }

  .developer-badges {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .thank-you h2 {
    font-size: 2.2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }
}
