* {
  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 */

.contact-hero {
  background: url('./image/edu2.webp') no-repeat center center/cover;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5); 
  width: 100%;
  height: 400px;
  padding: 80px 10%;
  text-align: center;
  color: #fff;
}

.contact-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #f1f1f1;
}

.breadcrumb {
  font-size: 14px;
  color: #ddd;
}

.breadcrumb a {
  color: #ffd700;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


@media (max-width: 992px) {
  .contact-hero h1 {
    font-size: 38px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    min-height: 300px;
  }
  .contact-hero h1 {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
}

/* section get in touch */

.contact-info {
  padding: 80px 10%;
  background: #f5f7ff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a2a49;
}

.contact-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-card {
  background: linear-gradient(to bottom, rgb(192, 244, 192), rgb(124, 124, 245));
  flex: 1;
  min-width: 250px;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 36px;
  color: #0d6efd;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a2a49;
}

.contact-card p,
.contact-card a {
  font-size: 15px;
  color: #555;
  margin-bottom: 5px;
  display: block;
  text-decoration: none;
}

.contact-card a:hover {
  color: #0d6efd;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    max-width: 350px;
  }
}

@media (max-width: 576px) {
  .contact-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .card-icon {
    font-size: 28px;
  }

  .contact-card h3 {
    font-size: 18px;
  }

  .contact-card p,
  .contact-card a {
    font-size: 14px;
  }
}


/* section form */


.contact-form-section {
  padding: 80px 10%;
  background: #f5f7ff;
  font-family: 'Poppins', sans-serif;
}

.contact-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}


.contact-image {
  flex: 1;
}

.contact-image img {
  width: 100%;
  height: 630px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}


.contact-form {
  flex: 1;
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1a2a49;
}

.contact-form p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #555;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  outline: none;
}

.contact-form textarea {
  resize: none;
}

.btn-submit {
  display: inline-block;
  padding: 12px 25px;
  background: #0d6efd;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #084298;
}



@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-image img {
    height: 450px; 
  }

  .contact-form {
    padding: 35px 25px;
  }

  .contact-form h2 {
    font-size: 28px;
  }

  .contact-form p {
    font-size: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .btn-submit {
    font-size: 15px;
    padding: 10px 20px;
  }
}


@media (max-width: 576px) {
  .contact-container {
    flex-direction: column;
    gap: 25px;
  }

  .contact-image img {
    height: 300px; 
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-form h2 {
    font-size: 24px;
  }

  .contact-form p {
    font-size: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 8px 10px;
  }

  .btn-submit {
    font-size: 14px;
    padding: 8px 18px;
  }
}


/* section faq */

.faq-section {
  padding: 80px 10%;
  background: #f5f7ff;
  font-family: 'Poppins', sans-serif;
}

.faq-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #1a2a49;
}

.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-5px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
}

.faq-question h3 {
  font-size: 18px;
  color: #1a2a49;
}

.faq-toggle {
  font-size: 24px;
  color: #0d6efd;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
}

.faq-answer p {
  font-size: 15px;
  color: #555;
  margin: 15px 0;
}



/* 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;
  }
}
