* {
  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;   
  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 */

.about-hero {
  position: relative;
  height: 60vh;
  background: url('./image/education.webp') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  max-width: 700px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-content p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 15px;
  }
}


/* section who we are */

.who-we-are {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  padding: 80px 10%;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.who-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.who-image img {
  width: 500px;
  max-width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.who-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.who-content {
  flex: 1;
  max-width: 600px;
}

.who-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.who-content h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: #ffd700;
  display: block;
  margin-top: 10px;
  border-radius: 2px;
}

.who-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.who-points {
  list-style: none;
  padding: 0;
}

.who-points li {
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.who-points li i {
  color: #ffd700;
  margin-right: 12px;
  font-size: 18px;
}


@media (max-width: 1200px) {
  .who-container {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .who-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .who-content h2::after {
    margin: 10px auto 0;
  }
  .who-points li {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .who-content h2 {
    font-size: 28px;
  }
  .who-content p {
    font-size: 16px;
  }
  .who-points li {
    font-size: 15px;
  }
}


/* section features */

.features {
  padding: 80px 10%;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.features-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a2a49;
  margin-bottom: 15px;
}

.features-header p {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}


.feature-card {
  background: linear-gradient(135deg, rgb(167, 249, 167), rgb(240, 139, 139));
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-card i {
  font-size: 36px;
  color: #1e2a4f;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1a2a49;
}

.feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}


@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-header h2 {
    font-size: 28px;
  }
  .features-header p {
    font-size: 16px;
  }
  .feature-card i {
    font-size: 30px;
  }
  .feature-card h3 {
    font-size: 20px;
  }
  .feature-card p {
    font-size: 14px;
  }
}


/* section vission */


.vision-mission {
  padding: 80px 10%;
  background: #f5faff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a2a49;
}


.vm-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}


.vm-card {
  background: #ffffff;
  padding: 25px 25px; 
  border-radius: 20px;
  border: 3px solid #0d6efd; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex: 1;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


.vm-card i {
  font-size: 36px;
  color: #0d6efd;
  margin-bottom: 15px;
}


.vm-card h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #1a2a49;
}


.vm-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}


.vm-card.vision {
  background: white;
  color: #fff;
  border-color: #4a00e0; 
}

.vm-card.mission {
  background: white;
  color: #fff;
  border-color: #ff4e2b;
}


@media (max-width: 992px) {
  .vm-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .vm-card {
    max-width: 90%;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }
  .vm-card h3 {
    font-size: 22px;
  }
  .vm-card p {
    font-size: 14px;
  }
  .vm-card i {
    font-size: 30px;
  }
}


/* section why choose us */

.why-choose-us {
  padding: 80px 10%;
  background: #f5f7ff;
  font-family: 'Poppins', sans-serif;
}

.choose-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* Left Image */
.choose-image img {
  width: 100%;
  max-width: 500px;
  height: 500px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.choose-image img:hover {
  transform: scale(1.05);
}


.choose-content {
  flex: 1;
  max-width: 700px;
}

.choose-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a2a49;
  margin-bottom: 15px;
}

.choose-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}


.choose-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


.choose-card {
  background: linear-gradient(to bottom, rgb(182, 233, 173), aqua);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.choose-card i {
  font-size: 32px;
  color: #0d6efd;
  margin-bottom: 12px;
}

.choose-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a2a49;
}

.choose-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}


@media (max-width: 992px) {
  .choose-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .choose-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .choose-content h2 {
    font-size: 28px;
  }
  .choose-content p {
    font-size: 15px;
  }
  .choose-card h3 {
    font-size: 18px;
  }
  .choose-card p {
    font-size: 14px;
  }
}

/* section stat */

.statistics {
  padding: 80px 10%;
  background: url('./image/edu2.webp') no-repeat center center/cover;
  position: relative;
  color: #fff;
}

.stats-overlay {
  background: rgba(0,0,0,0.6); 
  padding: 80px 10%;
}

.stats-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: #fff;
}

.stats-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-card {
  background: rgba(255,255,255,0.1); 
  flex: 1;
  min-width: 200px;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, back 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.2);
}

.stat-card h3 {
  font-size: 40px;
  color: #ffd700;
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 16px;
  color: #fff;
}


/* Tablets */
@media (max-width: 992px) {
  .stats-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stat-card {
    max-width: 300px;
    padding: 25px 15px;
  }

  .stats-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .stat-card h3 {
    font-size: 36px;
  }

  .stat-card p {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .statistics {
    padding: 60px 5%;
  }

  .stats-overlay {
    padding: 60px 5%;
  }

  .stats-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .stat-card {
    min-width: 100%;
    padding: 20px 15px;
    border-radius: 15px;
  }

  .stat-card h3 {
    font-size: 32px;
  }

  .stat-card p {
    font-size: 14px;
  }
}



/* section team */

.team {
  padding: 80px 10%;
  background: #f5f7ff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.team-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a2a49;
}


.team-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}


.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 400px; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.team-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-img img {
  transform: scale(1.1);
}


.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 110, 253, 0.85);
  color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.team-member:hover .team-info {
  transform: translateY(0);
}

.team-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-info p {
  font-size: 14px;
  margin-bottom: 10px;
}


.team-social a {
  color: #fff;
  margin: 0 8px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.team-social a:hover {
  color: #ffd700;
}


@media (max-width: 1200px) {
  .team-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-wrapper {
    grid-template-columns: 1fr;
  }
  .team-title {
    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;
  }
}
