* {
  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 */
.course-hero {
  background: url('./image/education1.webp') no-repeat center center/cover;
  height: 55vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.course-hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-hero h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.course-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.breadcrumb {
  font-size: 16px;
  margin-top: 10px;
}

.breadcrumb a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb span {
  color: #fff;
  margin: 0 5px;
}



/* section course */
.courses-section {
  padding: 80px 10%;
  background: #f5f7ff;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a2a49;
}


.courses-filters {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.courses-filters label {
  margin-right: 10px;
  font-weight: 500;
  color: #1a2a49;
}

.courses-filters select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.course-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-content {
  padding: 20px;
}

.course-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a2a49;
}

.course-content p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #555;
}

.course-rating {
  font-size: 16px;
  color: #ffd700;
  margin-bottom: 15px;
}

.btn-enroll {
  padding: 10px 20px;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.btn-enroll:hover {
  background: #084298;
}

/* Responsive */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}


/* 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;
  }
}
