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

:root {
  --primary-orange: #e67e22;
  --primary-gold: #f39c12;
  --dark-brown: #8b4513;
  --deep-green: #2d5016;
  --terracotta: #d35400;
  --warm-beige: #f4e4bc;
  --clay-pink: #e8b4b8;
  --charcoal: #2c3e50;
  --light-bg: #faf8f3;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  overflow-x: hidden;
  background: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-orange) 50%, var(--terracotta) 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(255, 255, 255, 0.05) 35px,
      rgba(255, 255, 255, 0.05) 70px
    ),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 70px);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.logo-container {
  margin-bottom: 2rem;
}

.african-symbol {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero-divider {
  width: 100px;
  height: 3px;
  background: white;
  margin: 0 auto;
  animation: expandWidth 2s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  font-size: 2rem;
  color: white;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  font-weight: bold;
}

.title-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--primary-orange));
  margin: 0 auto;
  border-radius: 2px;
}

/* Philosophy Section */
.philosophy-section {
  padding: 6rem 0;
  background: white;
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--charcoal);
  text-align: center;
}

/* Objectives Section */
.objectives-section {
  padding: 6rem 0;
  background: var(--warm-beige);
  position: relative;
}

.objectives-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
}

.objective-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-orange);
}

.objective-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.objective-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.objective-card h3 {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.objective-card p {
  color: var(--charcoal);
  line-height: 1.6;
}

/* Learning Areas Section */
.learning-areas-section {
  padding: 6rem 0;
  background: white;
}

.learning-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.learning-card {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-orange) 100%);
  padding: 3rem;
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.learning-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transition: all 0.5s ease;
}

.learning-card:hover::before {
  transform: translate(-25%, -25%);
}

.learning-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
}

.learning-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.learning-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.learning-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Approach Section */
.approach-section {
  padding: 6rem 0;
  background: var(--charcoal);
  color: white;
}

.approach-section .section-title {
  color: var(--primary-gold);
}

.approach-content {
  max-width: 900px;
  margin: 0 auto;
}

.approach-text {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 4rem;
}

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.pillar {
  text-align: center;
}

.pillar-line {
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, var(--primary-gold), var(--primary-orange));
  margin: 0 auto 1rem;
  border-radius: 2px;
  animation: growHeight 1.5s ease-out;
}

@keyframes growHeight {
  from {
    height: 0;
  }
  to {
    height: 80px;
  }
}

.pillar span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Team Section */
.team-section {
  padding: 6rem 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(230, 126, 34, 0.95), transparent);
  padding: 2rem;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.team-member:hover .photo-overlay {
  transform: translateY(0);
}

.team-name {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: var(--warm-beige);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.7), rgba(243, 156, 18, 0.7));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Structure Section */
.structure-section {
  padding: 6rem 0;
  background: white;
}

.structure-content {
  max-width: 900px;
  margin: 0 auto;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.structure-card {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
}

.structure-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.structure-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.structure-card p {
  font-size: 1.3rem;
}

.deliverables {
  background: var(--warm-beige);
  padding: 3rem;
  border-radius: 20px;
  border-left: 5px solid var(--primary-orange);
}

.deliverables h3 {
  font-size: 2rem;
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
}

.deliverables-list {
  list-style: none;
  padding: 0;
}

.deliverables-list li {
  font-size: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(230, 126, 34, 0.2);
  position: relative;
  padding-left: 2rem;
}

.deliverables-list li:last-child {
  border-bottom: none;
}

.deliverables-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Partnerships Section */
.partnerships-section {
  padding: 6rem 0;
  background: var(--deep-green);
  color: white;
}

.partnerships-section .section-title {
  color: var(--primary-gold);
}

.partnerships-content {
  max-width: 900px;
  margin: 0 auto;
}

.partnerships-text {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: center;
}

/* Quote Section */
.quote-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-orange) 100%);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.quote-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.quote-mark {
  font-size: 8rem;
  line-height: 0.8;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.main-quote {
  font-size: 2.5rem;
  font-style: italic;
  margin: 2rem 0;
  line-height: 1.5;
  font-weight: 300;
}

.quote-author {
  font-size: 1.5rem;
  display: block;
  margin-top: 2rem;
  opacity: 0.9;
}

/* Footer Section */
.footer-section {
  padding: 4rem 0;
  background: var(--charcoal);
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-logo svg {
  width: 50px;
  height: 50px;
}

.footer-contact a {
  color: var(--primary-gold);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-orange);
}

.footer-copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .objectives-grid,
  .learning-areas-grid {
    grid-template-columns: 1fr;
  }

  .approach-pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .main-quote {
    font-size: 1.8rem;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
