{{-- ----------------------------------------------------------------------------------------- --}}
{{--                                VISSION MISSION OBJ SECTION                                --}}
{{-- ----------------------------------------------------------------------------------------- --}}
.vmo-card {
    position: relative;
    height: 480px;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7eefa;
    box-shadow: 0 10px 30px rgba(17, 52, 120, 0.06);
    transform: translateY(0);
    transition: transform .55s cubic-bezier(.22,.8,.3,1),
                box-shadow .55s ease,
                border-color .55s ease;
    isolation: isolate;
}
.vmo-card__inner { padding: 44px 48px 46px; }
.vmo-card__img {
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity .6s ease, transform 1.1s cubic-bezier(.22,.8,.3,1);
    z-index: 1;
}
.vmo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 37, 88, 0) 0%,
        rgba(10, 37, 88, 0) 44%,
        rgba(11, 42, 102, .88) 54%,
        #0b2a66 62%,
        #0a2558 100%);
    opacity: 0;
    transition: opacity .6s ease;
    z-index: 2;
}
.vmo-card__blob {
    position: absolute;
    top: -70px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #eef4fd;
    transition: opacity .5s ease, transform .6s ease;
    z-index: 0;
}
.vmo-card__icon {
    width: 104px;
    height: 104px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f1fd;
    color: #0b1f4d;
    transition: background-color .5s ease, color .5s ease, box-shadow .5s ease, transform .5s ease;
}
.vmo-card__spacer {
    flex: 0 0 34px;
    transition: flex-grow .6s cubic-bezier(.22,.8,.3,1);
}
.vmo-card__title,
.vmo-card__title a { color: #0b1f4d; transition: color .45s ease; }
.vmo-card__line  { background: #1565d8; transition: background-color .45s ease; }
.vmo-card__desc,
.vmo-card__desc * { color: #5b6475; transition: color .45s ease; }
.vmo-card__desc p { margin: 0; }
.vmo-card__foot {
    flex-direction: column;
    align-items: flex-start;
}
.vmo-card__arrow {
    border: 1.5px solid #1565d8;
    color: #1565d8;
    background: transparent;
    transition: background-color .45s ease, color .45s ease, border-color .45s ease, transform .35s ease, box-shadow .45s ease;
}
.vmo-card:hover {
    transform: translateY(-14px);
    border-color: #1a5fd0;
    box-shadow: 0 30px 60px rgba(21, 101, 216, .25);
}
.vmo-card:hover .vmo-card__img {
    opacity: 1;
    transform: scale(1);
}
.vmo-card:hover .vmo-card__overlay {
    opacity: 1;
}
.vmo-card:hover .vmo-card__blob {
    opacity: 0;
    transform: scale(.7);
}
.vmo-card:hover .vmo-card__icon {
    background: #0b2a66;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(5, 20, 60, .35);
    transform: translateY(-14px);
}
.vmo-card:hover .vmo-card__spacer {
    flex-grow: 1;
}
.vmo-card:hover .vmo-card__title,
.vmo-card:hover .vmo-card__title a {
    color: #ffffff !important;
}
.vmo-card:hover .vmo-card__line {
    background: #ffffff;
}
.vmo-card:hover .vmo-card__desc,
.vmo-card:hover .vmo-card__desc * {
    color: #ffffff !important;
}
.vmo-card:hover .vmo-card__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.vmo-card:hover .vmo-card__arrow {
    background: #1a6ae0;
    border-color: #1a6ae0;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(26, 106, 224, .45);
}
.vmo-card .vmo-card__arrow:hover {
    transform: translateX(4px);
}
@media (max-width: 1199px) {
    .vmo-card { height: 460px; }
    .vmo-card__inner { padding: 36px 34px 38px; }
    .vmo-card__title { font-size: 30px !important; }
}
@media (max-width: 575px) {
    .vmo-card { height: 440px; }
    .vmo-card__inner { padding: 30px 26px 32px; }
    .vmo-card__icon { width: 88px; height: 88px; }
    .vmo-card__icon svg { width: 38px; height: 38px; }
    .vmo-card__arrow { width: 54px !important; height: 54px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .vmo-card, .vmo-card * { transition: none !important; }
}


/* =========================================================
   Admission section
   (only what inline styles can't do: hover, pseudo states,
    responsive sizes)
   ========================================================= */

/* White box inner spacing */
.adm-box { padding: 76px 56px; }

/* Second line of the heading in blue.
   In the admin sub_title field wrap the words in <span>:
   Join Us for a Journey of <span>Growth and Learning</span> */
.adm-title span { color: #1a64d6; }.adm-desc p { margin: 0; }

/* ---------- Feature cards ---------- */
.adm-card {
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.adm-card:hover {
    transform: translateY(-5px);
    border-color: #cfe0f8 !important;
    box-shadow: 0 18px 38px rgba(20, 70, 160, .14) !important;
}

.adm-card__icon { transition: transform .35s ease; }
.adm-card:hover .adm-card__icon { transform: scale(1.06); }

.adm-card__arrow {
    background: #eef4fd;
    color: #1a64d6;
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.adm-card:hover .adm-card__arrow {
    background: #1a64d6;
    color: #ffffff;
    transform: translateX(3px);
}

/* ---------- Button ---------- */
.adm-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all .3s ease-out 0s;
}
.adm-btn::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #F58220;
    z-index: -1;
    transition-duration: 800ms;
}
.adm-btn:hover,
.adm-btn:focus-visible {
    color: #ffffff !important;
    background: #2166B5 !important;
}
.adm-btn:hover::before,
.adm-btn:focus-visible::before { top: -40%; }
.adm-btn__icon { transition: all .3s ease-out 0s; }
.adm-btn:hover .adm-btn__icon { transform: rotate(-45deg); }

/* ---------- Collage ---------- */
.adm-collage { height: 600px; }
.adm-collage--single { height: 560px; }

.adm-ph {
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 44px rgba(13, 44, 107, .16);
    transition: transform .5s ease, box-shadow .5s ease;
}
.adm-ph:hover {
    transform: scale(1.03);
    box-shadow: 0 26px 54px rgba(13, 44, 107, .24);
    z-index: 5 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .adm-box { padding: 60px 40px; }
    .adm-collage { height: 580px; }
}

@media (max-width: 991px) {
    .adm-section { padding: 60px 0 !important; }
    .adm-collage { height: 560px; margin-top: 10px; }
    .adm-collage--single { height: 440px; }
}

@media (max-width: 575px) {
    .adm-box { padding: 40px 20px; border-radius: 22px !important; }
    .adm-card { padding: 14px 52px 14px 12px !important; }
    .adm-card__icon { flex-basis: 60px !important; width: 60px !important; height: 60px !important; }
    .adm-foot { flex-wrap: wrap !important; }
    .adm-note { flex-basis: 100% !important; padding-left: 0 !important; border-left: 0 !important; }
    .adm-collage { height: 420px; }
    .adm-collage--single { height: 320px; }
    .adm-ph { border-width: 4px; border-radius: 14px; }
}


/* =========================================================
   Overview / Curriculum / Assessment (accordion cards)
   Desktop: hovered card widens and its photo slides in.
   Mobile : swipe slider with arrow buttons.
   ========================================================= */
.pil-section { padding: 80px 0; background: #ffffff; }

.pil-acc { display: flex; gap: 16px; height: 440px; }

.pil-item {
    position: relative;
    display: flex;
    flex: 1 1 0;
    gap: 0;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    background: #ffffff;
    border: 1px solid rgba(224, 231, 255, .7);
    border-radius: 16px;
    box-shadow: 0 10px 40px -12px rgba(99, 102, 241, .18);
    transition: flex-grow .7s cubic-bezier(.22, 1, .36, 1), gap .7s cubic-bezier(.22, 1, .36, 1), box-shadow .7s ease;
}
.pil-item.is-active { flex-grow: 2.1; gap: 16px; box-shadow: 0 18px 44px -12px rgba(99, 102, 241, .28); }
.pil-item:focus-visible { box-shadow: 0 0 0 2px #818cf8; }

/* Text panel */
.pil-item__text {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-between;
    min-width: 230px;
    padding: 22px;
    border-radius: 12px;
    background: linear-gradient(to bottom, rgba(238, 242, 255, .8), #ffffff);
}

.pil-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #1a5bb5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08), 0 0 0 1px #e0e7ff;
}

.pil-item__title { margin: 0 0 6px; font-size: 26px; font-weight: 800; line-height: 1.2; color: #0d3a8c; }
.pil-item__sub { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #1d2433; }
.pil-item__desc { margin-bottom: 18px; font-size: 15px; line-height: 1.6; color: #4a5263; }
.pil-item__desc p { margin: 0; }
/* Theme/admin content forces "justify" (also via inline styles on nested tags),
   which makes big gaps between words in a narrow column. Force left on everything inside. */
.pil-item__desc,
.pil-item__desc * {
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    hyphens: manual;
}

/* Photo panel: hidden (0 width) until the card is active */
.pil-item__media {
    position: relative;
    flex-shrink: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    border-radius: 12px;
    transition: width .7s cubic-bezier(.22, 1, .36, 1), opacity .7s cubic-bezier(.22, 1, .36, 1);
}
.pil-item.is-active .pil-item__media { width: 48%; opacity: 1; }

.pil-item__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.1);
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}
.pil-item.is-active .pil-item__media img { transform: scale(1); }

/* Mobile arrows (desktop hidden) */
.pil-nav { display: none; }

/* Footer line under the cards */
.pil-cta {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}
.pil-cta h5 { margin: 0; font-size: 22px; color: #1d2433; }

/* Responsive */
@media (max-width: 1199px) {
    .pil-acc { height: 470px; }
    .pil-item__title { font-size: 22px; }
}

@media (max-width: 991px) {
    .pil-section { padding: 60px 0; }

    /* Swipe slider */
    .pil-acc {
        height: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .pil-acc::-webkit-scrollbar { display: none; }

    .pil-item,
    .pil-item.is-active {
        flex: 0 0 100%;
        flex-direction: column;
        gap: 12px;
        scroll-snap-align: start;
    }
    .pil-item__text { flex: none; min-width: 0; }
    .pil-item__body { margin-top: 24px; }

    .pil-item__media,
    .pil-item.is-active .pil-item__media { width: 100%; height: 240px; opacity: 1; }
    .pil-item__media img { transform: none !important; }

    .pil-nav { display: flex; justify-content: center; gap: 16px; margin-top: 28px; }
    .pil-nav__btn {
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 16px;
        background: #f4f4f5;
        color: #000000;
        cursor: pointer;
        transition: background-color .2s ease, transform .1s ease;
    }
    .pil-nav__btn:hover { background: #e4e4e7; }
    .pil-nav__btn:active { transform: scale(.95); }
}
