/* ==============================
   Global Styles
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* ==============================
   Navbar
============================== */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #e63946;
}

.login-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #e63946, #b5179e);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  transform: scale(1.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    border-top: 1px solid #eee;
  }

  .nav-links.show {
    display: flex;
    animation: fadeIn 0.4s ease;
  }

  .hamburger {
    display: flex;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   Hero Section
============================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px 80px;
  min-height: 90vh;
  background: linear-gradient(135deg, #f8f9fa, #ececec);
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #111;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #444;
}

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 26px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #e63946;
  color: #fff;
}

.btn-primary:hover {
  background: #d62828;
}

.btn-secondary {
  background: #fff;
  border: 2px solid #333;
  color: #111;
}

.btn-secondary:hover {
  background: #f1f1f1;
}

.hero img {
  max-width: 600px;
  border-radius: 14px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 25px;
  }

  .hero img {
    max-width: 100%;
  }
}

/* ==============================
   Features Section
============================== */
.features {
  background: #545151;
  color: #fff;
  text-align: center;
  padding: 70px 40px;
}

.features h2 {
  font-size: 2.3rem;
  margin-bottom: 45px;
  font-weight: 700;
}

.features-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.feature-card {
  width: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #000;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-card h3 {
  padding: 18px;
  background: #e63946;
  color: #fff;
  font-size: 1.1rem;
}

.feature-card p {
  padding: 15px;
  background: #f8f9fa;
  font-size: 0.95rem;
}

.feature-card:hover {
  transform: translateY(-8px);
}

/* ==============================
   About Section
============================== */
.about {
  padding: 70px 40px;
  background: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.about-image img {
  width: 400px;
  border-radius: 12px;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
}

.about-content h2 {
  color: #e63946;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 12px;
  color: #444;
}

/* Responsive About */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    max-width: 500px;
  }
}

/* ==============================
   Stats & Achievements Section
============================== */
.stats {
  background: url('image/sectionImg.jpg') no-repeat center/cover;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.stats h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 35px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: #fff;
  color: #111;
  padding: 40px 20px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.35);
}

.stat-card h3 {
  color: #b71c1c;
  font-size: 1.4rem;
  margin: 0;
}

/* ==============================
   Learning Paths Section
============================== */
.learning-paths {
  background: #222;
  padding: 90px 20px;
  color: #fff;
  text-align: center;
}

.learning-paths h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.learning-paths .subtitle {
  margin-bottom: 50px;
  color: #bbb;
  font-size: 1.1rem;
}

.path-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.path-card {
  background: #fff;
  color: #222;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

.path-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
}

.path-card ul {
  margin: 0 0 15px 15px;
  font-size: 0.95rem;
  color: #444;
}

.path-card p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #555;
}

.path-card button {
  display: block;
  width: 100%;
  margin-top: 15px;
  background: #e63946;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.path-card button:hover {
  background: #d62828;
}

/* ==============================
   Mentors Section
============================== */
.mentors-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.mentors-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.mentors-section p {
  font-size: 0.95rem;
  color: #666;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.mentors-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.mentor-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 300px;
  text-align: center;
}

.mentor-card img {
  width: 165px;
  height: 165px;
  top: 739px;
  left: 1908px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.mentor-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.mentor-card p {
  font-size: 0.9rem;
  color: #555;
}

.mentor-card .name {
  font-weight: 700;
}

.mentor-card .ayesha {
  color: #b20000;
}

.mentor-card .rahul {
  color: #e67e22;
}

.mentor-card .sophia {
  color: #8e44ad;
}

/* Testimonial Section */
.testimonial-section {
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.testimonial {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 400px;
}

.icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #555;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  color: #fff;
  position: relative;
}

.speech {
  background: #fff;
  padding: 12px 16px;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: 14px;
  position: relative;
}

.speech::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent #000 transparent transparent;
}

.statss {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-box {
  background: #d9d9d9;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
}


/* Mentor Stats Section */
.mentor-statss {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.mentor-statss .stat-card {
  background: #eaeaea;
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: 600;
  min-width: 220px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .mentors-container {
    flex-direction: column;
    align-items: center;
  }

  .testimonial {
    flex-direction: column;
    text-align: center;
  }
}


a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Banner Section */
.banner {
  text-align: center;
  padding: 30px 20px;
}

.banner img {
  width: 30%;
  margin: 10px;
  border-radius: 5px;
}

.banner p {
  font-size: 1rem;
  margin: 15px auto;
  max-width: 600px;
}

.banner button {
  background: #444;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
}

/* Events Section */
.events {
  text-align: center;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.events h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.event-card {
  background: #c62828;
  color: #fff;
  margin: 15px auto;
  padding: 20px;
  max-width: 400px;
  border-radius: 8px;
  text-align: left;
}

.event-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.event-card p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.event-card button {
  background: #fff;
  color: #c62828;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
}

.events a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #333;
  font-weight: bold;
  margin-left: 980px;
}

/* Footer */
footer {
  background: #555;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

footer p {
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-size: 0.9rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

footer .footer-links div {
  text-align: left;
}

footer .footer-links h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  font-size: 0.9rem;
}

footer ul li {
  margin: 5px 0;
}

footer .social {
  margin-top: 20px;
  font-size: 0.9rem;
}

footer .social a {
  margin: 0 10px;
  color: #fff;
}