:root {
  --primary-color: #1a9057;
  --secondary-color: #f9ffec;
  --text-color: #333;
  --transition-speed: 0.3s;
}

/* ===== OLADOYIN DANIEL CODES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo img {
  height: 50px;
  width: 200px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color var(--transition-speed);
}
.nav-links li a:hover {
  color: #ddd;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: all var(--transition-speed);
}

.hero {
  background: url("https://africanvoiceonline.co.uk/wp-content/uploads/2023/12/Undergraduates-pix.jpg")
    no-repeat center center/cover;
  color: var(--secondary-color);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem; 
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}
.hero-content {
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ======== OLADOYIN DANIEL CODES ======== */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}
.btn:hover {
  background-color: #ddd;
  color: var(--primary-color);
}

.steps {
  padding: 3rem 2rem;
  background-color: #fff;
  text-align: center;
}
.steps h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}
.step-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.step {
  background-color: #f1f1f1;
  padding: 2rem;
  border-radius: 10px;
  max-width: 300px;
  flex: 1;
  min-width: 250px;
  text-align: center;
}
.step-number {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.benefits {
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--secondary-color);
}
.benefit-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}
.benefit-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1 1 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.benefit-card h3 {
  margin-top: 0;
  color: var(--primary-color);
}


.featured {
  padding: 3rem 2rem;
  background-color: #fff;
  text-align: center;
}
.featured h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}
.slide {
  display: none;
  position: relative;
}
.slide.active {
  display: block;
  animation: slideFade 1s ease-in-out;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(4, 120, 87, 0.8);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}
.slider-btn {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background var(--transition-speed);
}
.slider-btn:hover {
  background: rgba(0,0,0,0.8);
}

.eligibility {
  padding: 3rem 2rem;
  background: linear-gradient(rgba(249,255,236,0.8), rgba(249,255,236,0.8)),
              url('https://www.nileuniversity.edu.ng/wp-content/uploads/2024/12/Nile-University-class-of-2024-graduating-students-1030x687.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-color);
}
.eligibility h2 {
  color: var(--primary-color);
}

.container {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 2rem;
}
.container h1, .container h2 {
  color: var(--primary-color);
}
.container ul {
  list-style: disc;
  margin-left: 1.5rem;
}

/* ======== OLADOYIN DANIEL CODES ======== */
.faq {
  padding: 3rem 2rem;
  background-color: #fff;
}
.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.faq-item {
  margin-bottom: 1rem;
}
.faq-question {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 100%;
  text-align: left;
  padding: 1rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color var(--transition-speed);
}
.faq-question:hover {
  background-color: #065f46;
}
.faq-answer {
  display: none;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 0.5rem;
}
.faq-question .icon {
  margin-right: 0.5rem;
  font-weight: bold;
}

.apply {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 3rem 2rem;
  text-align: center;
}
.apply h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.apply .btn {
  background: var(--secondary-color);
  color: var(--primary-color);
  margin-top: 1rem;
}

footer {
  background-color: #333;
  color: var(--secondary-color);
  text-align: center;
  padding: 1rem;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-container {
    flex-direction: column;
    align-items: center;
  }
  
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
  }
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-align: center;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat .count {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    align-items: center;
  }
}

/* ======== OLADOYIN DANIEL CODES 08125268335 ======== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
