/* ===========================
   Google Fonts (add to HTML head if not already)
   Playfair Display, DM Sans, Caveat
=========================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
}


html,
body {
    overflow-x: hidden;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: aliceblue !important;

}

span.badge {
    font-family: "Caveat", cursive;
    color: #C89B3C;
    font-size: clamp(18px, 2.5vw, 26px);
}

.section-title {
    font-size: clamp(24px, 3.5vw, 42px);
}

.heading-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* ===========================
   HEADER
=========================== */

header img.img-fluid {
    width: 100%;
    max-width: 816px;
    height: auto;
}

header .top-header {
    border-bottom: 2px solid #072C4C;
    padding-bottom: 10px;
    padding-top: 0px;
    background-color: #fff;
}

header .top-header .container {
    display: flex;
    justify-content: center;
}

header li.nav-item {
    padding-right: clamp(10px, 0.5vw, 46px);
}

header a.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    color: #000 !important;
    white-space: nowrap;
}

header a.nav-link:hover {
    color: #fff !important;
}

header div#main-header {
    border-bottom: 4px solid #024489;
    background-color: rgb(189 157 108);
}

/* Dropdown fix at all zoom levels */
header .dropdown-menu {
    min-width: 220px;
}

/* ===========================
   HERO SECTION — Split Layout
=========================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 120vh;
    overflow: hidden;
    display: flex;           /* side-by-side layout */
}

/* ── Left: Video pane ── */
.hero-video-wrap {
    position: relative;
    flex: 1 1 0;             /* takes all remaining width */
    overflow: hidden;
}

.hero-video-wrap .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-video-wrap .hero-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(7, 44, 76, 0.35); */
}

/* ── Right: Vertical announcement bar ── */
.hero-announce-bar {
    width: clamp(110px, 14vw, 180px);
    flex-shrink: 0;
    background: #072C4C;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-left: 3px solid #C89B3C;
}

/* "Notice" label at the top */
.hero-announce-label {
    color: #C89B3C;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: clamp(11px, 1.1vw, 15px);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 8px 12px;
    text-align: center;
    border-bottom: 2px solid #C89B3C;
    width: 100%;
}

/* Scrolling track wrapper */
.hero-announce-track-wrap {
    flex: 1;
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Static notice list — no animation */
.hero-announce-track {
    display: flex;
    flex-direction: column;
}

.hero-announce-track a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 500;
    line-height: 1.5;
    padding: clamp(14px, 2vh, 22px) clamp(8px, 1vw, 14px);
    text-align: center;
    border-bottom: 1px solid rgba(200, 155, 60, 0.3);
    transition: color 0.3s, background 0.3s;
    white-space: normal;          /* allow Hindi text to wrap */
    word-break: break-word;
}

.hero-announce-track a:hover {
    color: #C89B3C;
    background: rgba(255, 255, 255, 0.06);
}

/* Hero notice bar — overflow scroll for long lists */
.hero-announce-track-wrap {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    position: relative;
}

/* ── Hero responsive ── */

/* Tablet ≤ 767px: shrink bar width */
@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
    }

    .hero-announce-bar {
        width: clamp(90px, 22vw, 130px);
    }

    .hero-announce-track a {
        font-size: 11px;
        padding: 10px 6px;
    }

    .hero-announce-label {
        font-size: 10px;
        padding: 10px 6px 8px;
    }
}

/* Small mobile ≤ 575px: hide side bar, full-width video */
@media (max-width: 575px) {
    .hero-section {
        height: 55vw;
        min-height: 240px;
        max-height: 380px;
    }

    .hero-announce-bar {
        display: none;
    }
}

/* Large desktop ≥ 1400px */
@media (min-width: 1400px) {
    .hero-section {
        height: 100vh;
    }
}

/* ===========================
   HOME-2 (Vision / Mission / Values)
=========================== */

.home-2 .box {
    background: #c89b3c7a;
    padding: 20px;
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 100%;
    box-shadow: 9px 7px 0px #072c4c;
    transition: 0.3s ease-in-out;
}

.home-2 .box:hover {
    box-shadow: 9px 7px 0px #C89B3C;
}

.home-2 .row {
    row-gap: 24px;
}

.home-2 .box .icon-box {
    display: flex;
    gap: 20px;
    margin-top: -20px;
    align-items: flex-end;
}

.home-2 .box .icon-box i {
    background: #072c4c;
    padding: 20px;
    color: #fff;
    font-size: 23px;
    clip-path: polygon(50% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%, 0% 0%);
    flex-shrink: 0;
}

.home-2 h4.box-title {
    font-weight: 700;
}

.home-2 p.section-desc {
    margin-top: 14px;
    text-align: justify;
    font-size: 15px;
}

/* ===========================
   HOME-3 (About)
=========================== */

.home-3 p.section-desc {
    text-align: justify;
}

.home-3 a.btn {
    background: #EC1D23;
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    padding: 10px 20px;
}

.home-3 .row {
    align-items: center;
    row-gap: 30px;
}

.home-3 img.img-fluid {
    width: 100%;
    border-radius: 20px;
}

/* ===========================
   HOME-4 (Academics)
=========================== */

.home-4 {
    background-color: #072C4C;
    position: relative;
    padding-bottom: 120px !important;
}

.home-4::before {
    content: "";
    position: absolute;
    bottom: -99px;
    left: 0px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 1000 100"><path d="M0 0v4s250 96 500 96 500-96 500-96V0H0Z" fill="%23072C4C"></path></svg>');
    width: 100%;
    height: 100px;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

/* ===========================
   Railway Academics Section
=========================== */

.railway-academic-wrap {
    margin-top: 50px;
}

.railway-academic-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.railway-academic-card img {
    width: 100%;
    height: clamp(220px, 30vw, 450px);
    object-fit: cover;
}

.railway-academic-content {
    padding: 30px;
}

.railway-academic-content h3 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: #0b1f3a;
    margin-bottom: 15px;
}

.railway-academic-content p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 0;
}

.railway-academic-tabs {
    gap: 15px;
}

.railway-academic-tabs .nav-link {
    background: #fff;
    color: #222;
    border: none;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 600;
    transition: .4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.railway-academic-tabs .nav-link:hover {
    transform: translateX(5px);
    color: #EC1D23;
}

.railway-academic-tabs .nav-link.active {
    background: #ec1d23;
    color: #fff;
}

/* ===========================
   HOME-5 (Facilities)
=========================== */

section.home-5.py-5 {
    margin-top: clamp(60px, 10vw, 116px);
}

.home-5 {
    overflow-y: hidden;
    overflow-x: hidden;
}

.home-5 .row:last-child {
    row-gap: 24px;
    margin-top: 20px;
}

.home-5 a.btn {
    background: #EC1D23;
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: 0.3s ease-in-out;
}

.home-5 a.btn:hover {
    background-color: #072C4C;
}

.home-5 .col-12.col-md-6.col-lg-6.btn-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.home-5 .card {
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.home-5 .card img.img-fluid {
    width: 100%;
    height: clamp(200px, 25vw, 360px);
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.home-5 .card .card-heading {
    background-color: #072c4cdb;
    position: absolute;
    bottom: 12px;
    width: calc(100% - 26px);
    min-height: 50px;
    padding: 10px;
    left: 13px;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.home-5 .card .card-heading .card-desc {
    color: #fff;
    text-align: center;
    display: none;
    font-size: clamp(13px, 1vw, 15px);
    padding: 0 10px;
}

.home-5 .card .card-heading .btn {
    display: none;
}

.home-5 .card:hover .card-heading .card-desc {
    display: block;
}

.home-5 .card:hover .card-heading {
    height: 92%;
}

/* ===========================
   HOME-6 (Admission CTA)
=========================== */

.home-6 {
    background-image: url(../Images/admission-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    margin-top: clamp(80px, 12vw, 150px);
    display: flex;
    align-items: flex-end;
}

.home-6 .box {
    /* background-color: #fff; */
    padding: clamp(20px, 3vw, 34px);
    position: relative;
    border-radius: 20px;
    top: -208px;
    width: 100%;
}

.home-6 .box:before {
    content: "";
    background-color: #072c4c6b;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 20px;
    pointer-events: none;
}

.home-6 .row {
    position: relative;
    align-items: center;
    row-gap: 20px;
}

.home-6 .row .section-title {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(20px, 2.8vw, 38px);
}

.home-6 a.btn {
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    padding: 10px 20px;
    background: rgb(236, 29, 35);
    border-radius: 20px;
    display: inline-block;
    transition: 0.3s ease-in-out;
}

.home-6 a.btn:hover {
    background-color: #072C4C;
}

.home-6 a {
    color: #000;
    text-decoration: none;
}

.home-6 .icon {
    color: #072C4C;
    text-transform: uppercase;
    padding: 10px 20px;
    background: #fff;
    border-radius: 20px;
    display: inline-block;
    transition: 0.3s ease-in-out;
    gap: 10px;
    display: flex;
    width: 194px;
}

.home-6 .row.mt-4 {
    align-items: center;
    flex-wrap: wrap;
    /* gap: 12px; */
}

.home-6 .icon i {
    font-size: 18px;
    color: #072C4C;
}

.home-6 .icon a {
    color: #072C4C;
}

.home-6 img.img-fluid {
    width: clamp(160px, 20vw, 266px);
    border-radius: 147px;
    border: 9px solid #fff;
    display: block;
    margin: 0 auto;
}

/* ===========================
   HOME-7 (Why Choose Us)
=========================== */

.home-7 .row {
    align-items: center;
    row-gap: 30px;
}

.home-7 img.img-fluid {
    border-radius: 20px;
    width: 100%;
}

.home-7 ul.icon-list {
    list-style-type: none;
    padding: 0;
}

.home-7 li.list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: clamp(13px, 1.1vw, 15px);
}

.home-7 li.list:nth-child(even) {
    background: #c89b3c7a;
    border: 2px dashed #c89b3c;
}

.home-7 li.list:nth-child(odd) {
    background: #072c4c0f;
    border: 2px dashed #072c4c;
}

/* ===========================
   FOOTER
=========================== */

footer {
    background-color: #072C4C;
    padding-top: 50px;
    margin-top: 100px;
}

footer img.img-fluid.logo {
    background: #fff;
    padding: 14px;
    border-radius: 20px;
    max-width: 424px;
    width: 100%;
}

footer .col-12.col-md-4.col-lg-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer i {
    font-size: 18px;
    color: #fff;
}

footer .icon a {
    color: #fff !important;
}

footer .icon {
    padding: 10px 20px;
    background: #C89B3C;
    border-radius: 20px;
    display: inline-block;
    transition: 0.3s ease-in-out;
    gap: 4px;
    display: flex;
    width: 90%;
    justify-content: center;
}

footer p {
    color: #fff;
    margin-bottom: 0 !important;
}

footer .row.top-footer {
    padding-bottom: 30px;
    border-bottom: 2px solid #dddddd36;
    row-gap: 24px;
}

footer h2.footer-headings {
    color: #fff;
    font-size: clamp(20px, 2vw, 28px);
}

footer .row.middle-footer {
    padding-top: 50px;
    border-bottom: 2px solid #dddddd36;
    padding-bottom: 30px;
    row-gap: 40px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #c89b3c;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    display: flex;
    /* justify-content: center; */
    line-height: 32px;
    width: 168px;
    margin-bottom: 10px;
    align-items: center;
    gap: 10px;
}

footer ul li i {
    color: #C89B3C;
}

footer .address .icon-circle i {
    color: #c89b3c !important;
}

footer .icon-circle.mb-4 {
    background: #fff;
    width: 64px;
    height: 64px;
    border-radius: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

footer .bottom-footer {
    display: flex;
    justify-content: center;
    padding: 12px;
    text-align: center;
}

footer .col-12.col-md-3.col-lg-3.gallery-img {
    position: relative;
}

footer .gallery-img::before {
    content: "";
    background-color: #c89b3c59 !important;
    position: absolute;
    width: 0;
    height: 100%;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
    z-index: 1;
}

footer .gallery-img:hover::before {
    width: 94%;
}

footer .gallery-img .img-fluid {
    border-radius: 20px;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

footer .overlay {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 2;
}

footer .gallery-img:hover .overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

section.home-8 {
    margin-top: -150px;
    margin-bottom: 50px;
}

/* ===========================
   FOOTER IFRAME MAP
=========================== */

footer iframe {
    width: 100%;
    max-width: 300px;
    height: 250px;
    border: 0;
    border-radius: 20px;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

/* Large desktops / high zoom-out (≥1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Tablets / medium zoom-in (768px – 991px) */
@media (max-width: 991px) {
    .railway-academic-tabs {
        margin-top: 20px;
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .railway-academic-tabs .nav-link {
        flex: 1 1 45%;
    }

    .railway-academic-card img {
        height: 260px;
    }

    section.home-5.py-5 {
        margin-top: 60px;
    }

    .home-6 {
        margin-top: 80px;
        min-height: 300px;
    }

    .home-6 .box {
        top: -40px;
    }

    section.home-8 {
        margin-top: -80px;
    }

    .home-4 {
        padding-bottom: 80px !important;
    }
}

/* Mobile landscape / large phones (576px – 767px) */
@media (max-width: 767px) {
    header img.img-fluid {
        max-width: 280px;
    }

    .home-5 .col-12.col-md-6.col-lg-6.btn-area {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .home-6 .row.mt-4 {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-6 .box {
        top: -30px;
        padding: 20px;
    }

    footer .row.middle-footer {
        padding-top: 30px;
    }

    footer ul li {
        width: auto;
    }

    footer iframe {
        height: 220px;
    }

    section.home-8 {
        margin-top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        flex-direction: column !important;
        height: auto !important;
    }

    .hero-video-wrap {
        height: 60vw !important;
        min-height: 220px !important;
    }

    .hero-announce-bar {
        width: 100% !important;
        height: 120px !important;
        flex-direction: row !important;
        border-left: none !important;
        border-top: 3px solid #C89B3C !important;
    }

    .hero-announce-label {
        writing-mode: initial !important;
        border-bottom: none !important;
        border-right: 2px solid #C89B3C !important;
        padding: 8px 12px !important;  
        white-space: nowrap !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .hero-announce-track-wrap {
        height: 100% !important;
        overflow: hidden !important;
    }

    .hero-announce-track {
        flex-direction: row !important;
        animation: scrollRight 14s linear infinite !important; 
    }

    .hero-announce-track a {
        white-space: nowrap !important;
        border-bottom: none !important;
        border-right: 1px solid rgba(200, 155, 60, 0.3) !important;
        padding: 0 20px !important; 
        display: flex !important; 
        align-items: center !important;
        height: 100% !important;
    }

    @keyframes scrollRight {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}

/* Small phones (≤575px) */
@media (max-width: 575px) {
    .section-title {
        font-size: 26px;
    }

    .home-2 .box .icon-box i {
        padding: 14px;
        font-size: 18px;
    }

    .home-3 a.btn,
    .home-5 a.btn,
    .home-6 a.btn {
        width: 100%;
        text-align: center;
    }

    .railway-academic-tabs .nav-link {
        flex: 1 1 100%;
    }

    .home-6 {
        min-height: 200px;
        background-attachment: scroll;
    }

    .home-6 .box {
        top: -103px;
        /* margin-top: -30px; */
    }

    .home-7 li.list {
        padding: 12px 14px;
    }

    footer .col-12.col-md-3.col-lg-3.gallery-img .img-fluid {
        height: 140px;
    }

    footer iframe {
        height: 200px;
    }

    footer .col-12.col-md-4.col-lg-4 {
        margin-bottom: 10px;
    }
}

/* Zoom-out safety: very wide viewports */
@media (min-width: 1600px) {
    header img.img-fluid {
        max-width: 1200px;
    }
}

@media (max-width: 482px) {
    .home-4::before {
        height: 49px;
        bottom: -48px;
    }

    .home-3 .row {
        flex-direction: column-reverse;
    }

    .home-6 img.img-fluid {
        display: none;
    }

    footer img.img-fluid.logo {
        max-width: 336 !important;
    }

    img.mobile-nav-logo {
        width: 252px !important;
        background: #fff;
        padding: 14px;
        border-radius: 20px;
    }

    .hero-section {
        height: 30vh;
    }

    .home-3 .section-title {
        text-align: center;
    }

    .home-4 .section-title {
        text-align: center;
    }

    .home-6 .icon {
        width: 100%;
        justify-content: center;
    }

    .home-4 .row.g-4.align-items-start {
        flex-direction: column-reverse;
    }

    .railway-academic-content p {
        color: #666;
        line-height: 1.9;
        margin-bottom: 0;
        text-align: justify;
    }

    footer {
        margin-top: 0 !important;
    }
}

@media (max-width: 360px) {
    img.mobile-nav-logo {
        width: 234px;
        background: #fff;
        padding: 14px;
        border-radius: 20px;
    }
}

@media(max-width: 768px) {
    img.mobile-nav-logo {
        width: 242px !important;
        background: #fff;
        padding: 14px;
        border-radius: 20px;
    }

    .hero-section {
        height: 26vh;
    }
}

footer .col-6.menu {
    padding-left: 56px;
}

ul.dropdown-menu.show {
    background: aliceblue;
    padding: 0;
    border-radius: 10px;
}

ul.dropdown-menu.show li a {
    padding: 10px;
    text-transform: uppercase;
    border-radius: 10px;
    font-weight: 600;
}

ul.dropdown-menu li a:hover {
    background-color: #072C4C !important;
    color: #fff;
}

.counter a.btn {
    background: #EC1D23;
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    padding: 10px 20px;
}

.counter a.btn:hover {
    background-color: #072C4C;
}


/* Contact Page */

.contact-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/contact-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.contact-page-banner h2.page-title {
    color: #fff;
}

.contact-1 .icon-box {
    background: #c89b3c7a;
    padding: 20px;
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 100%;
    box-shadow: 9px 7px 0px #072c4c;
    transition: 0.3s ease-in-out;
}

.contact-1 .icon-box:hover {
    box-shadow: 9px 7px 0px #C89B3C;
}

.contact-1 .icon-circle {
    background: #fff;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 36px;
    margin-bottom: 10px;
}

.contact-1 .icon-box .box-desc a {
    color: #000;
    text-decoration: none;
}

/* ===========================
   CONTACT PAGE – RESPONSIVE
=========================== */

/* Banner: clamp height so it works at every zoom level */
.contact-page-banner {
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
}

.contact-page-banner h2.page-title {
    font-size: clamp(24px, 4vw, 48px);
    text-align: center;
    padding: 0 16px;
}

/* contact-1: equal-height cards with row gap */
.contact-1 .row {
    row-gap: 24px;
    align-items: stretch;
}

/* contact-2: section spacing */
.contact-2 {
    padding: clamp(30px, 5vw, 60px) 0;
}

.contact-2 .section-title {
    margin-bottom: clamp(20px, 3vw, 36px);
}

/* Make the map iframe fully fluid */
.contact-map {
    display: block;
    width: 100%;
    height: clamp(260px, 45vw, 480px);
    border: 0;
    border-radius: 16px;
}

/* When the left column (form placeholder) is empty,
   push the map column to full width and center it */
.contact-2 .row>.col-12.col-md-6:first-child:empty {
    display: none;
}

.contact-2 .row>.col-12.col-md-6:first-child:empty~.col-12.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Zoom-out safety (≥1400px): keep map at a comfortable max */
@media (min-width: 1400px) {
    .contact-map {
        height: 500px;
    }
}

/* Tablets (≤991px) */
@media (max-width: 991px) {
    .contact-map {
        height: clamp(260px, 50vw, 400px);
    }
}

/* Mobile (≤575px) */
@media (max-width: 575px) {
    .contact-1 .icon-box {
        border-top-right-radius: 40px;
        border-bottom-left-radius: 40px;
    }

    .contact-map {
        height: 260px;
    }

    /* Stack badge and title nicely */
    .contact-2 span.badge {
        display: block;
        margin-bottom: 6px;
    }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
    .contact-page-banner {
        min-height: 120px;
    }

    .contact-map {
        height: 220px;
    }
}

/* ===========================
   GALLERY PAGE
=========================== */

/* Banner — clamp height like the contact banner */
.gallery-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/gallery-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gallery-page-banner h2.page-title {
    font-size: clamp(24px, 4vw, 48px);
    text-align: center;
    padding: 0 16px;
}

/* Section title spacing */
.gallery .section-title {
    font-size: clamp(20px, 3vw, 42px);
}

/* Row gaps between image rows */
.gallery .row {
    row-gap: 24px;
}

/* ── Shared gallery-img styles (used in both .gallery and .gallery-2) ── */
.gallery .gallery-img,
.gallery-2 .gallery-img {
    position: relative;
}

/* Fixed-aspect images so every card is the same height across zoom levels */
.gallery img.img-fluid,
.gallery-2 img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(180px, 22vw, 320px);
    object-fit: cover;
    display: block;
}

/* Hover shimmer overlay */
.gallery .gallery-img::before,
.gallery-2 .gallery-img::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0;
    background-color: #c89b3c59;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
    top: 0;
    left: 13px;
}

.gallery .gallery-img:hover::before,
.gallery-2 .gallery-img:hover::before {
    width: 94%;
}

/* Icon-circle overlay */
.gallery .gallery-img .overlay,
.gallery-2 .gallery-img .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.gallery .gallery-img:hover .overlay,
.gallery-2 .gallery-img:hover .overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery .gallery-img .overlay .icon-circle,
.gallery-2 .gallery-img .overlay .icon-circle {
    background-color: #fff;
    width: clamp(48px, 5vw, 64px);
    height: clamp(48px, 5vw, 64px);
    border-radius: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.gallery .gallery-img .overlay .icon-circle:hover,
.gallery-2 .gallery-img .overlay .icon-circle:hover{
    translate: scale(2px);
}

.gallery .gallery-img .overlay .icon-circle i,
.gallery-2 .gallery-img .overlay .icon-circle i {
    font-size: clamp(20px, 2.5vw, 28px);
    color: #C89B3C;
}

/* ── Modal ── */
.railway-gallery-modal {
    background: transparent;
    border: none;
}

.railway-gallery-modal img {
    border-radius: 20px;
    max-height: 85vh;
    object-fit: contain;
    width: 100%;
}

.railway-close-btn {
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 999;
    background: #fff !important;
    border-radius: 50%;
    opacity: 1;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

#galleryModal {
    backdrop-filter: blur(5px);
}

/* ── Gallery responsive breakpoints ── */

/* Tablets (≤991px) */
@media (max-width: 991px) {
    .gallery img.img-fluid,
    .gallery-2 img.img-fluid {
        height: clamp(160px, 28vw, 260px);
    }
}

/* Mobile landscape / large phones (≤767px) */
@media (max-width: 767px) {
    .gallery img.img-fluid,
    .gallery-2 img.img-fluid {
        height: clamp(180px, 55vw, 280px);
    }

    /* 2-col grid on mid-size mobile */
    .gallery .col-12.col-md-4.col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .railway-close-btn {
        right: 4px;
        top: 4px;
    }
}

/* Small phones (≤575px) */
@media (max-width: 575px) {
    .gallery img.img-fluid,
    .gallery-2 img.img-fluid {
        height: clamp(160px, 60vw, 240px);
    }

    /* Single-column on small phones */
    .gallery .col-12.col-md-4.col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery .row {
        row-gap: 16px;
    }

    #page-banner {
        min-height: 120px;
    }

    .railway-gallery-modal img {
        max-height: 75vh;
        border-radius: 12px;
    }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
    #page-banner {
        min-height: 110px;
    }

    .gallery img.img-fluid,
    .gallery-2 img.img-fluid {
        height: 180px;
    }
}

/* Zoom-out safety (≥1400px) — keep images from stretching too tall */
@media (min-width: 1400px) {
    .gallery img.img-fluid,
    .gallery-2 img.img-fluid {
        height: clamp(260px, 18vw, 340px);
    }
}

/* Very wide / extreme zoom-out (≥1800px) */
@media (min-width: 1800px) {
    .gallery img.img-fluid,
    .gallery-2 img.img-fluid {
        height: 340px;
    }
}

.gallery:nth-child(even){
    background-color: #072c4c1f;
}


/* ===========================
   FACILITIES PAGE
=========================== */


.facilities-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/facilities-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.facilities-page-banner h2.page-title {
    font-size: clamp(24px, 4vw, 48px);
    text-align: center;
    padding: 0 16px;
}

/* ── fac-1 (Campus Overview) ── */

.fac-1 .row {
    align-items: center;
    row-gap: 30px;
}

.fac-1 .img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(220px, 35vw, 480px);
    object-fit: cover;
    display: block;
}

.fac-1 p.section-desc {
    text-align: justify;
    font-size: clamp(14px, 1.1vw, 16px);
}

/* ── fac-2 (Facility Cards) ── */

.fac-2 .row {
    row-gap: 40px;
}

.fac-2 .fac-card {
    position: relative;
    height: 100%;
}

/* Image inside card */
.fac-2 .fac-card img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(180px, 22vw, 320px);
    object-fit: cover;
    display: block;
    transition: 0.3s ease-in-out;
}

/* Hover overlay on image */
.fac-2 .fac-card::before {
    content: "";
    position: absolute;
    background-color: #072c4c5c;
    border-radius: 20px;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    transition: 0.3s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.fac-2 .fac-card:hover::before {
    width: 100%;
    height: clamp(180px, 22vw, 320px); /* matches image height */
}

/* Content card — pulled up over the image bottom */
.fac-2 .fac-card .content-card {
    position: relative;
    background: #fff;
    padding: clamp(14px, 2vw, 24px);
    padding-top: clamp(40px, 5vw, 56px); /* room for the floating heading badge */
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    box-shadow: 9px 7px 0px #072c4c;
    transition: 0.3s ease-in-out;
    margin-top: -28px; /* overlap bottom of image */
    z-index: 2;
    height: 210px;
}

.fac-2 .fac-card:hover .content-card {
    box-shadow: 9px 7px 0px #C89B3C;
}

/* Gold tint layer behind content */
.fac-2 .fac-card .content-card::before {
    content: "";
    position: absolute;
    background-color: #c89b3c7a;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Card heading badge — fluid width, centred */
.fac-2 .fac-card .content-card .card-heading {
    background-color: #072C4C;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 290px;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    color: #fff;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 3;
}

.fac-2 .fac-card .content-card .card-heading .card-title {
    font-size: clamp(14px, 1.3vw, 18px);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Body text inside card */
.fac-2 .fac-card .content-card p.section-desc {
    text-align: justify;
    position: relative;
    font-size: clamp(13px, 1vw, 15px);
    margin-top: 12px !important; /* override Bootstrap mt-5 */
    z-index: 1;
}

/* ── fac-3 (Transport) ── */

.fac-3 {
    padding: clamp(40px, 6vw, 80px) 0;
}

.fac-3 .row {
    align-items: center;
    row-gap: 30px;
}

.fac-3 p.section-desc {
    text-align: justify;
    font-size: clamp(14px, 1.1vw, 16px);
}

.fac-3 img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(220px, 35vw, 480px);
    object-fit: cover;
    display: block;
}

/* ── Facilities responsive breakpoints ── */

/* Tablets (≤991px) */
@media (max-width: 991px) {
    .fac-2 .fac-card img.img-fluid,
    .fac-2 .fac-card::before {
        height: clamp(180px, 32vw, 280px);
    }

    .fac-2 .fac-card:hover::before {
        height: clamp(180px, 32vw, 280px);
    }

    .fac-2 .fac-card .content-card .card-heading {
        max-width: 260px;
    }
}

/* Mobile landscape / large phones (≤767px) */
@media (max-width: 767px) {
    .fac-1 .img-fluid,
    .fac-3 img.img-fluid {
        height: clamp(200px, 55vw, 360px);
    }

    .fac-2 .fac-card img.img-fluid {
        height: clamp(200px, 50vw, 320px);
    }

    .fac-2 .fac-card:hover::before {
        height: clamp(200px, 50vw, 320px);
    }

    .fac-2 .fac-card .content-card .card-heading {
        max-width: 80%;
    }
}

/* Small phones (≤575px) */
@media (max-width: 575px) {
    .fac-1 .img-fluid,
    .fac-3 img.img-fluid {
        height: clamp(180px, 65vw, 300px);
    }

    .fac-2 .row {
        row-gap: 32px;
    }

    .fac-2 .fac-card img.img-fluid {
        height: clamp(180px, 60vw, 300px);
    }

    .fac-2 .fac-card:hover::before {
        height: clamp(180px, 60vw, 300px);
    }

    .fac-2 .fac-card .content-card .card-heading {
        max-width: 90%;
        white-space: normal;
        text-align: center;
    }

    .fac-2 .fac-card .content-card .card-title {
        white-space: normal;
    }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
    .fac-1 .img-fluid,
    .fac-3 img.img-fluid {
        height: 200px;
    }

    .fac-2 .fac-card img.img-fluid {
        height: 200px;
    }

    .fac-2 .fac-card:hover::before {
        height: 200px;
    }
}

/* Zoom-out safety: wide viewports (≥1400px) */
@media (min-width: 1400px) {
    .fac-1 .img-fluid,
    .fac-3 img.img-fluid {
        height: clamp(380px, 28vw, 520px);
    }

    .fac-2 .fac-card img.img-fluid {
        height: clamp(260px, 18vw, 340px);
    }

    .fac-2 .fac-card:hover::before {
        height: clamp(260px, 18vw, 340px);
    }
}

/* Very wide / extreme zoom-out (≥1800px) */
@media (min-width: 1800px) {
    .fac-1 .img-fluid,
    .fac-3 img.img-fluid {
        height: 520px;
    }

    .fac-2 .fac-card img.img-fluid {
        height: 340px;
    }

    .fac-2 .fac-card:hover::before {
        height: 340px;
    }
}

@media(max-width:482px){
    .fac-1 .row.align-items-center.g-4 {
    flex-direction: column-reverse;
}
}

/* ===========================
   ABOUT PAGE
=========================== */

.about-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/about-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-page-banner h2.page-title {
    font-size: clamp(24px, 4vw, 48px);
    text-align: center;
    padding: 0 16px;
}

/* ── about-1 ── */
.about-1 .row {
    align-items: center;
    row-gap: 30px;
}

.about-1 p.section-desc {
    text-align: justify;
    font-size: clamp(14px, 1.1vw, 16px);
}

.about-1 img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(220px, 35vw, 480px);
    object-fit: cover;
    display: block;
}

/* ── about-2 ── */
.about-2 {
    background-color: #072C4C;
    position: relative;
}

.about-2 .row {
    align-items: center;
    row-gap: 30px;
}

.about-2 p.section-desc {
    text-align: justify;
    color: #fff;
    font-size: clamp(14px, 1.1vw, 16px);
}

.about-2 img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(220px, 35vw, 480px);
    object-fit: cover;
    display: block;
}

.about-2::before {
    content: "";
    position: absolute;
    bottom: -99px;
    left: 0px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 1000 100"><path d="M0 0v4s250 96 500 96 500-96 500-96V0H0Z" fill="%23072C4C"></path></svg>');
    width: 100%;
    height: 100px;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

/* ── about-3 ── */
section.about-3 {
    margin-top: clamp(80px, 12vw, 160px);
    padding-bottom: 20px;
}

.about-3 .row {
    row-gap: 24px;
}

.about-3 .icon-box {
    background: #c89b3c7a;
    padding: 20px;
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 100%;
    box-shadow: 9px 7px 0px #072c4c;
    transition: 0.3s ease-in-out;
}

.about-3 .icon-box:hover {
    box-shadow: 9px 7px 0px #C89B3C;
}

.about-3 h4.icon-box-title {
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 700;
}

.about-3 p.icon-box-desc {
    font-size: clamp(13px, 1vw, 15px);
    text-align: justify;
}

/* ── about-4 ── */
.about-4 .row {
    align-items: center;
    row-gap: 30px;
}

.about-4 ul.icon-list {
    list-style-type: none;
    padding: 0;
}

.about-4 ul.icon-list li.list {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.5;
}

.about-4 ul.icon-list li.list i {
    color: #c89b3c;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-4 img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(220px, 35vw, 480px);
    object-fit: cover;
    display: block;
}

/* ── About Page Responsive Breakpoints ── */

/* Tablets (≤991px) */
@media (max-width: 991px) {
    section.about-3 {
        margin-top: clamp(70px, 10vw, 120px);
    }

    .about-1 img.img-fluid,
    .about-2 img.img-fluid,
    .about-4 img.img-fluid {
        height: clamp(200px, 45vw, 380px);
    }
}

/* Mobile landscape / large phones (≤767px) */
@media (max-width: 767px) {
    section.about-3 {
        margin-top: clamp(60px, 12vw, 100px);
    }

    .about-2::before {
        height: 60px;
        bottom: -59px;
    }

    .about-1 img.img-fluid,
    .about-2 img.img-fluid,
    .about-4 img.img-fluid {
        height: clamp(200px, 55vw, 360px);
    }

    .about-4 ul.icon-list li.list {
        font-size: 14px;
    }
}

/* Small phones (≤575px) */
@media (max-width: 575px) {
    section.about-3 {
        margin-top: 60px;
    }

    .about-2::before {
        height: 50px;
        bottom: -49px;
    }

    .about-1 img.img-fluid,
    .about-2 img.img-fluid,
    .about-4 img.img-fluid {
        height: clamp(180px, 60vw, 300px);
    }

    .about-3 .icon-box {
        border-top-right-radius: 40px;
        border-bottom-left-radius: 40px;
    }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
    section.about-3 {
        margin-top: 50px;
    }

    .about-1 img.img-fluid,
    .about-2 img.img-fluid,
    .about-4 img.img-fluid {
        height: 200px;
    }
}

/* Zoom-out / wide viewports (≥1400px) */
@media (min-width: 1400px) {
    section.about-3 {
        margin-top: clamp(140px, 10vw, 200px);
    }

    .about-1 img.img-fluid,
    .about-2 img.img-fluid,
    .about-4 img.img-fluid {
        height: clamp(400px, 28vw, 520px);
    }
}

/* Very wide / extreme zoom-out (≥1800px) */
@media (min-width: 1800px) {
    .about-1 img.img-fluid,
    .about-2 img.img-fluid,
    .about-4 img.img-fluid {
        height: 520px;
    }

    section.about-3 {
        margin-top: 180px;
    }
}


/* ===========================
   PRINCIPAL MESSAGE PAGE
=========================== */

/* ── Banner ── */
.principal-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/message-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.principal-page-banner h2.page-title {
    font-size: clamp(24px, 4vw, 48px);
    text-align: center;
    padding: 0 16px;
    color: #fff;
}

/* ── Section layout ── */
.principal-1 {
    overflow-x: hidden;
}

.principal-1 .row {
    align-items: flex-start;
    row-gap: 30px;
}

/* ── Image ── */
.principal-1 img.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: clamp(280px, 35vw, 480px);
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ── Name & badge block ── */
.principal-1 .heading-center {
    margin-top: 16px;
    gap: 6px;
}

.principal-1 h4.section-title {
    font-size: clamp(20px, 2.2vw, 30px);
    margin-top: 0;
    text-align: center;
    line-height: 1.3;
    margin-bottom: -10px;
}

/* ── Heading on text side ── */
.principal-1 h2.section-title {
    font-size: clamp(22px, 3vw, 40px);
    border-bottom: 2px solid #bd9d6c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ── Body paragraphs ── */
.principal-1 p.section-desc {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 16px;
    color: #333;
}

/* ===========================
   PRINCIPAL – RESPONSIVE
=========================== */

/* Tablets (≤ 991px) */
@media (max-width: 991px) {
    .principal-1 img.img-fluid {
        height: clamp(260px, 45vw, 400px);
    }

    .principal-1 p.section-desc {
        font-size: clamp(14px, 1.5vw, 16px);
    }
}

/* Mobile landscape / large phones (≤ 767px) –
   stack image above text, center the photo block */
@media (max-width: 767px) {
    .principal-1 .row {
        flex-direction: column;
        align-items: center;
    }

    /* Image column: limit width so it doesn't stretch edge-to-edge */
    .principal-1 .col-12.col-md-4 {
        max-width: 380px;
        width: 100%;
    }

    .principal-1 img.img-fluid {
        height: clamp(240px, 55vw, 360px);
    }

    .principal-1 h2.section-title {
        font-size: clamp(20px, 5vw, 32px);
        margin-top: 0;
    }

    .principal-1 p.section-desc {
        font-size: 14.5px;
        text-align: left;   /* easier to read on narrow screens */
    }
}

/* Small phones (≤ 575px) */
@media (max-width: 575px) {
    .principal-1 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .principal-1 .col-12.col-md-4 {
        max-width: 100%;
    }

    .principal-1 img.img-fluid {
        height: 450px;
        border-radius: 14px;
    }

    .principal-1 h4.section-title {
        font-size: clamp(18px, 5vw, 24px);
    }

    .principal-1 h2.section-title {
        font-size: clamp(18px, 5.5vw, 26px);
    }

    .principal-1 p.section-desc {
        font-size: 14px;
        line-height: 1.75;
        text-align: left;
    }
}

/* Very small phones (≤ 360px) */
@media (max-width: 360px) {
    .principal-1 img.img-fluid {
        height: 450px;
    }

    .principal-1 h4.section-title {
        font-size: 18px;
    }

    .principal-1 h2.section-title {
        font-size: 19px;
    }

    .principal-1 p.section-desc {
        font-size: 13.5px;
    }
}

/* Zoom-out safety – wide viewports (≥ 1400px) */
@media (min-width: 1400px) {
    .principal-1 img.img-fluid {
        height: clamp(420px, 30vw, 560px);
    }

    .principal-1 p.section-desc {
        font-size: clamp(15px, 1vw, 17px);
        line-height: 1.9;
    }
}

/* Very wide / extreme zoom-out (≥ 1800px) */
@media (min-width: 1800px) {
    .principal-1 img.img-fluid {
        height: 560px;
    }

    .principal-1 p.section-desc {
        font-size: 17px;
    }
}

/* ===========================
   MANAGEMENT PAGE
=========================== */

.manage-1{
    background-color: #072c4c1f;
}
.manage-1 .icon-list{
    padding: 0;
    list-style-type: none;
}

.manage-1 .icon-list .list:nth-child(odd){
    margin-bottom: 20px;
    border: 2px dashed #072C4C;
    padding: 16px;
    border-radius: 20px;
    background-color: #E2ECF4;
}
.manage-1 .icon-list .list:nth-child(even){
    margin-bottom: 20px;
    border: 2px dashed #C89B3C;
    padding: 16px;
    border-radius: 20px;
    background-color: #DDCBA2;
}

.manage-1 h4.name {
    font-weight: 800;
}

.manage-1 img.img-fluid{
    border-radius: 20px;
}

/* Academics Overview */

.academics-1 .icon-box {
    background: #c89b3c7a;
    padding: 20px;
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 100%;
    box-shadow: 9px 7px 0px #072c4c;
    transition: 0.3s ease-in-out;
}

.academics-1 .icon-box:hover{
    box-shadow: 9px 7px 0px #C89B3C;
}

.academics-1 p.icon-box-desc {
    text-align: justify;
}

.academics-1 .icon-circle {
    background: #fff;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 36px;
    margin-bottom: 10px;
}

.academics-2 ul.icon-list {
    padding: 0;
    list-style-type: none;
}

.academics-2 li.list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.academics-2 .icon-list i {
    color: #c89b3c;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.academics-2 img.img-fluid {
    border-radius: 20px;
}
/* ===========================
   ACADEMICS OVERVIEW – BASE ENHANCEMENTS
=========================== */

/* Section heading description */
.academics-1 .heading-center .section-desc {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.85;
    text-align: center;
    max-width: 860px;
    margin-bottom: 2rem;
    color: #333;
}

/* Row gap between icon-box rows */
.academics-1 .row {
    row-gap: 24px;
}

/* Icon box title & desc sizing */
.academics-1 h4.icon-box-title {
    font-size: clamp(16px, 1.4vw, 20px);
    margin-bottom: 8px;
}

.academics-1 p.icon-box-desc {
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.8;
}

/* academics-2 layout */
.academics-2 .row {
    align-items: center;
    row-gap: 30px;
}

.academics-2 .section-title {
    font-size: clamp(22px, 2.8vw, 38px);
}

.academics-2 li.list {
    font-size: clamp(13px, 1.05vw, 15.5px);
    line-height: 1.6;
}

.academics-2 img.img-fluid {
    width: 100%;
    height: clamp(240px, 32vw, 460px);
    object-fit: cover;
}

/* ===========================
   ACADEMICS – TABLETS (≤ 991px)
=========================== */
@media (max-width: 991px) {
    .academics-1 .heading-center .section-desc {
        font-size: clamp(13.5px, 1.6vw, 15.5px);
        text-align: center;
    }

    .academics-1 h4.icon-box-title {
        font-size: clamp(15px, 2vw, 18px);
    }

    .academics-1 p.icon-box-desc {
        font-size: clamp(13px, 1.4vw, 14.5px);
    }

    .academics-2 img.img-fluid {
        height: clamp(220px, 40vw, 380px);
    }

    .academics-2 .section-title {
        font-size: clamp(20px, 3.5vw, 32px);
    }

    .academics-2 li.list {
        font-size: clamp(13px, 1.5vw, 15px);
    }
}

/* ===========================
   ACADEMICS – MOBILE LANDSCAPE / LARGE PHONES (≤ 767px)
=========================== */
@media (max-width: 767px) {
    /* Stack text above image in academics-2 */
    .academics-2 .row {
        flex-direction: column;
    }

    .academics-2 img.img-fluid {
        height: clamp(200px, 55vw, 340px);
    }

    .academics-2 .section-title {
        font-size: clamp(19px, 5vw, 28px);
        margin-top: 0.5rem;
    }

    .academics-2 li.list {
        font-size: 14.5px;
    }

    .academics-1 .heading-center .section-desc {
        font-size: 14px;
        text-align: left;
    }

    .academics-1 h4.icon-box-title {
        font-size: clamp(15px, 4vw, 18px);
    }

    .academics-1 p.icon-box-desc {
        font-size: 13.5px;
        text-align: left;
    }
}

/* ===========================
   ACADEMICS – SMALL PHONES (≤ 575px)
=========================== */
@media (max-width: 575px) {
    .academics-1 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .academics-2 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    .academics-1 .icon-box {
        border-top-right-radius: 40px;
        border-bottom-left-radius: 40px;
    }

    .academics-1 .icon-circle {
        height: 54px;
        width: 54px;
    }

    .academics-1 h4.icon-box-title {
        font-size: 15.5px;
    }

    .academics-1 p.icon-box-desc {
        font-size: 13px;
        line-height: 1.75;
    }

    .academics-2 img.img-fluid {
        height: clamp(180px, 60vw, 300px);
        border-radius: 14px;
    }

    .academics-2 .section-title {
        font-size: clamp(18px, 5.5vw, 24px);
    }

    .academics-2 li.list {
        font-size: 13.5px;
        gap: 8px;
    }

    .academics-2 .icon-list i {
        font-size: 17px;
    }
}

/* ===========================
   ACADEMICS – VERY SMALL PHONES (≤ 360px)
=========================== */
@media (max-width: 360px) {
    .academics-1 .icon-circle {
        height: 48px;
        width: 48px;
    }

    .academics-1 h4.icon-box-title {
        font-size: 14.5px;
    }

    .academics-1 p.icon-box-desc {
        font-size: 12.5px;
    }

    .academics-2 img.img-fluid {
        height: 200px;
    }

    .academics-2 .section-title {
        font-size: 18px;
    }

    .academics-2 li.list {
        font-size: 13px;
    }
}

/* ===========================
   ACADEMICS – ZOOM-OUT SAFETY (≥ 1400px)
=========================== */
@media (min-width: 1400px) {
    .academics-1 .heading-center .section-desc {
        font-size: clamp(15px, 1vw, 17px);
        line-height: 1.9;
        max-width: 980px;
    }

    .academics-1 h4.icon-box-title {
        font-size: clamp(18px, 1.3vw, 22px);
    }

    .academics-1 p.icon-box-desc {
        font-size: clamp(14px, 0.95vw, 16px);
        line-height: 1.85;
    }

    .academics-2 img.img-fluid {
        height: clamp(380px, 30vw, 520px);
    }

    .academics-2 .section-title {
        font-size: clamp(28px, 2.5vw, 40px);
    }

    .academics-2 li.list {
        font-size: clamp(14px, 1vw, 16px);
    }
}

/* ===========================
   ACADEMICS – VERY WIDE / EXTREME ZOOM-OUT (≥ 1800px)
=========================== */
@media (min-width: 1800px) {
    .academics-1 .heading-center .section-desc {
        font-size: 17px;
        max-width: 1100px;
    }

    .academics-1 h4.icon-box-title {
        font-size: 22px;
    }

    .academics-1 p.icon-box-desc {
        font-size: 16px;
    }

    .academics-2 img.img-fluid {
        height: 520px;
    }

    .academics-2 li.list {
        font-size: 16px;
    }
}

/* ===========================
   ACADEMICS PAGE BANNER
=========================== */

.academics-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/academic-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.academics-page-banner .banner-content {
    text-align: center;
    padding: 0 16px;
}

.academics-page-banner h2.page-title {
    font-size: clamp(26px, 4vw, 52px);
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* Breadcrumb */
.academics-page-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.academics-page-banner .breadcrumb-item a {
    color: #C89B3C;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(13px, 1vw, 15px);
    transition: color 0.2s;
}

.academics-page-banner .breadcrumb-item a:hover {
    color: #fff;
}

.academics-page-banner .breadcrumb-item.active {
    color: #fff;
    font-size: clamp(13px, 1vw, 15px);
}

.academics-page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #C89B3C;
}

/* ── Banner Responsive ── */

/* Tablets (≤ 991px) */
@media (max-width: 991px) {
    .academics-page-banner {
        height: clamp(130px, 28vh, 260px);
    }

    .academics-page-banner h2.page-title {
        font-size: clamp(24px, 5vw, 40px);
    }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
    .academics-page-banner {
        height: clamp(120px, 25vh, 220px);
    }

    .academics-page-banner h2.page-title {
        font-size: clamp(22px, 6vw, 34px);
    }
}

/* Small phones (≤ 575px) */
@media (max-width: 575px) {
    .academics-page-banner {
        height: clamp(110px, 22vh, 180px);
        min-height: 110px;
    }

    .academics-page-banner h2.page-title {
        font-size: clamp(20px, 7vw, 28px);
        margin-bottom: 6px;
    }

    .academics-page-banner .breadcrumb-item a,
    .academics-page-banner .breadcrumb-item.active {
        font-size: 12.5px;
    }
}

/* Zoom-out safety (≥ 1400px) */
@media (min-width: 1400px) {
    .academics-page-banner {
        height: clamp(200px, 28vh, 360px);
    }

    .academics-page-banner h2.page-title {
        font-size: clamp(36px, 3.5vw, 58px);
    }

    .academics-page-banner .breadcrumb-item a,
    .academics-page-banner .breadcrumb-item.active {
        font-size: clamp(14px, 1vw, 16px);
    }
}

/* Very wide (≥ 1800px) */
@media (min-width: 1800px) {
    .academics-page-banner {
        height: 360px;
    }

    .academics-page-banner h2.page-title {
        font-size: 58px;
    }
}

/* Curriculam Page */

section.curriculam-1.py-5 {
    background: #072c4c1f;
}

.curriculam-1 p.section-desc {
    text-align: justify;
}

.curriculam-1 img.img-fluid {
    border-radius: 20px;
}

.curriculam-2 .box{
    background-color: #072C4C;
    color: #fff;
    padding: 32px;
    border-radius: 20px;
}

.curriculam-2 .box .box-desc{
    text-align: justify;
}

.accordion-group { 
  width: 100%; 
  max-width: 550px; 
  box-sizing: 
  border-box; 
  font-size: 14px; 
}
.acc-item { 
  background: #ffffff; 
  border: 1px solid #072c4c; 
  overflow: hidden; 
  box-shadow: 0 0px calc(0px * 2) rgba(0, 0, 0, 0.15); 
  transition: all 0.3s ease; 
}

.acc-item { 
  border-radius: 12px; 
  margin-bottom: 12px; 
}
.acc-item:last-child { 
  margin-bottom: 0; 
}
summary { 
  padding: 16px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  cursor: pointer; 
  list-style: none; 
  font-weight: 600; 
  color: #1e293b; 
  transition: background 0.2s ease; 
  font-family: "Playfair Display", serif;
  background-color: #c89b3c7a;
}
summary:hover { 
  background: #c89b3c;
  color: #fff;
 }
summary::-webkit-details-marker { 
  display: none; 
}
.acc-icon { 
  color: #072C4C; 
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

summary:hover .acc-icon{
    color: #fff;
}
.content-wrapper { 
  height: 0; 
  overflow: hidden; 
  transition: height 0.3s ease; 
  background: #ffffff; 
}
.content-body { 
  padding: 20px; 
  color: #64748b; 
  line-height: 1.6; 
}
.acc-item.is-open .acc-icon { 
  transform: rotate(45deg); 
}

.curriculam-2 span {
    font-size: 20px;
}

.curriculam-2 p.content-desc {
    font-size: 0.9rem;
    color: #000;
    text-align: justify;
}

.curriculam-2 .row{
    display: flex;
    justify-content: center;
    flex-direction: row;
}

/* ===========================
   CURRICULUM PAGE – BASE IMPROVEMENTS
   (zoom-safe fluid sizing)
=========================== */

/* Banner reuses .academics-page-banner pattern */
.academics-page-banner {
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/academic-bg.webp);
}

/* Section 1 – intro row alignment */
.curriculam-1 .row {
    align-items: center;
    row-gap: 30px;
}

.curriculam-1 img.img-fluid {
    width: 100%;
    height: clamp(240px, 35vw, 520px);
    object-fit: cover;
    border-radius: 20px;
}

.curriculam-1 p.section-desc {
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.85;
}

/* Section 2 – accordion layout */
.curriculam-2 .row {
    align-items: flex-start;
    row-gap: 24px;
    column-gap: 0;
}

.curriculam-2 .box {
    height: 100%;
    box-sizing: border-box;
}

.curriculam-2 .box .box-desc {
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.85;
}

.accordion-group {
    max-width: 100%;
    width: 100%;
}

.curriculam-2 span {
    font-size: clamp(15px, 1.4vw, 20px);
}

/* ===========================
   CURRICULUM – LARGE SCREENS / ZOOM-OUT (≥ 1400px)
=========================== */
@media (min-width: 1400px) {
    .curriculam-1 img.img-fluid {
        height: clamp(420px, 32vw, 580px);
    }

    .curriculam-1 p.section-desc {
        font-size: clamp(15px, 0.95vw, 17px);
        line-height: 1.9;
    }

    .curriculam-2 .box {
        padding: 36px;
    }

    .curriculam-2 .box .box-desc {
        font-size: clamp(15px, 0.95vw, 17px);
        line-height: 1.9;
    }

    .curriculam-2 span {
        font-size: clamp(17px, 1.3vw, 22px);
    }

    .curriculam-2 p.content-desc {
        font-size: clamp(14px, 0.9vw, 16px);
    }

    summary {
        padding: 18px 20px;
    }
}

/* ===========================
   CURRICULUM – VERY WIDE / EXTREME ZOOM-OUT (≥ 1800px)
=========================== */
@media (min-width: 1800px) {
    .curriculam-1 p.section-desc {
        font-size: 17px;
    }

    .curriculam-1 img.img-fluid {
        height: 580px;
    }

    .curriculam-2 .box .box-desc {
        font-size: 17px;
    }

    .curriculam-2 span {
        font-size: 22px;
    }

    .curriculam-2 p.content-desc {
        font-size: 16px;
    }
}

/* ===========================
   CURRICULUM – TABLETS (≤ 991px)
=========================== */
@media (max-width: 991px) {
    .curriculam-1 .row {
        row-gap: 24px;
    }

    .curriculam-1 img.img-fluid {
        height: clamp(220px, 42vw, 400px);
    }

    .curriculam-1 p.section-desc {
        font-size: clamp(14px, 1.6vw, 16px);
    }

    .curriculam-2 .row {
        row-gap: 20px;
    }

    .curriculam-2 .box {
        padding: 24px;
    }

    .curriculam-2 span {
        font-size: clamp(14px, 2vw, 18px);
    }

    .accordion-group {
        max-width: 100%;
    }

    /* Stack box + accordion vertically on tablet if needed */
    .curriculam-2 .col-12.col-md-4 {
        order: 2;
    }

    .curriculam-2 .col-12.col-md-6 {
        order: 1;
    }
}

/* ===========================
   CURRICULUM – MOBILE (≤ 767px)
=========================== */
@media (max-width: 767px) {
    .curriculam-1 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .curriculam-1 .row {
        flex-direction: column-reverse;
        row-gap: 20px;
    }

    .curriculam-1 img.img-fluid {
        height: clamp(200px, 55vw, 360px);
        width: 100%;
    }

    .curriculam-1 p.section-desc {
        font-size: 14.5px;
        line-height: 1.8;
    }

    .curriculam-2 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .curriculam-2 .row {
        flex-direction: column;
        row-gap: 20px;
    }

    .curriculam-2 .col-12.col-md-4,
    .curriculam-2 .col-12.col-md-6 {
        order: unset;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .curriculam-2 .box {
        padding: 20px;
        border-radius: 16px;
    }

    .curriculam-2 .box .box-desc {
        font-size: 14px;
    }

    .curriculam-2 span {
        font-size: 15px;
    }

    .curriculam-2 p.content-desc {
        font-size: 13.5px;
    }

    summary {
        padding: 14px 16px;
    }

    .acc-item {
        margin-bottom: 10px;
    }

    .content-body {
        padding: 16px;
    }
}

/* ===========================
   CURRICULUM – SMALL PHONES (≤ 575px)
=========================== */
@media (max-width: 575px) {
    .curriculam-1 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .curriculam-1 img.img-fluid {
        height: clamp(180px, 58vw, 300px);
        border-radius: 14px;
    }

    .curriculam-1 p.section-desc {
        font-size: 14px;
        text-align: left;
    }

    .curriculam-2 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .curriculam-2 .box {
        padding: 18px;
        border-radius: 14px;
    }

    .curriculam-2 .box .box-desc {
        font-size: 13.5px;
        text-align: left;
    }

    .curriculam-2 span {
        font-size: 14.5px;
    }

    .curriculam-2 p.content-desc {
        font-size: 13px;
        text-align: left;
    }

    summary {
        padding: 12px 14px;
    }

    .content-body {
        padding: 14px;
    }

    .acc-item {
        border-radius: 10px;
        margin-bottom: 8px;
    }
}

/* ===========================
   CURRICULUM – VERY SMALL PHONES (≤ 360px)
=========================== */
@media (max-width: 360px) {
    .curriculam-1 img.img-fluid {
        height: 180px;
    }

    .curriculam-1 p.section-desc {
        font-size: 13.5px;
    }

    .curriculam-2 .box {
        padding: 14px;
    }

    .curriculam-2 .box .box-desc {
        font-size: 13px;
    }

    .curriculam-2 span {
        font-size: 14px;
    }

    .curriculam-2 p.content-desc {
        font-size: 12.5px;
    }

    summary {
        padding: 11px 12px;
    }
}

/* ===========================
   CURRICULUM PAGE BANNER – responsive
   (mirrors the academics-page-banner pattern)
=========================== */
.academics-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Tablet */
@media (max-width: 991px) {
    section.curriculam-1.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ===========================
   EXTRA-CURRICULAR PAGE — COMPLETE RESPONSIVE SYSTEM
   Covers: 360px → 1800px+ and zoom 50%–150%
=========================== */

/* ── Banner title color (shared .academics-page-banner) ── */
.academics-page-banner h2.page-title {
    color: #ffffff;
    font-size: clamp(22px, 4vw, 48px);
    text-align: center;
    padding: 0 16px;
}

/* ── Outer section spacing ── */
section.extra-1.py-5 {
    padding-top: clamp(28px, 5vw, 56px) !important;
    padding-bottom: clamp(28px, 5vw, 56px) !important;
}

/* ── Row gap between the three card-rows ── */
.extra-1 > .container > .row {
    row-gap: clamp(16px, 2.5vw, 28px);
}

/* ── Each col keeps full height so card fills it ── */
.extra-1 .col-12.col-md-6.col-lg-6 {
    display: flex;
    flex-direction: column;
}

/* ── image-box card ── */
.extra-1 .image-box {
    background: #c89b3c7a;
    padding: clamp(14px, 1.8vw, 22px);
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 100%;
    box-shadow: 9px 7px 0px #072c4c;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    align-items: stretch;
}

.extra-1 .image-box:hover {
    box-shadow: 9px 7px 0px #C89B3C;
    transform: translateY(-3px);
}

/* ── Inner Bootstrap row ── */
.extra-1 .image-box .row {
    align-items: center;
    flex-wrap: nowrap;        /* keep image + text side-by-side by default */
    row-gap: 0;
    column-gap: 0;
    width: 100%;
    margin: 0;
}

/* ── Image column: prevent collapsing ── */
.extra-1 .image-box .image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 8px 0 0;
}

/* ── Single, authoritative image rule ── */
.extra-1 img.img-fluid {
    display: block;
    width: 100%;
    height: clamp(100px, 13vw, 175px);
    object-fit: cover;
    border-radius: 70px;       /* pill shape on all sizes by default */
}

/* ── Content column ── */
.extra-1 .image-box .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4px;
}

/* ── Typography ── */
.extra-1 h4.box-title {
    font-size: clamp(15px, 1.4vw, 21px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #072C4C;
}

.extra-1 p.box-desc {
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.8;
    margin-bottom: 0;
    text-align: justify;
}

/* ── Heading area spacing ── */
.extra-1 .heading-center {
    margin-bottom: clamp(20px, 3vw, 36px);
}

/* ===========================
   ZOOM-OUT SAFE — ≥ 1400px
=========================== */
@media (min-width: 1400px) {
    .extra-1 img.img-fluid {
        height: clamp(150px, 11vw, 200px);
    }

    .extra-1 .image-box {
        padding: 24px 26px;
    }

    .extra-1 h4.box-title {
        font-size: clamp(18px, 1.25vw, 23px);
    }

    .extra-1 p.box-desc {
        font-size: clamp(14px, 0.95vw, 16px);
        line-height: 1.85;
    }
}

/* ===========================
   VERY WIDE — ≥ 1800px (extreme zoom-out)
=========================== */
@media (min-width: 1800px) {
    .extra-1 img.img-fluid {
        height: 200px;
    }

    .extra-1 h4.box-title {
        font-size: 23px;
    }

    .extra-1 p.box-desc {
        font-size: 16px;
    }

    .extra-1 .image-box {
        padding: 28px 30px;
    }
}

/* ===========================
   TABLET PORTRAIT — ≤ 991px
=========================== */
@media (max-width: 991px) {
    .extra-1 img.img-fluid {
        height: clamp(90px, 15vw, 145px);
        border-radius: 55px;
    }

    .extra-1 .image-box {
        padding: clamp(12px, 1.8vw, 18px);
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .extra-1 h4.box-title {
        font-size: clamp(14px, 1.8vw, 18px);
    }

    .extra-1 p.box-desc {
        font-size: clamp(12.5px, 1.3vw, 14.5px);
    }
}

/* ===========================
   MOBILE — ≤ 767px
   Both col-md-6 cards go full width, stacked
=========================== */
@media (max-width: 767px) {
    /* Full-width cards */
    .extra-1 .col-12.col-md-6.col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .extra-1 > .container > .row {
        row-gap: 16px;
    }

    .extra-1 img.img-fluid {
        height: clamp(95px, 22vw, 155px);
        border-radius: 45px;
    }

    .extra-1 .image-box {
        padding: 14px 16px;
        border-top-right-radius: 44px;
        border-bottom-left-radius: 44px;
    }

    .extra-1 h4.box-title {
        font-size: clamp(14px, 3.2vw, 17px);
    }

    .extra-1 p.box-desc {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .extra-1 .heading-center {
        margin-bottom: 20px;
    }
}

/* ===========================
   SMALL PHONES — ≤ 575px
   Stack image on top of text inside each card
=========================== */
@media (max-width: 575px) {
    section.extra-1.py-5 {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    /* Wrap columns vertically inside the card */
    .extra-1 .image-box .row {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    /* Image col takes full width, centered */
    .extra-1 .image-box .image {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }

    /* Content col takes full width */
    .extra-1 .image-box .content {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }

    /* Square-ish circle image, centred */
    .extra-1 img.img-fluid {
        width: clamp(110px, 40vw, 165px);
        height: clamp(110px, 40vw, 165px);
        border-radius: 50%;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .extra-1 h4.box-title {
        font-size: 15.5px;
        text-align: left;
    }

    .extra-1 p.box-desc {
        font-size: 13px;
        text-align: left;
        line-height: 1.7;
    }

    .extra-1 .image-box {
        padding: 16px 18px;
        border-top-right-radius: 34px;
        border-bottom-left-radius: 34px;
    }

    .extra-1 > .container > .row {
        row-gap: 14px;
    }
}

/* ===========================
   VERY SMALL PHONES — ≤ 390px
=========================== */
@media (max-width: 390px) {
    .extra-1 img.img-fluid {
        width: 105px;
        height: 105px;
    }

    .extra-1 h4.box-title {
        font-size: 15px;
    }

    .extra-1 p.box-desc {
        font-size: 12.5px;
    }

    .extra-1 .image-box {
        padding: 14px 15px;
        border-top-right-radius: 28px;
        border-bottom-left-radius: 28px;
    }
}

/* ===========================
   TINY PHONES — ≤ 360px
=========================== */
@media (max-width: 360px) {
    .extra-1 img.img-fluid {
        width: 95px;
        height: 95px;
    }

    .extra-1 h4.box-title {
        font-size: 14.5px;
    }

    .extra-1 p.box-desc {
        font-size: 12px;
    }

    .extra-1 .image-box {
        padding: 12px 14px;
    }
}


/* ===========================
   STUDENT LIFE PAGE — COMPLETE RESPONSIVE SYSTEM
   Covers: 360px → 1800px+ and zoom 50%–150%
=========================== */

/* ── Section spacing ── */
.section.student-1.py-5 {
    padding-top: clamp(28px, 5vw, 60px) !important;
    padding-bottom: clamp(28px, 5vw, 60px) !important;
}

/* ── Each box card ── */
.student-1 .box {
    background: #fff;
    padding: clamp(16px, 2.2vw, 28px);
    border-radius: 20px;
    border-left: 8px solid #072C4C !important;
    border: 2px solid #072C4C;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.student-1 .box:hover {
    box-shadow: 6px 6px 0px #072C4C;
    transform: translateY(-2px);
}

.student-1 .box:nth-child(even) {
    border-left: 8px solid #C89B3C !important;
    border: 2px solid #C89B3C;
}

.student-1 .box:nth-child(even):hover {
    box-shadow: 6px 6px 0px #C89B3C;
}

/* ── Box title ── */
.student-1 h2.box-title {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
    color: #072C4C;
    margin-bottom: clamp(8px, 1vw, 14px);
    line-height: 1.3;
}

.student-1 .box:nth-child(even) h2.box-title {
    color: #b8862e;
}

/* ── Description text ── */
.student-1 p.box-desc {
    text-align: justify;
    font-size: clamp(13.5px, 1.05vw, 16px);
    line-height: 1.85;
    margin-bottom: 0;
    color: #333;
}

/* ── mt-4 spacing on boxes ── */
.student-1 .box.mt-4 {
    margin-top: clamp(16px, 2.5vw, 28px) !important;
}

/* ===========================
   ZOOM-OUT SAFE — ≥ 1400px
=========================== */
@media (min-width: 1400px) {
    .student-1 .box {
        padding: 30px 34px;
    }

    .student-1 h2.box-title {
        font-size: clamp(22px, 1.7vw, 30px);
    }

    .student-1 p.box-desc {
        font-size: clamp(15px, 0.95vw, 17px);
        line-height: 1.9;
    }
}

/* ===========================
   VERY WIDE — ≥ 1800px (extreme zoom-out)
=========================== */
@media (min-width: 1800px) {
    .student-1 .box {
        padding: 34px 40px;
    }

    .student-1 h2.box-title {
        font-size: 30px;
    }

    .student-1 p.box-desc {
        font-size: 17px;
    }
}

/* ===========================
   TABLET PORTRAIT — ≤ 991px
=========================== */
@media (max-width: 991px) {
    .section.student-1.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .student-1 .box {
        padding: clamp(14px, 2vw, 22px);
        border-radius: 16px;
    }

    .student-1 h2.box-title {
        font-size: clamp(17px, 2.4vw, 22px);
    }

    .student-1 p.box-desc {
        font-size: clamp(13px, 1.5vw, 15px);
        line-height: 1.8;
    }

    .student-1 .box.mt-4 {
        margin-top: 18px !important;
    }
}

/* ===========================
   MOBILE — ≤ 767px
=========================== */
@media (max-width: 767px) {
    .section.student-1.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .student-1 .box {
        padding: 16px 18px;
        border-radius: 14px;
        border-left-width: 6px !important;
    }

    .student-1 h2.box-title {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 10px;
    }

    .student-1 p.box-desc {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .student-1 .box.mt-4 {
        margin-top: 14px !important;
    }
}

/* ===========================
   SMALL PHONES — ≤ 575px
=========================== */
@media (max-width: 575px) {
    .section.student-1.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .student-1 .box {
        padding: 14px 16px;
        border-radius: 12px;
        border-left-width: 5px !important;
    }

    .student-1 h2.box-title {
        font-size: clamp(15px, 4.5vw, 18px);
        margin-bottom: 8px;
    }

    .student-1 p.box-desc {
        font-size: 13px;
        line-height: 1.7;
        text-align: left;
    }

    .student-1 .box.mt-4 {
        margin-top: 12px !important;
    }
}

/* ===========================
   VERY SMALL PHONES — ≤ 390px
=========================== */
@media (max-width: 390px) {
    .student-1 .box {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .student-1 h2.box-title {
        font-size: 15px;
    }

    .student-1 p.box-desc {
        font-size: 12.5px;
    }

    .student-1 .box.mt-4 {
        margin-top: 10px !important;
    }
}

/* ===========================
   TINY PHONES — ≤ 360px
=========================== */
@media (max-width: 360px) {
    .student-1 .box {
        padding: 11px 12px;
    }

    .student-1 h2.box-title {
        font-size: 14.5px;
    }

    .student-1 p.box-desc {
        font-size: 12px;
    }
}

/* Admission Page */

.admission-page-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(140px, 30vh, 320px);
    min-height: 140px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/about-bg.webp);

}

.admission-1 p.section-desc {
    text-align: justify;
}

.admission-1 img{
    border-radius: 20px;
}

.admission-2{
    background-color: #072c4c1f;
}

.admission-2 h5 {
    background: #072c4c;
    color: #fff;
    padding: 10px;
    width: fit-content;
    border-radius: 20px;
}

.admission-2 ul.icon-list {
    padding: 0;
    list-style-type: none;
}

.admission-2 ul.icon-list li.list{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.admission-2 ul.icon-list li.list i{
    font-size: 24px;
    color: #C89B3C;
}

.admission-3{
    background-color: #072C4C;
    position: relative;
}

.admission-3 p.section-desc, .admission-4 p.section-desc {
    text-align: justify;
}

.admission-3 img.img-fluid, .admission-4 img.img-fluid{
    border-radius: 20px;
}

/* ===========================
   ADMISSION PAGE — COMPLETE RESPONSIVE SYSTEM
   Covers: 360px → 1800px+ and zoom 50%–150%
=========================== */

/* ── Base fluid sizing (applies at all widths / zoom levels) ── */

.admission-page-banner .page-title {
    font-size: clamp(28px, 5vw, 60px);
    letter-spacing: 0.02em;
}

/* Section 1 — Overview */
.admission-1 .row {
    align-items: center;
    row-gap: 30px;
}

.admission-1 .content-1,
.admission-1 .content-2 {
    padding-right: clamp(0px, 2vw, 20px);
}

.admission-1 .section-title {
    font-size: clamp(20px, 2.8vw, 38px);
}

.admission-1 p.section-desc {
    font-size: clamp(13.5px, 1.05vw, 16px);
    line-height: 1.85;
}

/* Section 2 — Eligibility & Documents */
.admission-2 .section-title {
    font-size: clamp(22px, 3vw, 40px);
}

.admission-2 h5 {
    font-size: clamp(14px, 1.3vw, 18px);
    padding: clamp(8px, 1vw, 12px) clamp(14px, 1.5vw, 20px);
}

.admission-2 ul.icon-list li.list {
    font-size: clamp(13px, 1vw, 15.5px);
    gap: clamp(8px, 1vw, 14px);
    margin-bottom: clamp(8px, 1vw, 14px);
    /* align-items: flex-start; */
}

.admission-2 ul.icon-list li.list i {
    font-size: clamp(18px, 1.6vw, 26px);
    flex-shrink: 0;
    margin-top: 2px;
}

.admission-2 .row {
    row-gap: 30px;
}

/* Section 3 — Fee Guidelines */
.admission-3 .row {
    align-items: center;
    row-gap: 30px;
}

.admission-3 .section-title {
    font-size: clamp(22px, 2.8vw, 38px);
}

.admission-3 p.section-desc {
    font-size: clamp(13.5px, 1.05vw, 16px);
    line-height: 1.85;
}

/* Section 4 — Parent Interaction */
.admission-4 .row {
    align-items: center;
    row-gap: 30px;
}

.admission-4 .section-title {
    font-size: clamp(20px, 2.8vw, 38px);
}

.admission-4 p.section-desc {
    font-size: clamp(13.5px, 1.05vw, 16px);
    line-height: 1.85;
}

/* ===========================
   ZOOM-OUT SAFE — ≥ 1400px
=========================== */
@media (min-width: 1400px) {
    .admission-page-banner .page-title {
        font-size: clamp(44px, 4vw, 62px);
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: clamp(15px, 0.95vw, 17px);
        line-height: 1.9;
    }

    .admission-2 ul.icon-list li.list {
        font-size: clamp(14.5px, 0.95vw, 16.5px);
    }
}

/* ===========================
   VERY WIDE — ≥ 1800px (extreme zoom-out)
=========================== */
@media (min-width: 1800px) {
    .admission-page-banner .page-title {
        font-size: 64px;
    }

    .admission-1 .section-title,
    .admission-2 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: 40px;
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: 17px;
    }

    .admission-2 ul.icon-list li.list {
        font-size: 16.5px;
    }
}

/* ===========================
   TABLET LANDSCAPE — ≤ 1199px
=========================== */
@media (max-width: 1199px) {
    .admission-1 .section-title,
    .admission-2 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: clamp(20px, 3vw, 32px);
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: clamp(13.5px, 1.3vw, 15.5px);
    }

    .admission-2 ul.icon-list li.list {
        font-size: clamp(13px, 1.2vw, 15px);
    }
}

/* ===========================
   TABLET PORTRAIT — ≤ 991px
=========================== */
@media (max-width: 991px) {
    .admission-page-banner {
        height: clamp(120px, 22vh, 220px);
    }

    .admission-page-banner .page-title {
        font-size: clamp(26px, 5vw, 44px);
    }

    .admission-1 .row,
    .admission-3 .row,
    .admission-4 .row {
        flex-direction: column;
    }

    /* Image comes after text on tablet portrait for sections 3 & 4 */
    .admission-3 .row > .col-12:first-child {
        order: 1;
    }
    .admission-3 .row > .col-12:last-child {
        order: 2;
    }

    .admission-4 .row > .col-12:first-child {
        order: 2;
    }
    .admission-4 .row > .col-12:last-child {
        order: 1;
    }

    .admission-1 img,
    .admission-3 img.img-fluid,
    .admission-4 img.img-fluid {
        width: 100%;
        max-height: 380px;
        object-fit: cover;
    }

    .admission-1 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: clamp(20px, 3.5vw, 30px);
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: clamp(13.5px, 1.6vw, 15px);
        line-height: 1.8;
    }

    .admission-2 .row {
        row-gap: 24px;
    }

    .admission-2 ul.icon-list li.list {
        font-size: clamp(13px, 1.5vw, 15px);
    }

    .admission-2 h5 {
        font-size: clamp(14px, 1.8vw, 17px);
    }
}

/* ===========================
   MOBILE — ≤ 767px
=========================== */
@media (max-width: 767px) {
    .admission-page-banner {
        height: clamp(110px, 20vh, 180px);
    }

    .admission-page-banner .page-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .admission-1 .content-2 {
        margin-top: 20px !important;
    }

    .admission-1 img {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
    }

    .admission-1 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: clamp(18px, 5vw, 26px);
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .admission-2 .section-title {
        font-size: clamp(20px, 5.5vw, 28px);
    }

    .admission-2 h5 {
        font-size: 14px;
        padding: 8px 14px;
    }

    .admission-2 ul.icon-list li.list {
        font-size: 13.5px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .admission-2 ul.icon-list li.list i {
        font-size: 20px;
    }

    .admission-3 img.img-fluid,
    .admission-4 img.img-fluid {
        max-height: 280px;
        object-fit: cover;
        width: 100%;
    }

    /* Badge sizing */
    .admission-3 span.badge,
    .admission-4 span.badge,
    .admission-2 span.badge {
        font-size: clamp(16px, 4vw, 22px);
    }
}

/* ===========================
   SMALL PHONES — ≤ 575px
=========================== */
@media (max-width: 575px) {
    .admission-page-banner {
        height: clamp(100px, 18vh, 160px);
    }

    .admission-page-banner .page-title {
        font-size: clamp(22px, 7vw, 30px);
    }

    .admission-1 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: clamp(17px, 5.5vw, 22px);
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: 13px;
        line-height: 1.7;
        text-align: left;
    }

    .admission-2 .section-title {
        font-size: clamp(18px, 6vw, 24px);
    }

    .admission-2 h5 {
        font-size: 13.5px;
        border-radius: 14px;
    }

    .admission-2 ul.icon-list li.list {
        font-size: 13px;
        gap: 7px;
        margin-bottom: 9px;
    }

    .admission-2 ul.icon-list li.list i {
        font-size: 18px;
    }

    .admission-3 img.img-fluid,
    .admission-4 img.img-fluid {
        max-height: 240px;
    }

    .admission-1 img {
        max-height: 240px;
    }

    .admission-1 .content-2 {
        margin-top: 16px !important;
    }

    .admission-3 span.badge,
    .admission-4 span.badge,
    .admission-2 span.badge {
        font-size: clamp(15px, 4.5vw, 20px);
    }

    /* Section py-5 spacing reduction */
    .admission-1.py-5,
    .admission-2.py-5,
    .admission-3.py-5,
    .admission-4.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ===========================
   VERY SMALL PHONES — ≤ 390px
=========================== */
@media (max-width: 390px) {
    .admission-page-banner .page-title {
        font-size: 22px;
    }

    .admission-1 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: 17px;
    }

    .admission-2 .section-title {
        font-size: 18px;
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: 12.5px;
    }

    .admission-2 ul.icon-list li.list {
        font-size: 12.5px;
    }

    .admission-2 h5 {
        font-size: 13px;
        padding: 7px 12px;
    }

    .admission-3 img.img-fluid,
    .admission-4 img.img-fluid,
    .admission-1 img {
        max-height: 210px;
    }
}

/* ===========================
   TINY PHONES — ≤ 360px
=========================== */
@media (max-width: 360px) {
    .admission-page-banner .page-title {
        font-size: 20px;
    }

    .admission-1 .section-title,
    .admission-2 .section-title,
    .admission-3 .section-title,
    .admission-4 .section-title {
        font-size: 16px;
    }

    .admission-1 p.section-desc,
    .admission-3 p.section-desc,
    .admission-4 p.section-desc {
        font-size: 12px;
    }

    .admission-2 ul.icon-list li.list {
        font-size: 12px;
        gap: 6px;
    }

    .admission-2 ul.icon-list li.list i {
        font-size: 16px;
    }

    .admission-2 h5 {
        font-size: 12.5px;
        padding: 6px 10px;
    }

    .admission-1.py-5,
    .admission-2.py-5,
    .admission-3.py-5,
    .admission-4.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}


@media (max-width:991px){
    .admission-1 .row, .admission-3 .row, .admission-4 .row{
        flex-direction: column-reverse;
    }
}

section.home-8 {
    display: none;
}
.home section.home-8 {
    display: block;
}



/* ── Leadership Team Section ── */
.home-7-new {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.home-7-new .card {
    border-radius: 20px;
    background-color: rgba(200, 155, 60, 0.48);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow: hidden; /* keeps image clipped at all zoom levels */
    height: 100%;     /* equal card heights in same row */
}

.home-7-new .card .card-image {
    overflow: hidden;
    /* Fixed aspect ratio prevents image collapse at 75% zoom */
    aspect-ratio: 1 / 1.05;
}

.home-7-new .card img.img-fluid {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.home-7-new .card .card-content {
    padding: clamp(12px, 2.5vw, 20px);
}

.home-7-new .card .name {
    /* font-size: clamp(0.9rem, 2vw, 1.1rem); */
    font-weight: 700;
    text-align:center;
    margin-bottom: 6px;
    /* color: inherit; */
}

.home-7-new .card .badge {
    color: #072C4C;
    /* font-size: clamp(10px, 1.4vw, 12.5px); */
    white-space: nowrap;
    transition: color 0.3s ease;
    font-size:13px;
}

/* Hover states */
.home-7-new .card:hover {
    background-color: #072C4C;
    color: #fff;
}

.home-7-new .card:hover img.img-fluid {
    transform: scale(1.1);
}

.home-7-new .card:hover .badge {
    color: #C89B3C;
}

/* ── Responsive grid fixes ── */

/* Mobile portrait: single column */
@media (max-width: 575px) {
    .home-7-new .col-12 {
        margin-bottom: 1rem;
    }
    .home-7-new .card .card-image {
        aspect-ratio: 4 / 3; /* wider crop on small screens */
    }
}

/* Tablet (576–767px): 2-column, 3rd card centred */
@media (min-width: 576px) and (max-width: 767px) {
    .home-7-new .row {
        justify-content: center;
    }
    .home-7-new .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    /* Centre the lone 3rd card */
    .home-7-new .col-md-4:last-child:nth-child(odd) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Large screens: equal height rows via flex */
@media (min-width: 768px) {
    .home-7-new .row {
        align-items: stretch;
    }
    .home-7-new [class*="col-"] {
        display: flex;
        flex-direction: column;
    }
}

/* High zoom (≥125%) — prevent horizontal scroll */
@media (max-width: 900px) {
    .home-7-new .card .card-image {
        aspect-ratio: 1 / 0.95;
    }
}

.mand-1 img{
    border-radius: 20px;
    border: 2px solid #072C4C;
}

.mand-1 .heading-center h3{
    background: #c89b3c7a;
    padding: 20px;
    border-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 100%;
    box-shadow: 9px 7px 0px #072c4c;
    transition: 0.3s ease-in-out;
}

.disclosure-document-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.disclosure-document-card {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.mand-1 .disclosure-document-card h3 {
    display: flex;
    min-height: 92px;
    height: auto;
    align-items: center;
    justify-content: center;
}

.disclosure-document-card > img,
.disclosure-document-link img {
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.disclosure-document-link:hover img,
.disclosure-document-link:focus-visible img {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(7, 44, 76, 0.2);
}

.disclosure-document-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #072c4c;
    color: #fff;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.disclosure-document-button {
    align-self: center;
    border: 0;
}

.disclosure-document-link:hover .disclosure-document-action,
.disclosure-document-link:focus-visible .disclosure-document-action,
.disclosure-document-button:hover,
.disclosure-document-button:focus-visible {
    background: #c89b3c;
    color: #072c4c;
}

/* ===========================
   MANDATORY PUBLIC DISCLOSURE — RESPONSIVE
=========================== */

/* Base: ensure images never overflow */
.mand-1 img {
    width: 100%;
    height: auto;
    display: block;
}

/* Add row-gap so stacked columns breathe */
.mand-1 .row {
    row-gap: 24px;
}

/* h3 title block: fluid font & padding */
.mand-1 .heading-center h3 {
    font-size: clamp(15px, 2vw, 20px);
    padding: clamp(12px, 2vw, 20px);
    width: 100%;
    text-align: center;
    word-break: break-word;
}

/* Section heading badge & title */
.mand-1 span.badge {
    font-size: clamp(16px, 2.5vw, 26px);
}

.mand-1 .section-title {
    font-size: clamp(20px, 3.5vw, 42px);
    text-align: center;
}

/* ── Large desktops ≥ 1400px (handles 75% zoom on large monitors) ── */
@media (min-width: 1400px) {
    .mand-1 .heading-center h3 {
        font-size: clamp(17px, 1.4vw, 22px);
    }
}

/* ── Tablets ≤ 991px ── */
@media (max-width: 991px) {
    .mand-1 .row {
        row-gap: 20px;
    }

    .mand-1 .heading-center h3 {
        font-size: clamp(14px, 2.5vw, 18px);
        padding: 14px 16px;
        border-top-right-radius: 40px;
        border-bottom-left-radius: 40px;
    }

    .mand-1 span.badge {
        font-size: clamp(15px, 3.5vw, 22px);
    }

    .mand-1 .section-title {
        font-size: clamp(18px, 4vw, 32px);
    }

    /* Stack the affiliation certificate images in a single column on tablet */
    .mand-1:first-of-type .col-12.col-md-4.col-lg-4 {
        margin-bottom: 0;
    }
}

/* ── Mobile ≤ 767px ── */
@media (max-width: 767px) {
    .mand-1.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mand-1 .row {
        row-gap: 18px;
    }

    .mand-1 .heading-center h3 {
        font-size: clamp(13px, 4vw, 17px);
        padding: 12px 14px;
        border-top-right-radius: 34px;
        border-bottom-left-radius: 34px;
        box-shadow: 6px 5px 0px #072c4c;
    }

    .mand-1 span.badge {
        font-size: clamp(14px, 4.5vw, 20px);
    }

    .mand-1 .section-title {
        font-size: clamp(17px, 5vw, 26px);
    }
}

/* ── Small phones ≤ 575px ── */
@media (max-width: 575px) {
    .mand-1.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mand-1 .row {
        row-gap: 14px;
    }

    .mand-1 .heading-center h3 {
        font-size: clamp(13px, 4.5vw, 16px);
        padding: 10px 12px;
        border-top-right-radius: 28px;
        border-bottom-left-radius: 28px;
        box-shadow: 5px 4px 0px #072c4c;
    }

    .mand-1 span.badge {
        font-size: clamp(14px, 5vw, 18px);
    }

    .mand-1 .section-title {
        font-size: clamp(16px, 5.5vw, 22px);
    }

    /* Prevent images from being too tall on small screens */
    .mand-1 img {
        max-height: 320px;
        object-fit: contain;
    }
}

/* ── Very small phones ≤ 390px ── */
@media (max-width: 390px) {
    .mand-1 .heading-center h3 {
        font-size: 13px;
        padding: 9px 11px;
    }

    .mand-1 .section-title {
        font-size: 16px;
    }

    .mand-1 span.badge {
        font-size: 14px;
    }

    .mand-1 img {
        max-height: 260px;
    }

    .mand-1.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* ── Tiny phones ≤ 360px ── */
@media (max-width: 360px) {
    .mand-1 .heading-center h3 {
        font-size: 12.5px;
        padding: 8px 10px;
    }

    .mand-1 .section-title {
        font-size: 15px;
    }

    .mand-1 img {
        max-height: 230px;
    }
}

/* ── Zoom-out safety: 75% zoom on 1920px = ~2560px effective ── */
@media (min-width: 1800px) {
    .mand-1 .heading-center h3 {
        font-size: clamp(18px, 1.2vw, 24px);
        padding: clamp(18px, 1.5vw, 26px);
    }

    .mand-1 span.badge {
        font-size: clamp(22px, 1.8vw, 30px);
    }

    .mand-1 .section-title {
        font-size: clamp(30px, 2.5vw, 50px);
    }
}


.pta-page-banner{
    background-image: linear-gradient(135deg, #072C4C, #0000002b), url(../Images/pta-bg.webp);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pta-2 .heading-center h4{
    text-decoration: underline;
}

.pta-2 table{
    background-color: #fff;
}

.pta-2 thead{
    background-color: #072C4C;
    color: #fff;
}

.pta-2 tbody{
    background-color: #c89b3c26;
}

.pta-2 .signboard{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    margin-top: 50px;
}

.pta-2 .signboard h5{
    font-weight: 700    ;
}

/* ===========================
   PTA PAGE — RESPONSIVE
=========================== */

/* ── Base / fluid defaults ── */

.pta-page-banner {
    height: clamp(160px, 30vh, 340px);
    background-attachment: scroll; /* avoid fixed parallax issues on mobile */
}

.pta-page-banner .page-title {
    font-size: clamp(20px, 4vw, 42px);
    text-align: center;
    padding: 0 16px;
    line-height: 1.3;
}

/* Section 1 description */
.pta-1 .section-title {
    font-size: clamp(20px, 3.5vw, 38px);
}

.pta-1 p.section-desc,
.pta-2 p.section-desc {
    font-size: clamp(14px, 1.2vw, 16px);
    text-align: justify;
    line-height: 1.8;
}

/* Section headings */
.pta-2 .heading-center h4 {
    font-size: clamp(14px, 2vw, 22px);
    text-align: center;
    word-break: break-word;
    padding: 0 8px;
}

/* Table base */
.pta-2 table {
    width: 100%;
    table-layout: auto;
}

.pta-2 table th,
.pta-2 table td {
    font-size: clamp(13px, 1.1vw, 15px);
    vertical-align: middle;
    padding: clamp(6px, 1vw, 12px) clamp(8px, 1.2vw, 16px);
    word-break: break-word;
}

/* Signboard */
.pta-2 .signboard {
    margin-top: clamp(24px, 4vw, 50px);
}

.pta-2 .signboard h5 {
    font-size: clamp(14px, 1.5vw, 18px);
}

.pta-2 .signboard p.section-desc {
    font-size: clamp(13px, 1.1vw, 15px);
    text-align: right;
}

/* ── Large desktops ≥ 1400px (handles 75% zoom on big monitors) ── */
@media (min-width: 1400px) {
    .pta-page-banner .page-title {
        font-size: clamp(32px, 2.8vw, 48px);
    }

    .pta-2 .heading-center h4 {
        font-size: clamp(18px, 1.6vw, 26px);
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: clamp(14px, 1vw, 16px);
    }
}

/* ── Zoom-out safety: 75% zoom on 1920px ≈ 2560px effective ── */
@media (min-width: 1800px) {
    .pta-page-banner .page-title {
        font-size: clamp(36px, 2.4vw, 54px);
    }

    .pta-1 .section-title {
        font-size: clamp(28px, 2.2vw, 48px);
    }

    .pta-1 p.section-desc,
    .pta-2 p.section-desc {
        font-size: clamp(15px, 0.9vw, 18px);
    }

    .pta-2 .heading-center h4 {
        font-size: clamp(20px, 1.4vw, 28px);
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: clamp(14px, 0.85vw, 17px);
        padding: 14px 20px;
    }
}

/* ── Tablets ≤ 991px ── */
@media (max-width: 991px) {
    .pta-page-banner {
        height: clamp(140px, 28vh, 260px);
    }

    .pta-1.py-5,
    .pta-2.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .pta-2 .heading-center h4 {
        font-size: clamp(14px, 2.5vw, 18px);
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: clamp(12px, 1.4vw, 14px);
        padding: 8px 10px;
    }
}

/* ── Table scroll wrapper — centered on mobile ── */
.pta-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pta-table-wrap .table {
    width: 100%;
    margin-bottom: 0;
}

/* ── Tablet / large mobile ≤ 767px ── */
@media (max-width: 767px) {
    .pta-1.py-5,
    .pta-2.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .pta-1 p.section-desc {
        font-size: 14px;
    }

    .pta-2 .heading-center h4 {
        font-size: clamp(13px, 3vw, 17px);
    }

    .pta-table-wrap {
        border-radius: 8px;
        /* No display:flex — keep it block so table renders correctly */
    }

    .pta-table-wrap .table {
        min-width: 520px;
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: 13px;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .pta-2 .signboard {
        align-items: flex-start;
        margin-top: 28px;
    }

    .pta-2 .signboard p.section-desc {
        text-align: left;
    }
}

/* ── Mobile ≤ 575px ── */
@media (max-width: 575px) {
    .pta-page-banner {
        height: clamp(130px, 35vw, 200px);
    }

    .pta-page-banner .page-title {
        font-size: clamp(18px, 5vw, 26px);
        padding: 0 12px;
    }

    .pta-1.py-5,
    .pta-2.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .pta-1 .section-title {
        font-size: clamp(18px, 5.5vw, 26px);
    }

    .pta-1 p.section-desc {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .pta-2 .heading-center h4 {
        font-size: clamp(12px, 3.5vw, 15px);
    }

    .pta-table-wrap .table {
        min-width: 480px;
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: 12.5px;
        padding: 7px 9px;
    }

    .pta-2 .signboard h5 {
        font-size: 14px;
    }

    .pta-2 .signboard p.section-desc {
        font-size: 13px;
    }
}

/* ── Small phones ≤ 390px ── */
@media (max-width: 390px) {
    .pta-page-banner .page-title {
        font-size: 17px;
    }

    .pta-1 .section-title {
        font-size: 17px;
    }

    .pta-1 p.section-desc {
        font-size: 13px;
    }

    .pta-2 .heading-center h4 {
        font-size: 12px;
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: 12px;
        padding: 6px 8px;
    }

    .pta-2 .signboard h5 {
        font-size: 13px;
    }
}

/* ── Tiny phones ≤ 360px ── */
@media (max-width: 360px) {
    .pta-page-banner .page-title {
        font-size: 15px;
    }

    .pta-table-wrap .table {
        min-width: 440px;
    }

    .pta-2 table th,
    .pta-2 table td {
        font-size: 11.5px;
        padding: 6px 7px;
    }
}

/* ===========================
   ANNOUNCEMENT BAR — Static, Responsive
=========================== */

.announcement {
    background: #072C4C;
    width: 100%;
    border-bottom: 2px solid #C89B3C;
}

/* Single track: flex row, wraps on small screens */
.announcement-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: clamp(4px, 1vw, 8px) clamp(8px, 2vw, 20px);
    gap: 0;
}

/* Hide duplicate tracks — only show the first one */
.announcement-track:not(:first-child) {
    display: none;
}

.announcement-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
}

.announcement-track a {
    color: #fff;
    text-decoration: none;
    padding: clamp(7px, 1.2vw, 11px) clamp(14px, 2.5vw, 32px);
    font-size: clamp(12px, 1.3vw, 16px);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-right: 1px solid rgba(200, 155, 60, 0.4);
    transition: color 0.25s, background 0.25s;
}

.announcement-track a:last-child {
    border-right: none;
}

.announcement-track a:hover {
    color: #C89B3C;
    background: rgba(255, 255, 255, 0.05);
}

/* ── Mobile ≤ 575px: stack into full-width buttons ── */
@media (max-width: 575px) {
    .announcement-bar {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .announcement-track {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .announcement-track a {
        width: 100%;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid rgba(200, 155, 60, 0.25);
        font-size: clamp(12px, 3.5vw, 14px);
        padding: 10px 16px;
    }

    .announcement-track a:last-child {
        border-bottom: none;
    }
}

.curriculam-3 table{
    background-color: #fff;
}

.curriculam-3 thead{
    background-color: #072C4C;
    color: #fff;
}

.curriculam-3 tbody{
    background-color: #c89b3c26;
}
/* ===========================
   MOBILE ANNOUNCEMENT BAR (below hero, ≤ 575px only)
=========================== */

.mobile-announce-bar {
    display: none; /* hidden on tablet+ */
    background: #072C4C;
    border-top: 2px solid #C89B3C;
    border-bottom: 2px solid #C89B3C;
    width: 100%;
}

.mobile-announce-label {
    background: #C89B3C;
    color: #072C4C;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 12px;
}

.mobile-announce-links {
    display: flex;
    flex-direction: column;
}

.mobile-announce-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(200, 155, 60, 0.25);
    transition: color 0.25s, background 0.25s;
    word-break: break-word;
}

.mobile-announce-links a:last-child {
    border-bottom: none;
}

.mobile-announce-links a:hover {
    color: #C89B3C;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 575px) {
    .mobile-announce-bar {
        display: block;
    }
}

ul.links li a {
    color: #fff;
    font-size:13px;
}
ul.links li {
    display: inline-block;
    margin-right: 20px;
    background: #072c4c;
    padding: 10px 20px;
  animation: blinkMe 1.5s linear infinite;
line-height: 16px;
    border-radius: 30px;
}
ul.links {
    background: rgb(189 157 108);
    list-style-type: none;
    padding-left: 0px;
    margin: 0 auto;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}
@keyframes blinkMe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.blink_me {
  animation: blinkMe 1.5s linear infinite;
}

@media only screen and (max-width:480px)
{
    .top-header.d-none
    {
        display:block!important;
        padding-bottom:0px;
    }
    .top-header .container
    {
        display:none!important;
    }
    ul.links li a {
    color: #fff;
    font-size: 8px;
}
ul.links li 
{
    line-height:5px;
}
}
