* {
  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 */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  /* background: #f5faff; */
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1a2a49;
  line-height: 1.2;
}

.hero-content p {
  margin: 20px 0;
  font-size: 18px;
  color: #4a4a4a;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #0056c7;
}


.hero-image img {
  width: 450px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
  .hero {
    padding: 60px 5%;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-image img {
    width: 380px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 5%;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-image img {
    width: 320px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn-primary {
    padding: 10px 24px;
    font-size: 15px;
  }

  .hero-image img {
    width: 270px;
  }
}

@media (max-width: 400px) {
  .hero {
    padding: 40px 4%;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-image img {
    width: 220px;
  }
}


/* section responsibilty */

.responsibility {
  padding: 60px 20px;
}

.resp-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.resp-image img {
  width: 450px;
  max-width: 100%;
  height: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.resp-content {
  max-width: 500px;
}

.resp-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.resp-para {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.resp-points {
  list-style: none;
  padding: 0;
}

.resp-points li {
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.resp-points li::before {
  content: "✔";
  color: #1e90ff;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}



@media (max-width: 768px) {
  .resp-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .resp-image img {
    width: 100%;
    height: auto;  
  }

  .resp-content {
    max-width: 100%;
  }

  .resp-content h2 {
    font-size: 26px;
  }

  .resp-para {
    font-size: 15px;
  }

  .resp-points li {
    padding-left: 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .resp-content h2 {
    font-size: 22px;
  }

  .resp-para {
    font-size: 14px;
  }

  .resp-points li {
    font-size: 14px;
  }
}



/* about us */


.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 10%;
}


.about-left h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.about-left p {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}


.stats {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  background: #c0dcf8;
  padding: 18px 22px;
  border-radius: 10px;
  text-align: center;
}

.stat-box h3 {
  font-size: 28px;
  color: #007bff;
}


.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 15px;
}

.img-grid img {
  width: 100%;
  height: 220px;          
  object-fit: cover;       
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.img-grid .img1 {
  grid-column: 1 / 3; 
  height: 260px;           
}


@media (max-width: 992px) {
  .about-left h2 {
    font-size: 34px;
  }

  .img-grid img {
    height: 200px;
  }

  .img-grid .img1 {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .img-grid {
    max-width: 400px;
    margin: 30px auto 0;
  }
}


@media (max-width: 480px) {
  .img-grid img {
    height: 170px;
  }

  .img-grid .img1 {
    height: 210px;
  }
}

/* section courses */

.courses {
  padding: 80px 10%;
  text-align: center;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a2a49;
}


.course-card {
  background: linear-gradient(to bottom, white, rgb(131, 253, 180));
  border-radius: 15px;
  padding: 20px;
  /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
  text-align: left;
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.course-card h3 {
  margin: 15px 0 10px;
  font-size: 22px;
  color: #1a2a49;
}

.course-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.btn-course {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-course:hover {
  background: #005dc7;
}


.swiper-button-next,
.swiper-button-prev {
  color: #007bff;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}


@media (max-width: 768px) {
  .course-card img {
    height: 150px;
  }
}


/* section review */

.reviews {
  padding: 50px 20px;
  
}

.review-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.review-subtitle {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.review-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.review-card {
  background: linear-gradient(135deg, rgb(171, 254, 171), aqua);
  width: 300px;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px);
}

.student-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.student-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.stars {
  font-size: 20px;
  color: #f4c400; 
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}


@media (max-width: 600px) {
  .review-container {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    width: 90%;
  }
}


/* 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;
  }
}
