* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, rgb(150, 235, 235), white); 
  background-attachment: fixed;   /* important */
  background-size: cover;
  padding-top: 80px;
}

.shadow-sm {
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
  height: 45px;
}


.login-btn {
  border: none;
  background: #0d6efd;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
}

.login-btn:hover {
  background: #084298;
}


.nav-link {
  font-weight: 500;
  transition: 0.2s;
}

.nav-link:hover {
  color: #0d6efd;
}

.dropdown-custom {
  position: relative;
}


.dropdown-custom .dropdown-list {
  position: absolute;
  top: 55%;
  left: 0;
  /* background: #ffffff; */
  min-width: 100px;
  padding: 10px 0;
  border-radius: 10px;
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  list-style: none;
  z-index: 999;
}

.dropdown-custom:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-custom .dropdown-list li a {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}



.mobile-slide-menu {
  position: fixed;
  top: 0;
  right: -280px; 
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: right 0.4s ease;
}


.mobile-slide-menu.active {
  right: 0;
}


.slide-header {
  border-bottom: 1px solid #ddd;
}


@media (min-width: 992px) {
  .mobile-slide-menu {
    display: none;
  }
}


.login-btn {
  border: none;
  background: #0d6efd;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
}
.login-btn:hover {
  background: #084298;
}


/* section main */


:root {
  --edu-accent: #3751ff;
  --edu-light: rgba(255, 255, 255, 0.9);
  --edu-max-width: 1200px;
}


.edu-hero-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(3,6,23,0.55), rgba(3,6,23,0.55)),
    url('./image/education1.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.edu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,6,23,0.45), rgba(3,6,23,0.25));
}

.edu-container {
  position: relative;
  z-index: 2;
  max-width: var(--edu-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
}

.edu-hero-box {
  max-width: 740px;
}

.edu-hero-heading {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 12px;
}

.edu-hero-text {
  font-size: clamp(15px, 2.3vw, 18px);
  color: var(--edu-light);
  margin-bottom: 20px;
}

.edu-cta-area {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.edu-btn-primary {
  background: linear-gradient(90deg, var(--edu-accent), #5b7bff);
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(55,81,255,0.18);
}

.edu-stats-wrapper {
  display: flex;
  gap: 18px;
  align-items: center;
}

.edu-stat-item {
  display: flex;
  flex-direction: column;
}

.edu-stat-value {
  font-size: 20px;
  font-weight: bold;
}

.edu-stat-label {
  font-size: 14px;
  color: var(--edu-light);
}


@media (max-width: 600px) {
  .edu-hero-section {
    min-height: 50vh;
    background-position: top center;
  }

  .edu-cta-area {
    flex-direction: column;
    align-items: flex-start;
  }

  .edu-stats-wrapper {
    gap: 12px;
  }
}


/* section course */




.lp-section {
  padding: 70px 20px;
  background: var(--lp-bg);
  font-family: "Poppins", sans-serif;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.lp-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--lp-text);
}

.lp-subtitle {
  font-size: 16px;
  color: var(--lp-muted);
  margin-bottom: 40px;
}


.lp-card-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.lp-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  text-align: left;
}

.lp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.lp-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}


.lp-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 18px 8px;
  color: var(--lp-text);
}

.lp-card-text {
  font-size: 14px;
  color: var(--lp-muted);
  margin: 0 18px 14px;
  line-height: 1.5;
}

.lp-rating {
  font-size: 18px;
  color: #ffb400;
  margin: 0 18px 18px;
}


@media (max-width: 900px) {
  .lp-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-card-img {
    height: 160px;
  }
}

@media (max-width: 600px) {
  .lp-card-wrapper {
    grid-template-columns: 1fr;
  }

  .lp-card-img {
    height: 150px;
  }
}


/* section feature */




.edu-why-section {
  padding: 80px 20px;
  background: var(--edu-bg);
  font-family: "Poppins", sans-serif;
}

.edu-why-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.edu-why-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--edu-dark);
  margin-bottom: 10px;
}

.edu-why-subtext {
  font-size: 16px;
  color: var(--edu-muted);
  margin-bottom: 40px;
}


.edu-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}


.edu-why-card {
  background: linear-gradient(to bottom, rgb(179, 251, 179), rgb(190, 190, 248));
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s ease;
}

.edu-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.edu-why-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.edu-why-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--edu-dark);
  margin-bottom: 4px;
}

.edu-why-subtitle {
  font-size: 15px;
  color: var(--edu-primary);
  margin-bottom: 10px;
}

.edu-why-text {
  font-size: 14px;
  color: var(--edu-muted);
  line-height: 1.6;
}


@media (max-width: 992px) {
  .edu-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .edu-why-grid {
    grid-template-columns: 1fr;
  }
}

/* section */

.edu-flex-section {
  padding: 80px 10%;
  font-family: 'Poppins', sans-serif;
}

.edu-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.edu-flex-left {
  flex: 1;
}

.edu-flex-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.edu-flex-right {
  flex: 1;
}

.edu-flex-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1b1b1b;
}

.edu-flex-desc {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
}

.edu-flex-points {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.edu-flex-points li {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.edu-flex-btn {
  display: inline-block;
  background: #4a6cf7;
  padding: 12px 24px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.edu-flex-btn:hover {
  background: #3b56c4;
}


@media (max-width: 900px) {
  .edu-flex-container {
    flex-direction: column;
    text-align: center;
  }

  .edu-flex-right {
    margin-top: 20px;
  }

  .edu-flex-points li {
    justify-content: center;
  }
}



/* section testimonial */

.edu-testimonials-section {
  padding: 80px 10%;
  font-family: 'Poppins', sans-serif;
}

.edu-testimonials-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.edu-testimonials-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

.edu-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.edu-testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.edu-testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.edu-testimonial-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.edu-testimonial-text {
  color: #666;
  font-size: 15px;
}



/* section footer */


.edu-footer {
  background: #0a1b3c;
  color: #fff;
  padding: 60px 20px 20px;
  margin-top: 50px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}


.footer-col {
  width: 250px;
}

.footer-col img {
  width: 200px;
  filter: brightness(0) invert(1);
}

.footer-about {
  font-size: 14px;
  line-height: 1.6;
}


.footer-social a {
  display: inline-block;
  color: #fff;
  font-size: 18px;
  margin-right: 12px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #1e90ff;
  transform: translateY(-4px);
}


.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #dcdcdc;
  font-size: 15px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #1e90ff;
  margin-left: 5px;
}


.footer-col p i {
  color: #1e90ff;
  margin-right: 8px;
}


.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #1e2a4f;
  font-size: 14px;
  color: #bdbdbd;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-social {
    margin-top: 10px;
  }
}
