* {
  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;
}




.edu-dashboard {
  padding: 50px 6%;
  background: #eef3ff;
  font-family: 'Poppins', sans-serif;
}


.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 45px;
}


.dash-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid #e6e9ff;
}


.dash-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}


.big-number h4 {
  font-size: 16px;
  color: #596070;
  font-weight: 600;
  letter-spacing: .4px;
}

.big-number h2 {
  font-size: 40px;
  color: #1976d2;
  margin-top: 12px;
  font-weight: 700;
}


.chart-box {
  height: 300px;
  padding-bottom: 5px;
}

.chart-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1f36;
}


.chart-box h4::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: #1E88E5;
  margin-top: 6px;
  border-radius: 2px;
}


@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .big-number h2 {
    font-size: 34px;
  }
}


@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .chart-box {
    height: 260px;
  }
}


@media (max-width: 576px) {
  .dash-card {
    padding: 20px;
    border-radius: 14px;
  }

  .chart-box h4 {
    font-size: 16px;
  }

  .big-number h2 {
    font-size: 28px;
  }
}


/* 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;
  }
}
