.sticky-sidebar {
    position: sticky;
    top: 100px;
    /* Header ki height ke according adjust kare */
}

@media(max-width:991px) {
    .sticky-sidebar {
        position: static;
        top: auto;
        margin-top: 0px;
    }
}


.top-header {
    font-size: 15px;
    background: #3b1a6b;
}

.top-header a {
    color: #fff;
    transition: .3s ease;
}

.top-header a:hover {
    color: #ffc107;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffb703;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s ease;
}

.social-icon:hover {
    color: #fff !important;
    transform: translateY(-3px);
}

/* ------------------------------------------------------ nav-bar css --------------------------------------- */
.logo-img {
    height: 80px;
    width: auto;
}

.btn-new-registration {
    background-color: #ffb703;
    color: #111;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
    /* transition: 0.3s; */
}


/* ------------------------------------------------------ counter css --------------------------------------- */
/* Exact Theme Colors */
.bg-light-blue {
    background-color: #f8fbfd;
}

.text-navy {
    color: #1d1b4f;
}

.text-gray {
    color: #555;
}

.bg-purple {
    background-color: #6f42c1;
}

.bg-pink {
    background-color: #ff4f81;
}

.bg-orange {
    background-color: #f5a000;
}

.bg-green {
    background-color: #28a745;
}

/* Custom Styling elements */
.counter-wrapper-custom {
    border-radius: 70px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.counter-icon-custom {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.counter-title {
    font-size: 34px;
}

.counter-desc {
    font-size: 15px;
}

/* Desktop Settings */
@media (min-width: 992px) {
    .border-lg-custom {
        border-left: 1px solid #ececec;
    }
}

/* Mobile Responsive Settings */
@media (max-width: 991px) {
    .counter-wrapper-custom {
        border-radius: 25px;
    }

    .counter-icon-custom {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .counter-title {
        font-size: 24px;
    }

    .counter-desc {
        font-size: 13px;
    }

    /* Mobile Grid Borders */
    .mobile-border-bottom {
        border-bottom: 1px solid #eee;
    }

    .col-6:nth-last-child(-n+2) .mobile-border-bottom {
        border-bottom: none;
    }
}

/*============================== ABOUT SECTION ================================*/
/* Color Palette Settings */
.text-purple {
    color: #6d3fd7;
}

.text-deep-purple {
    color: #3d2c8d;
}

.bg-purple {
    background-color: #6d3fd7;
}

.bg-orange {
    background-color: #f7a400;
}

.bg-green {
    background-color: #36b54a;
}

/* Section Specific Rules */
.about-text-box {
    margin-right: 30%;
}

.about-img-wrapper {
    max-width: 520px;
}

.about-img {
    height: 500px;
    object-fit: cover;
    z-index: 2;
}

/* Title Underline Linear Gradient */
.title-line {
    width: 75px;
    height: 5px;
    background: linear-gradient(90deg, #6d3fd7, #ff4f81);
}

/* Feature & Icons Base */
.feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.feature-item-hover {
    transition: background 0.3s ease;
}

.feature-item-hover:hover {
    background-color: #fafafa;
}

/* Left Side Absolute Vectors/Shapes */
.shape-purple,
.shape-yellow {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.shape-purple {
    width: 130px;
    height: 130px;
    background: #6437d7;
    left: -65px;
    top: 190px;
}

.shape-yellow {
    width: 180px;
    height: 180px;
    background: #f8b400;
    left: -50px;
    bottom: 0;
}

/* Absolute Positioning Floating Card (Desktop Mode) */
@media (min-width: 992px) {
    .contact-card {
        position: absolute;
        left: 30px;
        bottom: -30px;
        width: 320px;
        z-index: 10;
    }

    .contact-card .icon {
        width: 50px;
        height: 50px;
        background: #6d3fd7;
        font-size: 26px;
    }

    .border-end-md {
        border-right: 1px solid #ededed !important;
    }

    .rounded-custom-lg {
        border-radius: 60px;
    }

    .section-heading-title {
        font-size: 40px;
    }

    .font-contact-num {
        font-size: 28px;
    }

    .font-feat {
        font-size: 15px;
    }

    /* Background Pseudo Vectors (Hidden on Mobile automatically through layout) */
    .about-section::before {
        content: '';
        position: absolute;
        right: 35px;
        top: 40px;
        width: 90px;
        height: 90px;
        background-image: radial-gradient(#6d3fd7 2px, transparent 2px);
        background-size: 15px 15px;
        opacity: .5;
    }

    .about-section::after {
        content: '✎';
        position: absolute;
        right: 60px;
        top: 310px;
        font-size: 60px;
        color: #a176ff;
        transform: rotate(-20deg);
        opacity: .35;
    }
}

/* Responsive Overrides (Mobile Viewports) */
@media (max-width: 991px) {
    .about-img {
        height: auto;
    }

    .rounded-custom-lg {
        border-radius: 35px;
    }

    .section-heading-title {
        font-size: 36px;
    }

    .border-bottom-sm {
        border-bottom: 1px solid #ececec;
    }

    .contact-card .icon {
        width: 55px;
        height: 55px;
        background: #6d3fd7;
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .section-heading-title {
        font-size: 30px;
    }

    .font-contact-num {
        font-size: 20px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .font-feat {
        font-size: 13px;
    }
}

/*============================== management section ================================*/
.management-section {
    background: #0c2d76;
}

#management .card {
    background-color: #012064;
}

/*============================== program section ================================*/
/* Section styling */
.program-section {
    background-color: #ffffff;
}

/* Custom card styling for precise matching */
.program-card {
    border-radius: 15px;
    transition: transform 0.3s ease;
    height: 100%;
    background: #fff;
}

.program-card:hover {
    transform: translateY(-5px);
}

.academic-icon {
    border-radius: 10px;
}

.program-card .academic-icon img {
    width: 30%;
    height: auto;
    padding: 8px;
}

.program-card img {
    border-radius: 12px;
    object-fit: cover;
    height: 140px;
    width: 100%;
}

/* Heading decoration line */
.heading-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #6f42c1, #fd7e14);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Custom Colors for each card based on image */
.card-purple {
    border: 2px solid #e1d5f5;
    background: rgb(81, 45, 168, 0.3);
}

.card-pink {
    border: 2px solid #fcd4d8;
    background: rgb(216, 27, 96, 0.3);
}

.card-orange {
    border: 2px solid #ffe4cc;
    background: rgb(230, 81, 0, 0.3);
}

.card-blue {
    border: 2px solid #cfe2ff;
    background: rgb(13, 110, 253, 0.3);
}

.card-green {
    border: 2px solid #d1e7dd;
    background: rgb(25, 135, 84, 0.3);
}

.card-lavender {
    border: 2px solid #ebdcf5;
    background: rgb(111, 66, 193, 0.3);
}

/*============================== campus section ================================*/
.campus-bg {
    background: linear-gradient(135deg, #420024, #911157);
    border-radius: 30px;
}

.bg-purple {
    background: #6d28d9;
}

.facility-title {
    width: 90%;
}

.mt-n3 {
    margin-top: -18px;
}

@media(max-width:767px) {

    .facility-img {
        height: 100px;
    }

}

/*============================== process section ================================*/
.process-row>.col-lg {
    position: relative;
}

.process-row>.col-lg:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px;
    left: 58%;
    width: 85%;
    height: 3px;
    background: linear-gradient(to right, #6f42c1, #ff4fa2, #3cb371, #f4a000);
    z-index: 0;
}

.process-item {
    position: relative;
    z-index: 2;
}

.circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border: 8px solid #f8f9fa;
    box-shadow: 0 0 0 2px #ddd;
}

.admission-process .process-item .admissionprocess-img {
    width: 60%;
    border-radius: 20px;
}

.purple {
    background: #5b2db8;
}

.violet {
    background: #e50a6f;
}

.pink {
    background: #ff4fa2;
}

.green {
    background: #4CAF50;
}

.orange {
    background: #F9A825;
}

.process-item h5 {
    font-size: 20px;
}

.process-item p {
    line-height: 24px;
}

@media(max-width:991px) {

    .process-row>.col-lg::after {
        display: none;
    }

    .circle {
        width: 70px;
        height: 70px;
        font-size: 24px;

    }

}

/*============================== why-choose section ================================*/
.why-choose-banner {
    background: linear-gradient(135deg, #114a03 0%, #39b520 100%);
    border-radius: 30px;
    color: #ffffff;
    position: relative;
    /* overflow: hidden; */
    padding: 50px;
}

/* Custom Orange Button */
.btn-discover {
    background-color: #ffb703;
    color: #1e1b4b;
    font-weight: 700;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-discover:hover {
    background-color: #fb8500;
    color: #fff;
}

/* Feature Round Icons */
.feat-icon-wrapper {
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon-wrapper .choose-img {
    width: 50%;
}

/* Kid Image Placement */
.kid-image-container {
    position: absolute;
    top: 30px;
    right: 35px;
    height: 56%;
    z-index: 1;
}

.kid-image-container img {
    height: 100%;
    object-fit: contain;
}


/* Small underline for heading */
.heading-line {
    width: 45px;
    height: 3px;
    background-color: #ffb703;
    margin-top: 15px;
    border-radius: 2px;
}

/* Responsive adjustments for kid image */
@media (max-width: 1200px) {
    .kid-image-container {
        position: relative;
        height: 250px;
        margin-top: 20px;
        text-align: center;
        right: 0;
    }
}

/*============================== vision-section section ================================*/
.vision-section {
    padding-top: 3%;
}

.vision-subtitle {
    font-size: 11px;
    font-weight: 700;
}

.vision-title {
    color: #fff;
    font-size: 36px;
    margin: 10px 0 15px;
}

.vision-title span {
    color: #ffb703;
}

.vision-card {
    height: 100%;
    padding: 25px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    transition: .3s;
}

/* .vision-card:hover {
    transform: translateY(-5px);
} */

.vision-card-purple {
    border-top: 4px solid #7b2cbf;
}

.vision-card-yellow {
    border-top: 4px solid #ffb703;
}

.vision-icon,
.values-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 15px;
    color: #fff;
    background: #7b2cbf;
}

.vision-card-yellow .vision-icon {
    background: #ffb703;
}

.vision-card h5,
.values-card h5 {
    color: #10194b;
    font-weight: 700;
    margin-bottom: 8px;
}

.vision-card p {
    color: #777;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 767px) {

    .vision-title {
        font-size: 27px;
    }

    .vision-text {
        font-size: 13px;
    }

    .vision-card {
        padding: 18px;
    }

    .values-list {
        gap: 7px 12px;
    }
}

/*============================== activities section ================================*/
.premium-gallery-section {
    position: relative;
}

/* Modern Glassmorphic Card Overlay Design */
.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    /*aspect-ratio: 4 / 5;*/
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.05);
    cursor: pointer;
    border: 4px solid #ceb2f5;
}

.premium-gallery-section .gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.05);
    cursor: pointer;
    border: 4px solid #ceb2f5;
}

#gallery .overlays {
    background-color: #cdb1f5;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Dark & Colorful Gradient Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(76, 29, 149, 0.9) 0%, rgba(219, 39, 119, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    transition: all 0.4s ease;
}

/* Text & Icon animations */
.gallery-text {
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.gallery-btn-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(76, 29, 149, 0.95) 0%, rgba(109, 40, 217, 0.5) 100%);
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

.gallery-item:hover .gallery-btn-icon {
    opacity: 1;
    transform: scale(1);
    background: #ffffff;
    color: #6d28d9;
}

/* Premium Pulsing Button */
.btn-premium-more {
    background: linear-gradient(135deg, #6d28d9 0%, #db2777 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.3);
    transition: all 0.3s;
}

.btn-premium-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(109, 40, 217, 0.4);
    color: white;
}

/*============================== testimonial section ================================*/
#testimonial {
    background-color: #fff9f1;
}

.testimonial-wrapper-custom {
    border-radius: 30px;
    padding: 30px 40px;
}

.testimonial-title-sub {
    color: #3b2314;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.testimonial-title-main {
    color: #1a2b49;
    font-weight: 800;
    line-height: 1.2;
}

.title-decor-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, #e21b5a 40%, #213360 40%);
    border-radius: 2px;
}

.custom-testimonial-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.parent-avatar {
    width: 55px !important;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.star-rating {
    color: #ffb703;
    font-size: 0.85rem;
}

.testimonial-desc {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/*============================== footer section ================================*/
#footer {
    background: #fff9f1;
}

.bg-purple {
    background-color: #091342;
}

.bg-dark-purple {
    background-color: #3b1f7d;
}

.custom-footer-curve {
    border-top-left-radius: 50% 30px;
    border-top-right-radius: 50% 30px;
}

.footer-link {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover,
.footer-bottom-link:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

/* Vertical dividers inside layout columns on desktop grids */
@media (min-width: 992px) {
    .footer-divider {
        border-left: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/*============================== team page css ================================*/
.team-section {
    background: #fff;
    overflow: hidden;
}

.team-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 7px 25px rgba(30, 20, 70, 0.08);
    transition: all .35s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 20, 70, 0.15);
}

.team-image-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #f2edff;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.06);
}

.team-content {
    position: relative;
    padding: 18px 15px 20px;
    text-align: center;
}

.team-role {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f2eaff;
    color: #7b2cbf;
    font-size: 9px;
    font-weight: 700;
}

.team-content h5 {
    color: #10194b;
    font-size: 16px;
    font-weight: 700;
    margin: 9px 0 6px;
}

.team-content p {
    color: #777;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .team-image-wrap {
        height: 175px;
    }
}

@media (max-width: 575px) {

    .team-section {
        padding-left: 5px;
        padding-right: 5px;
    }

    .team-content {
        padding: 13px 8px 15px;
    }

    .team-role {
        font-size: 7px;
        padding: 3px 7px;
    }

    .team-content h5 {
        font-size: 12px;
        margin-top: 7px;
    }

    .team-content p {
        font-size: 9px;
        line-height: 1.5;
    }

    .team-social {
        display: none;
    }
}

/* =========================================
   FACILITY MAIN CARD
========================================= */

.facility-main-img {
    height: 400px;
    object-fit: cover;
}

.facility-title-line {
    width: 5px;
    height: 35px;
    flex-shrink: 0;
}

.facility-icon {
    width: 38px;
    height: 38px;
}

.facility-thumb {
    width: 80px;
    height: 70px;
    object-fit: cover;
}

.facility-arrow {
    width: 32px;
    height: 32px;
}

.facilities-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

@media (max-width: 991px) {
    .facility-main-img {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .facility-main-img {
        height: 250px;
    }

    .facility-thumb {
        width: 65px;
        height: 60px;
    }

    .facility-title-line {
        width: 4px;
        height: 30px;
    }
}

/* ========================================= schoolCalendarDays ========================================= */
#schoolCalendarDays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
}

/* Calendar Column */
#schoolCalendarDays .calendar-col {
    min-width: 0;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
}

/* Date Box */
#schoolCalendarDays .date-box {
    position: relative;
    min-height: 125px;
    padding: 10px;
    background: #fff;
    transition: background-color .2s ease;
}

#schoolCalendarDays .date-box:hover {
    background-color: #f8f9fa;
}

/* Date Number */
#schoolCalendarDays .calendar-number {
    width: 32px;
    height: 32px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-primary);
}

/* Today */
#schoolCalendarDays .date-box.today {
    background: rgba(13, 110, 253, .06);
}

#schoolCalendarDays .date-box.today .calendar-number {
    background: var(--bs-primary);
    color: #fff;
}

/* Previous / Next Month */
#schoolCalendarDays .other-month {
    color: #adb5bd !important;
    opacity: .4;
}

/* Event List */
#schoolCalendarDays .event-list {
    position: relative;
}

/* Event */
#schoolCalendarDays .event-item {
    display: block;
    width: 100%;
    font-size: 11px;
    line-height: 1.3;
    padding: 5px 7px;
    margin-top: 7px;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all .25s ease;
}

/* Hover Date */
#schoolCalendarDays .date-box:hover .event-item {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================= TABLET ========================================= */

@media (max-width: 991.98px) {

    #schoolCalendarDays .date-box {
        min-height: 100px;
        padding: 7px;
    }

    #schoolCalendarDays .calendar-number {
        width: 29px;
        height: 29px;
        font-size: 13px;
    }

    #schoolCalendarDays .event-item {
        font-size: 10px;
        padding: 4px 5px;
    }
}

/* ========================================= MOBILE ========================================= */

@media (max-width: 767.98px) {

    #schoolCalendarDays {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    #schoolCalendarDays .date-box {
        min-height: 70px;
        padding: 4px;
    }

    #schoolCalendarDays .calendar-number {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }

    #schoolCalendarDays .event-item {
        font-size: 8px;
        padding: 3px 2px;
        margin-top: 3px;
    }
}