*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body {
    background-color: red;
}
/* Header - Navbar*/
.collapse{
    justify-content: end;
}

.nav-item a{
    font-weight: 500;
    font-size: 18px;
    color: black;
}

.nav-item a:hover{
    background-color:rgb(233, 224, 224) ;
}

/* ******************************************************** Index page CSS ************************************************************ */
/* Main - section - image */
.carousel-item img {
  height: 600px;       /* decrease height */
  object-fit: cover;   /* keeps image proper */
}

/* section - marquee */
.marquee{
    background-color: rgb(47, 46, 46) !important;
}

.marquee marquee{
    font-weight: 400;
    font-size: 30px;
    color: white;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* section - Active learning */
.card img{
    width: 50%;
    align-self: center;
    margin-bottom: 40px;
}

.card-title{
    text-align: center;
    font-weight: 400 !important;
    font-size: 16px;
    color: rgb(3, 59, 98) !important;
    font-family: sniglet !important;
}

.card-text{
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    color: rgb(104, 104, 104);
    margin-top: 40px;
}

.active_learning{
    margin: 40px;
}

.card {
    min-height: 320px;   /* increase height */
}

/* About the world school */
.container_about_the_world_school{
    display: flex;
    padding-top: 40px;
    justify-content: center;
}

.data_about_the_world_school{
    width: 50%;
    padding-left: 40px;
}

.data_about_the_world_school h2{
    font-weight: 400;
    font-size: 30px;
    color: rgb(3, 59, 98);
    font-family: sniglet !important;
}

.data_about_the_world_school p{
    font-weight: 400;
    font-size: 16px;
    color: rgb(104, 104, 104);
}

/* ----------------RESPONSIVE - MOBILE (≤425px) & TABLET (≤768px) ---------------- */
@media (max-width: 768px) {
    .container_about_the_world_school {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .container_about_the_world_school img {
        width: 80%;
    }

    .data_about_the_world_school {
        width: 100%;
        padding-left: 0;
    }

    .data_about_the_world_school h2 {
        font-size: 26px;
    }
}

/* What Parents Say */
.what_p h1{
    font-family: sniglet !important;
    color: rgb(3, 59, 98);
    font-weight: 400;
    font-size: 30;
    text-align: center;
    margin: 40px;
}

.card-title1{
    font-weight: 700; font-size: 18px; color: black;
}

.card-text1{
    color: rgb(52, 62, 71);
}

.after_cloud img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.col h6{
    font-weight: 400;
    font-size: 16px;
    color: black;
    font-family: sniglet !important;
}

.col p{
    color: rgb(104, 104, 104);
}

.col a{
    text-decoration: none;
    color: rgb(104, 104, 104);
}

.copyright{
    color: rgb(104, 104, 104);
    background-color: #c7d7e5;
    text-align: center;
    height: 100px;
    padding-top: 30px;
}

/* ******************************************************** About_Us page CSS ************************************************************ */
/* about_us_image */
.about_us_image{
    background: linear-gradient( rgba(0, 0, 0, 0.8)), url('Images/about_us_page.jpg');
    background-position: center center;
    background-size: cover;
    height: 400px;
    margin-top: 20px;
}

.about_us_image h1{
    font-weight: 600;
    font-size: 40px;
    color: white;
    text-align: center;
    padding-top: 10%;
}

.about_us_image p{
    font-weight: 400;
    font-size: 17px;
    color: white;
    text-align: center;
}

@media (max-width: 768px){
    .about_us_image h1{
    padding-top: 40%;
    }
}

/* about_us_OurMission_OurVision*/
.about_us_OO{
    margin-top: 40px;
    background: url('Images/about-us-bg-1.jpg');
    background-size: cover;
    padding: 60px 20px;
}

.card2-title{
    font-family: sniglet !important;
    color: black;
    font-weight: 400;
    font-size: 30px;
}

.card2-text{
    font-weight: 400;
    font-size: 16px;
    color: rgb(104, 104, 104);
    width: 50%;
    text-align: justify;
    line-height: 26px;
}

.card2-img-overlay{
    padding-left: 10%;
    padding-right: 10%;
}

@media (max-width: 768px) {
    .about_us_OO{
        padding: 40px 15px;
    }

    .card2-img-overlay{
        padding-left: 5%;
        padding-right: 5%;
    }

    .card2-title{
        font-size: 22px;
    }

    .card2-text{
        width: 100%;
        font-size: 14px;
        text-align: left;
    }
}
/* About us last section */
.about_us_last h2{
    font-weight: 400;
    font-size: 30px;
    font-family: sniglet !important;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
}

.about_us_last p{
    font-weight: 400;
    font-size: 16px;
    color: rgb(104, 104, 104);
}

.about_us_last{
    margin-left: 10%;
    margin-right: 10%;
}
/* ******************************************************** Other_activities page CSS ************************************************************ */
.abacus {
    margin-top: 40px;
    background-color: #ffdb85;
    padding: 60px 20px;
}

.abacus_images .abacus-img{
    width: 100%;
    margin-right: -30px;
}


.Vedic_Maths {
    margin-top: 40px;
    background-color: #03a9f4;
    padding: 60px 20px;
}

/* MAIN LAYOUT */
.card3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-left: 10%;
    margin-right: 10%;
}

/* LEFT TEXT */
.card3-content {
    width: 60%;
}

.card3-title {
    font-family: sniglet !important;
    color: black;
    font-weight: 400;
    font-size: 30px;
}

.card3-text {
    font-size: 16px;
    color: black;
    text-align: justify;
    line-height: 26px;
}

/* RIGHT IMAGES */
.abacus_images {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.abacus_images img {
    width: 80%;
    border-radius: 10px;
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .card3 {
        flex-direction: column;   /* stack */
        text-align: center;
    }

    .card3-content {
        width: 100%;
    }

    .card3-title {
        font-size: 22px;
    }

    .card3-text {
        font-size: 14px;
        text-align: left;
    }

    .abacus_images {
        width: 100%;
        align-items: center;
    }

    .abacus_images img {
        width: 90%;
    }
}

/* ******************************************************** Testimonials page CSS ************************************************************ */
.testimonials p{
    font-weight: 700;
    font-size: 20px;
    color: black;
}

.testimonials{
    margin-top: 40px;
}

.alert{
    margin: 60px;
}

/* ******************************************************** Gallery page CSS ************************************************************ */
.gallery{
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-right: 10%;
}

.gallery img{
    margin-top: 10px;
    margin-right: 10px;
}
/* ******************************************************** Contact page CSS ************************************************************ */
.grid .last{
    color: rgb(49, 133, 203);
    font-weight: 700;
    font-size: 30px;
    font-family: Lobster Two !important;
}