:root {
    --navy: #07386d;
    --navy2: #041f46;
    --orange: #f47b15;
    --gold: #d69b2d;
    --ink: #10284c;
    --soft: #f5f8fc;
    --shadow: 0 18px 45px rgba(5,37,78,.13)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Arial,Helvetica,sans-serif;
    color: #3c4654;
    overflow-x: hidden
}

a {
    transition: .3s
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: .82rem;
    padding: .45rem 0
}

.topbar a {
    color: #fff;
    margin-left: 16px
}

.brand-header {
    background: #fff
}

.brand img,.footer-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 50%
}

.brand b {
    display: block;
    color: #9f2418;
    font-size: 1.65rem
}

.brand small {
    color: var(--navy);
    font-weight: 700
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333
}

.header-contact i {
    font-size: 1.6rem;
    color: var(--orange)
}

.header-contact span,.header-contact b {
    display: block;
    font-size: .82rem
}

.navbar {
    background: var(--navy2);
    padding: .32rem 0
}

.navbar .nav-link {
    color: #fff!important;
    margin: 0 .55rem;
    font-weight: 600
}

.dropdown-menu {
    border: 0;
    border-top: 3px solid var(--orange);
    box-shadow: var(--shadow);
    animation: menuIn .25s ease
}

.dropdown-item:hover {
    background: #fff4eb;
    color: var(--orange);
    padding-left: 1.4rem
}

.btn-orange {
    background: var(--orange);
    color: #fff;
    border: 0;
    padding: .72rem 1.35rem;
    font-weight: 700
}

.btn-orange:hover {
    background: #d95e00;
    color: #fff;
    transform: translateY(-2px)
}

.btn-navy {
    background: var(--navy);
    color: #fff
}

.btn-navy:hover {
    background: var(--orange);
    color: #fff
}

.hero {
    position: relative
}

.hero .carousel-item {
    height: 590px
}

.hero-bg {
    height: 100%;
    background-size: cover;
    background-position: center
}

.hero-1 {
    background-image: linear-gradient(90deg,rgba(1,37,78,.96) 0%,rgba(1,37,78,.7) 45%,rgba(1,37,78,.08) 75%),url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=88')
}

.hero-2 {
    background-image: linear-gradient(90deg,rgba(1,37,78,.96),rgba(1,37,78,.24)),url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?auto=format&fit=crop&w=1800&q=88')
}

.hero-3 {
    background-image: linear-gradient(90deg,rgba(1,37,78,.96),rgba(1,37,78,.2)),url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=88')
}

.hero-copy {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #fff
}

.hero-copy .badge {
    background: var(--orange);
    padding: .65rem 1rem
}

.hero-copy h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 1rem 0
}

.hero-copy em {
    color: var(--orange);
    font-style: normal
}

.hero-copy p {
    font-size: 1.4rem
}

.feature-wrap {
    margin-top: -54px;
    position: relative;
    z-index: 5
}

.feature-panel {
    background: var(--navy2);
    border: 2px solid var(--orange);
    border-radius: 16px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    box-shadow: var(--shadow)
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 22px 13px
}

.feature-card i {
    color: var(--orange);
    font-size: 2.5rem
}

.feature-card h3,.facility-card h3,.academic-card h3,.difference-card h3 {
    color: #0b3691;
    font-weight: 800
}

.feature-card h3 {
    font-size: .95rem;
    text-transform: uppercase;
    margin-top: 12px
}

.feature-card p {
    font-size: .8rem;
    margin: 0
}

.section {
    padding: 82px 0
}

.soft {
    background: linear-gradient(180deg,#fff,#f7faff)
}

.eyebrow {
    color: var(--orange);
    font-size: .82rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .08em
}

.section h2 {
    color: #07338b;
    font-weight: 800
}

.image-frame {
    position: relative;
    padding: 16px
}

.image-frame:before,.image-frame:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px
}

.image-frame:before {
    border-left: 3px solid var(--orange);
    border-top: 3px solid var(--orange);
    left: 0;
    top: 0
}

.image-frame:after {
    border-right: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    right: 0;
    bottom: 0
}

.image-frame img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 12px
}

.section-title {
    text-align: center;
    margin-bottom: 36px
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.facility-card {
    text-align: center;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: 25px 10px;
    box-shadow: 0 8px 26px rgba(3,40,90,.05)
}

.facility-card i {
    font-size: 2.4rem;
    color: var(--navy)
}

.facility-card:nth-child(1) i,.facility-card:nth-child(4) i {
    color: var(--orange)
}

.facility-card h3 {
    font-size: .9rem;
    margin: 12px 0 0
}

.academic-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.05)
}

.academic-card img {
    width: 100%;
    height: 220px;
    object-fit: cover
}

.academic-card div {
    padding: 22px
}

.academic-card h3 {
    font-size: 1.25rem
}

.academic-card b {
    color: #0b3691
}

.academic-card p {
    font-size: .88rem;
    margin-top: 10px
}

.stats {
    background: linear-gradient(90deg,#063971,#001f4c);
    padding: 25px 0;
    color: #fff
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4,1fr)
}

.stats .container>div {
    display: grid;
    grid-template-columns: 55px auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.35)
}

.stats .container>div:last-child {
    border: 0
}

.stats i {
    grid-row: 1/3;
    color: var(--orange);
    font-size: 2.3rem
}

.stats b {
    font-size: 1.75rem;
    color: var(--orange)
}

.stats span {
    font-size: .8rem
}

.testimonials {
    padding-bottom: 65px
}

.testimonial-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    padding: 20px 70px 50px
}

.testimonial-row blockquote {
    background: #fff;
    border: 1px solid #e1e7ee;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center
}

.testimonial-row blockquote:before {
    content: "“";
    display: block;
    color: var(--orange);
    font-size: 3rem;
    line-height: .5
}

.testimonial-row b,.testimonial-row small {
    display: block;
    color: #07338b;
    margin-top: 12px
}

.testimonial-row small {
    color: #6b7280
}

.testimonials .carousel-control-prev,.testimonials .carousel-control-next {
    width: 45px;
    height: 45px;
    background: var(--navy);
    border-radius: 50%;
    top: 42%
}

.testimonials .carousel-indicators button {
    background-color: var(--orange)
}

.difference {
    background: #eef5ff;
    position: relative
}

.difference-image {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow)
}

.difference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.difference-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(3,40,90,.09)
}

.difference-card span {
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    padding: 7px;
    font-size: .75rem
}

.difference-card i {
    color: var(--orange);
    font-size: 1.8rem;
    margin-left: 10px
}

.difference-card h3 {
    font-size: 1rem;
    margin-top: 15px
}

.difference-card p {
    font-size: .85rem;
    margin: 0
}

.hover-lift {
    transition: transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 22px 50px rgba(3,40,90,.18)
}

footer {
    position: relative;
    background: var(--navy2);
    color: #dbe8f7;
    padding: 60px 0 0
}

footer h3 {
    color: var(--orange);
    font-size: 1.12rem;
    font-weight: 800
}

footer a,footer span {
    display: block;
    color: #dbe8f7;
    text-decoration: none;
    font-size: .86rem;
    margin-bottom: 6px
}

footer a:hover {
    color: var(--orange);
    padding-left: 4px
}

.footer-brand a {
    display: inline-block;
    margin-right: 12px
}

.footer-brand h3 {
    color: #fff
}

.copyright {
    background: #02152f;
    margin-top: 35px;
    padding: 16px 0
}

.copyright a {
    color: var(--orange);
    font-weight: 800
}

.back-top {
    position: absolute;
    right: 34px;
    top: -24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    box-shadow: var(--shadow);
    z-index: 3
}

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 26px;
    background: #fff;
    border-radius: 18px;
    padding: 10px 10px 10px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #222;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(0,0,0,.2);
    z-index: 20
}

.whatsapp span b,.whatsapp span small {
    display: block
}

.whatsapp i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #16bf66;
    color: #fff;
    font-size: 1.8rem
}

.reveal,.reveal-left,.reveal-right {
    opacity: 0;
    transition: opacity .85s ease,transform .85s cubic-bezier(.2,.8,.2,1)
}

.reveal {
    transform: translateY(35px)
}

.reveal-left {
    transform: translateX(-45px)
}

.reveal-right {
    transform: translateX(45px)
}

.is-visible {
    opacity: 1;
    transform: none
}

@keyframes menuIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(min-width: 992px) {
    .navbar .dropdown:hover>.dropdown-menu {
        display:block;
        margin-top: 0
    }

    .navbar .dropdown-toggle:active {
        pointer-events: none
    }
}

@media(max-width: 991px) {
    .brand b {
        font-size:1.2rem
    }

    .header-contact {
        display: none!important
    }

    .navbar-collapse {
        padding: 15px
    }

    .feature-panel {
        grid-template-columns: 1fr 1fr
    }

    .hero .carousel-item {
        height: 520px
    }

    .hero-copy h1 {
        font-size: 3rem
    }

    .facility-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .testimonial-row {
        grid-template-columns: 1fr
    }

    .testimonial-row blockquote:nth-child(n+2) {
        display: none
    }

    .difference-grid {
        grid-template-columns: 1fr
    }

    .stats .container {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .stats .container>div {
        border: 0
    }
}

@media(max-width: 575px) {
    .topbar {
        font-size:.67rem
    }

    .brand img {
        width: 55px;
        height: 55px
    }

    .brand b {
        font-size: 1rem
    }

    .brand small {
        font-size: .67rem
    }

    .hero .carousel-item {
        height: 480px
    }

    .hero-copy h1 {
        font-size: 2.35rem
    }

    .hero-copy p {
        font-size: 1rem
    }

    .feature-wrap {
        margin-top: -20px
    }

    .feature-panel {
        grid-template-columns: 1fr
    }

    .section {
        padding: 55px 0
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr
    }

    .stats .container {
        grid-template-columns: 1fr
    }

    .difference-grid {
        grid-template-columns: 1fr
    }

    .whatsapp span {
        display: none
    }

    .whatsapp {
        padding: 8px
    }

    .whatsapp i {
        width: 44px;
        height: 44px
    }

    .testimonial-row {
        padding-left: 45px;
        padding-right: 45px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important;
        transition: none!important;
        animation: none!important
    }

    .reveal,.reveal-left,.reveal-right {
        opacity: 1;
        transform: none
    }
}

/* Mobile header, WhatsApp and footer-credit refinements */
.mobile-phone {
    display: none
}

.copyright a i {
    transition: transform .3s ease
}

.copyright a:hover i {
    transform: translateX(4px)
}

@media(max-width: 575px) {
    .topbar .container {
        gap:8px
    }

    .topbar-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px
    }

    .mobile-phone {
        display: inline-flex!important;
        align-items: center;
        gap: 5px;
        margin-left: 0!important;
        font-size: .72rem;
        font-weight: 700;
        text-decoration: none
    }

    .social-links {
        white-space: nowrap;
        align-self: center
    }

    .social-links a {
        margin-left: 10px
    }

    .navbar .container {
        justify-content: flex-start;
        min-height: 50px
    }

    .whatsapp {
        box-sizing: border-box;
        right: 10px;
        bottom: 14px;
        width: auto;
        max-width: calc(100vw - 20px);
        min-width: 245px
    }

    .back-top {
        display: grid!important;
        right: 16px;
        top: -24px
    }

    .copyright .container {
        padding-right: 72px
    }

    .copyright a {
        display: flex;
        align-items: center;
        margin-top: 5px
    }
}

/* Interaction corrections */
.hero .carousel-item {
    transition: opacity .9s ease-in-out
}

.hero .carousel-control-prev,.hero .carousel-control-next {
    z-index: 6
}

.hero .carousel-indicators {
    z-index: 7
}

.brand img,.footer-brand img {
    background: #fff;
    border: 2px solid rgba(214,155,45,.6);
    padding: 2px
}

.whatsapp {
    isolation: isolate;
    animation: whatsappFloat 2.8s ease-in-out infinite
}

.whatsapp i {
    position: relative;
    z-index: 2;
    animation: whatsappIconPulse 1.8s ease-in-out infinite
}

.whatsapp:after {
    content: "";
    position: absolute;
    right: 10px;
    width: 48px;
    height: 48px;
    border: 2px solid #20c66a;
    border-radius: 50%;
    z-index: -1;
    animation: whatsappRipple 1.8s ease-out infinite
}

.back-top {
    border: 2px solid rgba(255,255,255,.9);
    animation: arrowFloat 2s ease-in-out infinite
}

.back-top:hover {
    color: #fff;
    background: #ff8b28;
    transform: translateY(-4px);
    padding-left: 0
}

@keyframes whatsappFloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

@keyframes whatsappIconPulse {
    0%,100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

@keyframes whatsappRipple {
    0% {
        opacity: .75;
        transform: scale(.9)
    }

    75%,100% {
        opacity: 0;
        transform: scale(1.65)
    }
}

@keyframes arrowFloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* Multi-page navigation and inner pages */
.nav-icon {
    margin-right: 7px;
    font-size: .78rem;
    color: #ff9b46
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px
}

.dropdown-item i {
    width: 18px;
    color: var(--orange);
    text-align: center
}

.navbar-brand {
    font-weight: 800;
    color: #fff!important
}

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    color: #fff;
    background: linear-gradient(120deg,rgba(2,31,70,.97),rgba(7,56,109,.88)),url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=80') center/cover
}

.inner-hero:after {
    content: "";
    position: absolute;
    right: -80px;
    top: -130px;
    width: 360px;
    height: 360px;
    border: 55px solid rgba(244,123,21,.16);
    border-radius: 50%
}

.inner-hero .container {
    position: relative;
    z-index: 2
}

.inner-hero>.container>i {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    border-radius: 18px;
    background: var(--orange);
    font-size: 1.7rem
}

.inner-hero span {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.inner-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: .45rem 0
}

.inner-hero p {
    max-width: 720px;
    font-size: 1.1rem
}

.inner-hero nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: .86rem
}

.inner-hero nav a {
    color: #fff;
    text-decoration: none
}

.inner-hero nav span {
    color: #ffb16e;
    font-size: .8rem
}

.inner-card {
    height: 100%;
    padding: 32px;
    border: 1px solid #e3eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow)
}

.inner-card>span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800
}

.manager-message-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4fb;
    color: var(--navy);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .02em
}

.manager-message-label i {
    color: var(--orange)
}

.inner-card h2 {
    font-size: 1.25rem;
    margin: 18px 0 10px
}

.inner-card p {
    margin: 0;
    line-height: 1.75
}

.inner-strip {
    padding: 34px 0;
    background: linear-gradient(90deg,var(--navy2),var(--navy));
    color: #fff
}

.inner-strip span {
    color: var(--orange);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem
}

.inner-strip h2 {
    margin: 3px 0 0;
    font-weight: 800
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.gallery-grid figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 16px;
    box-shadow: var(--shadow)
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .5s
}

.gallery-grid figure:hover img {
    transform: scale(1.07)
}

.gallery-grid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 18px 16px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(transparent,rgba(2,31,70,.9))
}

.gallery-grid figure img{cursor:zoom-in}.gallery-grid figure img:focus-visible{outline:4px solid var(--orange);outline-offset:-4px}.lightbox-open{overflow:hidden}.gallery-lightbox{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:70px 85px;background:rgba(0,13,31,.94);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}.gallery-lightbox.is-open{opacity:1;visibility:visible}.gallery-lightbox figure{max-width:min(1100px,90vw);max-height:86vh;margin:0;text-align:center}.gallery-lightbox figure img{display:block;max-width:100%;max-height:78vh;margin:auto;border:4px solid #fff;border-radius:12px;object-fit:contain;box-shadow:0 24px 70px rgba(0,0,0,.45)}.gallery-lightbox figcaption{margin-top:12px;color:#fff;font-size:1rem;font-weight:700}.gallery-lightbox button{position:absolute;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:var(--navy);font-size:1.2rem;box-shadow:0 8px 25px rgba(0,0,0,.25);transition:transform .2s,background .2s,color .2s}.gallery-lightbox button:hover{background:var(--orange);color:#fff;transform:scale(1.08)}.gallery-lightbox-close{top:22px;right:24px}.gallery-lightbox-prev{left:24px;top:50%;transform:translateY(-50%)}.gallery-lightbox-next{right:24px;top:50%;transform:translateY(-50%)}.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{transform:translateY(-50%) scale(1.08)}

@media (max-width:767.98px){.gallery-lightbox{padding:64px 16px 90px}.gallery-lightbox figure{max-width:100%}.gallery-lightbox figure img{max-height:70vh}.gallery-lightbox-prev,.gallery-lightbox-next{top:auto;bottom:22px;transform:none}.gallery-lightbox-prev{left:calc(50% - 62px)}.gallery-lightbox-next{right:calc(50% - 62px)}.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{transform:scale(1.08)}}

.admission-cta {
    height: 100%;
    padding: 36px;
    border-radius: 18px;
    background: linear-gradient(135deg,var(--orange),#ff9b38);
    color: #fff;
    box-shadow: var(--shadow)
}

.admission-cta>i {
    font-size: 3rem
}

.admission-cta h2 {
    color: #fff;
    margin-top: 18px
}

.check-list {
    padding: 0;
    list-style: none
}

.check-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e7edf4
}

.check-list i {
    margin-right: 10px;
    color: var(--orange)
}

.contact-list p {
    position: relative;
    padding-left: 50px;
    margin-bottom: 24px
}

.contact-list p>i {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff1e6;
    color: var(--orange)
}

.contact-list b,.contact-list a {
    display: block;
    color: var(--navy);
    text-decoration: none
}

.nav-link.active {
    color: #ff9b46!important
}

@media(max-width: 991px) {
    .navbar .container {
        align-items:center
    }

    .navbar-toggler {
        border-color: rgba(255,255,255,.65)
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 .18rem rgba(244,123,21,.38)
    }

    .navbar-collapse {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        background: var(--navy2)
    }

    .navbar-nav {
        padding: .5rem 0
    }

    .navbar .nav-link {
        display: flex;
        align-items: center;
        margin: 0;
        padding: .8rem .4rem;
        border-bottom: 1px solid rgba(255,255,255,.1)
    }

    .navbar .dropdown-menu {
        margin: 0 0 7px;
        border-radius: 8px
    }

    .nav-apply {
        display: block;
        margin: .75rem 0;
        width: 100%;
        text-align: center
    }

    .inner-hero {
        padding: 62px 0
    }

    .inner-hero h1 {
        font-size: 2.35rem
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width: 575px) {
    .gallery-grid {
        grid-template-columns:1fr
    }

    .inner-hero h1 {
        font-size: 2rem
    }

    .inner-content {
        padding-top: 45px
    }

    .whatsapp {
        right: 12px;
        bottom: 16px;
        width: calc(100% - 24px);
        max-width: 300px;
        justify-content: space-between;
        padding: 9px 9px 9px 16px;
        border-radius: 16px
    }

    .whatsapp span {
        display: block!important
    }

    .whatsapp span b {
        font-size: .88rem
    }

    .whatsapp span small {
        font-size: .72rem
    }

    .whatsapp:after {
        right: 9px
    }

    .back-top {
        right: 18px
    }
}

/* Final footer and mobile refinements */
.footer-link-list>a {
    position: relative;
    padding-left: 15px
}

.footer-link-list>a:before {
    content: "›";
    position: absolute;
    left: 0;
    top: -1px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--orange);
    transition: transform .3s ease
}

.footer-link-list>a:hover {
    padding-left: 19px
}

.footer-link-list>a:hover:before {
    transform: translateX(4px)
}

.whatsapp {
    bottom: 44px
}

@media(max-width: 575px) {
    .date-time {
        display:none!important
    }

    .whatsapp {
        bottom: 76px
    }

    .copyright a i {
        display: none!important
    }
}

/* Explicit footer icons and logo-aligned navigation */
.footer-link-list>a:before {
    content: none!important
}

.footer-link-list>a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0
}

.footer-link-list>a:hover {
    padding-left: 4px
}

.footer-link-icon {
    width: 10px;
    color: var(--orange);
    font-size: .75rem;
    flex: 0 0 10px
}

@media(min-width: 992px) {
    .navbar-nav.me-auto {
        margin-left:0!important;
        margin-right: auto!important
    }

    .navbar .nav-link:first-child {
        margin-left: 0
    }
}

/* School logo and name spacing */
.brand {
    gap: 14px
}

@media(max-width: 575px) {
    .brand {
        gap:10px
    }
}
