/* ----------------RESPONSIVE---------------- */

@media (min-width: 2560px) {
    .bg-overlay {
        width: 11% !important;
        position: absolute;
        top: 37%;
        left: 42%;
        height: 7%;
        background-color: #EEF494;
        z-index: 1;
        transform: rotate(-8deg);
    }
}

@media (max-width: 1440px) {
    .bg-overlay {
        width: 18% !important;
        position: absolute;
        top: 33%;
        left: 37%;
        height: 9%;
        background-color: #EEF494;
        z-index: 1;
        transform: rotate(-8deg);
    }

    .mainLogo {
        top: 35% !important;
    }

    .blooming {
        font-size: 80px !important;
    }

    .blossoming {
        font-size: 80px !important;
    }

    .sub-menu.active {
        transform: translateX(630px);
    }

    .nav-arrow-prev {
        position: relative;
        left: 20%;

    }

    .nav-arrow-next {
        position: relative;
        left: 40%;
    }

    .classX {
        font-size: 35px;
    }
}

@media (max-width: 1439px) {
    .full-version {
        display: none;
    }

    .simple-version {
        display: block;
    }
}

@media (max-width: 1024px) {
    .bg-overlay {
        width: 22% !important;
        position: absolute;
        top: 35%;
        left: 34%;
        height: 9%;
        background-color: #EEF494;
        z-index: 1;
        transform: rotate(-8deg);
    }

    .celeb {
        font-size: 52px;
    }

    .mainLogo {
        top: 30% !important;
    }

    .school-text {
        bottom: 15% !important;
    }

    .p-10p {
        padding: 8% 10%;
    }

    #event-wrapper {
        max-height: 50vh !important;
    }

    .left {
        font-size: 35px;
    }

    .p-5 {
        padding: 8px !important;
    }


    .wingname {
        font-size: 30px;
    }

    .wingcontent {
        font-size: 18px;
    }

    .subjects {
        font-size: 14px;
    }

    .passion,
    .purpose {
        font-size: 40px;
    }

    .notice {
        font-size: 50px;
    }

    .highlight {
        font-size: 30px;
    }

    .login {
        position: absolute;
        right: 20%;
    }

    .sub-menu.active {
        transform: translateX(445px);
    }

    .classX-simple {
        font-size: 28px;
    }
}

@media (max-width: 767px) {

    /* -------------top----------------- */
    .mainLogo {
        height: 100px;
        width: 100px;
        top: 50% !important;
    }

    .schlname {
        font-size: 25px;
        line-height: 100.8%;
    }
    .school-text {
        bottom: 20% !important;
    }

    .isthead {
        font-size: 18px;
        line-height: 18px;
    }
    .headline {
        right: 52px;
    }

    /* ------------------------------------- */

    .blooming,
    .blossoming {
        font-size: 50px !important;
        line-height: 65px;
    }

    .p-10p {
        padding: 20% 10%;
    }


    .content1,
    .content2 {
        font-size: 15px;
    }

    .left {
        font-size: 15px;
        line-height: 30px;
    }

    .right {
        font-size: 15px;
        padding-bottom: 10px;
    }

    .tabs {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .tabs a.active-tab {
        line-height: 40px;
    }

    .tabs a {
        line-height: 40px;
    }

    .headerwing {
        gap: 10px;
    }

    .wing-main {
        padding: 50px 0px;
    }

    .wingname {
        font-size: 25px;
    }

    .wingcontent {
        font-size: 14px;
    }

    .subname {
        padding: 8px 12px;
    }

    .subjects {
        font-size: 12px;
        gap: 14px;
    }

    .secondhead {
        font-size: 20px;
        line-height: 25px;
    }

    .animateImage {
        height: 50vh;
    }

    .celeb {
        font-size: 30px;

    }

    .tilted {
        background-color: #EEF494;
        color: #0D2838;
    }

    .bg-overlay {
        width: 0% !important;
        transform: none;
    }

    .passion,
    .purpose {
        font-size: 20px;
    }

    .headmaster {
        height: 100%;
    }

    /* ------------------------------------------------- */
    #event-wrapper {
        max-height: 38vh !important;
        margin-top: 20px;
    }


    .swipe-carousel .owl-item img {
        width: 100%;
        height: 30vh;
        border-radius: 15px;
        object-fit: cover;
    }

    .notice {
        font-size: 30px;
        line-height: 50px;
        padding-top: 20px;
    }

    .highlight {
        font-size: 20px;
        line-height: 10px;
    }

    .eventdate {
        font-size: 50px;
    }

    .eventTitle {
        font-size: 15px;
        line-height: 25px;
    }

    .eventTime,
    .eventMore {
        font-size: 14px;
    }

    .nav-arrow-prev {
        display: none;
    }

    .nav-arrow-next {
        display: none;
    }

    /* -------------------footer----------------- */
    .footer {
        height: 110vh;
    }

    .footerSection {
        top: 52%;
    }

    .footerService,
    .footerbefore {
        font-size: 30px;
    }

    .address {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .keylinks {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .mainPoint {
        font-size: 25px;
        line-height: 35px;
    }

    .submainpoints {
        font-size: 14px;
        line-height: 20px;
    }

    .socialicons {
        display: flex;
        justify-content: center;
        margin-bottom: 45px;
    }

    .coldivider {
        gap: 20px;
        margin-top: 0px;
    }

    .getdirect {
        display: flex;
        justify-content: center;
    }

    .contacts {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .midmainpoint {
        display: block;
    }

    .powerby {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 575px) {
    .login {
        right: 20%;
    }

    .mainImage {
        height: 75vh;
    }

    .blooming,
    .blossoming {
        font-size: 40px !important;
        line-height: 35px;
    }

    .headmaster {
        height: 100%;
        padding: 20px;
    }

    .downArrow {
        transform: translate(15px, 25px);
    }

    .content2 {
        line-height: 24px;
        bottom: 40px;
        position: relative;
    }

    .carousel-padding {
        padding-bottom: 10px;
    }

    .curved-text-svg {
        height: 100px;
    }

    .visitbtns {
        font-size: 20px;
    }

    .circle-button img {
        height: 15px;
        padding-right: 3px;
        transition: transform 0.3s ease;
    }

    .circle-button {
        width: 25px;
        height: 25px;
    }

    .nav-arrow-prev {
        display: none;
    }

    .nav-arrow-next {
        display: none;
    }
}

@media (max-width: 480px) {

    .blooming,
    .blossoming {
        font-size: 30px !important;
        line-height: 35px;
    }

    .content2 {
        line-height: 25px;
        bottom: 50px;
        position: relative;
    }

    .content1,
    .content2 {
        font-size: 15px;
        line-height: 25px;
    }

    .circle-button img {
        padding-right: 0px;
        transition: transform 0.3s ease;
        height: 15px;
    }

    .circle-button {
        margin-left: 5px;
    }

    .mastermoretext{
        display: none;
    }

    .upArrow {
        height: 70px;
    }

    .downArrow {
        transform: translate(30px, 55px);
        height: 70px;
    }

    .legacy {
        top: 0px;
        left: -100px;
    }

    .years {
        font-size: 15px;
        padding: 7px 89px;
        margin-top: 9px;
    }

    .noticeBoard {
        height: 75vh;
    }

    #event-wrapper {
        max-height: 20vh !important;
        margin-top: 40px;
    }

    .subjects {
        font-size: 12px;
        gap: 8px;
    }

    .main {
        height: 90vh;
    }

    .toper {
        font-family: atSemibold;
        font-size: 35px;
        color: #EEF494;
    }

    .achiever {
        font-family: atSemibold;
        color: #EEF494;
        font-size: 30px;
    }

    .istcard {
        height: 490px;
    }

    .simImg {
        height: 280px;
    }

    .journeyImg {
        height: 50vh;
    }

    .curved-text-svg {
        top: 5px;
        height: 74px;
    }

    text {
        font-size: 70px;

    }

    .visitbtns {
        font-size: 12px;
    }

    .circle-button {
        width: 16px;
        height: 16px;
    }

    .circle-button img {
        height: 9px;
    }

    .wingcontent {
        line-height: 30px;
    }

    .slide-content {
        padding: 30px;
    }
}

/* ========== RESPONSIVE MENU LAYOUT ========== */
@media (max-width: 1440px) {

    .listdiv1,
    .sub-menu {
        width: 40%;
    }
}

@media (max-width: 991px) {

    .listdiv1,
    .sub-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }

    .listdiv1.active {
        transform: translateX(0);
    }

    .sub-menu.active {
        transform: translateX(0);
    }

    .menu-item,
    .submenu-section li {
        font-size: 20px;
        padding: 12px 10px;
    }

    .submenu-section {
        font-size: 20px;
    }

    .submenu-toggle svg {
        width: 16px;
        height: 16px;
    }

    .menu-btn-wrapper {
        min-width: 50px;
        width: 50px;
        height: 47px;
        clip-path: none;
        border-radius: 50%;
        right: 10px;
        top: 10px;
    }

    .menu-btn { 
    padding-bottom: 4px;
    gap: 5px
}

    .menu-label {
        display: none;
    }

    .menu-btn .line {
        width: 24px;
    }

    .menu-btn.active .close-icon {
        font-size: 24px;
    }

    .subsubmenu li {
        font-size: 18px;
        padding: 8px 0;
    }
}

@media (max-width: 576px) {

    .menu-item,
    .submenu-section li {
        font-size: 18px;
    }

    .submenu-toggle {
        font-size: 18px;
    }

    .subsubmenu {
        list-style-type: disc;
        padding-left: 20px;
    }
}