﻿body {
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.TrialRegister1 {
    background: linear-gradient(45deg, #6e49c9, #6e49c9)
}
.SchoolBanner {
    /*background-image: url( );*/
    background-attachment: fixed;
    background-position: top;
    /*background-size: 120% 70%;*/
    background-size: cover;
    width: 100%;
    /*height: 350px;*/
    min-height: 350px;
    position: relative;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

    .SchoolBanner:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
    }
    .SchoolBanner .StemRankBannerOverlay {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        z-index: 1;
        background-image: linear-gradient(135deg, #3182ed 0%, #6b26d9 50%, #f97415 100%);
        opacity: 0.7;
    }

    .SchoolBanner .container-fluid {
        position: relative;
        width: 95%;
        z-index: 2;
    }
    .SchoolBanner .Searchbar {

    }

        .SchoolBanner .Searchbar .form-group {
            position: relative;
            display: flex;
            align-items: center;
        }

            .SchoolBanner .Searchbar .form-group input {
                font-size: 22px;
                padding: 10px 20px;
                height: 60px;
                width: 50%;
                border: none;
                border-top-left-radius: 50px;
                border-bottom-left-radius: 50px;
            }
                .SchoolBanner .Searchbar .form-group input:focus-visible {
                    outline-color: #fff;
                }
                .SchoolBanner .Searchbar .form-group button {
                margin: 0px;
                height: 60px;
                background: #525FE1;
                text-align: center;
                font-size: 22px;
                color: white;
                padding: 10px 40px;
                cursor: pointer;
                border: none;
                transition: all 500ms ease;
                width: auto;
                border-top-right-radius: 50px;
                border-bottom-right-radius: 50px;
            }

.SchoolDetails {
    position: sticky;
    top: 138px;
    z-index: 99;
} 
.SchoolDetails {
    padding:10px 0px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .SchoolDetails img {
        height: 72px;
        width: auto;
        margin-right: 20px;
    }

    .SchoolDetails h1 {
        font-weight: 400;font-size:1.5rem
    }
    .SchoolDetails h6 {
        color: #F86F03;
        font-weight: 500;
    }
    .SchoolDetails p {
        color: #525ee1;
        font-weight: bold;
        margin: 0px;
    }
    .SchoolDetails a {
        color: #F86F03;
        display: inline-block;
        border-bottom: 2px #F86F03 dashed;
    }
    .SchoolDetails a:hover {
        color: #000;
        border-bottom: 2px #F86F03 dashed;
    }

        .SchoolDetails h4 .ranked {
            font-size: 22px;
            font-weight: 500;
            margin-right: 22px;
            color: #000;
        }
.Schoolmenu .Schoolmenulist {position: sticky;top: 300px;z-index: 9;height: fit-content;}
.Schoolmenu .SchoolmenulistBox {
/*    height: 100vh;
    overflow-y: auto;*/
height:auto;
}
    .Schoolmenu .SchoolmenulistBox section.section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .Schoolmenu .SchoolmenulistBox section.section.animated {
        opacity: 1;
        transform: translateY(0);
    }

    .Schoolmenu .SchoolmenulistBox section.section:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.section-title {
    color: #4a4a4a;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}
    .section-title i {
        color: #525ee1;
        padding-right:5px;
    }
    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 120px;
        height: 2px;
        background: #525FE1;
    }

.Schoolmenu .SchoolmenulistBox section.section {
    margin-bottom: 40px;
}

.info-card {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #525FE1;
    transition: all 0.3s ease;
    height: 100%;
}

    .info-card:hover {
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

    .info-card h3 {
        color: #23203E;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .info-card p {
        color: #292929;
    }

    .info-card .value {
        font-size: 20px;
        font-weight: 700;
        color: #525FE1;
        margin: 10px 0;
    }

.info-card1 {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #525FE1;
    transition: all 0.3s ease;
    height: 100%;
}

    .info-card1:hover {
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

.rating-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.rating-card h3{
    font-size:20px;
}

    .rating-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

.rating-value {
    font-size: 28px;
    line-height:20px;
    font-weight: 700;
    margin: 10px 0;
    position: relative;
    display: inline-block;
}

.grade-A {
    color: #2ecc71;
}

.grading-B {
    color: #3498db;
}

.grade-C {
    color: #f39c12;
}

.grade-D {
    color: #e67e22;
}

.grade-F {
    color: #e74c3c;
}

.rating-source {
    font-size: 0.8rem;
    color: #292929;
    margin-top: 10px;
}

.progress-container {
    margin: 30px 0;
}

.progress-item {
    margin-bottom: 15px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #525FE1, #23203E);
    border-radius: 5px;
    transition: width 1.5s ease;
}

.demographic-chart {
    display: flex;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.demographic-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.contact-card {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

    .contact-card:hover {
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

.contact-icon {
    font-size: 2rem;
    color: #525FE1;
}
    .contact-icon .fa-phone {
        rotate: 90deg;
    }



.review-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.review-rating {
    color: #f8c537;
    margin-bottom: 10px;
}

.review-text {
    font-style: italic;
    color: #292929;
}

.school-photo {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .school-photo:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Schoolmenu {margin-top:20px;}
.Schoolmenu .Schoolmenulist .list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.Schoolmenu .Schoolmenulist .list-group-numbered {
    list-style-type: none;
    counter-reset: section
}

    .Schoolmenu .Schoolmenulist .list-group-numbered > li::before {
        content: counters(section, ".") ". ";
        counter-increment: section
    }

.Schoolmenu .Schoolmenulist .list-group-item-action {
    width: 100%;
    font-weight: 600;
    text-align: inherit;
    transition: all ease-out .3s;
}

    .Schoolmenu .Schoolmenulist .list-group-item-action:focus,
    .Schoolmenu .Schoolmenulist .list-group-item-action:hover {
        z-index: 1;
        background-color: #525ee12e;
        color: #525fe1;
        text-decoration: none;
    }



    .Schoolmenu .Schoolmenulist .list-group-item-action:active:hover {
        color: #fff;
    }



    .Schoolmenu .Schoolmenulist .list-group-item {
        position: relative;
        display: block;
        padding: 15px 20px;
        color: #ffffff;
        font-weight: 400;
        font-size: 18px;
        border: 0px;
        background: #525fe1;
    }
        .Schoolmenu .Schoolmenulist .list-group-item i {
            padding-right: 5px;
        }
        }.Schoolmenu .Schoolmenulist .list-group-item:first-child {
            padding-top: 20px;
        }
        .Schoolmenu .Schoolmenulist .list-group-item:last-child {
            padding-bottom: 20px;
        }

    .Schoolmenu .Schoolmenulist .list-group-item:first-child {
        border-top-left-radius: inherit;
        border-top-right-radius: inherit
    }

    .Schoolmenu .Schoolmenulist .list-group-item:last-child {
        border-bottom-right-radius: inherit;
        border-bottom-left-radius: inherit
    }

    .Schoolmenu .Schoolmenulist .list-group-item.disabled,
    .Schoolmenu .Schoolmenulist .list-group-item:disabled {
        color: #6c757d;
        pointer-events: none;
        background-color: #fff
    }

.Schoolmenu .Schoolmenulist .list-group-item.active {
    z-index: 2;
    background: #f9f9f9;
    color: #525fe1;
    transition: cubic-bezier(0.55, 0.055, 0.675, 0.19) .3s;
}


    .Schoolmenu .Schoolmenulist .list-group-item + .list-group-item {
        border-top-width: 0
    }


.Schoolmenu .Schoolmenulist .list-group-horizontal {
    flex-direction: row
}

    .Schoolmenu .Schoolmenulist .list-group-horizontal > .list-group-item:first-child {
        border-bottom-left-radius: .25rem;
        border-top-right-radius: 0
    }

    .Schoolmenu .Schoolmenulist .list-group-horizontal > .list-group-item:last-child {
        border-top-right-radius: .25rem;
        border-bottom-left-radius: 0
    }

    .Schoolmenu .Schoolmenulist .list-group-horizontal > .list-group-item.active {
        margin-top: 0
    }

    .Schoolmenu .Schoolmenulist .list-group-horizontal > .list-group-item + .list-group-item {
        border-top-width: 1px;
        border-left-width: 0
    }

        .Schoolmenu .Schoolmenulist .list-group-horizontal > .list-group-item + .list-group-item.active {
            margin-left: -1px;
            border-left-width: 1px
        }

.scrollbar::-webkit-scrollbar {
    display: none;
}

.demographic-chart-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0;
}

.demographic-legend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text);
}

.color-box {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 8px;
}

.demographic-visualization {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.demographic-pie {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(#3498db calc(var(--white) * 1%), #2ecc71 0 calc(calc(var(--white) + var(--asian)) * 1%), #e74c3c 0 calc(calc(var(--white) + var(--asian) + var(--hispanic)) * 1%), #9b59b6 0 calc(calc(var(--white) + var(--asian) + var(--hispanic) + var(--black)) * 1%), #f39c12 0 calc(calc(var(--white) + var(--asian) + var(--hispanic) + var(--black) + var(--tworaces)) * 1%), #1abc9c 0 calc(calc(var(--white) + var(--asian) + var(--hispanic) + var(--black) + var(--tworaces) + var(--native)) * 1%));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pie-center {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.demographic-bars {
    flex: 1;
    min-width: 250px;
}

.bar-container {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.bar-label {
    width: 100px;
    font-size: 0.9rem;
    color: #292929;
}

.bar {
    flex: 1;
    height: 25px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bar-fill {
    height: 100%;
    width: calc(var(--value) * 1%);
    background: var(--color);
    transition: width 1s ease-out;
    border-radius: 12px 0 0 12px;
}

.bar-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-shadow: 0 0 2px white;
}

@media (max-width: 768px) {
    .demographic-visualization {
        flex-direction: column;
    }

    .demographic-pie {
        width: 150px;
        height: 150px;
    }

    .pie-center {
        width: 50px;
        height: 50px;
    }
}

.gender-distribution {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.gender-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .gender-header h3 {
        margin: 0;
        color: #23203E;
        font-size: 1.2rem;
    }

.gender-total {
    background: #ecf0f1;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #292929;
}

.gender-visualization {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gender-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gender-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gender-group.female .gender-icon {
    color: #FF7BAC;
}

.gender-group.male .gender-icon {
    color: #6C8DFA;
}

.gender-bar-container {
    flex: 1;
}

.gender-percent {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.gender-group.female .gender-percent {
    color: #FF7BAC;
}

.gender-group.male .gender-percent {
    color: #6C8DFA;
}

.gender-bar {
    height: 12px;
    background: #F0F0F0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.gender-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.gender-count {
    font-size: 0.8rem;
    color: #292929;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .gender-group {
        flex-direction: row;
        align-items: flex-start;
    }

    .gender-icon {
        margin-bottom: 10px;
    }
}

/* STEM Section - Futuristic Design */
.stem-container {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.stem-school-panel,
.stem-promo-panel {
    flex: 1;
}

/* School Info Panel */
.circuit-board-bg {
    background: linear-gradient(135deg, #4256f2 0%, #1a172f 100%);
    background-blend-mode: overlay;
    border-radius: 20px;
    padding: 40px;
    height: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .circuit-board-bg:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 30%, rgba(82, 95, 225, 0.15) 0%, transparent 50%);
    }
    .circuit-board-bg.position-static:before{position:unset;}

.tech-badge {
    background: #FFD700;
    color: #23203E;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stem-school-title {
    color: white;
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0 0 30px 0;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stem-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    color: #FFD700;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: white;
    font-size: 0.9rem;
    margin-top: 5px;
}

.stem-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

    .stem-features li {
        color: white;
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px dashed white;
        display: flex;
        align-items: center;
    }

.feature-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.coming-soon {
    background: rgba(82, 95, 225, 0.3);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    border: 1px dashed white;
}

/* Promotion Panel - Holographic Card */
.promo-card {
    background: linear-gradient(135deg, rgba(82, 95, 225, 0.1) 0%, rgba(255, 107, 107, 0.1) 50%, rgba(82, 95, 225, 0.1) 100%);
    border-radius: 20px;
    padding: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(82, 95, 225, 0.2);
    transform-style: preserve-3d;
}
.Book-A-Free-Trial-FormBox{padding:0px 15px;}
    .Book-A-Free-Trial-FormBox .nav-pills .nav-link.active, 
    .Book-A-Free-Trial-FormBox .nav-pills .show > .nav-link {
        color: #000;
        background: linear-gradient(135deg, #fff 0%, #fff 100%);
    }

    .Book-A-Free-Trial-FormBox .nav-pills .nav-link {
        font-size: 16px;
        font-weight: bold;
        line-height: 20px;
        padding: 15px 5px 40px 5px;
        /*background: linear-gradient(135deg, #4256f2 0%, #1a172f 100%);
        color: #FFD700;*/
        background: #382566;
        color: #ffffff;
        border-radius: 0px;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
    }
    .Book-A-Free-Trial-FormBox .nav-pills .nav-link span {
        font-size: 11px;
        line-height: 12px;
    }
        .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody {
        background: #fff;
        margin: 0px;
        padding: 20px 10px;
        margin-bottom: 20px;
        border-radius: 30px;
        position: relative;
        margin-top: -25px;
    }
        .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody .col-12 {
            padding: 0px 5px;
        }
            .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody .form-control,
            .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody .form-select {
                border-radius: 5px;
                padding: 10px 8px;
                font-size: 14px;
                color: #382566;
                border: 1px #382566 solid;
            }
        .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody .form-control.CountryCode {
            padding-left: 47px;
        }

            .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody button {
                padding: 10px;
                width : 70%;
                display: block;
                margin: 0 auto;
                background: #382566;
                color:#fff;
            }
                .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody button:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 10px 20px rgba(82, 95, 225, 0.3);
            }



/*.holographic:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(82, 95, 225, 0.1) 0%, rgba(255, 107, 107, 0.1) 50%, rgba(82, 95, 225, 0.1) 100%);
    z-index: 1;
}*/
.promo-header {
    background-image: url(https://mp.moonpreneur.com/blog/wp-content/uploads/2022/09/robotics-classes-for-kids.webp);
    background-size: cover;
    background-repeat: no-repeat;
    height: 180px;
    color: white;
    padding: 30px;
    position: relative;
}

    .promo-header:after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        background: #f8ebec;
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    }

.promo-tag {
    background: #FF6B6B;
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.promo-header h3 {
    font-size: 1.8rem;
    margin: 10px 0 5px 0;
    line-height: 1.3;
}

.promo-subheader {
    font-size: 1rem;
    opacity: 0.9;
}

.promo-highlights {
    padding: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.highlight-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 50px;
    text-align: center;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #23203E;
}

.promo-dates {
    display: flex;
    gap: 15px;
    padding: 0 30px;
}

.date-item {
    flex: 1;
    background: rgba(82, 95, 225, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.date-day {
    font-weight: 800;
    color: #525FE1;
    font-size: 1.2rem;
}

.date-time {
    font-size: 0.9rem;
    color: #6C757D;
}

.promo-cta {
    padding: 30px;
    text-align: center;
    background: rgba(82, 95, 225, 0.05);
    margin-top: 20px;
}

.cta-text {
    font-size: 0.9rem;
    color: #FF6B6B;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-button {
    display: block;
    background: linear-gradient(135deg, #525FE1 0%, #23203E 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(82, 95, 225, 0.3);
    }

.cta-note {
    font-size: 0.8rem;
    color: #6C757D;
}

.promo-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(82, 95, 225, 0.1);
    border-top: 1px dashed rgba(82, 95, 225, 0.3);
}

.guarantee-icon {
    background: #28A745;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.guarantee-text {
    font-size: 0.9rem;
    color: #6C757D;
}



/* Summer Reading Section */
.reading-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reading-category {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.category-logo {
    height: 40px;
    width: auto;
}

.reading-category h3 {
    margin: 0;
    color: #23203E;
    font-size: 1.4rem;
}

.rating-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.rating-badge {
    background: rgba(82, 95, 225, 0.1);
    color: #525FE1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.book-card {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

    .book-card:hover {
        transform: translateY(-5px);
    }

.book-cover {
    height: 180px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .book-cover:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    }

.book-initial {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.3);
}

.book-info {
    background: white;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

    .book-info h4 {
        margin: 0 0 5px 0;
        color: #23203E;
        font-size: 1.1rem;
        line-height: 1.3;
    }

.book-author {
    margin: 0;
    color: #292929;
    font-size: 0.9rem;
    font-style: italic;
}
.sectionRatingBox .sectionRatingSL1 h6{margin-bottom:20px;}
.sectionRatingBox .sectionRatingSL1 h6 small{color: #f86f03;}
.sectionRatingBox .sectionRatingSL1 h6 strong{display: inline-block; margin-left: 10px;}
.sectionRatingBox .sectionRatingSL1 h6 span{font-size: 14px; font-weight: 300;}
.sectionRatingBox .sectionRatingSL2{background: linear-gradient(135deg, #4256f2 0%, #1a172f 100%); padding: 25px; border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;}
.sectionRatingBox .sectionRatingSL2 .form-control{border-radius: 6px; font-size: 18px;
    padding: 10px 15px; color:#4256f2;}
.sectionRatingBox .sectionRatingSL2 .sectionRatingSL2TMC input{width: 15px; height: 15px;}
.sectionRatingBox .sectionRatingSL2 .sectionRatingSL2TMC label{font-size: 14px;color: #fff;}
.sectionRatingBox .sectionRatingSL2 .sectionRatingSL2TMC a{font-size: 14px;color: #FFEB3B;}

.sectionFeedbackBox .sectionFeedbackFe1 .MCDcommentBox{display:flex;}
.sectionFeedbackBox .sectionFeedbackFe1 .MCDcommentBox .col-12{background: #f8f9fa; padding: 15px; 
    border-radius: 10px; margin-bottom:15px; box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;}
.sectionFeedbackBox .sectionFeedbackFe1 .MCDcommentBox .col-12{background: #f8f9fa; padding: 15px; 
    border-radius: 10px; margin-bottom:15px; box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;}
.sectionFeedbackBox .sectionFeedbackFe1 .MCDcommentBox .col-12 p{margin-bottom:5px; color:#000;}
.sectionFeedbackBox .sectionFeedbackFe1 .MCDcommentBox .col-12 small{color: #525fe1;}



/* Responsive Design */
@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-badges {
        margin-left: 0;
        justify-content: flex-start;
    }
}

/* Simple Activities Section */
.simple-activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.activity-type {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

    .activity-type h3 {
        color: #23203E;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .activity-type h3 i {
            color: #525FE1;
        }

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .activity-list li {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

        .activity-list li:last-child {
            border-bottom: none;
        }

    .activity-list strong {
        color: #525FE1;
        font-size: 1.05rem;
    }

    .activity-list span {
        color: #292929;
        font-size: 0.9rem;
    }

.activity-notes {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

    .activity-notes i {
        color: var(--secondary);
        margin-right: 8px;
    }

/* Responsive */
@media (max-width: 768px) {
    .simple-activities-container {
        grid-template-columns: 1fr;
    }
}

/* School Timings Section */
.timings-container {
    margin: 0 auto;
}
.timings-container .timing-notes{margin-top:0px;}
.timing-card {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.timing-icon {
    width: 50px;
    height: 50px;
    background: rgba(82, 95, 225, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .timing-icon i {
        color: #525FE1;
        font-size: 1.3rem;
    }

.timing-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #23203E;
    font-size: 1.2rem;
}

.timing-details p {
    margin: 5px 0;
    color: #333;
}

.timing-details strong {
    color: #23203E;
    font-weight: 600;
}

.timing-note {
    font-size: 0.9rem;
    color: #292929;
    margin-top: 8px;
    font-style: italic;
}

.timing-notes {
    margin-top: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

    .timing-notes i {
        color: #525FE1;
        margin-right: 8px;
    }


/* Academic Performance Styles */
.performance-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

    .performance-card h3 {
        color: #23203E;
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.progress-container {
    margin: 25px 0;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

    .progress-label span:first-child {
        font-weight: 600;
    }

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1.5s ease;
}

.math-fill {
    background: linear-gradient(90deg, #525FE1, #3a44b5);
}

.ela-fill {
    background: linear-gradient(90deg, #FF6B6B, #e05555);
}

.performance-note {
    font-size: 0.9rem;
    color: #292929;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 20px;
}

    .performance-note i {
        color: #525FE1;
        margin-right: 8px;
    }

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
}

.metric-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: rgba(82, 95, 225, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .metric-icon i {
        color: #525FE1;
        font-size: 1.2rem;
    }

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23203E;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #292929;
    margin-top: 5px;
}
.class-list p a{
    color:#000;
}
#state_name, #city_name {
    text-transform: capitalize
}
.Topschooltextbg {
    background: #eaeaf1;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
}
.Topschooltextbg p {
    color: #2c3e50;
    line-height: 30px;
}
/* Responsive */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .score-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .score-label {
        width: 100%;
    }
}

/* Enhanced Contact Cards */
.contact-card.enhanced {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid #525FE1;
}

    .contact-card.enhanced:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .contact-card.enhanced .contact-icon {
        width: 60px;
        height: 60px;
        background: rgba(82, 95, 225, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .contact-card.enhanced .contact-icon i {
            color: #525FE1;
            font-size: 1.5rem;
        }

    .contact-card.enhanced h3 {
        margin: 0 0 8px 0;
        color: #23203E;
        font-size: 1.2rem;
    }

    .contact-card.enhanced p {text-transform: capitalize; margin: 0; color: #333; font-size: 1rem;}

/* Contact Links */
.map-link, .call-link, .website-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.map-link {
    color: #525FE1;
}

.call-link {
    color: #28a745;
}

.website-link {
    color: #525FE1;
    word-break: break-word;
}

    .map-link i, .website-link i {
        margin-left: 5px;
        font-size: 0.8rem;
    }

.call-link i {
    margin-left: 5px;
}

.map-link:hover, .website-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.call-link:hover {
    color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card.enhanced {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

        .contact-card.enhanced .contact-icon {
            margin-bottom: 10px;
        }
}

/* News Section */

.info-card {
    position: relative;
    padding-bottom: 10px;
}

    .info-card p:not(.value) {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 0.5rem;
    }

.read-more-link {
    position: absolute;
    bottom: 0.5em;
    right: 1em;
    font-weight: lighter;
    text-decoration: none;
}

    .read-more-link:hover {
        text-decoration: underline;
    }

.Disclaimer {background: #525FE1; padding: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; margin-top:40px;}
.Disclaimer h2 {color: #f86f03; font-size: 17px; font-weight: 400; margin: 0px;}
.Disclaimer p {font-size: 14px; padding: 0px; line-height: 1.2; color: #FFFF; margin:0px;}

.Topschool {
    /* background: linear-gradient(135deg, var(--primary), var(--secondary));*/
    background-color: #525FE1;
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    background-color: #27ae60;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

    .verified-badge i {
        margin-right: 0.3rem;
        font-size: 0.7rem;
    }

.grade-display {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.studenticon {
    color: #F86F03;
}

.overall-grade {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 1rem;
}

.grade-label {
    background-color: #ecf0f1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.grade-Aplus {
    background-color: #27ae60;
    color: white;
}

.grade-A {
    background-color: #2ecc71;
    color: white;
}

.grade-Aminus {
    background-color: #3498db;
    color: white;
}

.grade-Bplus {
    background-color: #f1c40f;
    color: white;
}

.grade-B {
    background-color: #e67e22;
    color: white;
}

.grade-Bminus {
    background-color: #e74c3c;
    color: white;
}

.review-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-rating {
    color: #f39c12;
    margin-right: 0.5rem;
}

.review-author {
    font-weight: 500;
    margin-right: 0.5rem;
}

.rating-stars {
    color: #f39c12;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.rank-badge {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #525FE1, #3498db);
    color: white;
    font-weight: bold;
    padding: 1rem;
    text-align: center;
}

    .rank-badge .rank {
        font-size: 2rem;
        line-height: 1;
    }

    .rank-badge .label {
        font-size: 0.8rem;
        opacity: 0.9;
    }

.school-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    margin-bottom: 1.5rem;
}

    .school-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.school-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.school-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.school-location {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.filter-bar {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
}

    .search-box input {
        padding-left: 2.5rem;
    }

    .search-box i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
        z-index: 4;
    }
.BackToHomeBtn {
    margin-top: 20px;
    border-radius:50px;
}
@media (max-width: 768px) {
    .school-card {
        flex-direction: column;
    }

    .rank-badge {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.8rem 1.5rem;
    }

        .rank-badge .rank {
            font-size: 1.5rem;
        }
}

@media (max-width: 768px) {
    .SchoolDetails {
        position: static;
    }
    .Schoolmenu .SchoolmenulistBox{height:auto;}
    .SchoolBanner {
        height: 160px;
    }
    .SchoolBanner .Searchbar .form-group input {
            font-size: 12px;
            padding: 8px 12px;
            height: 38px;
            width: 75%;
        }
        .SchoolBanner .Searchbar .form-group button {
            height: 40px;
            font-size: 12px;
            padding: 6px 18px;
        }
    .SchoolDetails h4 {
        font-size: 18px;
        margin-bottom:0px;
    }
    .SchoolDetails img {
        height: 50px;
        width: auto;
        margin-right: 8px;
        margin-bottom:0px;
    }
    .SchoolDetails h6 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .SchoolDetails p, .SchoolDetails a {
        font-size: 14px;
    }
    .section-title {
        font-size: 18px;
    }
    .Disclaimer h2 {
        font-size: 20px;
    }

    .Disclaimer p {
        font-size: 12px;
    }
    .circuit-board-bg {
        padding: 20px;
    }
        .circuit-board-bg .tech-badge {
            font-size: 12px;
            letter-spacing: -.1px;
            margin-bottom: 10px;
        }
        .circuit-board-bg .stem-school-title {
            margin-bottom: 0px;
            font-size: 24px;
        }
    .stem-features li {
        font-size: 14px;
        padding:7px 0px;
    }
    .promo-highlights {
        padding: 15px;
    }
        .promo-highlights .highlight-item {
            margin-bottom: 10px;
        }
    .Book-A-Free-Trial-FormBox .Book-A-Free-Trial-FormBoxBody .Baft-TC {
        font-size: 14px;
    }
    .Book-A-Free-Trial-FormBox .nav-pills .nav-link{font-size: 13px;}
    .metric-card:first-child{margin-top:20px;}
    .Book-A-Free-Trial-FormBox {margin-bottom: 20px;}
}


/* Responsive Design */
@media (max-width: 992px) {
    .stem-container {
        flex-direction: column;
    }

    .stem-school-title {
        font-size: 1.8rem;
    }
    .stem-stats {
        margin-bottom: 10px;
    }
    .stem-stats .stat-item {
        padding: 10px;
    }
        .stem-stats .stat-item .stat-label {
            font-size: 11px;
        }
        .stem-stats .stat-item .stat-value {
            font-size: 20px;
        }
    .Book-A-Free-Trial-FormBox {margin-bottom: 20px;}
}
@media (max-width: 993px) {
    .Schoolmenu .SchoolmenulistBox section.section{padding:10px;}
    .Schoolmenulist {
        display: none;
    }
    .Topschool {
        padding: 2rem;
    }
        .Topschool p {
            font-size:15px;
        }
    .school-name{
        font-size:18px;
    }
    .schools-list .school-card .school-content {
        padding: 20px;
        font-size:14px;
    }
        .schools-list .school-card .school-content button {
            padding: 5px 7px;
            font-size: 14px;
            border-radius: 5px;
        }
        .schools-list .school-card .school-content a {
            font-size: 14px;
        }
    .Book-A-Free-Trial-FormBox {margin-bottom: 20px;}
    .gender-distribution {width: 94%; margin: 0px auto 20px auto;}
    /*.metrics-grid {grid-template-columns: repeat(2, 1fr) !important;}*/
    .metrics-grid .metric-card:nth-child(1) {margin-top:20px;}
    .metrics-grid .metric-card:nth-child(2) {margin-top:20px;}
}
@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (min-width: 2100px) {
    .BookFreeTrialForm {min-height: auto; zoom: 100%;}
}

    @media (min-width: 2560px) {
        .SchoolBanner {
            height: 400px;
            background-position: top;
            background-size: unset;
        }

        .SchoolDetails {
            position: sticky;
            top: 180px;
        }
        .BookFreeTrialForm {min-height: auto; zoom: 100%;}
    }

    .blink {
        animation: blinker 1s linear infinite;
    }

    @keyframes blinker {
        50% {
            opacity: 0;
        }
    }

    .SchoolsByStateBox {
        background-image: url(../../assets/images/Home/newhome/bg-for-kits.webp);
        background-position: center;
        background-size: cover;
        padding-bottom: 45px !important;
    }

        .SchoolsByStateBox p {
            font-size: 16px;
            line-height: 26px;
            padding: 0px 20px;
        }

        .SchoolsByStateBox ul {
            font-size: 14px;
            list-style: none;
            padding-left: 0;
        }

            .SchoolsByStateBox ul li {
                position: relative;
                margin-bottom: 10px;
            }

                .SchoolsByStateBox ul li a {
                    display: inline-block;
                    color: #000;
                    background: #ffffff8f;
                    border-radius: 50px;
                    width: 100%;
                    padding: 7px;
                    transition: transform 0.3s ease, box-shadow 0.3s ease;
                    display: flex;
                    align-items: center;
                }
.SchoolsByStateBox ul li a i {font-size: 14px; color: #525fe1; margin-right: 8px;}
.SchoolsByStateBox ul li a:hover {background: #fff; transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);}



/*SchoolBookAFreeTrail*/
/*.SchoolBookAFreeTrail {background: url(../../assets/images/Home/newhome/bgfortop.webp); padding:0px;
    background-size: cover; background-position: center; position: relative; min-height:470px;
    display: inline-flex; align-items:end;
}*/
.SchoolBookAFreeTrail {background: linear-gradient(45deg, #6e49c9, #6e49c9); padding:0px;
    position: relative; min-height:470px; display: inline-flex; align-items:end;
}
.SchoolBookAFreeTrail .container-fluid {width:100%;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt {padding:0px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt h1{color: #f7b61b; font-size:35px; line-height: 35px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt h1 span{color: #fff; text-transform: uppercase;
    display: block; font-size: 20px; letter-spacing: 1px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt h5{color: #fff; margin-bottom:50px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt ul {color: #ffffff; font-size: 22px; margin-top: 1.5rem;
    list-style: none; padding-left: 10px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt ul li {margin-top:15px; font-size: 18px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt ul li i{font-size: 16px; color: #525fe1; background: #ffffff;
    min-width: 30px; min-height: 30px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; margin-right: 5px;}
.SchoolBookAFreeTrail .SchoolBookAFreeTxt ul li span{display: ruby;}
/*.SchoolBookAFreeTrail .FormBaFBox {width: 420px; max-width: 100%; margin: 0 auto;}*/
.SchoolBookAFreeTrail .FormBaFBox {width:420px; padding: 0px; position: absolute; right: 4%; top: 50%; 
    margin: 0 auto; transform: translateY(-50%);}
.SchoolBookAFreeTrail .FormBaFBox .BookFreeTrialForm {width: 100%; margin-top: -28px; padding:0px;}
.SchoolBookAFreeTrail .BaF-NewFormTabBox .nav-pills.bg-nav-pills a {min-height: 85px;}
.SchoolBookAFreeTrail .BookFreeTrialForm .NewTabFormBoxBody .mb-2,
.SchoolBookAFreeTrail .BookFreeTrialForm .NewTabFormBoxBody .mb-1
{margin-bottom: 0px !important;}
.SchoolBookAFreeTrail .BookFreeTrialForm .NewTabFormBoxBody label.error{margin-bottom: -8px;  
    line-height: 20px; display: block;}
.SchoolBookAFreeTrail .BookFreeTrialForm .NewTabFormBoxBody .iti label.error{letter-spacing: -.5px;}
.SchoolBookAFreeTrail .BookFreeTrialForm .NewTabFormBoxBody button.btn{padding:5px;}

.SchoolBookAFreeTrail1 img{border-radius:10px;}
.SchoolBookAFreeTrail1 p{min-height: 55px; margin: 0px;}
.SchoolBookAFreeTrail1 ul {list-style: none; position:relative;}
.SchoolBookAFreeTrail1 ul li{font-size: 18px; margin-bottom: 10px;}
.SchoolBookAFreeTrail1 ul li:before {content: '👉'; position: absolute; left: 0;}

.SchoolBookAFreeTrail2 img {width:100%; margin-bottom: 20px; transition: .3s;}
.SchoolBookAFreeTrail2 img:hover {transform: scale(1.3); cursor: zoom-in; transition: 1s;}

.SchoolBookAFreeTrail3 {display: flex; align-items: center; min-height: 300px;
    background-image: url(https://moonhub.moonpreneur.com/mh/assets/images/In-Person/all/img15-1.webp);
    background-size: cover;  background-position: center; 
}
.SchoolBookAFreeTrail3 h2{color:#fff; text-align:center;}
.SchoolBookAFreeTrail3 h2 span{font-weight:100;}

.SchoolBookAFreeTrail4{margin-top: -60px;}
.SchoolBookAFreeTrail4 ul{list-style: none; padding: 0px; margin: 0px; display: flex; border: 1px #fff solid; 
    align-items: center; justify-content: space-between; flex-wrap: wrap; background: #525fe1; color: #fff;}
.SchoolBookAFreeTrail4 ul li{border: 1px #fff solid; min-width: 25%; padding: 15px;}
.SchoolBookAFreeTrail4 ul li i{font-size: 25px; margin-right: 10px;}
.SchoolBookAFreeTrail4 ul li p{margin:0px; line-height:20px;}

.SchoolBookAFreeTrail5{background: linear-gradient(90deg, #4c3a99 0%, #6149ac 100%);}
.SchoolBookAFreeTrail5 h3{color:#fff; margin:20px 0px; text-align:center;}
.SchoolBookAFreeTrail5 img{width:100%; margin-bottom:20px;}
.SchoolBookAFreeTrail6 a{display: inline-block; margin: 15px; margin-top:0px;}
.SchoolBookAFreeTrail6 a img:hover{ filter: red; 
    -webkit-filter: grayscale(1);  -webkit-transition: all .8s ease-in-out;}

.RelatedArticlesBlogBox #nearbyEvents a.menuButton{width: auto; padding: 8px 40px; font-size: 18px; margin: auto;}



@media screen and (max-width: 768px) {
    .SchoolBookAFreeTrail .FormBaFBox {
        width: 90%;
    }

    .SchoolBookAFreeTrail .SchoolBookAFreeTxt img {
        display: none;
    }

    .SchoolBookAFreeTrail .SchoolBookAFreeTxt {
        padding: 0px 25px !important;
    }

    .SchoolBookAFreeTrail {
        padding: 20px 0px;
    }

        .SchoolBookAFreeTrail .SchoolBookAFreeTxt h1 {
            font-size: 22px;
            line-height: 20px;
        }

            .SchoolBookAFreeTrail .SchoolBookAFreeTxt h1 span {
                font-size: 16px;
            }

        .SchoolBookAFreeTrail .SchoolBookAFreeTxt h5 {
            font-size: 18px;
        }

        .SchoolBookAFreeTrail .SchoolBookAFreeTxt ul {
            font-size: 16px;
            margin: 0px 0px 25px 0px;
        }

            .SchoolBookAFreeTrail .SchoolBookAFreeTxt ul li {
                font-size: 14px;
            }

                .SchoolBookAFreeTrail .SchoolBookAFreeTxt ul li i {
                    font-size: 14px;
                    min-width: 25px;
                    min-height: 25px;
                    margin-right: 5px;
                }

    .SchoolBookAFree .BaF-NewFormTabBox .nav-pills.bg-nav-pills a {
        font-size: 14px;
        padding: 12px 5px 20px 5px;
    }

    .SchoolBookAFreeTrail4 ul li {
        min-width: 49%;
        padding: 5px 15px;
        font-size: 12px;
    }

    .SchoolBookAFreeTrail1 ul li {
        font-size: 14px;
    }

    .SchoolBookAFreeTrail1 p {
        min-height: 15px;
    }

    .SchoolBookAFreeTrail1 .card.p-4 {
        padding: 10px !important;
    }
}
@media screen and (max-width: 1025px) {
    .SchoolBookAFreeTrail .FormBaFBox{position: unset; transform: translateY(0%);}
    .SchoolBookAFreeTrail .SchoolBookAFreeTxt {padding:15px; padding-left: 0px;}
    .SchoolBookAFreeTrail .SchoolBookAFreeTxt h5{margin-bottom:20px;}
}

@media screen and (min-width: 1920px) {
    .SchoolBookAFreeTrail .BookFreeTrialForm {zoom: 100%;}
}


/*31-Oct-2025*/
.SchoolSliderBanner {background: linear-gradient(135deg, #3182ed 0%, #6b26d9 50%, #f97415 100%);}
.SchoolSliderBanner .container-fluid{width: 95%;}
.SchoolSliderBanner .orangebg {background: linear-gradient(to right, #f77f2a, #f7b93b);
    padding: 15px 20px; border-radius: 10px; margin-bottom: 30px;}
.SchoolSliderBanner .orangebg h5 {line-height: 28px; margin:0px;}
.SchoolSliderBanner .card {background: #ffffffe6; padding: 20px; width: 100%; border: none; transition: all 1s;}
.SchoolSliderBanner .card:hover {background: #fff; padding: 10px; transition: all .5s;}
.SchoolSliderBanner .card .imgbox img {border-radius: 10px; height: 192px; object-fit: cover;}
.SchoolSliderBanner .card .agebox {display: inline-flex; align-items: center; background-color: #f0f8ff; 
    color: #3182ed; padding: 6px 14px; border-radius: 9999px; font-size: 0.875rem; font-weight: 600;}
.SchoolSliderItemBox .item {padding: 20px;}
.SchoolSliderItemBox .slick-arrow {background: #505050; color: #fff; font-size: 20px; font-weight: 600; 
    width: 30px; height: 30px; border-radius: 50%; display: flex; position: absolute !important; 
    top: 50% !important; align-items: center; justify-content: center; z-index: 9;}
.SchoolSliderItemBox .slick-arrow:hover {color: #fff; background: #3876ea;}

@media (max-width:768px) {
    .SchoolSliderBanner .orangebg {padding: 10px 15px; border-radius: 15px;}
    .SchoolSliderBanner .orangebg h5 {line-height: 18px; font-size: 16px;}
    .SchoolSliderBanner .card, .Powerskillprogram .card, .OurAdvancedprogram .card{padding: 15px;}
}


/*Stem Rank Banner 19-Nov-2025*/
.StemRankBanner{background: url(../images/school/Elementary-Schools.webp); position: relative; 
    background-size: cover; background-position: center; overflow: hidden; padding: 30px 0px;}
 .StemRankBanner .StemRankBannerOverlay{width: 100%; height: 100%; position: absolute; top: 0; z-index: 1;
    background-image: linear-gradient(135deg, #3182ed 0%, #6b26d9 50%, #f97415 100%); opacity: 0.88;}
 .StemRankBanner .container-fluid{position: relative; width: 95%; z-index: 2;}
 .StemRankBanner .container{position: relative; z-index: 2;}
 .StemRankBanner .container-fluid h1, .StemRankBanner .container h1, .StemRankBanner .container-fluid h2,
 .StemRankBanner .container h2{margin-bottom: 25px; font-size: 3.75rem; line-height: 1; font-weight: 700; color:#fff;}
 .StemRankBanner .container-fluid h1 span, .StemRankBanner .container h1 span, .StemRankBanner .container-fluid h2 span,
 .StemRankBanner .container h2 span{background: linear-gradient(90deg, #f97a17, #FFEB3B);  -webkit-background-clip: text; 
     -webkit-text-fill-color: transparent; background-clip: text;}
 .StemRankBanner .container-fluid p, .StemRankBanner .container p{color: #fff; font-size: 1.125rem; line-height: 1.75rem;}

 @media (max-width:768px) {
    .StemRankBanner .container-fluid h1, .StemRankBanner .container h1, .StemRankBanner .container-fluid h2,
    .StemRankBanner .container h2{font-size: 2rem;}
}