.spanone,
.spantwo,
.sliderMenu .images img {
    display: none
}

.sentence {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
}

:root {
    --col1: #FF6100;
}

* {
    font-family: "Poppins", sans-serif;
}

.bg1 {
    background-color: var(--col1);
}

.col1 {
    color: var(--col1);
}

.topmenuLogo {
    width: 150px;
}

.navbar {
    transition: 0.4s;
}

.nav-link.active {
    font-weight: 700;
}

.headerText {
    font-size: 3vw;
    text-align: center;
    height: 60px;
    overflow: hidden;
    margin-top: -150px;
    color: #fff;
}

a .neon-gradient-btn {
    /* Sizing and spacing */
    display: inline-block;
    padding: 25px 45px;
    margin: 10px; /* Space between buttons */
    
    /* Text and appearance */
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 2.1rem;
    border-radius: 50px; /* Pill shape */
    text-align: center;

    background-image: linear-gradient(45deg, #ff512f, #f09819);
    box-shadow: 0 0 5px #f09819,
                0 0 15px #ff512f;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a .neon-gradient-btn:hover {
    transform: scale(1.1);
    color: #f8f9fa;
    box-shadow: 0 0 10px #f09819,
                0 0 20px #ff512f,
                0 0 30px #ff512f;
}


@media only screen and (max-device-width:500px) {
    .headerText {
        margin-top: -8% !important;
        height: auto;
    }

    .clientPartnerImages {
        width: 100% !important;
        height: 100% !important;
    }
}

.headerText .withText {
    margin-left: 15vw;
}

.leftRightText .para {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3vw;
    text-align: center;
    font-weight: 600;
}

.leftRightText .para span {
    font-size: 5vw;
}

.btn_primary {
    display: inline-block;
    background-color: var(--col1);
    font-size: 3vw;
    padding: 1vw 3vw;
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--col1);
    transition: all ease .3s;
}

.btn_primary:hover {
    color: var(--col1);
    background-color: #fff;
}

.toughBoring .para {
    font-size: 2.5vw;
}

.toughBoaringCard {
    background-color: #F2F0F4;
    padding: 2vw 2vw;
    border-radius: 15px;
}

.toughBoaringCard img {
    width: 50%;
}

.journey .para {
    font-weight: 600;
}

.eduStarBg {
    background: linear-gradient(144deg, rgba(255, 97, 1, 1) 0%, rgba(225, 165, 57, 1) 50%);
    position: relative;
    padding: 15px 0 45px 0;
    border-radius: 15px;
}

.eduStarBg .btn_viewMore {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #00000078;
    border-radius: 0px 0px 15px 15px;
    color: #fff;
    padding: 5px 0;
    cursor: pointer;
}

.statsCard {
    background-color: #fff;
    border-radius: 10px;
}

.statsBg {
    background-size: 250%;
    background-repeat: no-repeat;
    background-position: center;
}

.imgStatsPerson {
    position: absolute;
    width: 150px;
    bottom: 0;
}

.stats_person1 {
    left: 5%;
}

.stats_person2 {
    right: 5%;
}

.clientPartnerImages {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    filter: grayscale(100%);
    transition: all ease .5s;
}

.clientPartnerImages:hover {
    filter: grayscale(0%);
}

.awardsImages {
    max-width: 50%;
    position: relative;
}

.navbar-brand img {
    width: 150px;
}

#navbar {
    background-color: #FF6100;
}

.nav-link {
    color: #ffffff !important;
}
.nav-link.active{
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1rem;
}

.classprogramcard {
    background-color: #FFF6F1;
    border-radius: 15px;
    padding: 20px 20px;
}

.classlist {
    text-align: center;
}

.classlist li {
    list-style-type: none;
    display: inline-block;
    border: 1px solid var(--col1);
    padding: 10px 20px;
    margin: 5px 10px;
    background-color: #fff;
    border-radius: 10px;
    color: #878787;
    cursor: pointer;
    font-weight: bold;
    width: 325px;
height: 350px;
}
/* Your original .classlist li, with modifications */
.classlist li {
list-style-type: none;
display: inline-block;
border: 1px solid var(--col1);

/* Remove padding, we'll add it to the content div */
padding: 0; 

margin: 5px 10px;
background-color: #fff;
border-radius: 10px;
color: #878787;
cursor: pointer;
font-weight: bold;
width: 325px;
height: 391px;
overflow: hidden; 

}


/* Style the image inside the li */
.classlist li img {
width: 100%;      /* Make image fill the width */
height: 330px;    /* Give the image a fixed height */
object-fit: cover; /* Crop image to fit, not stretch */
display: block;   /* Remove any extra space below image */
}

/* Style the text content container */
.classlist li .li-content {
/* Add the padding here instead */
padding: 10px 20px;
}

.gradienttext {
    background: linear-gradient(91deg, #ff6100 69.77%, #ffaa10 101.94%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.programcard {
    background-color: #FFECD0;
    border: 1px solid #FF995A;
    border-radius: 10px;
}

.programcard img {
    width: 100px;
}

.tagName,
.notes {
    font-size: 12px
}

.tagName i {
    width: 20px;
}

.classlist .active {
    background-color: #E2FFEA;
    border: 1px solid #7BDA94;
}

.my-button {
/* Blue background */
color: white;              /* White text */
padding: 10px 20px;        /* Some padding */
text-align: center;
text-decoration: none;     /* Remove underline */
display: inline-block;
border-radius: 5px;        /* Rounded corners */
border: 2px solid;
cursor: pointer;    
/*padding: 16px;*/
width: 100%;       /* Mouse pointer on hover */
}

.my-button:hover {
background-color: #ffffff;
color: #f58300 ; /* Darker blue on hover */
border: 2px solid #f58300 ;
border-radius: 5px; 
}
.buttons-manual{
margin: 1px -1px 1px -1px;
width: auto;
height: auto;
display: flex;
justify-content: center;
align-items: center;
}
.orange{
background-color: #f58300;
border-radius: 3px 3px 9px 3px;
}
.yellow{
background-color: #ffcd06;
font-weight: 600;
border-radius: 3px 3px 3px 9px;

}

/*.spanone,*/
/*.spantwo,*/
/*.sliderMenu .images img {*/
/*    display: none*/
/*}*/

/*.sentence {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    color: #fff;*/
/*}*/

/*.bg1 {*/
/*    background-color: var(--col1);*/
/*}*/

/*.col1 {*/
/*    color: var(--col1);*/
/*}*/

.topmenuLogo {
    width: 150px;
}


.navbar {
    transition: 0.4s;
}

.nav-link.active {
    font-weight: 700;
}

.headerText {
    font-size: 3vw;
    text-align: center;
    height: 60px;
    overflow: hidden;
    margin-top: -150px;
    color: #fff;
}

@media only screen and (max-device-width:500px) {
    .headerText {
        margin-top: -8% !important;
        height: auto;
    }

    .clientPartnerImages {
        width: 100% !important;
        height: 100% !important;
    }
}

.headerText .withText {
    margin-left: 15vw;
}

.leftRightText .para {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3vw;
    text-align: center;
    font-weight: 600;
}

.leftRightText .para span {
    font-size: 5vw;
}

.btn_primary {
    display: inline-block;
    background-color: var(--col1);
    font-size: 3vw;
    padding: 1vw 3vw;
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--col1);
    transition: all ease .3s;
}

.btn_primary:hover {
    color: var(--col1);
    background-color: #fff;
}

.toughBoring .para {
    font-size: 2.5vw;
}

.toughBoaringCard {
    background-color: #F2F0F4;
    padding: 2vw 2vw;
    border-radius: 15px;
}

.toughBoaringCard img {
    width: 50%;
}

.journey .para {
    font-weight: 600;
}

.allEduStoreItems img {
    background-color: var(--col1);
    padding: 15px;
    border-radius: 15px;
    width: 100px;
}

.eduStarBg {
    background: linear-gradient(144deg, rgba(255, 97, 1, 1) 0%, rgba(225, 165, 57, 1) 50%);
    position: relative;
    padding: 15px 0 45px 0;
    border-radius: 15px;
}

.eduStarBg .btn_viewMore {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #00000078;
    border-radius: 0px 0px 15px 15px;
    color: #fff;
    padding: 5px 0;
    cursor: pointer;
}

.statsCard {
    background-color: #fff;
    border-radius: 10px;
}

.statsBg {
    background-size: 250%;
    background-repeat: no-repeat;
    background-position: center;
}

.imgStatsPerson {
    position: absolute;
    width: 150px;
    bottom: 0;
}

.stats_person1 {
    left: 5%;
}

.stats_person2 {
    right: 5%;
}

.clientPartnerImages {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    filter: grayscale(100%);
    transition: all ease .5s;
}

.clientPartnerImages:hover {
    filter: grayscale(0%);
}

.awardsImages {
    max-width: 50%;
    position: relative;
}

.allEduStoreItems img {
    background-color: var(--col1);
    padding: 15px;
    border-radius: 15px;
    width: 100px;
}

.ContactCard {
    box-shadow: 3px 4px 18px -7px rgba(0, 0, 0, 0.25);
    background: linear-gradient(90deg, #ffffff 50%, var(--col1) 50%);
    border-radius: 15px;
}
.edu-logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
@media  only screen and (max-device-width:1000px) {
    .ContactCard {
        background: linear-gradient(180deg, #ffffff 65%, var(--col1) 50%)
    }
    .custom-responsive-row {
flex-direction: column;
}
}
#ContactCaptcha{
    text-align: center;
}

.bottom_footer_menu {
    background-color: var(--col1)
}

.footer h4 {
    color: #F55D00;
    background-color: #fff;
    display: inline-block;
    padding: 2px 22px;
    border-radius: 20px;
    font-weight: bold;
}

.footer {
    position: relative;
}

#lamp {
    width: 200px;
    position: absolute;
    transform: scaleX(-1);
    top: -160px;
}

.social i {
    font-size: 30px;
    color: #fff;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

.social i:hover {
    color: #000;
}

.social a,.footer a {
    text-decoration: none !important;
    color: #fff;
}

.pub_pay_now {
    background-color: #FF6100 !important;
    color: #fff !important;
    border: solid 1px #fff !important;
}

@media(max-width:576px) {
    .link {
        margin-top: -46px;
    }

    .social_icon {
        margin-bottom: 50px;
    }

    .footer_img {
        margin-top: 80px;
    }

    .link {
        text-align: center;
    }

    .pub_pay_now {
        background-color: transparent !important;
        border: solid 1px #fff !important;
        color: #fff !important;
    }
}

@media(max-width:300px) {
    .pub_pay_now {
        background-color: transparent !important;
        border: solid 1px #fff !important;
        color: #fff !important;
    }
}


.footer {
    margin: 200px 0 0 0;
}
/* === ADD THIS CSS TO THE BOTTOM of your style.css file === */

/* 1. Responsive Font Sizing (Replaces bad vw units) */
.headerText {
    /* Clamps font size between 1.5rem and 2.5rem, scaling with viewport */
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: -50px;
    height: auto; /* Let height be automatic */
}

.leftRightText .para,
.toughBoring .para {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
}

.btn_primary {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1rem, 3vw, 2.5rem);
}


/* 2. New Program Card Styling */
.program-card {
    border: 1px solid var(--col1);
    border-radius: 15px;
    overflow: hidden; /* Keeps images inside rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.program-card .card-img-top {
    width: 100%;
    /* height: 400px; */
    height: auto;
    object-fit: cover; /* Crop image to fit */
    display: block;
}

/* 3. Re-style Buttons for New Cards */
.buttons-manual {
    display: flex; /* Use flexbox to make buttons equal width */
    width: 100%;
    margin: 0;
}

.my-button {
    flex-grow: 1; /* Make buttons share space equally */
    padding: 16px 10px;
    border: none;
    border-radius: 0; /* Remove old radius */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: filter 0.2s ease;
}

.my-button:hover {
    filter: brightness(1.1);
    /* color: #000; */
    border: none;
    color: #f58300;
    background-color: #fefefe;
}

.my-button.yellow {
    background-color: #ffcd06;
    color: #333;
    border-radius: 0 0 0 15px; /* Match card radius */
}

.my-button.orange {
    background-color: #f58300;
    color: white;
    border-radius: 0 0 15px 0; /* Match card radius */
}

/* 4. Remove Old Inflexible List Styles */
.classlist, .classlist li {
    display: contents; /* Remove all list styling, let Bootstrap grid handle it */
}


/* 5. Fix Contact Card Media Query */
/* Remove old 1000px query and use Bootstrap breakpoints */
@media (max-width: 991px) { /* lg breakpoint */
    .ContactCard {
        /* Stack gradient vertically on medium/small screens */
        background: linear-gradient(180deg, #ffffff 50%, var(--col1) 50%);
    }
    .edu-logo {
        padding-bottom: 2rem;
    }
    .query-section {
        padding-top: 1rem;
    }
}

/* 6. Fix Modal Close Button */
/* The old one will be hidden by Bootstrap's modal */
.modal-header .btn-close {
    background-color: white;
    border-radius: 50%;
    padding: 0.5rem;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 1056; /* Above modal content */
    opacity: 1;
}

/* === ADD THIS CSS TO THE BOTTOM of your style.css file === */

.school-enquiry-section {
    background-color: #f8f9fa; /* A light grey background */
    margin-bottom: 30px;
    border-radius: 15px;
}

.school-enquiry-section .card {
    border-radius: 15px;
    overflow: hidden;
}

/* This is the cool part - a background image for the form */
.school-enquiry-img {
    background: url('photo5.png') center center;
    background-size: cover;
    min-height: 400px;
}

.school-enquiry-section .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.school-enquiry-section .btn-lg {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

@media (max-width: 768px) {
    .small-screen {
        width: 70px !important;
    }
    .w-60 {
        width: 85% !important; /* overrides w-60 */
    }
    .edu-logo {
        padding-bottom: 0rem;
    }
}

/* === ADD THIS CSS FOR THE NEW CAROUSEL === */

.cover-carousel-section .carousel-item img {
    /* This is the magic part:
      1. object-fit: cover; makes the image fill the space without stretching.
      2. The height is set below in media queries.
    */
    object-fit: cover;
    width: 100%;
    
    /* Mobile-first height */
    height: 250px; 
}

/* Medium screens (tablets) */
@media (min-width: 768px) {
    .cover-carousel-section .carousel-item img {
        height: 400px; /* Taller on tablets */
    }
}

/* Large screens (desktops) */
@media (min-width: 992px) {
    .cover-carousel-section .carousel-item img {
        height: 800px; /* Taller on desktops */
    }
}

@media (max-width: 991.98px) {
    .modal-fullscreen-lg-down {
        width: 100vw;
        max-width: none;
        height: 50%;
        margin: 0;
    }
}

/* FIXED MODAL SIZE */
.custom-modal {
    max-width: 1000px;   /* FIXED WIDTH */
}

.modal-content {
    height: 800px;      /* FIXED HEIGHT */
}

/* PERFECT FIT FOR THE PDF VIEWER */
.pdf-frame {
    width: 100%;
    height: calc(100% - 56px); /* subtract header height */
    border: none;
    display: block;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border-radius: 17px;
}

.img-fluid {
    border-radius: 17px;
}

.button-container {
    display: flex;
    /* Allows buttons to stack on top of each other */
    flex-wrap: wrap; 
    /* Centers buttons on the page */
    justify-content: center; 
    padding: 20px;
    column-gap: 80px;
    margin-bottom: 50px;
}


.navbar-toggler-icon{
    display: none;
}

.edudigm-success-message {
    background-color: #d4edda; /* Pale green background */
    color: #155724;            /* Dark green text */
    border: 1px solid #c3e6cb; /* Green border */
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;        /* Rounded corners */
    font-family: Arial, sans-serif;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.edudigm-success-message p {
    margin: 0;
}