* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 70px;
}

@media (max-width: 767px) {
    body {
        padding-top: 100px;
    }
}


.carousel-indicators [data-bs-target] {
    background-color: var(--bs-primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /* margin: 0 6px; */
    opacity: 0.5;
    transition: opacity 0.3s ease;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--bs-primary);
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 0.8;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--bs-primary);
    background-size: 60% 60%;
    padding: 15px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #0056b3;
    transform: scale(1.1);
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}


.page-header {
    position: relative;
    background: url('../images/header-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: start;
    z-index: 1;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px #000000;
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}


.teacher-message {
    padding: 50px 0;
}

.teacher-img {
    height: 250px;
    max-width: 100%;
    border-radius: 5px;
}

.signature {
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

.section-title {
    margin-bottom: 40px;
}

/* Ensuring all images have the same size */


#connected-schools .card-img-top,
#services .card-img-top {
    height: 200px;
}


.card-img-top {
    object-fit: cover;
    width: 100%;
    /* height: 200px; */
}

/* Ensure that the anchor tag doesn't change the card's appearance */
.swiper-slide a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Optional: If you want to prevent any hover effects on the card */
.swiper-slide a:hover {
    text-decoration: none;
    color: inherit;
}


/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background: #f2f6fa;
}

#testimonials .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

/* Swiper container */
.testimonials .swiper {
    padding: 20px 0;
    position: relative;
}

/* Slide/Card styling */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    max-width: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Student Photo */
.testimonials .swiper-slide img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #3498db;
    object-fit: cover;
    margin: 0 auto 15px auto;
}

/* Name and Details */
.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.testimonial-course {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}

/* Swiper navigation buttons (smaller + inside) */
.swiper-button-next,
.swiper-button-prev {
    color: #3498db;
    background-color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #3498db;
    color: #ffffff;
}

/* Swiper pagination dots */
/* .swiper-pagination-bullet {
    background: #3498db;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
} */



/* .testSeries-pagination {
    margin-top: 20px;
    position: relative;
    text-align: center;
} */

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}


/* Responsive tweaks */
@media (max-width: 768px) {
    .testimonial-card {
        max-width: 100%;
        padding: 25px 15px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}



/* Modal overlay */
#subscriptionModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* optional: adds dark background */
    z-index: 1000;
}

/* Modal content */
#subscriptionModal .modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none;
}

.landing-content {
    min-height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.landing-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.landing-content p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}