* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.banner-top {
  background: #4c6c03;
  color: white;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social i {
  color: white;
  font-size: 20px;
  margin-right: 12px;
  transition: 0.3s;
}

.social i:hover {
  color: #0d6efd;
}

.info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.info a {
  color: white;
  text-decoration: none;
  margin-left: 5px;
}

.navbarcont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #82dc13;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 22px;
  font-weight: bold;
}
.logo {
  height: 80px;
  width: auto;
  border-radius: 20px;
}

.navbar-right a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.3s;
}

.nav-right a:hover {
  color: #0d6efd;
}

#carouselExampleCaptions {
  max-height: 500px;
  overflow: hidden;
}

/* Make all images same height */
#carouselExampleCaptions .carousel-item img {
  height: 500px;
  width: 100%;
  object-fit: cover;
}

.about {
  padding: 50px 20px;
}

.about_head {
  text-align: center;
  margin-bottom: 20px;
}
.about_tittle {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  color: rgb(49, 67, 34);
}
.border {
  width: 90px;
  height: 5px;
  background: rgb(49, 67, 34);
  margin: 10px auto;
}
.about-para {
  color: #c8872a;
  font-family: Monotype Corsiva;
  font-size: 28px;
  width: 70%;
  text-align: center;

  max-width: 900px;
  margin: 30px auto;
}

.school-name {
  font-family: "Monotype Corsiva", cursive;
  font-size: 32px;
  font-weight: bold;
}
.message {
  padding: 60px 20px;
  background: #f9f9f9;
}
.message .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}
.col-right,
.col-left {
  width: 50%;
}
.col-right {
  flex: 1 1 500px;
  padding-right: 40px;
}

.col-right h4 {
  font-size: 32px;
  color: #f2184f;
  margin-bottom: 15px;
  font-weight: 700;
}
.col-right p {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  color: #444;
  font-family: "Century", serif;
}
.col-left {
  flex: 1 1 350px;
  text-align: center;
}
.col-left img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.classes {
  text-align: center;
  padding: 40px;
}

.classes-row {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.card-body {
  padding: 15px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  object-fit: cover;
  height: 220px;
  margin-bottom: 5px;
}
.card {
  border-radius: 20px;
  width: 18rem;
}
/* testimonial */

.testimonial-section {
  width: 100%;
  text-align: center;
  padding: 45px;
  background: #eaf0f9;
}

.test-head {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #1a1209;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.test-head::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #c8872a;
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-sub {
  font-size: 0.95rem;
  color: #8a7560;
  margin-bottom: 48px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Carousel wrapper */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* Track */
.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

/* Each card */
.testimonial-card {
  min-width: 100%;
  background: #beabab;
  border-radius: 24px;
  display: flex;
  align-items: center;
  /* gap:80px; */
  padding: 52px;
  box-shadow: 0 8px 48px rgba(30, 18, 5, 0.08);
  position: relative;
  overflow: hidden;
}

.testimonial-left {
  flex: 1;
  text-align: left;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8872a;
  background: #fdf3e3;
  border: 1px solid #f0d5a0;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: #2d1e0f;
  line-height: 1.75;
  margin-bottom: 32px;
  font-style: italic;
}

.author strong {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1209;
  margin-bottom: 4px;
}

.author span {
  font-size: 0.85rem;
  color: #8a7560;
  line-height: 1.6;
}

.testimonial-right {
  flex-shrink: 0;
}

.img-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f5e8d4;
  box-shadow: 0 8px 30px rgba(200, 135, 42, 0.2);
  position: relative;
}

.img-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(200, 135, 42, 0.3);
}

.img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4c5b0;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}

.dot.active {
  background: #c8872a;
  width: 28px;
  border-radius: 4px;
}

/* Arrows */
.arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d4c5b0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #8a7560;
}

.arrow-btn:hover {
  background: #c8872a;
  border-color: #c8872a;
  color: #fff;
  transform: scale(1.08);
}

.arrow-btn svg {
  width: 18px;
  height: 18px;
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ===== Footer Main ===== */
.footer {
  background: #1b4d2c;
  color: #fff;
  padding: 50px 0 30px;
  font-family: "Segoe UI", sans-serif;
}

.footer .container {
  margin: auto;
  padding: 0 20px;
}

/* ===== Grid Layout ===== */
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: space-between;
}

/* each column */
.footer-info > div,
.footer-grid,
.footer-info-grid {
  flex: 1 1 220px;
  min-width: 220px;
}

/* ===== Headings ===== */
.footer h4 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #ff7a18;
  font-weight: 600;
}

/* ===== Links ===== */
.footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-info ul li a:hover {
  color: #ff7a18;
  padding-left: 5px;
}
.footer-info address p{
  color: #ddd;
  line-height: 1.7;
  font-size: 14px;
}
/* ===== Mission Text ===== */
.footer-grid ul p  {
  color: #ddd;
  line-height: 1.7;
  font-size: 14px;
}
/* ===== Social Icons ===== */
.social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.social ul li a {
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social ul li a:hover {
  transform: translateY(-3px);
}

/* ===== Bottom Copy ===== */
.copy {
  background: #2b4d40;
  color: #ccc;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
}

.copy a {
  color: #ff7a18;
  text-decoration: none;
}

.copy a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .about_tittle {
    font-size: 40px;
  }

  .about-para {
    width: 80%;
    font-size: 24px;
  }

  .classes-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .navbarcont {
    flex-direction: column;
    text-align: center;
  }

  .navbar-right {
    margin-top: 10px;
  }

  .navbar-right a {
    display: inline-block;
    margin: 10px;
  }

  .message .container {
    flex-direction: column;
    text-align: center;
  }

  .col-left,
  .col-right {
    width: 100%;
    padding: 0;
  }

  .col-right {
    margin-bottom: 30px;
  }

  .classes-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 16rem;
  }
}

@media (max-width: 768px) {
  .banner-top {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .info ul {
    flex-direction: column;
    gap: 8px;
  }

  .about_tittle {
    font-size: 32px;
  }

  .about-para {
    width: 90%;
    font-size: 22px;
  }

  #carouselExampleCaptions .carousel-item img {
    height: 300px;
  }

  .classes {
    padding: 30px 15px;
  }

  .card {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .logo {
    height: 60px;
  }

  .navbar-left {
    font-size: 18px;
  }

  .navbar-right a {
    margin: 8px;
    font-size: 14px;
  }

  .about_tittle {
    font-size: 28px;
  }

  .about-para {
    font-size: 20px;
  }

  .school-name {
    font-size: 24px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .banner-top {
    padding: 8px 10px;
  }

  .social i {
    font-size: 16px;
  }

  .navbarcont {
    padding: 10px;
  }

  .about {
    padding: 30px 10px;
  }

  .about-para {
    font-size: 18px;
  }

  .message {
    padding: 40px 10px;
  }
  .classes {
    padding: 20px 10px;
  }
}
