/* =========================================================
   Extracted from inline <style> blocks in index.php
   ========================================================= */

/* --- Block 1: top of <head>, above <body> --- */
.news-slider-one {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Block 2: School Facilities section --- */
.facilities-section {
    background: url('assets/Images/claret-web-banner.jpg.jpeg') center center / cover no-repeat;
    position: relative;
    /* padding: 60px 0; */
}

.facility-card-item {
    text-decoration: none !important;
    display: block;
    height: 90%;
}

.facility-card-inner {
    background: #ffffff;
    border-radius: 0px;
    padding: 14px 14px 18px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-card-item:hover .facility-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.facility-card-img-wrap {
    width: 100%;
    height: 250px;
    aspect-ratio: 16 / 10;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.facility-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.facility-card-item:hover .facility-card-img-wrap img {
    transform: scale(1.06);
}

.facility-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6px 4px 6px;
    margin-top: auto;
}

.facility-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.facility-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.facility-card-role {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #043490;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.facility-card-btn {
    width: 44px;
    height: 44px;
    border-radius: 10%;
    background-color: #043490;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.facility-card-btn i {
    color: #ffffff;
}

.facility-card-item:hover .facility-card-btn {
    background-color: #1a4695;
    transform: scale(1.08);
}

/* --- Block 3: Activities & Clubs section --- */
.section-label {
    display: inline-block;
    padding: 5px 20px;
    border: 1px solid #86bbb6;
    border-radius: 999px;
    color: #00645c;
    background: #edf9f7;
    font-weight: 600;
}

.section_title {
    margin: 20px auto 0px;
    max-width: 700px;
    color: #043490 !important;
    font-size: 40px;
    font-weight: 700;
}

.section_title::after {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    margin: 8px auto 0;
    border-radius: 10px;
    background: #ffc928;
}

.section-intro {
    max-width: 690px;
    margin: 0 auto 28px;
    color: #556070;
}

.activities-content {
    min-height: 400px;
}

.activities-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    filter: brightness(1.06) contrast(1.06);
}

.activities-copy {
    color: #202020;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Card grid — matches the reference image style */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    border: 2px solid;
    border-radius: 16px;
    padding: 30px 16px;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .10);
    text-decoration: none;
}

.icon-card i {
    display: block;
    margin-bottom: 18px;
    font-size: 2.4rem;
}

.icon-card span {
    display: block;
    color: #1e2939;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-teal   { background: #eef6f5; border-color: #0f5c53; }
.card-teal i { color: #0f5c53; }

.card-yellow   { background: #fdf3d9; border-color: #c99a1e; }
.card-yellow i { color: #c99a1e; }

.card-red   { background: #fde8e8; border-color: #e57373; }
.card-red i { color: #e05353; }

.card-blue   { background: #e8f1fc; border-color: #6ea8e8; }
.card-blue i { color: #2f6fd1; }

.card-indigo   { background: #ecedfc; border-color: #8890e8; }
.card-indigo i { color: #4b52c9; }

.card-green   { background: #edf8ea; border-color: #7fc26f; }
.card-green i { color: #4a9c3a; }

.card-purple   { background: #f2ecfc; border-color: #a98bdb; }
.card-purple i { color: #7a4fbf; }

.card-pink   { background: #fdeaf3; border-color: #e88bb8; }
.card-pink i { color: #d13d7f; }

.button-52 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 13px 30px;
    outline: 0;
    border: 2px solid white;
    color: #043490;
    cursor: pointer;
    position: relative;
    background-color: transparent;
    display: inline-block;
    text-decoration: none !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: color 0.2s ease;
}

.button-52::after {
    content: "";
    background-color: #ffc928 !important;
    width: 100%;
    z-index: -1;
    position: absolute;
    border: 2px solid #ffc928;
    height: 100%;
    top: 7px;
    left: 7px;
    transition: 0.2s;
}

.button-52:hover {
    color: #043490 !important;
}

.button-52:hover::after,
.button-52.active::after {
    top: 0px;
    left: 0px;
}

.button-52.active {
    border-color: #043490;
    color: #ffffff;
    background: #043490;
}

.view-all-btn {
    border-color: #043490;
    color: #043490;
}

.view-all-btn::after {
    background-color: #043490;
}

@media (max-width: 992px) {
    .icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .icon-grid { grid-template-columns: 1fr; }
    .activities-image { height: 260px; }
}

/* --- Block 4: Our Teachers Section --- */
.teachers-full-section {
    background: none;
    position: relative;
    width: 100%;
    margin: 55px 0 65px 0;
    padding: 0;
    overflow: visible;
}

/* Layout wrapper: relative so card can float over image */
.teachers-layout-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Left: image fills ~72% width */
.teachers-img-col {
    flex: 0 0 72%;
    max-width: 72%;
    display: block;
    z-index: 1;
}

.teachers-side-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right: card overlaps image slightly via negative margin */
.teachers-card-col {
    flex: 0 0 420px;
    width: 420px;
    margin-left: -40px;
    z-index: 5;
    position: relative;
}

.teachers-section-wrapper {
    width: 100%;
    padding: 0;
}

.teachers-shaped-card-outer {
    width: 100%;
    position: relative;
    z-index: 5;
}

.teachers-shaped-card-inner {
    background: #043490;
    border-radius: 0 42px 42px 0;
    padding: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.teachers-card-inner-border {
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 0 32px 32px 0;
    padding: 28px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.teachers-card-inner-border::before {
    display: none;
}

.teachers-card-inner-border > div {
    width: 100%;
}

.teachers-card-title {
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 4px 0 !important;
    letter-spacing: -0.3px;
    text-align: left;
}

.teachers-card-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 4.5px;
    margin: 10px 0 18px 0 !important;
    border-radius: 4px;
    background: #ffc928;
}

.teachers-card-text {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.62;
    margin: 0 0 14px 0;
    opacity: 0.96;
    text-align: left;
}

.teachers-card-text:last-child {
    margin-bottom: 0;
}

/* Breakpoint: Large Tablets / Laptops (992px to 1199px) */
@media (max-width: 1199px) {
    .teachers-full-section {
        margin: 45px 0 55px 0;
    }
    .teachers-img-col {
        width: 75%;
    }
    .teachers-card-col {
        width: 270px;
        right: 20px;
    }
    .teachers-card-title {
        font-size: 1.6rem;
    }
    .teachers-card-text {
        font-size: 0.84rem;
    }
}

/* Breakpoint: Tablets & Small Desktops (≤ 991px) — stack vertically */
@media (max-width: 991px) {
    .teachers-full-section {
        margin: 35px 0;
    }
    .teachers-layout-wrapper {
        position: static;
        display: flex;
        flex-direction: column;
    }
    .teachers-img-col {
        width: 100%;
    }
    .teachers-side-img {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 320px;
        object-position: center top;
    }
    .teachers-card-col {
        position: static;
        transform: none;
        width: 100%;
        background: #043490;
        padding: 30px 20px;
    }
    .teachers-shaped-card-inner {
        border-radius: 0;
        box-shadow: none;
        padding: 12px;
    }
    .teachers-card-inner-border {
        border-radius: 8px;
        padding: 20px 16px;
    }
    .teachers-card-title {
        font-size: 1.55rem;
    }
    .teachers-card-title::after {
        margin: 8px 0 14px 0 !important;
    }
    .teachers-card-text {
        font-size: 0.88rem;
        margin: 0 0 10px 0;
    }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
    .teachers-full-section {
        margin: 25px 0;
    }
    .teachers-card-col {
        padding: 22px 15px;
    }
    .teachers-card-title {
        font-size: 1.35rem;
    }
    .teachers-card-text {
        font-size: 0.84rem;
    }
}

/* Small Mobile (≤ 575px) */
@media (max-width: 575px) {
    .teachers-full-section {
        margin: 20px 0;
    }
    .teachers-card-col {
        padding: 18px 12px;
    }
    .teachers-card-title {
        font-size: 1.25rem;
    }
    .teachers-card-title::after {
        width: 45px;
        height: 3px;
        margin: 6px 0 10px 0 !important;
    }
    .teachers-card-text {
        font-size: 0.82rem;
        line-height: 1.5;
        margin: 0 0 8px 0;
    }
}

/* --- Block 5: Championship 2025 section --- */

.championship-section-container {
    background: linear-gradient(135deg, rgba(39, 84, 168, 0.9) 0%, rgba(26, 70, 149, 0.94) 100%), url('assets/Images/Athletic-banner.jpg') center center / cover no-repeat;
    position: relative;
    padding: 50px 25px 60px;
    box-shadow: 0 15px 35px rgba(26, 70, 149, 0.25);
    margin-top: 0;
    margin-bottom: 30px;
}

.champ-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
    color: #1a233a;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 20px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    margin-bottom: 12px;
}

.champ-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
}

.champ-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 10px;
    background: #ffc928;
}

.champ-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #043490;
    margin-bottom: 30px;
    text-align: center;
    /* text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); */
}

.champ-card {
    background: #ffffff;
    /* border-radius: 24px; */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.champ-card:hover {
    box-shadow: 0 22px 50px rgba(0, 47, 138, 0.14);
}

.champ-left-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.champ-congrats-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;

}

.champ-congrats-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #043490;
    margin: 0;
    justify-content: center;
}

.champ-quote {
    background: #f0f4fc;
    border-left: 4px solid #d4af37;
    padding: 12px 16px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #2b364b;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.champ-medal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.champ-medal-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.champ-medal-box:hover {
    transform: translateY(-2px);
}

.gold-box   { background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); border: 1px solid #ffe69c; }
.silver-box { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border: 1px solid #ced4da; }
.bronze-box { background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%); border: 1px solid #ffd8b5; }
.trophy-box { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); border: 1px solid #c7d2fe; }

.champ-medal-icon {
    font-size: 1.6rem;
}

.champ-medal-info .number {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    color: #1a202c;
}

.champ-medal-info .label {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.champ-desc-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.champ-principal-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #002f8a;
    color: #ffffff;
    border-radius: 12px;
    align-self: flex-start;
}

.champ-principal-icon {
    font-size: 1.2rem;
    color: #ffd700;
}

.champ-principal-info .name {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}

.champ-principal-info .role {
    font-size: 0.75rem;
    opacity: 0.85;
    margin: 0;
}

.champ-right-carousel {
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.champ-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.champ-carousel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.champ-controls-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.champ-control-btn {
    background: #002f8a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 47, 138, 0.3);
}

.champ-control-btn:hover {
    background: #043490;
    transform: scale(1.08);
}

@media (max-width: 991px) {
    .champ-card { grid-template-columns: 1fr; }
    .champ-right-carousel { order: 2; }
    .champ-left-content { order: 1; padding: 25px; }
    .champ-carousel-wrapper { height: 300px; }
}

@media (max-width: 576px) {
    .champ-title { font-size: 1.8rem; }
    .champ-subtitle { font-size: 1rem; }
    .champ-medal-grid { grid-template-columns: 1fr; }
    .champ-carousel-wrapper { height: 230px; }
}

/* Academic Toppers Title & Image Wrapper */
.academic-toppers-title {
    margin-bottom: 0;
}

.academic-toppers-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    margin: 10px auto 25px;
    border-radius: 10px;
    background: #ffc928;
}

.topper-img-wrapper {
    background-color: #043490 !important;
    border-radius: 8px;
}

.topper-name-bar {
    background-color: #043490 !important;
    border-radius: 4px;
}

.side-floating-cup {
    position: absolute;
    top: 40px;
    width: 160px;
    height: 500px !important;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
}
.side-cup-left {
    left: -125px;
    animation: sideCupFloatLeft 2.5s ease-in-out infinite alternate;
}
.side-cup-right {
    right: -125px;
    animation: sideCupFloatRight 2.5s ease-in-out infinite alternate;
}
@keyframes sideCupFloatLeft {
    0% { transform: translateY(0) rotate(-10deg) scale(1); }
    100% { transform: translateY(-12px) rotate(5deg) scale(1.1); }
}
@keyframes sideCupFloatRight {
    0% { transform: translateY(0) rotate(10deg) scale(1); }
    100% { transform: translateY(-12px) rotate(-5deg) scale(1.1); }
}

/* =========================================================
   NEW: Achievement Showcase section
   (Art & Literary Competition Winners / Indian Talent Olympiad
   Exam Rank Holders) — styles for the slider + dot indicators
   ========================================================= */
.achievement-showcase {
    padding: 40px 0 60px;
}

.achievement-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.achievement-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.achievement-subtitle {
    color: #043490;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

/* =========================================================
   Achievement Showcase Multi-Card Carousel Styles (3 cards per slide)
   ========================================================= */
.achievement-showcase {
    padding: 60px 0 70px;
    background: radial-gradient(circle at 15% 20%, rgba(4, 52, 144, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(255, 193, 7, 0.09) 0%, transparent 50%),
                linear-gradient(180deg, #f8faff 0%, #edf4fe 50%, #f4f8fe 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.achievement-carousel-container {
    position: relative;
    padding: 0;
}

.achievement-card-item {
    padding: 2px;
}

.achievement-card-inner {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
}

.achievement-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: transparent;
}

.achievement-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    cursor: pointer;
}

.achievement-card-img::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 52px;
    height: 52px;
    background: rgba(4, 52, 144, 0.85);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.achievement-card-inner:hover .achievement-card-img::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.achievement-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.achievement-card-inner:hover .achievement-card-img img {
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(4, 52, 144, 0.16);
}

/* =========================================================
   Achievement Image Lightbox Modal
   ========================================================= */
.achievement-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 18, 38, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-modal.show {
    display: flex;
    opacity: 1;
}

.achievement-modal-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-modal.show .achievement-modal-dialog {
    transform: scale(1);
}

.achievement-modal-img {
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
    background: #000000;
}

.achievement-modal-caption {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 14px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    letter-spacing: 0.3px;
}

.achievement-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
}

.achievement-modal-close:hover {
    background: #e02424;
    border-color: #e02424;
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
}

.achievement-modal-prev,
.achievement-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
}

.achievement-modal-prev {
    left: -65px;
}

.achievement-modal-next {
    right: -65px;
}

.achievement-modal-prev:hover,
.achievement-modal-next:hover {
    background: #ffc107;
    color: #1a2b4c;
    border-color: #ffc107;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .achievement-modal-prev {
        left: 10px;
        background: rgba(0, 0, 0, 0.65);
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    .achievement-modal-next {
        right: 10px;
        background: rgba(0, 0, 0, 0.65);
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    .achievement-modal-close {
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.75);
    }
    .achievement-modal-img {
        max-width: 95vw;
        max-height: 75vh;
    }
    .achievement-modal-caption {
        font-size: 0.85rem;
        margin-top: 10px;
    }
}

/* Achievement Tab Buttons (Centered & Larger) */
.achievement-tab-btn {
    background-color: #f1f5f9;
    color: #1a2b4c;
    border: 2px solid #e2e8f0;
    padding: 12px 34px;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
}

.achievement-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    background-color: #e2e8f0;
}

.achievement-tab-btn.active {
    background-color: #043490 !important;
    color: #ffffff !important;
    border-color: #043490 !important;
    /* box-shadow: 0 6px 18px rgba(255, 193, 7, 0.4); */
    transform: translateY(-2px);
}

/* Owl Carousel Nav Buttons for Achievements */
.achievement-owl-carousel.owl-carousel {
    position: relative;
}

.achievement-owl-carousel .owl-nav {
    position: absolute;
    top: 45%;
    left: -22px;
    right: -22px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    margin: 0 !important;
}

.achievement-owl-carousel .owl-nav button.owl-prev,
.achievement-owl-carousel .owl-nav button.owl-next {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    background: #043490 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(4, 52, 144, 0.35);
    pointer-events: auto;
    transition: all 0.3s ease !important;
    border: 2px solid #ffffff !important;
}

.achievement-owl-carousel .owl-nav button.owl-prev:hover,
.achievement-owl-carousel .owl-nav button.owl-next:hover {
    background: #ffc928 !important;
    color: #043490 !important;
    transform: scale(1.12);
}

/* Owl Dots for Achievements */
.achievement-owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.achievement-owl-carousel .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
    background: #cbd5e1 !important;
    border: none !important;
    transition: all 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.achievement-owl-carousel .owl-dot:hover {
    background: #043490 !important;
}

.achievement-owl-carousel .owl-dot.active {
    background: #043490 !important;
    width: 26px;
    border-radius: 12px !important;
}

@media (max-width: 991px) {
    .achievement-card-img {
        aspect-ratio: 16 / 10;
        height: auto;
    }
    .achievement-owl-carousel .owl-nav {
        left: -10px;
        right: -10px;
    }
}

@media (max-width: 576px) {
    .achievement-card-img {
        aspect-ratio: 16 / 10;
        height: auto;
    }
    .achievement-owl-carousel .owl-nav button.owl-prev,
    .achievement-owl-carousel .owl-nav button.owl-next {
        width: 38px;
        height: 38px;
        font-size: 14px !important;
    }
    .achievement-owl-carousel .owl-nav {
        left: -6px;
        right: -6px;
    }
}

/* ==========================================
   Floating shape-5.webp Animations & Styles
   ========================================== */
.shape5-floating {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.shape5-sm { width: 45px; height: auto; }
.shape5-md { width: 75px; height: auto; }
.shape5-lg { width: 110px; height: auto; }

/* Animation 1: Smooth Floating & Sway */
.shape5-anim-float {
    animation: shape5FloatSway 4.5s ease-in-out infinite alternate;
}
@keyframes shape5FloatSway {
    0% {
        transform: translateY(0px) rotate(-6deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(8px) rotate(-4deg);
    }
}

/* Animation 2: Slow Continuous Spin */
.shape5-anim-spin {
    animation: shape5Spin 20s linear infinite;
}
@keyframes shape5Spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.08);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Animation 3: Pulsing Scale & Float */
.shape5-anim-pulse {
    animation: shape5PulseFloat 3.8s ease-in-out infinite alternate;
}
@keyframes shape5PulseFloat {
    0% {
        transform: scale(0.9) translateY(0px) rotate(-10deg);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.15) translateY(-16px) rotate(10deg);
        opacity: 0.95;
    }
}

/* Animation 4: Horizontal Bob & Sway */
.shape5-anim-bounce {
    animation: shape5Bounce 5s ease-in-out infinite alternate;
}
@keyframes shape5Bounce {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(18px) translateY(-14px) rotate(12deg);
    }
    100% {
        transform: translateX(-12px) translateY(8px) rotate(-8deg);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .shape5-lg { width: 75px; }
    .shape5-md { width: 55px; }
    .shape5-sm { width: 38px; }
}
@media (max-width: 576px) {
    .shape5-lg { width: 50px; }
    .shape5-md { width: 38px; }
    .shape5-sm { width: 28px; }
    .shape5-floating { opacity: 0.65; }
}

/* ==========================================
   Floating abt_3.webp Animations & Styles (School Timings)
   ========================================== */
.abt3-floating {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.abt3-sm { width: 50px; height: auto; }
.abt3-md { width: 85px; height: auto; }
.abt3-lg { width: 130px; height: auto; }
.abt3-xl { width: 175px; height: auto; }

/* Animation 1: Smooth Floating & Gentle Tilt */
.abt3-anim-float {
    animation: abt3Float 5s ease-in-out infinite alternate;
}
@keyframes abt3Float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-24px) rotate(10deg);
    }
    100% {
        transform: translateY(8px) rotate(-6deg);
    }
}

/* Animation 2: Pulse Float with Opacity Shift */
.abt3-anim-pulse {
    animation: abt3PulseFloat 4.2s ease-in-out infinite alternate;
}
@keyframes abt3PulseFloat {
    0% {
        transform: scale(0.9) translateY(0px) rotate(-8deg);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.12) translateY(-18px) rotate(12deg);
        opacity: 0.85;
    }
}

/* Animation 3: Slow Elegant Rotation */
.abt3-anim-spin {
    animation: abt3Spin 22s linear infinite;
}
@keyframes abt3Spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animation 4: Sway & Horizontal Bounce */
.abt3-anim-bounce {
    animation: abt3Bounce 6s ease-in-out infinite alternate;
}
@keyframes abt3Bounce {
    0% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateX(-16px) translateY(-20px) rotate(-12deg);
    }
    100% {
        transform: translateX(12px) translateY(10px) rotate(8deg);
    }
}

/* Responsive adjustments for abt_3 shapes */
@media (max-width: 1200px) {
    .abt3-xl { width: 140px; }
    .abt3-lg { width: 105px; }
    .abt3-md { width: 70px; }
}

@media (max-width: 992px) {
    .abt3-xl { width: 110px; }
    .abt3-lg { width: 85px; }
    .abt3-md { width: 55px; }
    .abt3-sm { width: 40px; }
    .abt3-floating { opacity: 0.55; }
}

@media (max-width: 768px) {
    .abt3-floating {
        display: none !important;
    }
}

/* =========================================================
   Welcome Section Styles (Screenshot Match)
   ========================================================= */

.welcome_section {
    background-color: #ffffff;
    padding: 60px 0 50px 0;
    position: relative;
}

.welcome-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 30, 90, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-img-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 30, 90, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.welcome-img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
}

.welcome-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: #1a4695;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.welcome-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    margin-bottom: 14px;
}

.welcome-school-name {
    display: block;
    color: #1a4695;
    font-weight: 700;
    margin-top: 4px;
}

.welcome-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 22px;
    text-align: left;
}

.welcome-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
    perspective: 1000px;
}

.welcome-stat-box {
    background: #043490;
    border-radius: 4px;
    padding: 16px 8px 14px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(26, 70, 149, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.welcome-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.6s ease;
}

.welcome-stat-box:hover::before {
    left: 100%;
}

.welcome-stat-box:hover {
    transform: translateY(-6px) rotateX(10deg) scale(1.03);
    box-shadow: 0 14px 28px rgba(13, 47, 111, 0.38), 0 0 15px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

.welcome-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 500px;
}

.welcome-stat-num .flip-num {
    display: inline-block;
    transition: transform 0.30s ease-out;
    transform-origin: center center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.welcome-stat-num .flip-num.flipping {
    animation: flapDigit 0.30s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flapDigit {
    0% {
        transform: rotateX(0deg) scale(1);
    }
    50% {
        transform: rotateX(90deg) scale(0.9);
        opacity: 0.5;
    }
    51% {
        transform: rotateX(-90deg) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(0deg) scale(1);
        opacity: 1;
    }
}

.welcome-stat-num .stat-plus {
    color: #ffff;
    font-size: 22px;
    margin-left: 2px;
    font-weight: 700;
}

.welcome-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e2e8f0;
    text-transform: uppercase;
}

.welcome-btn-wrap {
    margin-top: 4px;
}

.welcome-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 22px;
    background-color: #ffffff;
    color: #1a4695;
    border: 1.5px solid #1a4695;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.welcome-read-more-btn:hover {
    background-color: #1a4695;
    color: #ffffff;
    border-color: #1a4695;
    box-shadow: 0 6px 18px rgba(26, 70, 149, 0.25);
    transform: translateY(-2px);
}

.welcome-read-more-btn i {
    transition: transform 0.25s ease;
}

.welcome-read-more-btn:hover i {
    transform: translateX(4px);
    color: #ffffff;
}

@media (max-width: 991px) {
    .welcome-content {
        padding-left: 0;
        margin-top: 25px;
    }
    .welcome-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .welcome_section {
        padding: 40px 0 30px 0;
    }
    .welcome-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .welcome-title {
        font-size: 20px;
    }
    .welcome-stat-num {
        font-size: 22px;
    }
    .welcome-stat-label {
        font-size: 10px;
    }
}

  /* ===== SCHOOL TIMINGS SECTION ===== */
        .school-timings-section {
            background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }

        .timings-intro-text {
            font-family: 'Poppins', sans-serif;
            color: #556070;
            font-size: 1rem;
            max-width: 650px;
            margin: 0 auto 30px auto;
            line-height: 1.7;
        }

        .timings-note-text {
            font-family: 'Poppins', sans-serif;
            color: #e05353;
            font-size: 0.92rem;
            max-width: 600px;
            margin: -15px auto 25px auto;
        }

        .timings-table-wrapper {
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 10px 35px rgba(59, 80, 155, 0.12);
            margin-bottom: 10px;
        }

        .timings-table {
            width: 100%;
            border-collapse: collapse;
            font-family: 'Poppins', sans-serif;
        }

        .timings-table thead tr {
            background: #3b509b;
        }

        .timings-table thead th {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 700;
            padding: 16px 28px;
            text-align: start;
            letter-spacing: 0.5px;
        }

        .timings-table tbody tr {
            background: #ffffff;
            transition: background 0.2s ease;
        }

        .timings-table tbody tr:nth-child(even) {
            background: #f3f6ff;
        }

        .timings-table tbody tr:hover {
            background: #e8eeff;
        }

        .timings-table tbody td {
            color: #333;
            font-size: 0.97rem;
            font-weight: 500;
            padding: 15px 28px;
            text-align: start;
            border-bottom: 1px solid #e8edf5;
        }

        .timings-table tbody tr:last-child td {
            border-bottom: none;
        }

        .timings-note-badge {
            display: block;
            font-size: 0.78rem;
            color: #3b509b;
            font-weight: 600;
            margin-top: 4px;
        }

        @media (max-width: 576px) {
            .timings-table thead th,
            .timings-table tbody td {
                padding: 12px 14px;
                font-size: 0.85rem;
            }
            .timings-note-badge {
                font-size: 0.72rem;
            }
        }

/* ==========================================
   Banner Enroll Button - Left Alignment & Position
   ========================================== */
.h7_banner-content-btn {
    text-align: left !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
}

.h7_banner-content-btn a {
    display: inline-block;
    text-decoration: none;
}

.h7_banner-content .inner_btn,
.h7_banner-content-btn .inner_btn,
#red-btn .inner_btn {
    margin-left: 0 !important;
    margin-right: auto !important;
}

#red-btn {
    margin-top: 80px !important;
    margin-left: -130px !important;
}

@media (max-width: 1200px) {
    #red-btn {
        margin-top: 65px !important;
        margin-left: -100px !important;
    }
}

@media (max-width: 1024px) {
    .h7_banner-content .inner_btn {
        margin-left: 0 !important;
    }
    #red-btn {
        margin-top: 50px !important;
        margin-left: -70px !important;
    }
}

@media (max-width: 768px) {
    #red-btn {
        margin-top: 35px !important;
        margin-left: -40px !important;
    }
}

@media (max-width: 576px) {
    #red-btn {
        margin-top: 25px !important;
        margin-left: -15px !important;
    }
}

/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS (INDEX PAGE)
   ========================================================= */

/* Global Safety Fixes */
html, body {
    /* overflow-x: hidden !important; */
    max-width: 100vw;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* 1. Header & Navigation */
@media (max-width: 768px) {
    .header_top {
        display: none !important;
    }
    .header_logo img {
        max-width: 190px !important;
        height: auto !important;
    }
    .h7_header-area {
        padding: 6px 0 !important;
    }
    .mobile-menu-toggle {
        font-size: 22px !important;
        cursor: pointer;
    }
    .side-navbar {
        width: 260px !important;
    }
}

/* 2. Banner Section */
#carouselExampleIndicators {
    width: 100%;
    overflow: hidden;
    background-color: #1a4695;
}

#carouselExampleIndicators .carousel-inner {
    width: 100%;
    position: relative;
}

#carouselExampleIndicators .carousel-item {
    width: 100%;
    background-color: #1a4695;
}

#carouselExampleIndicators .carousel-item img {
    width: 100%;
    height: 70vh;
    min-height: 480px;
    max-height: 680px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    #carouselExampleIndicators .carousel-item img {
        height: 50vh;
        min-height: 320px;
        max-height: 460px;
    }
}

@media (max-width: 768px) {
    #carouselExampleIndicators .carousel-item {
        min-height: 180px !important;
        max-height: 420px !important;
        background-color: #1a4695;
    }
    #carouselExampleIndicators .carousel-item img {
        width: 100% !important;
        height: 250px !important;
        min-height: 180px !important;
        max-height: 350px !important;
        object-fit: cover !important;
    }
    .carousel-caption-custom {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: translateY(-50%) !important;
        padding: 0 15px !important;
        text-align: left !important;
    }
    .h7_banner-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    .h7_banner-content-title {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
        margin-right: 0 !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9) !important;
    }
    .message {
        left: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 6px !important;
    }
    .h7_banner-content-text {
        font-size: 0.78rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8) !important;
    }
    .h7_banner-content-btn .inner_btn {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin-top: 2px !important;
    }
}

@media (max-width: 480px) {
    #carouselExampleIndicators .carousel-item {
        min-height: 150px !important;
    }
    .h7_banner-content-title {
        font-size: 1.05rem !important;
    }
    .h7_banner-content-text {
        font-size: 0.72rem !important;
    }
}

/* 3. Common Section Titles */
@media (max-width: 768px) {
    .section_title {
        font-size: 1.55rem !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin: 10px auto 0 !important;
        line-height: 1.25 !important;
    }
    .section_title::after {
        width: 60px !important;
        height: 3.5px !important;
        margin: 6px auto 0 !important;
    }
    .section_padding {
        padding: 30px 0 20px 0 !important;
    }
}

@media (max-width: 480px) {
    .section_title {
        font-size: 1.35rem !important;
    }
}

/* 4. Welcome Section */
@media (max-width: 768px) {
    .welcome_section {
        padding: 30px 0 20px 0 !important;
    }
    .welcome_section .row {
        flex-direction: column-reverse !important;
    }
    .welcome-img-wrapper {
        border-radius: 16px !important;
        margin-bottom: 15px !important;
    }
    .welcome-img {
        max-height: 260px !important;
        border-radius: 16px !important;
    }
    .welcome-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin-bottom: 10px !important;
    }
    .welcome-title {
        font-size: 1.25rem !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
    }
    .welcome-school-name {
        font-size: 1.1rem !important;
    }
    .welcome-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 16px !important;
    }
    .welcome-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
    }
    .welcome-stat-box {
        padding: 10px 6px 8px !important;
        border-radius: 6px !important;
    }
    .welcome-stat-num {
        font-size: 20px !important;
    }
    .welcome-stat-label {
        font-size: 9.5px !important;
        letter-spacing: 0.5px !important;
    }
    .welcome-read-more-btn {
        font-size: 12.5px !important;
        padding: 6px 18px !important;
    }
}

/* 5. School Academic Section - Handled with full responsive animations in index.php */
@media (max-width: 991px) {
    /* Responsive styles for academic shapes defined with full animations in index.php */
}

@media (max-width: 768px) {
    .feature-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-row-gap: 52px !important;
        gap: 52px !important;
        margin: 25px 0 55px 0 !important;
    }
    .feature-type {
        padding: 22px 16px !important;
        margin: 0 !important;
        border-radius: 16px !important;
    }
    .feature-heading {
        white-space: normal !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    .feature-info {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    .feature-logo-circle {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 10px !important;
    }
    .feature-logo {
        width: 32px !important;
        height: 32px !important;
    }
}

/* 6. Facilities Section */
@media (max-width: 768px) {
    .facilities-section {
        padding: 30px 0 35px 0 !important;
    }
    .facility-card-item {
        margin-bottom: 12px !important;
    }
    .facility-card-img-wrap {
        height: 180px !important;
        aspect-ratio: 16 / 10 !important;
    }
    .facility-card-name {
        font-size: 0.95rem !important;
    }
    .facility-card-role {
        font-size: 0.65rem !important;
    }
    .facility-card-btn {
        width: 36px !important;
        height: 36px !important;
    }
    .button-52 {
        font-size: 14px !important;
        padding: 10px 22px !important;
    }
}

/* 7. Activities & Clubs Section */
@media (max-width: 768px) {
    .activities-clubs-section {
        padding: 0 !important;
    }
    .activities-copy {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    .icon-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .icon-card {
        min-height: 120px !important;
        padding: 14px 6px !important;
        border-radius: 12px !important;
    }
    .icon-card i {
        font-size: 1.6rem !important;
        margin-bottom: 8px !important;
    }
    .icon-card span {
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
    }
}

/* 8. Championship Section */
@media (max-width: 768px) {
    .championship-section-container {
        padding: 25px 12px 30px !important;
        margin-top: 25px !important;
        border-radius: 0 !important;
    }
    .champ-title {
        font-size: 1.55rem !important;
        margin-bottom: 15px !important;
    }
    .champ-card {
        grid-template-columns: 1fr !important;
        border-radius: 14px !important;
    }
    .champ-left-content {
        padding: 18px 12px !important;
    }
    .champ-congrats-header h2 {
        font-size: 1.3rem !important;
    }
    .champ-subtitle {
        font-size: 0.88rem !important;
        margin-bottom: 15px !important;
    }
    .champ-medal-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .champ-medal-box {
        padding: 8px 6px !important;
        border-radius: 8px !important;
        gap: 6px !important;
    }
    .champ-medal-icon {
        font-size: 1.15rem !important;
    }
    .champ-medal-info .label {
        font-size: 10px !important;
    }
    .champ-right-carousel {
        padding: 10px !important;
    }
    .champ-carousel-wrapper {
        height: 200px !important;
        border-radius: 10px !important;
    }
    .champ-control-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
}

/* 9. Students' Achievements Showcase */
@media (max-width: 768px) {
    .achievement-showcase {
        padding: 30px 0 40px !important;
    }
    .animated-cup-left, .animated-cup-right {
        height: 24px !important;
    }
    .achievement-tab-btn {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        border-radius: 20px !important;
    }
    .achievement-card-img img {
        height: 200px !important;
        object-fit: contain !important;
    }
    .achievement-owl-carousel .owl-nav {
        left: -4px !important;
        right: -4px !important;
    }
    .achievement-owl-carousel .owl-nav button.owl-prev,
    .achievement-owl-carousel .owl-nav button.owl-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
}

/* 10. Academic Toppers Section */
@media (max-width: 768px) {
    .academic-achievements-section {
        padding: 30px 0 !important;
    }
    .academic-toppers-title {
        font-size: 1.1rem !important;
        letter-spacing: 0.5px !important;
        line-height: 1.3 !important;
    }
    .academic-tab-btn {
        font-size: 0.82rem !important;
        padding: 6px 12px !important;
    }
    .academic-tab-card {
        padding: 12px 8px !important;
    }
    .academic-topper-box {
        margin-bottom: 8px !important;
    }
    .topper-img-wrapper {
        min-height: 140px !important;
    }
    .topper-img-wrapper img {
        max-height: 140px !important;
    }
    .topper-name-bar {
        font-size: 0.72rem !important;
        padding: 3px 2px !important;
    }
    .topper-rank-text {
        font-size: 0.72rem !important;
    }
}

/* 11. Physical Education Section (Anti-Jump & Aspect Ratio Fix) */
#physical_education {
    min-height: 270px;
    width: 100%;
}

#physical_education .post-slide {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 5px;
}

#physical_education .post-img {
    position: relative;
    width: 100%;
    height: 250px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f1f5f9;
    display: block;
}

#physical_education .post-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 12px;
}

@media (max-width: 768px) {
    #physical_education {
        min-height: 210px;
    }
    #physical_education .post-img {
        height: 190px !important;
        aspect-ratio: 4 / 3;
    }
    #physical_education .post-img img {
        height: 100% !important;
    }
}

/* 12. School Timings & Visiting Hours */
@media (max-width: 768px) {
    .school-timings-section {
        padding: 25px 0 !important;
    }
    .timings-intro-text, .timings-note-text {
        font-size: 0.84rem !important;
        padding: 0 8px !important;
        margin-bottom: 15px !important;
    }
    .timings-table-wrapper {
        border-radius: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .timings-table thead th {
        padding: 10px 10px !important;
        font-size: 0.84rem !important;
    }
    .timings-table tbody td {
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
    }
}

/* 13. Admission Section */
@media (max-width: 768px) {
    .admission_section {
        margin-top: 25px !important;
        padding: 30px 0 !important;
    }
    .admission_section .bottom_img,
    .admission_section .bottom_img2 {
        display: none !important;
    }
    .bottom_heading {
        font-size: 1.2rem !important;
    }
    .bottom_p {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }
    .circle-button {
        font-size: 14px !important;
    }
    .arrow-circle {
        width: 32px !important;
        height: 32px !important;
    }
}

/* 14. Floating Shapes (Mobile Cleanliness) */
@media (max-width: 768px) {
    .shape5-floating {
        display: none !important;
    }
    .back-to-top {
        width: 38px !important;
        height: 38px !important;
        bottom: 16px !important;
        right: 16px !important;
        font-size: 0.95rem !important;
    }
}

/* 15. Footer */
@media (max-width: 768px) {
    footer {
        padding-top: 35px !important;
        padding-bottom: 20px !important;
    }
    footer .footer_heading {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    footer .text_footer {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }
    footer .footer_contact span,
    footer .footer_contact a {
        font-size: 0.85rem !important;
    }
    footer .footer_icon a {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
}