/* Compact slider height */
.carousel-item img {
    height: 460px;        /* Reduced height */
    object-fit: cover;
    object-position: center;
}
.carousel-caption {
    bottom: 8.25rem !important;
}
/* Overlay box */
.custom-caption {
    bottom: 15%;
    background: rgb(0 0 0 / 83%);
    padding: 10px 18px;
    border-radius: 6px;
    max-width: 420px;
}

/* Heading text size */
.custom-caption h3 {
    font-size: 1.5rem;
}
.linkto-any a {
    color: #fff; text-decoration: none;
}

/* Small screens adjustments */
@media (max-width: 768px) {
      .mobile-hidden{display: none;} 
	   .carousel-item img {
        height: auto;
    }
    .custom-caption {
        bottom: 8%;
        max-width: 90%;
        padding: 8px 14px;
		background: rgb(0 0 0 / 60%) !important;
    }
        .custom-caption h3 {
        font-size: 15px;
        text-align: center;
    }
    .custom-caption p {
        font-size: 12px;
        text-align: center;
    }
	.carousel-caption {
        bottom: 2rem !important;
        left: 10% !important;
        right: 10% !important;
		padding-top: 10px !important;
    padding-bottom: 4px !important;
    }
}


/* ==========================
   HERO INTRO SECTION STYLE
========================== */

.hero-intro {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.3;
  color: #222;
  animation: fadeInLeft 1s ease;
}

/* Bullet points */
.hero-points li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Buttons */
.hero-btn {
  transition: 0.3s ease;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

/* Hero image animation */
.hero-image-wrapper {
  animation: fadeInUp 1.2s ease;
}

.hero-image {
  border-radius: 20px;
  object-fit: cover;
}


/* ==========================
   Animations
========================== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Styling */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
}

/* ==========================
   Courses Section Styling
========================== */

.courses-section {
  background: #f8f9fb;
}

.section-title {
  font-size: 2.2rem;
  position: relative;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 600px;
}

/* Course Card */
.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.course-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.course-content h5 {
  font-size: 1.1rem;
}

.course-content p {
  font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .course-img {
    height: 277px;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* ==============================
   FACULTY SECTION STYLING
============================== */

.faculty-section {
  background: #ffffff;
}

.section-title {
  font-size: 2.2rem;
  position: relative;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 600px;
}

/* Faculty Card */
.faculty-card {
  border-radius: 16px;
  transition: 0.4s ease;
  background: #fff;
  overflow: hidden;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

/* Faculty Image */
.faculty-img-wrapper {
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.faculty-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.5s ease;
}

.faculty-card:hover .faculty-img {
  transform: scale(1.08);
}

/* Names & Content */
.faculty-content h4 {
  font-size: 1.4rem;
}

.faculty-content p {
  font-size: 0.95rem;
}

/* Social Icons */
.faculty-social a {
  color: #555;
  transition: 0.3s ease;
}

.faculty-social a:hover {
  color: #dc3545;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .faculty-img {
    height: 305px;
  }
  .section-title {
    font-size: 1.9rem;
  }
}


/* ==============================
   HOME TUITION STYLING
============================== */

.home-tuition-section {
  background: #f8f9fb;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 650px;
}

/* Tuition Cards */
.tuition-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: 0.35s ease;
}

.tuition-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tuition-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.4s ease;
}

.tuition-card:hover .tuition-img {
  transform: scale(1.07);
}

.tuition-content h5 {
  font-size: 1.1rem;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #ffffff, #f1f1f1);
  border-left: 6px solid #dc3545;
  transition: 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(220,53,69,0.25);
}

/* Mobile */
@media (max-width: 768px) {
  .tuition-img {
    height: 200px;
  }
  .cta-box {
    border-left: none;
    border-top: 6px solid #dc3545;
  }
}

/* ==========================================
   WHY CHOOSE US - STYLING
========================================== */

/* Background Gradient */
.whyus-section {
  background: linear-gradient(135deg, #d71325, #700000);
}

/* Light heading style */
.section-title-light {
  font-size: 2.2rem;
  color: #fff;
  position: relative;
}

.section-title-light::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #ffffff;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.section-subtitle-light {
  max-width: 650px;
  color: #f8f9fa;
}

/* USP Cards */
.usp-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transition: 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.usp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  background: rgba(255, 255, 255, 0.15);
}

/* Icons */
.usp-icon i {
  font-size: 2.2rem;
  color: #ffffff;
  transition: 0.3s ease;
}

.usp-card:hover i {
  transform: scale(1.15);
  color: #ffe6e6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .section-title-light {
    font-size: 1.8rem;
  }
}

/* =============================
   REVIEWS SECTION STYLING
============================= */

.reviews-section {
  background: #f8f9fb;
}

/* Title underline */
.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 650px;
}

/* Google Badge */
.google-badge {
  background: #fff;
  border: 1px solid #ddd;
}

.google-logo {
  width: 70px;
  height: auto;
}

/* Testimonial Card */
.testimonial-card {
  max-width: 700px;
  background: #ffffff;
  border-radius: 14px;
  position: relative;
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Mobile View */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 0.95rem;
	padding: 0 13px;
  }
}


/* Results Section Styling */
.results-section {
  background: #ffffff;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  margin: 10px auto 0;
  display: block;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 650px;
}

/* Result Cards */
.result-card {
  background: #fff;
  border-radius: 14px;
  transition: 0.3s ease;
}

.result-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Gallery */
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  cursor: pointer;
}

.gallery-row {
  margin-top: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .gallery-img {
    height: 200px;
  }
}

/* CONTACT SECTION STYLING */
.contact-section {
  background: #f8f9fb;
}

/* Section Title */
.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  margin: 10px auto;
  display: block;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 650px;
}

/* Contact Box Styling */
.contact-box {
  background: #fff;
  border-left: 5px solid #dc3545;
  border-radius: 14px;
}

.contact-box i {
  color: #dc3545;
}

/* Social Icons */
.social-icons a {
  color: #555;
  transition: 0.3s ease;
}
.social-icons a:hover {
  color: #dc3545;
}

/* Contact Form Styling */
.contact-form {
  background: #fff;
  border-radius: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 10px;
  border: 1px solid #ddd;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #dc3545;
  box-shadow: none;
}

/* Google Map Box */
.map-box {
  border-radius: 16px;
}

/* ============================
       FOOTER STYLING
============================ */

.footer-section {
  background: #111111;
  color: #ddd;
}

.footer-logo {
  font-size: 1.3rem;
  line-height: 1.3;
}

.footer-social a {
  color: #ddd;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #dc3545;
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #dc3545;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-logo {
    font-size: 1.1rem;
  }
}

/* ============================
     STICKY WHATSAPP BUTTON
============================ */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  padding: 12px 0;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  z-index: 999;
  display: block;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ============================
     BACK TO TOP BUTTON
============================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 45px;
  height: 45px;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.back-to-top:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.carousel-control-next, .carousel-control-prev {width: 10%!important;}


/* ==================================
      ABOUT SECTION STYLING
================================== */

.about-section {
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  padding-top: 70px;
  padding-bottom: 70px;
}

.about-title {
  font-size: 2.2rem;
  color: #222;
  animation: fadeInLeft 1s ease;
}

/* Image Styling */
.about-img-wrapper {
  overflow: hidden;
  border-radius: 20px;
  animation: fadeInUp 1.2s ease;
}

.about-img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  transition: 0.4s ease-in-out;
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.08);
}

/* List items */
.about-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease;
}

/* Button */
.about-btn {
  transition: 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 53, 69, 0.35);
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
  .about-title {
    font-size: 1.8rem;
  }
  .about-img {
    height: 450px;
  }
}

/* ============================
        FAQ STYLING
============================ */
.faq-section {
  background: #ffffff;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #dc3545;
  display: block;
  margin: 10px auto;
  border-radius: 10px;
}

.section-subtitle {
  max-width: 650px;
}

/* Accordion Style */
.accordion-button {
  font-weight: 600;
  border-radius: 6px !important;
}

.accordion-button:not(.collapsed) {
  background: #dc3545;
  color: #fff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

/* ============================
     STICKY CALL BUTTON
============================ */
.call-float {
  position: fixed;
  bottom: 110px; /* Adjust above footer */
  left: 25px;
  width: 55px;
  height: 55px;
  padding: 12px 0;
  background-color: #dc3545;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  display: block;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: callPulse 1.5s infinite ease-in-out;
}

.call-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  color: #fff;
}

/* Pulse Animation */
@keyframes callPulse {
  0% { box-shadow: 0 0 0 rgba(220,53,69,0.5); }
  50% { box-shadow: 0 0 20px rgba(220,53,69,0.8); }
  100% { box-shadow: 0 0 0 rgba(220,53,69,0.5); }
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .call-float {
    bottom: 90px;
    left: 15px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}