:root {
  --brown: #562E2E;
  --dark-brown: #251212;
  --light-brown: #9F8484;
  --yellow: #e5bd5c;
  --head-font: 'Poppins', sans-serif;
  --body-font: 'Inter', sans-serif;
}

body {
  overflow-x: hidden;

}

p {
  font-family: var(--body-font);
}

.line {
  width: 200px;
  height: 3px;
  background-color: var(--yellow);
  margin-bottom: 30px;
}

/* navbar */
.navbar-section {
  background-color: #fff;
}

.navbar {
  width: 100%;
}

.logo-wrapper {
  width: 250px;
}

.logo-wrapper img {
  width: 100%;
}

.nav-item a {
  color: var(--dark-brown);
}

.nav-item a:hover {
  color: var(--brown);
  text-decoration: underline;
}


.nav-btn {
  background-color: var(--brown);
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  color: #fff !important;
  display: block;
}



.nav-btn:hover {
  background-color: var(--dark-brown);
}


/* hero section  */
.hero-section {
  background-color: #f5f5f5;
}

.hero-content h1 {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
  color: var(--brown);
}

.hero-content h1 span {
  color: var(--dark-brown)
}

.hero-content p {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark-brown);
  margin-bottom: 30px;
}

.hero-content button {

  border: none;
  outline: none;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}

.primary-btn {
  background-color: var(--yellow);
  border-radius: 10px;
  color: var(--dark-brown);
  padding: 10px 20px;
}

.primary-btn:hover {
  background-color: var(--brown);
  color: #fff
}

.learn-more-btn {
  background: transparent;
  color: var(--dark-brown);
  display: flex;
  align-items: center;
  gap: 10px;
}

.learn-more-btn span {
  background-color: var(--brown);
  padding: 10px 15px;
  border-radius: 10px;

  color: #fff;
  transition: all 0.3s ease-in-out
}

.learn-more-btn span i {
  transform: rotate(-45deg);
}

.learn-more-btn:hover span i {
  color: var(--yellow);
}

.grid {
  border-radius: 30px;
  overflow: hidden;

}

.grid-left-container {
  position: relative;
}

.grid-circle {
  position: absolute;
  top: 160px;
  left: -40px;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background-color: var(--brown);
  border: 7px solid #f5f5f5;
}

.grid-left-top {
  background-color: var(--yellow);
  height: 210px;
  width: 100%;
  margin-bottom: 20px;
  padding: 30px;
}

.grid-line {
  height: 120px;
  width: 1px;
  background-color: #fff;
}

.grid-left-content-container {
  display: flex;
  gap: 40px;
  color: #fff;
}

.grid-left-content-container p {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.5;
}

.grid-left-content-container h3 {
  font-family: var(--body-font);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 5px !important;

}

.grid-line-image-wrap {
  gap: -10px;
  margin-bottom: 20px;
}

.grid-line-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #fff;

}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.grid-line-img-2 {
  margin-left: -20px;
  animation: slideIn 1s ease-out 0.8s forwards;
  opacity: 0;
}



.grid-left-bottom {
  background-color: var(--yellow);
  height: 120px;
  width: 100%;
  position: relative;
  padding: 30px
}

.grid-left-bottom img {
  position: absolute;
  right: 30px;
  bottom: 0;
  width: 90px;
}

.grid-left-bottom p {
  margin-top: 30px;
  color: #fff;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1;
}

.grid-right {
  height: 350px;
  width: 100%;

}

.grid-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-content-container {
  padding: 120px 0;

}

.hero-carousel {
  height: 590px;
}

.hero-arrow {
  background-color: var(--brown);
  padding: 10px 17px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease-in-out
}

.hero-slider-container {
  overflow: hidden;
  margin-bottom: 60px;
}


.section-subhead {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  background-color: var(--brown);
  color: #fff !important;
  margin: 0 auto 20px auto;
  padding: 10px 20px;
  border-radius: 30px;
  width: fit-content;
}

.section-head {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--dark-brown);
  margin-bottom: 20px;
}

/* subhero section  */

.subhero-section {
  height: 180px;
  background-color: #f5f5f5;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center
}

.subhero-section h1 {
  font-size: 2rem;
}

.subhero-section a {
  color: var(--brown);
}


/* why-choose-us */

.why-choose-us {
  padding: 50px 0;
}


.why-choose-us-grid {
  margin-top: 60px;
}

.why-choose-us-card {
  background-color: #f5f5f5;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  padding: 30px 15px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.why-choose-us-card img {
  margin-bottom: 15px;
  transition: all 0.3s ease-in-out;
  border-color: #fff;
}

.why-choose-us-card p {
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: 0;
  transition: all 0.3s ease-in-out;
  font-family: var(--body-font);
}

.why-choose-us-card:hover {
  background-color: var(--yellow);
}


/* 
.why-choose-us-card:hover img{
    border: 3px solid #fff;
    border-radius: 50%;
} */


/* about us section  */

.about-us-section {
  padding: 60px 0;
}

.about-us-section p {
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark-brown);
}

.about-image-container {
  max-width: 450px;
  margin-right: 50px;
  width: 100%;
  position: relative;
}

.about-dots {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 80px;
  will-change: transform;
  pointer-events: none;
}

.about-image {
  width: 100%;
  position: relative;
  z-index: 1
}

.about-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -70px;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background-color: var(--brown);
  border: 5px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--body-font);
  text-align: center;
  z-index: 2;
}

.about-circle-number {
  font-weight: 700 !important;
  font-size: 2.2rem;
  color: var(--yellow) !important;
  margin-bottom: 0 !important;
}

.about-circle-text {
  font-weight: 400;
  font-size: 0.9rem;
  color: #fff !important;
  margin-bottom: 0 !important;
  line-height: 1.1 !important;
}

.vm-wrap {
  margin-top: 40px;
}

.vm-card {
  padding: 30px;
  background-color: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 20px;
  min-height: 250px;
  height: 100%;
}

.vm-card h4 {
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 20px;
  font-family: var(--head-font);
  font-size: 1.4rem;
  line-height: 1.3;
}

.vm-card p {
  font-weight: 400;
  color: var(--dark-brown);
  margin-bottom: 0;
  font-family: var(--body-font);
  line-height: 1.5;
}

/* results section  */

.results-section {
  background: url("Assets/results-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 60px 0
}

.students-results-container {
  margin-top: 60px;
}

.result-card {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 100%;
}

.result-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.result-card p {
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: 0;
  font-family: var(--body-font);
  line-height: 1.5;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 0;
}

.results-next {
  position: absolute;
  right: 0px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: #562e2eb9;
  padding: 10px 17px;
  border-radius: 50%;
  color: #fff;
}

.results-prev {
  position: absolute;
  left: 0px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: #562e2eb9;
  padding: 10px 17px;
  border-radius: 50%;
  color: #fff;
}

.results-next:hover,
.results-prev:hover {
  background-color: #562e2e;
}

.results-prev.disabled,
.results-next.disabled {
  display: none;
}


/* testimonial-section  */

.cta-section {
  background: #f0eeee;
  padding: 60px 0;

}

.cta-info {
  max-width: 600px;
  width: 100%;
}



.cta-content h2 {
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px;
}

.cta-content h2 span {
  color: var(--brown)
}



.cta-btn {
  background-color: var(--brown);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease-in-out;
}

.cta-btn:hover {
  background-color: var(--dark-brown);
  color: #fff;
}

.footer-section {
  background-color: var(--dark-brown);
  padding: 70px 0 40px;
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo img {
  width: 170px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.9rem;
}

.footer-links h5,
.footer-contact h5,
.footer-social h5 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h5::after,
.footer-contact h5::after,
.footer-social h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--yellow);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 5px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact i {
  font-size: 1rem;
  color: var(--yellow);
  margin-top: 4px;
  transition: transform 0.3s ease;
}

.footer-contact .contact-item:hover i {
  transform: translateY(-2px);
}

.footer-contact a,
.footer-contact p {
  color: #fff;
  text-decoration: none;
  margin: 0;
  font-size: 0.9rem;
}

.footer-contact a:hover {
  color: var(--yellow);
}

.footer-social .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
  margin-right: 10px;
  text-decoration: none;
}

.footer-social .social-links a:hover,
.footer-social .social-links a:focus {
  background-color: var(--yellow);
  color: var(--dark-brown);
  border-color: var(--yellow);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media screen and (max-width: 1400px) {
  .hero-carousel {
    height: 504px;
  }

  .hero-content-container {
    padding: 77px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .grid-left-top {
    padding: 20px;
    padding-right: 0;
  }

  .grid-left-bottom p {
    display: none;
  }
}



@media screen and (max-width: 1200px) {
  .grid-circle {
    left: -60px;
  }

}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .hero-carousel {
    height: 1060px;
  }

  .grid-left-container {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
  }

  .grid-right {
    max-width: 350px;
    height: 300px;
    width: 100%;
    margin: 0 auto;
  }

  .grid-left-bottom p {
    display: block;
  }

  .grid-circle {
    display: none;
  }

  .about-image-container {
    margin-top: 60px;
  }

  .about-circle {
    top: 30px;
    left: -7px;
  }
}

@media (max-width: 576px) {
  .hero-slider-container {
    margin-bottom: 0;
  }

  .hero-content-container {
    padding: 60px 0;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-head {
    font-size: 1.5rem;
  }

  .why-choose-us,
  .about-us-section {
    padding-bottom: 0;
  }

  .footer-section {
    padding: 50px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-logo img {
    width: 150px;
  }

  .footer-links h5::after,
  .footer-contact h5::after,
  .footer-social h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact .contact-item {
    justify-content: center;
  }

  .footer-social .social-links a {
    margin: 0 8px;
  }
}