:root {
    --spacing-card: 15%;
}

a {
    color: #fff;
    text-decoration: none;
}

html {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.Card {
    width: 100%;
}

.history-cards .icon img {
    width: 120px !important;
}

.history-cards .Card {
    padding: 3vw 3vw !important;
}

/* .listing {
font-size: 1vw !important;
line-height: 2vw !important;
} */

.history-cards .Card.card_1,
.history-cards .Card.card_5,
.history-cards .Card.card_9 {
    background-color: white;
}

.history-cards .Card.card_2,
.history-cards .Card.card_6 {
    background-color: white;
}

.history-cards .Card.card_3,
.history-cards .Card.card_7 {
    background-color: white;
}

.history-cards .Card.card_4,
.history-cards .Card.card_8 {
    background-color: white;
}

.main {
    background: url(assets/images/banner-3.webp) #fff8ec;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
}

@media (max-width: 1600px) {

    .history-cards .Card {
        height: 85vh;
    }
}

@media (max-width: 320px) {

    .history-cards .Card {
        height: 92vh;
    }
}

@media (max-width: 767px) {

    .listing {
        font-size: 1.7vh !important;
        line-height: 5vw !important;
    }

    .history-cards .icon img {
        width: 70px !important;
    }

    .history-cards .Card.card_1,
    .history-cards .Card.card_4 {
        border: .7vh solid #ecb250 !important;
    }

    .history-cards .Card.card_2,
    .history-cards .Card.card_5 {
        border: .7vh solid #003366 !important;
    }

    .history-cards .Card.card_3,
    .history-cards .Card.card_6 {
        border: .7vh solid #026fa5 !important;
    }

}

.desktop22 {
    display: block;
}

.mobile22 {
    display: none;
}

ul.listing>li:before {
    top: 1.6vh;
}

@media (max-width: 768px) {
    ul.listing>li:before {
        top: 0.5vh !important;
    }

    .history-cards p {
        font-size: 12px !important;
    }

    .listing {
        font-size: 12px !important;
        line-height: 181% !important;
    }

    .desktop22 {
        display: none;
    }

    .mobile22 {
        display: block;
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {

    ul.listing>li:before {
        top: .8vh !important;
    }
}

@media screen and (min-width: 425px) and (max-width: 768px) {
    ul.listing>li:before {
        top: 10px !important;
    }
}

@media screen and (min-width: 300px) and (max-width: 425px) {

    ul.listing>li:before {
        top: 6px !important;
    }
}

/* new data css start here */
.admission-session h2 {
    font-family: 'Merriweather', serif;
}

.note-text {
    font-family: 'Lato' !important;
    font-weight: 600 !important;
    position: absolute;
    bottom: 0;
    left: 30%;
}

.right-border {
    position: relative;
    padding: 0px;
    margin-left: 23px;
}

.right-border::after {
    content: '';
    position: absolute;
    height: 0;
    width: 1px;
    border: 3px solid #ECB24F;
    border-radius: 40px 0 0 0;
    border-right: none;
    border-bottom: none;
    top: -5.2%;
    left: -2%;
    pointer-events: none;
    transition: none;
}

/* Animate when class is added */
.right-border.animate-border::after {
    animation: localDrawLine 3s linear forwards;
}


@keyframes localDrawLine {
    0% {
        width: 1px;
        height: 0;
    }

    50% {
        width: 1px;
        height: 100%;
    }

    100% {
        width: 102%;
        height: 106%;
    }
}

@media only screen and (max-width: 1199px) {
    .single-card {
        height: 240px;
        width: 100%;
    }

    /* .single-card .img-box img {
        height: 100%;
        object-fit: cover;
        object-position: 0rem -2.5rem;
    } */

    .right-border::after {
        left: -4%;
    }
}

.info-box {
    position: relative;
    margin-bottom: 100px !important;
}

.info-box .animated-line .img-section:before {
    border-radius: 0px 0px 20px 20px !important;
    z-index: 9;
}

.info-content-box {
    position: absolute;
    top: 25%;
    left: 3%;
}

.info-content h2 {
    color: #FFF;
    text-align: justify;
    font-size: 2.2vw;
}

.more-btn-new {
    display: flex !important;
    justify-content: flex-start;
}

.overlay-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Dark gradient overlay */
.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(6, 33, 51, 0.92) 0%,
            /* deep blue */
            rgba(6, 33, 51, 0.75) 35%,
            /* smooth fade */
            rgba(6, 33, 51, 0.35) 60%,
            rgba(6, 33, 51, 0.05) 100%
            /* almost transparent */
        );
    display: flex;
}

/* Keeps text above overlay */
.info-content-box {
    position: relative;
    z-index: 2;
}

ul.listing.chairman-ul>li:before {
    background-color: #ecb24f;
}



.accordion {
    max-width: 100%;
    margin: auto;
    margin: 15vh 0;
}

.accordion-item {
    border-bottom: 1px solid #1d4a6d !important;
    padding: 15px 0;
    border-left: unset;
    border-right: unset;
    border-top: unset;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #123456;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #f4a620;
}

.subject-box {
    text-align: center;
}

.accordion-item:not(:first-of-type) {
    border-top: 0 !important;
}


/* new data css end here */


/* accordion css start here */

/* .accordion {
    max-width: 100%;
    margin: auto;
} */

.accordion-item {
    border-bottom: 2px solid #1d4a6d !important;
    padding: 15px 0;
    border-left: unset;
    border-right: unset;
    border-top: 2px solid #1d4a6d !important;
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
    border-radius: 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #123456;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #f4a620;
}

.subject-box {
    text-align: center;
}



.subject-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #f5a623;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 0;
    position: relative;
    font-weight: bold;
    color: #1f4568;
    padding: 14px;
}


.subject-icon::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid #14446a;
    border-radius: 50%;
}

.img {
    width: 100%;
    display: block;
    mix-blend-mode: darken;
}

.subject-box p {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #14446a;
    line-height: 140%;
}

.toggle-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: #f4a620;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
}

.toggle-btn:before,
.toggle-btn:after {
    content: '';
    position: absolute;
    background: white;
    transition: 0.3s;
}

.toggle-btn:before {
    width: 2px;
    height: 14px;
}

.toggle-btn:after {
    width: 14px;
    height: 2px;
}

.toggle-btn.open {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, padding 0.6s ease;
    padding: 0;
}

.accordion-content.open {
    padding: 20px 0;
    max-height: max-content;
}

.subjects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    margin-top: 10px;
}

.subject-item {
    text-align: center;
}

.animated-line-pune .img-section:before {
    z-index: 9 !important;
}

/* Alternate circle colors */
.subject-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.img-over {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

.subject-circle:hover {
    transform: scale(1.05);
}

.subject-circle img {
    width: 50px;
    height: 50px;
}

.subject-name {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.w-23 {
    width: 23% !important;
    margin: 1% !important;
}

.circle-1 {
    border: 3px solid #f4a620;
}

.circle-2 {
    border: 3px solid #1d4a6d;
}

.circle-3 {
    border: 3px solid #28a745;
}

.circle-4 {
    border: 3px solid #dc3545;
}

.circle-5 {
    border: 3px solid #6f42c1;
}

.weight-800 {
    font-weight: 800;
}

.brd-rht-bht {
    position: relative;
}

/* .brd-rht-bht:nth-child(-n+4),
.brd-rht-bht:nth-child(n+6):nth-child(-n+9),
.brd-rht-bht:nth-child(n+11):nth-child(-n+14) {
border-right: 2px dotted #03356885;
border-bottom: 2px dotted #03356885;
} */

/* Default state for 5,10,15 bottom border */
.brd-rht-bht:nth-child(5)::after,
.brd-rht-bht:nth-child(10)::after,
.brd-rht-bht:nth-child(15)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 2px dotted #03356885;
    width: 0%;
    height: 100%;
}

/* Default state for 16,17 right border */
.brd-rht-bht:nth-child(16)::before,
.brd-rht-bht:nth-child(17)::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 2px dotted #03356885;
    width: 100%;
    height: 0%;
}

/* Animate when class is added */
.brd-rht-bht.animate-line:nth-child(5)::after,
.brd-rht-bht.animate-line:nth-child(10)::after,
.brd-rht-bht.animate-line:nth-child(15)::after {
    animation: dotted-line2 1s linear forwards;
}

.brd-rht-bht.animate-line:nth-child(16)::before,
.brd-rht-bht.animate-line:nth-child(17)::before {
    animation: dotted-line 1s linear forwards;
}

/* Reuse keyframes */
@keyframes dotted-line2 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes dotted-line {
    0% {
        height: 0%;
    }

    100% {
        height: 100%;
    }
}

/* 
.brd-rht-bht:nth-child(-n+4)::before,
.brd-rht-bht:nth-child(n+6):nth-child(-n+9)::before,
.brd-rht-bht:nth-child(n+11):nth-child(-n+14)::before {
content: "";
position: absolute;
inset: 0;
border-right: 2px dotted #03356885;
border-bottom: 2px dotted #03356885;
width: 100%;
animation: dotted-line 1s linear 1;
}

@keyframes dotted-line {
0% {
    height: 0%;
}

100% {
    height: 100%;
}
} */
.sld1.head-txt ul li:before {
    display: none;
}

/* Default state */
.brd-rht-bht:nth-child(-n+4)::after,
.brd-rht-bht:nth-child(n+6):nth-child(-n+9)::after,
.brd-rht-bht:nth-child(n+11):nth-child(-n+14)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 2px dotted #03356885;
    width: 0%;
    height: 100%;
}

.brd-rht-bht:nth-child(-n+4)::before,
.brd-rht-bht:nth-child(n+6):nth-child(-n+9)::before,
.brd-rht-bht:nth-child(n+11):nth-child(-n+14)::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 2px dotted #03356885;
    width: 100%;
    height: 0%;
}

/* Animate only when class added */
.brd-rht-bht.animate-line:nth-child(-n+4)::after,
.brd-rht-bht.animate-line:nth-child(n+6):nth-child(-n+9)::after,
.brd-rht-bht.animate-line:nth-child(n+11):nth-child(-n+14)::after {
    animation: dotted-line2 1s linear forwards;
}

.brd-rht-bht.animate-line:nth-child(-n+4)::before,
.brd-rht-bht.animate-line:nth-child(n+6):nth-child(-n+9)::before,
.brd-rht-bht.animate-line:nth-child(n+11):nth-child(-n+14)::before {
    animation: dotted-line 1s linear forwards;
}

.box-section:hover .hover-text span {
    color: #fff;
    width: 100%;
}



@keyframes dotted-line2 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes dotted-line {
    0% {
        height: 0%;
    }

    100% {
        height: 100%;
    }
}

@media (max-width: 1558px) {


    .box-section:hover .hover-text span {
        /* font-size: 1vw !important; */
    }

    .head-txt h2 {
        font-size: 10px !important;
    }

    /* 
.brd-rht-bht:nth-child(-n+3),
.brd-rht-bht:nth-child(n+5):nth-child(-n+7),
.brd-rht-bht:nth-child(n+9):nth-child(-n+11),
.brd-rht-bht:nth-child(n+13):nth-child(-n+15) {
    border-right: 2px dotted #03356885;
    border-bottom: 2px dotted #03356885;
} */

    /* .brd-rht-bht:nth-child(4),
.brd-rht-bht:nth-child(8),
.brd-rht-bht:nth-child(12),
.brd-rht-bht:nth-child(16) {
    border-right: unset !important;
    border-bottom: 2px dotted #03356885 !important;
} */

    /* .brd-rht-bht:nth-child(17) {
    border-right: 2px dotted #03356885;
} */
}

@media (min-width: 885px) and (max-width: 1200px) {

    .subjects {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .card {
        flex: 43% !important;
    }

    .w-23 {
        width: 48% !important;
    }


    /* Default state */
    .brd-rht-bht:nth-child(-n+3)::before,
    .brd-rht-bht:nth-child(n+5):nth-child(-n+7)::before,
    .brd-rht-bht:nth-child(n+9):nth-child(-n+11)::before,
    .brd-rht-bht:nth-child(n+13):nth-child(-n+15)::before {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px dotted #03356885;
        height: 0%;
        width: 100%;
    }

    .brd-rht-bht:nth-child(-n+3)::after,
    .brd-rht-bht:nth-child(n+5):nth-child(-n+7)::after,
    .brd-rht-bht:nth-child(n+9):nth-child(-n+11)::after,
    .brd-rht-bht:nth-child(n+13):nth-child(-n+15)::after {
        content: "";
        position: absolute;
        inset: 0;
        border-bottom: 2px dotted #03356885;
        width: 0%;
        height: 100%;
    }

    /* Special case: only bottom border for 4,8,12,16 */
    .brd-rht-bht:nth-child(4)::before,
    .brd-rht-bht:nth-child(8)::before,
    .brd-rht-bht:nth-child(12)::before,
    .brd-rht-bht:nth-child(16)::before {
        border-right: unset !important;
        height: 0 !important;
    }

    .brd-rht-bht:nth-child(4)::after,
    .brd-rht-bht:nth-child(8)::after,
    .brd-rht-bht:nth-child(12)::after,
    .brd-rht-bht:nth-child(16)::after {
        border-bottom: 2px dotted #03356885 !important;
        width: 0%;
        height: 100%;
    }

    /* Animate only when class added */
    .animate-line:nth-child(-n+3)::before,
    .animate-line:nth-child(n+5):nth-child(-n+7)::before,
    .animate-line:nth-child(n+9):nth-child(-n+11)::before,
    .animate-line:nth-child(n+13):nth-child(-n+15)::before {
        animation: dotted-line 1s linear forwards;
    }

    .animate-line:nth-child(-n+3)::after,
    .animate-line:nth-child(n+5):nth-child(-n+7)::after,
    .animate-line:nth-child(n+9):nth-child(-n+11)::after,
    .animate-line:nth-child(n+13):nth-child(-n+15)::after,
    .animate-line:nth-child(4)::after,
    .animate-line:nth-child(8)::after,
    .animate-line:nth-child(12)::after,
    .animate-line:nth-child(16)::after {
        animation: dotted-line2 1s linear forwards;
    }

    /* Keyframes */
    @keyframes dotted-line {
        0% {
            height: 0%;
        }

        100% {
            height: 100%;
        }
    }

    @keyframes dotted-line2 {
        0% {
            width: 0%;
        }

        100% {
            width: 100%;
        }
    }
}

@media (max-width: 885px) {
    .box-section:hover .hover-text span {
        /* font-size: 4vw !important; */
    }

    .card {
        flex: 98% !important;
    }
}

@media (max-width:767px) {
    .brd-left {
        border-top: 2px dotted #003366 !important;
        border-left: unset !important;
        padding-top: 20px !important;
    }

    .brd-rht-bht:nth-child(even)::before {
        border-right: none !important;
    }

    .brd-rht-bht:nth-child(5):before,
    .brd-rht-bht:nth-child(15):before {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px dotted #03356885 !important;
        width: 100%;
        height: 0%;
    }

    .brd-rht-bht.animate-line:nth-child(5)::before,
    .brd-rht-bht.animate-line:nth-child(15)::before {
        animation: dotted-line 1s linear forwards;
    }

    .brd-rht-bht:nth-child(16):after {
        content: "";
        position: absolute;
        inset: 0;
        border-bottom: 2px dotted #03356885 !important;
        width: 0%;
        height: 100%;
    }

    .brd-rht-bht.animate-line:nth-child(16)::after {
        animation: dotted-line2 1s linear forwards;
    }

    .card {
        height: calc(50vh - 100px);
    }

    .w-23 {
        margin-bottom: 10% !important;
    }
}

@media (min-width: 1200px) and (max-width: 24000px) {

    /* .txt-con {
    transition: transform 0.3s;
} */

    .card p {
        display: inline-block;
        white-space: nowrap;
    }

    .card:hover~.card~.card .txt-con a,
    .card:hover~.card~.card~.card .txt-con a,
    .card:hover~.card~.card~.card~.card .txt-con a,
    .card:hover~.card~.card~.card~.card~.card .txt-con a,
    .card:hover~.card~.card~.card~.card~.card .txt-con a {
        opacity: 0;
        display: none;
    }

    .contain-hover:hover .card:not(:hover) .txt-con a {
        opacity: 0;
        display: none;

    }

    /* Hover kisi bhi card pe karo → baaki sab card ke andar ke text rotate */
    .card:hover .txt-con {
        transform: none;
    }

    .card:hover~.card~.card .txt-con,
    .card:hover~.card~.card~.card .txt-con,
    .card:hover~.card~.card~.card~.card .txt-con,
    .card:hover~.card~.card~.card~.card~.card .txt-con,
    .card:hover~.card~.card~.card~.card~.card .txt-con {
        transform: rotate(270deg);
        /* width: fit-content; */
        bottom: 200px;
    }

    .contain-hover:hover .card:not(:hover) .txt-con {
        transform: rotate(270deg);
        /* width: fit-content; */
        bottom: 100px;
    }

    .contain-hover:hover .card:not(:hover):not(:has(~ .card:hover)) .txt-con {
        transform: rotate(270deg);
        bottom: 100px;
    }
}

@media (min-width: 600px) and (max-width: 885px) {


    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .subjects {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Default state (Right + Bottom) */
    .brd-rht-bht:nth-child(-n+2)::before,
    .brd-rht-bht:nth-child(n+4):nth-child(-n+5)::before,
    .brd-rht-bht:nth-child(n+7):nth-child(-n+8)::before,
    .brd-rht-bht:nth-child(n+10):nth-child(-n+11)::before,
    .brd-rht-bht:nth-child(n+13):nth-child(-n+14)::before {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px dotted #03356885;
        height: 0%;
        width: 100%;
    }

    .brd-rht-bht:nth-child(-n+2)::after,
    .brd-rht-bht:nth-child(n+4):nth-child(-n+5)::after,
    .brd-rht-bht:nth-child(n+7):nth-child(-n+8)::after,
    .brd-rht-bht:nth-child(n+10):nth-child(-n+11)::after,
    .brd-rht-bht:nth-child(n+13):nth-child(-n+14)::after {
        content: "";
        position: absolute;
        inset: 0;
        border-bottom: 2px dotted #03356885;
        width: 0%;
        height: 100%;
    }

    /* Special case: Only Bottom (3,6,9,12,15) */
    .brd-rht-bht:nth-child(3)::before,
    .brd-rht-bht:nth-child(6)::before,
    .brd-rht-bht:nth-child(9)::before,
    .brd-rht-bht:nth-child(12)::before,
    .brd-rht-bht:nth-child(15)::before {
        border-right: unset !important;
        height: 0 !important;
    }

    .brd-rht-bht:nth-child(3)::after,
    .brd-rht-bht:nth-child(6)::after,
    .brd-rht-bht:nth-child(9)::after,
    .brd-rht-bht:nth-child(12)::after,
    .brd-rht-bht:nth-child(15)::after {
        border-bottom: 2px dotted #03356885 !important;
        width: 0%;
        height: 100%;
    }

    /* Animate only when class added */
    .animate-line:nth-child(-n+2)::before,
    .animate-line:nth-child(n+4):nth-child(-n+5)::before,
    .animate-line:nth-child(n+7):nth-child(-n+8)::before,
    .animate-line:nth-child(n+10):nth-child(-n+11)::before,
    .animate-line:nth-child(n+13):nth-child(-n+14)::before {
        animation: dotted-line 1s linear forwards;
    }

    .animate-line:nth-child(-n+2)::after,
    .animate-line:nth-child(n+4):nth-child(-n+5)::after,
    .animate-line:nth-child(n+7):nth-child(-n+8)::after,
    .animate-line:nth-child(n+10):nth-child(-n+11)::after,
    .animate-line:nth-child(n+13):nth-child(-n+14)::after,
    .animate-line:nth-child(3)::after,
    .animate-line:nth-child(6)::after,
    .animate-line:nth-child(9)::after,
    .animate-line:nth-child(12)::after,
    .animate-line:nth-child(15)::after {
        animation: dotted-line2 1s linear forwards;
    }

    /* Keyframes */
    @keyframes dotted-line {
        0% {
            height: 0%;
        }

        100% {
            height: 100%;
        }
    }

    @keyframes dotted-line2 {
        0% {
            width: 0%;
        }

        100% {
            width: 100%;
        }
    }


    /* Default state */
    .brd-rht-bht:nth-child(16)::before,
    .brd-rht-bht:nth-child(17)::before {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px dotted #03356885;
        height: 0%;
        width: 100%;
    }

    .brd-rht-bht:nth-child(16)::after,
    .brd-rht-bht:nth-child(17)::after {
        border-bottom: unset !important;
        /* bottom nahi chahiye */
    }

    /* Animate only on class */
    .animate-line:nth-child(16)::before,
    .animate-line:nth-child(17)::before {
        animation: dotted-line 1s linear forwards;
    }

    .head-txt ul li span,
    .box-section:hover .hover-text p {
        font-size: 4vw !important;
        line-height: 140% !important;
    }

    .card {
        flex: 43% !important;
    }

    .w-23 {
        width: 48% !important;
    }
}

@media (max-width: 500px) {

    .head-txt ul li span,
    .box-section:hover .hover-text p {
        font-size: 4vw !important;
        line-height: 140% !important;
    }

    .w-23 {
        width: 98% !important;
    }

    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .card {
        flex: 98% !important;
    }
}

@media (min-width: 400px) and (max-width: 600px) {

    .w-23 {
        width: 98%;
    }

    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .subjects {
        grid-template-columns: 1fr 1fr;
    }


}


@media (max-width: 1366px) and (min-width: 1200px) {
    .right-border.topeffect::after {
        top: -5.2% !important;
    }
}

/* >=600px pe hi animation allow hoga */
@media (min-width: 600px) {
    .brd-rht-bht.animate-line::after {
        animation: dotted-line2 0.6s linear forwards;
    }

}

@keyframes dotted-line2 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* <600px pe static fully drawn line */
@media (max-width: 599px) {

    .brd-rht-bht::after {
        width: 100%;
        /* direct full line */
    }

}

@media (max-width: 400px) {
    .w-23 {
        width: 98%;
    }

    .subjects {
        grid-template-columns: 1fr;
    }

    .brd-rht-bht {
        border-right: unset !important;
        border-bottom: 2px dotted #03356885 !important;
    }

    .brd-rht-bht:last-child {
        border-right: unset !important;
        border-bottom: unset !important;
    }
}

@media (max-width: 540px) {
    .accordion {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .accordion {
        max-width: 100%;
    }

    @keyframes drawLine {
        0% {
            height: 0;
            width: 0;
        }

        50% {
            height: 100%;
            width: 0;
        }

        100% {
            height: 99%;
            width: 99%;
        }
    }

    .right-border {
        margin-left: 15px;
    }
}

.chairman-acrd-img {
    width: 70%;
    height: 75%;
    padding: 0;
    border: none;
}

.chairman-acrd-img::after {
    content: '' !important;
    border: none;
}

.chairman-box-acrd p {
    margin: 0 !important;
}

.acrd-name {
    padding-top: 15px;
    font-family: 'Merriweather', serif;
    font-weight: 700 !important;
}

.acrd-vice {
    padding-bottom: 15px;
    font-family: 'Lato', sans-serif;
    font-weight: 500 !important;
}

.py-9 {
    padding-top: 9rem !important;
    padding-bottom: 6rem !important;
    padding-left: 30px;
    padding-right: 30px;
}

/* accordion css end here */
.mt-6 {
    margin-top: 5rem;
}












/* Table */
.fee-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #2f4f6f;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f7f7;
    font-family: 'Merriweather';
}

.animated-line .img-section:before {
    background-color: #027bc1;
}

.img-section img {
    height: 100% !important;
}

/* Header */
.fee-table thead th {
    background: #fff;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 4 00;
    text-align: center;
    padding: 12px;
    border-right: 1px solid var(--secondary-color);
}

.fee-table thead th:last-child {
    border-right: none;
}

/* Body */
.fee-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--blue);
    border-top: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
    background-color: #ffff;
    /* font-weight: 200; */
}

.fee-table tbody tr td:last-child {
    border-right: none;
}

/* Notes */
.fee-notes {
    margin-top: 15px;
    padding-left: 18px;
    color: #1f3f5b;
    font-size: 13px;
}

.fee-notes li {
    margin-bottom: 6px;
    list-style: none;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-weight: 400;
    font-family: 'Lato';
    font-size: 16px;
    color: var(--blue);
    letter-spacing: 0.4px;
}

.fee-notes li i {
    font-size: 6px;
    margin-right: 6px;
}

.admission-accoedion {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 30px;
}

.admission-accoedion.bg-blue {
    background: var(--blue);
}

.admission-accoedion.bg-blue hr {
    background: var(--secondary-color);
}

.admission-accoedion.bg-blue h2 {
    color: #fff;
}

.admission-accoedion.bg-blue .fee-notes li {
    color: #fff;
}

.admission-accoedion h2 {
    font-family: 'Merriweather';
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--blue);
}




/* sports facilities */

.mainSwiperFacility {
    width: 100%;
    height: auto;
    border-radius: 2vw;
    overflow: hidden;
    border-bottom: 2.5vh solid var(--blue);
    margin-bottom: 6vh;
}

.mainSwiperFacility img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnails */
.thumbSwiper {
    margin-top: 20px;
    height: auto;
    width: 80%;
}

.thumbSwiper .swiper-slide {
    /* width: 150px;
    height: 100px; */
    /* opacity: 0.5; */
    cursor: pointer;
    transition: 0.3s;
}

/* .thumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
} */

.thumbSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.thumbSwiper .swiper-slide>div {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 0px;
    /* border-bottom: 1.5vh solid #1078bc; */
}

.thum-arrow {
    width: 89%;
    position: absolute;
    margin: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    margin: auto;
    left: 5%;
}


.thumbSwiper .swiper-slide {
    border-bottom: 4px solid transparent;
}

/* Color variants */
.thumb-red {
    border-color: var(--blue);
    border-radius: 20px;
    border-bottom: 1.5vh solid var(--blue) !important;
}

.thumb-blue {
    border-color: var(--secondary-color) !important;
    border-radius: 20px;
    border-bottom: 1.5vh solid var(--secondary-color) !important;
}

.thumb-green {
    border-color: #1078bc;
    border-radius: 20px;
    border-bottom: 1.5vh solid #1078bc !important;
}

.thumbSwiper .swiper-slide-thumb-active.thumb-red>div {
    border-color: var(--blue);
}

.thumbSwiper .swiper-slide-thumb-active.thumb-blue>div {
    border-color: var(--secondary-color);
}

.thumbSwiper .swiper-slide-thumb-active.thumb-green>div {
    border-color: #1078bc;
}

.yellow-text {
    color: var(--secondary-color);
}

.yellow-text.info>span.word:before {
    color: var(--secondary-color);
}

p.heading-content.hdg {
    font-size: 1.5vw;
    margin-bottom: 30px;
}

.mainSwiperFacility p.heading-content.hdg {
    font-size: 1.6vw;
    margin-bottom: 20px;
}

.mainSwiperFacility .info>span.word {
    margin-right: 6px;
    letter-spacing: 0.8px;
}

.spts-faclty hr {
    width: 95%;
    height: 1px !important;
    background: var(--secondary-color);
    border: none;
    opacity: 1;
    margin: 6rem auto;
}



.contain-hover {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    flex: 15%;
    height: calc(100vh - 100px);
    margin: 15px 0px;
    cursor: pointer;
    transition: all 1.5s;
    border: none;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #134168db 20%, transparent 39%);
}

.txt-con {
    position: absolute;
    bottom: 50px;
    left: 33px;
    right: 10px;
    /* transition: all 1.5s; */
}

.card p {
    font-family: 'Lato', sans-serif;
    color: #FFF !important;
    font-size: 30px;
    font-weight: 400;
    line-height: 100% !important;
}

.card:hover {
    flex: 95vw;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txt-con a:hover {
    color: #ffff;
}

/* facility */
/* ── Outer wrapper ── */
.gallery-outer {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20vh 3vh;
}

.gallery-card {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: visible;
    border-radius: 20px;
}

/* ── Stacked photos ── */
.photos-stack {
    position: relative;
    flex: 1 1 0;
    aspect-ratio: 1.4 / 1;
    min-height: 180px;
    max-height: 490px;
}

.photo-card {
    position: absolute;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    top: 50%;
    will-change: transform, opacity;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Normal layout positions */
.gallery-card:not(.reversed) .photo-card:nth-child(1) {
    width: 34%;
    height: 86%;
    left: 3%;
    z-index: 1;
}

.gallery-card:not(.reversed) .photo-card:nth-child(2) {
    width: 40%;
    height: 98%;
    left: 28%;
    z-index: 2;
}

.gallery-card:not(.reversed) .photo-card:nth-child(3) {
    width: 44%;
    height: 110%;
    left: 60%;
    z-index: 3;
}

/* Reversed layout positions */
.gallery-card.reversed .photo-card:nth-child(1) {
    width: 34%;
    height: 86%;
    right: 3%;
    left: auto;
    z-index: 1;
}

.gallery-card.reversed .photo-card:nth-child(2) {
    width: 40%;
    height: 98%;
    right: 28%;
    left: auto;
    z-index: 2;
}

.gallery-card.reversed .photo-card:nth-child(3) {
    width: 44%;
    height: 110%;
    right: 60%;
    left: auto;
    z-index: 3;
}

/* Hover lift */
.photos-stack:hover .photo-card:nth-child(1) {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.photos-stack:hover .photo-card:nth-child(2) {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.photos-stack:hover .photo-card:nth-child(3) {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* ── Info card ── */
.info-card {
    padding: clamp(20px, 3vw, 38px) clamp(16px, 3vw, 30px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 20px);
    flex: 0 0 clamp(160px, 34%, 50%);
    position: relative;
    overflow: hidden;
    align-self: stretch;
    justify-content: center;
    border-radius: 16px;
    will-change: transform, opacity;
    right: 0%;
    margin: 1rem;
}

.gallery-card.reversed .info-card {
    order: -1;
}

/* .info-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
} */

.info-title {
    text-align: center;
    width: 100%;
    font-size: 3.5vw;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    color: #FFF;
    font-family: 'Lato';
    line-height: 1.4;
    justify-content: center;
}

.more-photos-btn {
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    width: 100%;
    font-size: 26px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    color: #FFF;
    font-family: 'Merriweather', serif;
    line-height: 1.4;
    justify-content: center;
}

/* .more-photos-btn .svg-section-big embed {
    filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(1500%) hue-rotate(357deg) brightness(110%) !important;
} */

.more-photos-btn:hover {
    color: #ffffff;
}

.more-photos-btn svg {
    cursor: pointer;
}

.more-photos-label {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(0.55rem, 1vw, 0.7rem);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
}

.arrow-circle {
    width: clamp(32px, 4vw, 42px);
    height: clamp(32px, 4vw, 42px);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.arrow-circle svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s;
}

.more-photos-btn:hover .arrow-circle {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08);
}

.more-photos-btn:hover .arrow-circle svg {
    transform: translateX(2px);
}

/* Color variants */
.navy {
    background: var(--blue);
}

.amber {
    background: var(--secondary-color);
}

.teal {
    background: var(--blue);
}



/* facility */







@media (min-width: 885px) and (max-width: 1200px) {



    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

}

@media (min-width: 1200px) and (max-width: 24000px) {

    /* .txt-con {
    transition: transform 0.3s;
} */

    .card p {
        display: inline-block;
        white-space: nowrap;
    }

    .card:hover~.card~.card .txt-con a,
    .card:hover~.card~.card~.card .txt-con a,
    .card:hover~.card~.card~.card~.card .txt-con a,
    .card:hover~.card~.card~.card~.card~.card .txt-con a,
    .card:hover~.card~.card~.card~.card~.card .txt-con a {
        opacity: 0;
        display: none;
    }

    .contain-hover:hover .card:not(:hover) .txt-con a {
        opacity: 0;
        display: none;

    }

    /* Hover kisi bhi card pe karo → baaki sab card ke andar ke text rotate */
    .card:hover .txt-con {
        transform: none;
    }

    .card:hover~.card~.card .txt-con,
    .card:hover~.card~.card~.card .txt-con,
    .card:hover~.card~.card~.card~.card .txt-con,
    .card:hover~.card~.card~.card~.card~.card .txt-con,
    .card:hover~.card~.card~.card~.card~.card .txt-con {
        transform: rotate(270deg);
        /* width: fit-content; */
        bottom: 200px;
    }

    .contain-hover:hover .card:not(:hover) .txt-con {
        transform: rotate(270deg);
        /* width: fit-content; */
        bottom: 100px;
    }

    .contain-hover:hover .card:not(:hover):not(:has(~ .card:hover)) .txt-con {
        transform: rotate(270deg);
        bottom: 100px;
    }
}

@media (min-width: 600px) and (max-width: 885px) {


    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .subjects {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Default state (Right + Bottom) */
    .brd-rht-bht:nth-child(-n+2)::before,
    .brd-rht-bht:nth-child(n+4):nth-child(-n+5)::before,
    .brd-rht-bht:nth-child(n+7):nth-child(-n+8)::before,
    .brd-rht-bht:nth-child(n+10):nth-child(-n+11)::before,
    .brd-rht-bht:nth-child(n+13):nth-child(-n+14)::before {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px dotted #03356885;
        height: 0%;
        width: 100%;
    }

    .brd-rht-bht:nth-child(-n+2)::after,
    .brd-rht-bht:nth-child(n+4):nth-child(-n+5)::after,
    .brd-rht-bht:nth-child(n+7):nth-child(-n+8)::after,
    .brd-rht-bht:nth-child(n+10):nth-child(-n+11)::after,
    .brd-rht-bht:nth-child(n+13):nth-child(-n+14)::after {
        content: "";
        position: absolute;
        inset: 0;
        border-bottom: 2px dotted #03356885;
        width: 0%;
        height: 100%;
    }

    /* Special case: Only Bottom (3,6,9,12,15) */
    .brd-rht-bht:nth-child(3)::before,
    .brd-rht-bht:nth-child(6)::before,
    .brd-rht-bht:nth-child(9)::before,
    .brd-rht-bht:nth-child(12)::before,
    .brd-rht-bht:nth-child(15)::before {
        border-right: unset !important;
        height: 0 !important;
    }

    .brd-rht-bht:nth-child(3)::after,
    .brd-rht-bht:nth-child(6)::after,
    .brd-rht-bht:nth-child(9)::after,
    .brd-rht-bht:nth-child(12)::after,
    .brd-rht-bht:nth-child(15)::after {
        border-bottom: 2px dotted #03356885 !important;
        width: 0%;
        height: 100%;
    }

    /* Animate only when class added */
    .animate-line:nth-child(-n+2)::before,
    .animate-line:nth-child(n+4):nth-child(-n+5)::before,
    .animate-line:nth-child(n+7):nth-child(-n+8)::before,
    .animate-line:nth-child(n+10):nth-child(-n+11)::before,
    .animate-line:nth-child(n+13):nth-child(-n+14)::before {
        animation: dotted-line 1s linear forwards;
    }

    .animate-line:nth-child(-n+2)::after,
    .animate-line:nth-child(n+4):nth-child(-n+5)::after,
    .animate-line:nth-child(n+7):nth-child(-n+8)::after,
    .animate-line:nth-child(n+10):nth-child(-n+11)::after,
    .animate-line:nth-child(n+13):nth-child(-n+14)::after,
    .animate-line:nth-child(3)::after,
    .animate-line:nth-child(6)::after,
    .animate-line:nth-child(9)::after,
    .animate-line:nth-child(12)::after,
    .animate-line:nth-child(15)::after {
        animation: dotted-line2 1s linear forwards;
    }

    /* Keyframes */
    @keyframes dotted-line {
        0% {
            height: 0%;
        }

        100% {
            height: 100%;
        }
    }

    @keyframes dotted-line2 {
        0% {
            width: 0%;
        }

        100% {
            width: 100%;
        }
    }


    /* Default state */
    .brd-rht-bht:nth-child(16)::before,
    .brd-rht-bht:nth-child(17)::before {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px dotted #03356885;
        height: 0%;
        width: 100%;
    }

    .brd-rht-bht:nth-child(16)::after,
    .brd-rht-bht:nth-child(17)::after {
        border-bottom: unset !important;
        /* bottom nahi chahiye */
    }

    /* Animate only on class */
    .animate-line:nth-child(16)::before,
    .animate-line:nth-child(17)::before {
        animation: dotted-line 1s linear forwards;
    }

    .head-txt ul li span,
    .box-section:hover .hover-text p {
        font-size: 4vw !important;
        line-height: 140% !important;
    }

    .card {
        flex: 43% !important;
    }

    .w-23 {
        width: 48% !important;
    }
}

@media (max-width: 500px) {

    .head-txt ul li span,
    .box-section:hover .hover-text p {
        font-size: 4vw !important;
        line-height: 140% !important;
    }

    .w-23 {
        width: 98% !important;
    }

    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .card {
        flex: 98% !important;
    }
}

@media (min-width: 400px) and (max-width: 600px) {

    .w-23 {
        width: 98%;
    }

    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .subjects {
        grid-template-columns: 1fr 1fr;
    }


}

/* sports facilities */


@media (max-width:767px) {
    .admission-accoedion {
        padding: 10px;
    }

    .admission-accoedion h2 {
        margin-bottom: 1rem;
        color: var(--blue);
        margin-top: 0.5rem;
        font-size: 4.667vw;
    }

    .fee-table tbody td {
        padding: 12px 16px;
    }

    .fee-notes li {
        align-items: baseline;
        text-align: left;
    }

    .fee-notes li i {
        font-size: 6px;
        margin-right: 6px;
    }

    .fee-table thead th,
    .fee-table tbody td {
        white-space: nowrap;
    }

    .table-wdt {
        width: 100%;
        overflow-y: auto;
        /* border: 1px solid var(--blue); */
        border-radius: 16px;
    }

    .accordion {
        margin: 10vh 0;
    }

    @keyframes localDrawLine {
        0% {
            width: 1px;
            height: 0;
        }

        50% {
            width: 1px;
            height: 100%;
        }

        100% {
            width: 104%;
            height: 104%;
        }
    }

    .mainSwiperFacility {
        height: 60vh;
    }

    .svg-section embed {
        margin-left: 5px !important;
        width: 30px;
    }

    .dropdown .svg-section embed {
        margin-left: 5px !important;
        width: 22px;
    }

    .thum-arrow {
        width: 101%;
        left: -2%;
    }

    .spts-faclty hr {
        margin: 3rem auto;
    }

    .thumbSwiper .swiper-slide>div {
        height: 180px;
    }

    .thumb-blue,
    .thumb-red,
    .thumb-green {
        border-radius: 24px;
    }

    .mainSwiperFacility {
        border-bottom: 1.5vh solid var(--blue);
        border-radius: 6vw;
        margin-top: 1vh;
    }
}



/* gallery */
/* ── WRAPPER ── */
.timeline-wrapper {
    position: relative;
    width: 85%;
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 120px 0;
}

/* ── VERTICAL TRACK ── */
.track {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: transparent;
    border-left: 3px dotted var(--secondary-color);
    z-index: 0;
}

/* Solid filled line on scroll */
.progress-line {
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 0%;
    background: var(--primary-color);
    transition: height 0.08s linear;
    z-index: 1;
    border-radius: 4px;
}

/* ── TIMELINE ITEM ── */
.tl-item {
    position: relative;
    width: 100%;
    height: 400px;
    /* tall enough for the photo cluster */
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.75s cubic-bezier(.22, 1, .36, 1), transform 0.75s cubic-bezier(.22, 1, .36, 1);
    margin: 30vh 0;
}

#item1 {
    margin-top: 0;
}

#item5 {
    margin-bottom: 0;
}

.tl-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── DOT ── */
.dots {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 5px solid var(--secondary-color);
    /* box-shadow: 0 0 0 2px #e8b84b; */
    z-index: 4;
    transition: background 0.4s, box-shadow 0.4s;
}

.dots.active {
    /* background: #ffffff; */
    /* box-shadow: 0 0 0 3px #8b1a1a; */
    border: 5px solid var(--primary-color);
}

/* ── DASHED CONNECTOR (dot → label) ── */
.connector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    border-top: 3px dotted var(--secondary-color);
    z-index: 0;
    width: 6%;
}

.connector.active {
    border-top: 3px solid var(--primary-color);
}

/* LEFT layout: photos 0–46%, label 54–100% */
.tl-item.left .connector {
    left: 50%;
}

.tl-item.right .connector {
    right: 50%;
}

/* ── PHOTO CLUSTER ── */
.photos-cluster {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46%;
    height: 100%;
}

.tl-item.left .photos-cluster {
    left: 0;
}

.tl-item.right .photos-cluster {
    right: 0;
}

/* Inner relative container fills cluster */
.photo-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Each photo card — positioned in % of .photo-stack */
.photo-stack .photo-card {
    position: absolute;
    border-radius: 1.5vw;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); */
    box-shadow: 0px -20px 20px 0px rgb(0 0 0 / 6%);
}

.photo-stack .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* border-bottom: 1.3vh solid #50b650; */
}

.card-2 .ph {
    border: none;
}

.card-1 .ph {
    border: none;
    border-right: 1vh solid #fff;
}

/* Card 1 — tall left card */
.card-1 {
    width: 40%;
    height: 65%;
    top: 10%;
    left: 10%;
    /* transform: rotate(-3deg); */
    /* border: 3px solid #e8b84b; */
    z-index: 1;
}

/* Card 2 — wide top-right card */
.card-2 {
    width: 50%;
    height: 75%;
    top: -20%;
    left: 50%;
    /* transform: rotate(2deg); */
    z-index: 2;
}

/* Card 3 — small bottom-center */
.card-3 {
    width: 35%;
    height: 56%;
    top: 30%;
    left: 57%;
    /* transform: rotate(-1deg); */
    /* border: 3px solid #6b5fa3; */
    z-index: 3;
}

/* Card 4 — bottom-left small */
.card-4 {
    width: 35%;
    height: 56%;
    bottom: 4%;
    left: 26%;
    /* transform: rotate(1.5deg); */
    /* border: 3px solid #4bbfb8; */
    z-index: 2;
}

/* Placeholder when no real image */
.ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    border: 1vh solid #fff;
    border-radius: 1.5vw;
    overflow: hidden;
}

.ph-green img {
    border-bottom: 1.3vh solid #50b650;
}

.ph-blue img {
    border-bottom: 1.3vh solid var(--bs-cyan);
}

.ph-purple img {
    border-bottom: 1.3vh solid #3c197d;
}

.ph-yellow img {
    border-bottom: 1.3vh solid var(--secondary-color);
}



/* ── LABEL BOX ── */
.label-area {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    display: flex;
    align-items: center;
}

.tl-item.left .label-area {
    left: 54%;
    justify-content: flex-start;
}

.tl-item.right .label-area {
    right: 54%;
    justify-content: flex-end;
}

.label-card {
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 4px 8px 28px rgb(0 0 0 / 28%);
    width: 100%;
}

.label-card.gold {
    background: var(--secondary-color);
}

.label-card.navy {
    background: var(--blue);
}

.label-card h2 {
    font-family: 'Merriweather';
    font-size: clamp(1.1rem, 2.5vw, 2.55rem);
    font-weight: 100;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.label-card .info1 {
    font-size: clamp(0.75rem, 2.2vw, 1.8rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    display: flex;
    align-items: end;
    gap: 6px;
    flex-wrap: wrap;
    font-family: 'Lato';
    margin-bottom: 5px;
}

.label-card .gal-link {
    color: #fff;
    text-decoration: none;
    /* border-bottom: 1.5px solid #fff; */
    /* font-weight: 500; */
    position: relative;
}

.gal-link:after {
    content: '';
    position: absolute;
}

.arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tl-item.right .label-card h2 {
    text-align: end;
}

.tl-item.right .label-card .info1 {
    justify-content: end;
}

.label-card .info1 .svg-section-big {
    pointer-events: none;
    display: flex;
}

.gal-link:after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #fff;
}

/* ── HEADER ── */
/* .tl-header {
    text-align: center;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .tl-header.visible { opacity: 1; transform: translateY(0); } */

/* .tl-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: #2a1a1a;
  }
  .tl-header p {
    color: #8a7a6a;
    font-size: 0.95rem;
    margin-top: 8px;
    font-weight: 300;
  } */
/* gallery */


@media (max-width:1800px) {
    .timeline-wrapper {
        width: 95%;
    }
}

@media (max-width:1199px) {
    .tl-item {
        margin: 15vh 0;
    }

    .timeline-wrapper {
        width: 100%;
    }
}




.nova-act li {
    list-style: none;
}

.nova-act li h2 {
    color: var(--blue);
    margin-bottom: 10px;
}

.nova-section .mainSwiperFacility {
    width: 100%;
    height: 600px;
    border-bottom: 1.5vh solid var(--blue);
}

.nova-section .thumbSwiper .swiper-slide>div {
    width: 100%;
    height: 160px;
}

.nova-section .thum-arrow {
    width: 94%;
    left: 2%;
}

.nova-section .thumbSwiper .swiper-slide {
    border-width: 1vh !important;
}

.nov-location .right-content {
    flex: unset;
    margin: 0px !important;
    padding-left: 4%;
    margin-top: 7vh !important;
}

.nov-location .right-content.mumbai .rotate-title {
    left: 8%;
}

.nov-location .right-content:after {
    content: '';
    height: 0;
    width: 1px;
    border: 3px solid #ECB24F;
    position: absolute;
    border-radius: 30px 0 0;
    border-right: none;
    border-bottom: none;
    top: 0%;
    left: 8.5%;
    pointer-events: none;
    z-index: 10;
}

.nov-location .right-content.mumbai.active:after {
    animation: drawLine 3s linear forwards;
}

.nov-location .right-content:nth-child(-n+5).mumbai.active::after {
    animation: drawLineNew 3s linear forwards;
}


.nov-location .right-content .card p {
    display: inline-block;
    white-space: break-spaces;
}

@keyframes drawLine {
    0% {
        width: 1px;
        height: 0;
    }

    50% {
        width: 1px;
        height: 20%;
    }

    100% {
        width: 91%;
        height: 42%;
    }
}

@keyframes drawLineNew {
    0% {
        width: 1px;
        height: 0;
    }

    50% {
        width: 1px;
        height: 20%;
    }

    100% {
        width: 91%;
        height: 72%;
    }
}

.nov-location .main p {
    font-size: 1.5vw;
}

.nov-location .right-content .card:hover .hover-text a {
    color: #fff;
    text-decoration: none;
}

.nov-location {
    margin-bottom: 12vh;
    margin-top: 12vh;
}

.nov-location .right-content .card:before {
    content: '';
    height: 15px;
    width: 100%;
    background: inherit;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 20px 20px;
    top: 98%;
}

.nova-act .heading-title {
    font-size: 2.2vw;
    text-transform: uppercase;
    font-weight: 400;
}

.nov-location .rotate-title {
    font-size: 1.5vw;
}

.nov-location p.yellow-text {
    font-size: 1.5rem;
}

.nov-location .arrow {
    background: var(--secondary-color);
    height: 70%;
    width: 0.15%;
    margin: 0 25px;
}

.nov-location .right-content .card:hover .hover-text a:hover {
    color: var(--secondary-color);
}

.nov-location a :hover {
    color: var(--secondary-color) !important;
}


.mainSwiperFacility .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* .mainSwiperFacility .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
} */

.mainSwiperFacility .swiper-slide>div {
    position: relative;
    z-index: 2;
    /* padding: 50px; */
    width: 100%;
}

.sch-bg {
    background-image: unset;
}

.sch-bg div {
    padding: 3vw;
    width: 50%;
}

.mainSwiperFacility h2.heading-title {
    margin-bottom: 10px;
}




.svg-section-nova {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3vw auto;
    margin-bottom: 0;
}

/* The SVG wrapper */
#nova-svg {
    display: block;
    /* width: min(520px, 94vw);
height: min(520px, 94vw); */
    margin: auto;
}

/* All animated pieces start invisible */
#nova-svg #p1,
#nova-svg #p2,
#nova-svg #p3,
#nova-svg #p4,
#nova-svg #p5,
#nova-svg #center {
    opacity: 0;
    transition: opacity 1.6s ease;
}


@media (max-width:1650px) {
    .nova-section .mainSwiperFacility {
        height: 540px;
        margin-bottom: 4vh;
    }
}

@media (max-width:1400px) {
    .nova-section .mainSwiperFacility {
        height: 400px;
    }
}

@media (max-width:1199px) {
    .svg-section-nova {
        height: auto;
    }
    .img-section {
        height: 350px !important;
    }
}

@media (max-width:767px) {
    .nov-location .right-content.mumbai.active .img-section {
        height: auto;
    }

    .nov-location .right-content {
        padding-left: 10%;
        padding-right: 6%;
        margin-top: 3vh !important;
        margin-bottom: 3vh !important;
    }

    .nov-location .right-content:after {
        left: 6%;
    }

    .nov-location .rotate-title {
        left: 4.5vw !important;
        font-size: 3.5vw;
    }

    .nov-location .right-content.active:after {
        height: 40% !important;
    }

    ul.nova-act {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nova-act .heading-title {
        font-size: 4.2vw;
    }

    .nova-act li {
        list-style: none;
        /* background: var(--blue); */
        position: relative;
        padding: 0 4%;
    }

    .nova-act li:after {
        position: absolute;
        content: '';
        height: 60%;
        width: 2px;
        background: var(--secondary-color);
        right: -1%;
        top: 27%;
    }

    .nov-location {
        margin-bottom: 6vh;
        margin-top: 6vh;
    }

    .nova-section .thum-arrow {
        width: 105%;
        left: -4%;
    }

    .nova-act li:nth-child(2):after,
    .nova-act li:nth-child(4):after,
    .nova-act li:nth-child(6):after,
    .nova-act li:nth-child(8):after,
    .nova-act li:nth-child(11):after,
    .nova-act li:last-child:after {
        display: none;
    }

    .sch-bg:after {
        display: none;
    }

    .nova-section .mainSwiperFacility .swiper-slide {
        min-height: 200px;
    }

    .nova-section .mainSwiperFacility {
        height: 250px;
    }

    .nova-section .thumbSwiper .swiper-slide>div {
        height: 130px;
    }

    .nov-location .right-content:nth-child(-n+5).mumbai.active::after {
        animation: drawLineNew 3s linear forwards !important;
        height: 72% !important;
    }
}

hr.dotted-line {
    width: 0%;
    border-bottom: 2px dotted var(--blue) !important;
    margin: auto;
    background: transparent;
    height: auto;
    padding: 40px;
    margin-bottom: 70px;
}

hr.dotted-line.animate-it {
    animation: dotted-line1 1s linear forwards;
}

.hdg2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
}

@keyframes dotted-line1 {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}


.z-index1 {
    z-index: 1;
}

.z-index2 {
    z-index: 2;
}

.z-index3 {
    z-index: 3;
}

.z-index4 {
    z-index: 4;
}

.z-index5 {
    z-index: 5;
}


.pentagon {
    opacity: 0;
    transform: translateX(-100px);
    transition:
        transform .9s cubic-bezier(.22, 1, .36, 1),
        opacity .9s ease;

    position: relative;
    width: 19%;
    height: 17vw;

    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .12));
}

.pentagon.show {
    opacity: 1;
    transform: translateX(0);
}


.pentagon-wrapper {
    display: flex;
    gap: 0px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 12vh auto;
}


/* outline shape */
.pentagon::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 40%, 82% 100%, 18% 100%, 0% 40%);
    transform: translate(10px, -2px);
    z-index: 1;
}


/* card */
.pentagon-card {
    position: absolute;
    inset: 0;
    background: #fff;
    clip-path: polygon(50% 0%, 100% 40%, 82% 100%, 18% 100%, 0% 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    z-index: 2;
    /* height: 100%; */
    padding-top: 80px;
}

.content {
    text-align: center;
    color: #0d2d63;
    line-height: 1.4;
    font-size: 1.5vw;
}


/* colors */
.yellow::before {
    background: var(--secondary-color);
}

.blue-dark::before {
    background: var(--blue);
}

.blue::before {
    background: #1486D7;
}


/* hover without transform conflict */
.pentagon:hover {
    margin-top: -8px;
    transition: .4s;
}


/* mobile */
@media(max-width:768px) {

    .pentagon {
        width: 180px;
        height: 180px;
        margin-top: 2rem;
    }

    .content {
        font-size: 15px;
    }

    .pentagon-card {
        padding: 25px;
        padding-top: 40px;
    }

    .pentagon-wrapper {
        margin: 5vh auto;
    }

}



.coun-page .right-border::after {
    content: '';
    position: absolute;
    /* height: 100%;
    width: 100%; */
    border: 3px solid #ECB24F;
    border-radius: 40px 0 0 0;
    border-right: none;
    border-bottom: none;
    top: -5.2%;
    left: -7.2%;
    pointer-events: none;
    transition: none;
}


.academic-guide .single-card {
    height: 90vh;
}

.academic-guide .img-overlay {
    background: linear-gradient(90deg, rgb(0 0 0 / 74%) 0%,
            /* deep blue */
            rgb(0 0 0 / 75%) 15%,
            /* smooth fade */
            rgb(0 0 0 / 35%) 30%, rgba(6, 33, 51, 0.05) 50%
            /* almost transparent */
        );
}

.academic-guide .info-content-box {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4vw;
    width: 45%;
}

.academic-guide .animated-line .img-section:before {
    background-color: var(--blue);
}

.quote-flex.acd-guide-quote {
    font-size: 24px !important;
    letter-spacing: normal;
    line-height: 1.3 !important;

}

.quote-flex.ib-quote {
    font-size: 30px !important;
}

.acd-guide-con2 {
    font-size: 22px !important;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

.quote-dsn1 {
    width: 50%;
}



@media (max-width:1500px) {
    .academic-guide .info-content-box {
        width: 60%;
    }
}
@media (max-width:991px) {
    .gallery-outer{
        padding: 14vh 3vh;
    }
}

@media (max-width:767px) {
    h3.heading-content {
        font-family: 'Merriweather', serif;
        font-size: 4vw;
    }

    hr.dotted-line {
        padding: 24px;
        margin-bottom: 60px;
    }

    .coun-page .img-section {
        height: 40vh;
        margin-top: 2rem;
    }

    .quote-dsn1 {
        width: 100%;
    }

    .quote-flex.ib-quote {
        font-size: 20px !important;
    }

    .quote-flex.acd-guide-quote {
        font-size: 18px !important;
    }

    .academic-guide .info-content-box {
        width: 100%;
    }

    .acd-guide-con2.heading-content {
        font-size: 16px !important;
        padding-left: 1.5rem;
    }

    .academic-guide .single-card .img-box {
        height: 100%;
        display: flex;
        align-items: end;
    }

    .academic-guide .img-section img {
        object-fit: cover;
        height: auto !important;
        margin-bottom: -40%;
        transform: scale(1.5);
    }

    .academic-guide .single-card {
        height: 80vh;
    }

    /* .academic-guide .img-overlay {
        background: linear-gradient(180deg, rgb(0 0 0 / 100%) 44%,
                rgb(0 0 0 / 100%) 55%,
                rgb(0 0 0 / -30%) 80%, rgba(6, 33, 51, 0.05) 18%
            );
    } */

    .academic-guide .img-overlay {
        background: linear-gradient(180deg, rgb(72 72 72) 44%,
                /* deep blue */
                rgb(122 122 122) 55%,
                /* smooth fade */
                rgb(0 0 0 / -30%) 80%, rgba(6, 33, 51, 0.05) 18%
                /* almost transparent */
            );
    }

    .track {
        left: 2%;
    }

    .dots {
        left: 2%;
        top: 110%;
    }

    .tl-item.left .connector {
        left: 4%;
    }

    .tl-item.right .connector {
        right: unset;
        left: 4%;
    }

    .photos-cluster {
        width: 100%;
    }

    .tl-item.right .label-area {
        right: unset;
        justify-content: flex-end;
        left: 8%;
    }

    .tl-item.left .label-area {
        left: 8%;
        justify-content: flex-start;
    }

    .label-area {
        top: 110%;
        width: 90%;
    }

    .connector {
        top: 110%;
    }

    .tl-item {
        margin: 38vh 0;
    }

    /* .dots{
        top: 110%;

    } */
    .label-card .info1 {
        font-size: clamp(0.75rem, 4.5vw, 1.8rem);
        align-items: center;
    }

    .label-card h2 {
        font-size: clamp(1.8rem, 1.5vw, 0.55rem);
    }

    .tl-item.right .label-card h2 {
        text-align: start;
    }

    .tl-item.right .label-card .info1 {
        justify-content: flex-start;
    }

    .tl-item .label-card .info1 .svg-section-big embed {
        width: 28px;
        height: 30px;
    }

    .gal-link:after {
        bottom: 2px;
    }

    .timeline-wrapper {
        padding-bottom: 160px;
    }

    .gallery-outer {
        padding: 2vh 1vh;
    }

    .gallery-card {
        background: var(--blue);
        padding: 20px 20px;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 34px;
    }



    .photos-stack {
        aspect-ratio: 1.7 / 1;
    }

    .gallery-card:not(.reversed) .photo-card:nth-child(1) {
        left: 0%;
    }

    .gallery-card:not(.reversed) .photo-card:nth-child(2) {
        left: 25%;
    }

    .gallery-card:not(.reversed) .photo-card:nth-child(3) {
        left: 57%;
    }

    .more-photos-btn {
        font-size: 20px;
    }

    .gallery-card .info-title {
        font-size: 9.5vw;
    }

    .gallery-card .info-card {
        padding: clamp(32px, 13vw, 8px) clamp(16px, 3vw, 0px);
        overflow: unset;
        padding-bottom: 0;
    }

    .pt-btn {
        margin: auto;
    }

    .gallery-card.reversed {
        background: var(--secondary-color);
        flex-direction: column-reverse;
    }
    .gallery-card.reversed .photo-card:nth-child(1){
        right: -3%;
    }
    .gallery-card.reversed .photo-card:nth-child(2){
        right: 23%;
    }
    .gallery-card.reversed .photo-card:nth-child(3){
        right: 58%;
    }

    .more-photos-btn .svg-section-big{
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .mainSwiperFacility p.heading-content.hdg {
        font-size: 4.8vw;
    }

   .facility-swiper-wrapper .sch-bg div{
        background: linear-gradient(180deg, #103150ab 80% 65%, transparent 100%) !important;
    }
    .history-cards .Card{
        height: 50vh !important;
    }

}