@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Karla:wght@400;500;600&display=swap');

:root {
  --sunshine: #FFC93C;
  --coral: #FF6B9D;
  --ocean: #4ECDC4;
  --midnight: #1A1A2E;
  --cream: #FFFEF9;
  --soft-gray: #F5F5F5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Karla', sans-serif;
  line-height: 1.7;
  color: var(--midnight);
  background: var(--cream);
  overflow-x: hidden;
}

#root {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1400px) {
  #root {
    padding: 0 40px;
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: rgba(255, 254, 249, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.navbar-logo h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--midnight);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.navbar-links a {
  text-decoration: none;
  color: var(--midnight);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--coral);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: clamp(12px, 2vw, 14px) clamp(24px, 4vw, 32px);
  background: var(--midnight);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}

.btn:hover {
  background: var(--coral);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 40px);
  margin: clamp(30px, 5vw, 60px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  background: 
    url('/images/african-students.png') no-repeat center center,
    linear-gradient(135deg, var(--ocean) 0%, var(--coral) 100%);
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: clamp(16px, 3vw, 24px);
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: clamp(16px, 3vw, 24px);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: clamp(24px, 4vw, 36px);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.hero .btn {
  background: white;
  color: var(--midnight);
}

.hero .btn:hover {
  background: var(--sunshine);
}

/* About Section */
.about {
  padding: 0 clamp(24px, 4vw, 40px);
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.about h2 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: clamp(20px, 3vw, 28px);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--midnight);
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(26, 26, 46, 0.8);
}

/* Features Section */
.features {
  padding: 0 clamp(24px, 4vw, 40px);
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.features h2 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: clamp(36px, 5vw, 50px);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--midnight);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: white;
  padding: clamp(30px, 4vw, 40px) clamp(24px, 3vw, 30px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
  font-size: clamp(2.5rem, 5vw, 3rem);
  margin-bottom: clamp(16px, 2vw, 20px);
  display: block;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: clamp(10px, 1.5vw, 12px);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--midnight);
  font-weight: 600;
}

.feature-card p {
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.6;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

/* Impact Section */
.impact {
  padding: clamp(50px, 7vw, 70px) clamp(24px, 4vw, 40px);
  text-align: center;
  margin: clamp(60px, 8vw, 100px) 0;
  background: var(--soft-gray);
  border-radius: clamp(16px, 2.5vw, 20px);
}

.impact h2 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: clamp(20px, 3vw, 28px);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--midnight);
}

.impact p {
  max-width: 800px;
  margin: 0 auto clamp(24px, 4vw, 36px);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(26, 26, 46, 0.8);
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(30px, 4vw, 40px) 0;
  margin-top: clamp(60px, 8vw, 80px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
  gap: 24px;
}

footer p {
  color: rgba(26, 26, 46, 0.7);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links {
  display: flex;
  gap: clamp(20px, 3vw, 30px);
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: rgba(26, 26, 46, 0.7);
  transition: color 0.2s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links a:hover {
  color: var(--coral);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: clamp(36px, 5vw, 40px);
  height: clamp(36px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.social-icon:hover {
  background: var(--coral);
  transform: translateY(-2px);
}



/* Responsive Design */
@media (max-width: 640px) {
  .navbar {
    padding: 20px 0;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .navbar-links {
    width: 100%;
    justify-content: center;
  }
  
  .navbar-links .btn {
    width: 100%;
    text-align: center;
  }
  
  footer {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}