/* === GLOBAL STYLES === */
:root {
  --green: #1abc9c;
  --green-dark: #14977b;
  --bg: #ffffff;
  --text: #222;
  --muted: #555;
  --light-gray: #f5f5f5;
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}
.hero-img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

/* === NAVBAR === */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--green);
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green);
}

.btn {
  background-color: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-block;
}

.btn:hover {
  background-color: var(--green-dark);
}

.btn.secondary {
  background: #fff;
  border: 1.5px solid var(--green);
  color: var(--green);
}

.btn.secondary:hover {
  background-color: var(--green);
  color: #fff;
}

/* === HERO SECTION === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 8%;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 320px;
}

.hero-left h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-left .green {
  color: var(--green);
}

.hero-left p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stats {
  display: flex;
  gap: 25px;
  margin-top: 35px;
  flex-wrap: wrap;
}
.stat .icon {
  width: 25px;
  height: 25px;
}

.stat {
  text-align: center;
}

.stat .num {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
}

.stat .label {
  color: var(--muted);
  font-size: 14px;
}

.hero-right {
  flex: 1;
  min-width: 320px;
  height: 400px;
  
}

.hero-right img {
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* === SECTION STYLES === */
.section {
  padding: 70px 8%;
  background-color: var(--bg);
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #111;
}

/* === TWO COLUMN SECTION === */
.two-col {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.round-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  flex: 1;
  min-width: 260px;
  background-color: var(--light-gray);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  font-style: italic;
  color: var(--muted);
  margin: 10px 0;
}

.testimonial-meta {
  font-size: 13px;
  color: var(--green-dark);
}

/* === MENTOR === */
.mentors-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.mentor {
  flex: 1;
  min-width: 260px;
  max-width: 380px;
  background-color: var(--light-gray);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.m-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-head img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* === NEWSLETTER === */
.newsletter {
  background-color: var(--green);
  color: #fff;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  justify-content: center;

  flex-wrap: wrap;
  gap: 10px;
}

.newsletter input {
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 250px;
}

.newsletter button {
  padding: 10px 18px;
  background-color: #fff;
  color: var(--green);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  width: 10rem;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #eee;
}

/* === FOOTER === */
footer {
  background-color: #111;
  color: #fff;
  padding: 40px 8%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .two-col {
    flex-direction: column-reverse;
    text-align: center;
  }

  .newsletter {
    flex-direction: column;
    text-align: center;
  }

  footer {
    text-align: center;
    flex-direction: column;
  }
  copyright {
    gap: 10px;
  }
  .section {
    padding: 40px 8%;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 8%;
    background-color: #fff;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    text-align: center;
  }

  .nav-links a {
    padding: 10px;
    display: block;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none; /* hide enroll button on mobile header, optional */
  }
}

@media (max-width: 500px) {
  .hero-left h1 {
    font-size: 34px;
  }
}
