﻿:root {
    --navy: #1a3c6e;
    --sky: #bfe9f7;
    --orange: #ff8a1f;
    --green: #0b7d3e;
    --red: #a32828;
    --ink: #14213d;
    --yellow: #f5d90a;
    --cream: #fdf9e3;
    --pis-green: #0a6b40;
    --pis-green-dark: #054d2e;
    --pis-green-light: #128052;
    --pis-gold: #d4a017;
    --pis-gold-light: #f5d060;
    --pis-cream: #f4faf7;
    --pis-shadow: 0 4px 24px rgba(5, 77, 46, 0.14);
    --cal-ink: #163f86; /* dates / heading ka dark blue */
    --cal-bg: #d6e6ff; /* card ka light blue */
    --cal-head: #cddffb; /* SUN-SAT wali band */
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    overflow-x: hidden
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif
}

.sec-title {
    color: var(--orange);
    font-weight: 800;
    text-transform: uppercase
}

/* Announcement */
.announce {
    display: flex;
    align-items: center;
    background: #fff
}

    .announce .label {
        background: var(--navy);
        color: #fff;
        padding: 14px 40px 14px 24px;
        clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
        font-size: .9rem;
        white-space: nowrap
    }

        .announce .label i {
            color: #ffc107;
            margin-left: 6px
        }

    .announce .owl-carousel {
        flex: 1;
        min-width: 0
    }

    .announce .item {
        padding: 12px 20px;
        font-size: 1rem
    }

    .announce .nav-btns {
        display: flex;
        gap: 6px;
        padding-right: 20px
    }

        .announce .nav-btns button {
            background: var(--navy);
            color: #fff;
            border: 0;
            width: 34px;
            height: 34px;
            border-radius: 4px
        }

/* Header */
.top {
    background: var(--sky);
    position: relative
}

    .top .logo {
        font-family: 'Montserrat';
        font-weight: 800;
        color: #fff;
        font-size: 2rem;
        letter-spacing: 1px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 12px
    }

        .top .logo span.crest {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--navy);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            border: 3px solid #fff
        }

.logo_img {
    max-width: 30%;
    height: auto;
}

@media(max-width:768px) {
    .logo_img {
        max-width: 100%;
    }
}


.btn-navy {
    background: var(--navy);
    color: #fff;
    border-radius: 0;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: 1px;
    padding: 14px 22px;
    border: 0
}

    .btn-navy:hover {
        background: #ff8a1f;
        color: #fff
    }

.mainnav {
    background: var(--navy);
    border-radius: 10px;
    padding: 4px 12px
}

    .mainnav .nav-link {
        color: #fff;
        font-weight: 600;
        font-size: .8rem;
        text-transform: uppercase;
        padding: .35rem .6rem;
        font-family: 'Montserrat'
    }

        .mainnav .nav-link:hover {
            color: var(--orange)
        }

    .mainnav .navbar-toggler {
        border-color: #fff
    }

    .mainnav .navbar-toggler-icon {
        filter: invert(1)
    }


    /* ===== Dropdown menu ka look (navy + orange hover) ===== */
    .mainnav .dropdown-menu {
        background: var(--navy);
        border: 0;
        border-radius: 10px;
        padding: 8px 0;
        margin-top: 0; /* gap hatao, warna hover beech me toot jata hai */
        min-width: 220px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
    }

    .mainnav .dropdown-item {
        color: #fff;
        font-size: .85rem;
        font-weight: 500;
        padding: 9px 20px;
        transition: background .2s, padding-left .2s;
    }

        .mainnav .dropdown-item:hover,
        .mainnav .dropdown-item:focus {
            background: var(--orange);
            color: #fff;
            padding-left: 26px; /* hover par halka slide */
        }

/* Open hone ka animation */
@keyframes ddFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mainnav .dropdown-menu.show {
    animation: ddFade .25s ease;
}

/* Last wala menu (Contact) screen se bahar na jaye */
.mainnav .navbar-nav > .dropdown:last-child > .dropdown-menu {
    right: 0;
    left: auto;
}

/* ===== Desktop (mouse wale): HOVER par open, hatane par band ===== */
@media (min-width: 992px) and (hover: hover) {
    .mainnav .dropdown:hover > .dropdown-menu {
        display: block;
        animation: ddFade .25s ease;
    }

    .mainnav .dropdown:hover > .nav-link {
        color: var(--orange);
    }
}

/* ===== Mobile / tablet: click se khulta hai, menu collapse ke andar ===== */
@media (max-width: 991px) {
    .mainnav .dropdown-menu {
        background: rgba(255, 255, 255, .08);
        box-shadow: none;
        border-radius: 6px;
        animation: none;
    }

    .mainnav .navbar-nav {
        padding: 8px 0;
    }
}

/*================ new_notice section =====================*/
.notice_news {
    margin-top: 0;
    padding: 0;
    position: relative;
    z-index: 9;
    overflow: hidden;
}

.notice_news-inner {
    display: flex;
    align-items: stretch;
    min-height: 46px;
}

.notice_news-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef59c 0%, var(--pis-gold) 100%);
    color: #1a2e1f;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 20px;
    white-space: nowrap;
    box-shadow: 3px 0 14px rgba(0, 0, 0, 0.18);
    z-index: 2;
    flex-shrink: 0;
}

    .notice_news-badge i {
        font-size: 14px;
    }

.notice_news-ticker {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 6px 14px;
    overflow: hidden;
}

    .notice_news-ticker marquee {
        width: 100%;
        margin: 0;
    }

.notice_news-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 48px;
    padding: 2px 0;
}

    .notice_news-item .notice-dot {
        width: 7px;
        height: 7px;
        background: var(--pis-gold-light);
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 0 6px rgba(245, 208, 96, 0.6);
    }

.notice_news-item-date,
.notice_news .newss {
    color: #022c6c !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.notice_news-item-text {
    color: #525252 !important;
    font-size: 15px !important;
}

.notice_news .new_highlight {
    color: #525252;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
}

    .notice_news .new_highlight:before {
        background: radial-gradient(#fff, #0000);
        content: "";
        height: 100%;
        left: 100%;
        position: absolute;
        top: 0;
        width: 2px;
        z-index: 9;
    }

@media (max-width: 767px) {
    .notice_news-inner {
        flex-direction: column;
    }

    .notice_news-badge {
        justify-content: center;
        padding: 8px 16px;
        font-size: 11px;
    }

    .notice_news-ticker {
        padding: 8px 10px;
    }
}

/*-- New Notice css -- */
.notice-itemm {
    display: inline-flex;
    align-items: center;
}

.notice-new-tag {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
    margin-right: 6px;
    animation: noticeBlink 1s infinite;
}

/* Blink + Pulse Effect */
@keyframes noticeBlink {

    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255,0,0,0.7);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
        box-shadow: 0 0 10px rgba(255,0,0,0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255,0,0,0);
    }
}
/*-- New Notice css END -- */
/* new_notice section end */

/* Full notice list (below ticker, for accessibility / no-JS fallback feel) */
.notice-list-section {
    padding: 100px 0 30px;
    background: linear-gradient(45deg, #ffffffeb, #ffffffc7), url(../images/04.jpg);
}

.notice-card-list {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 8px;
}

.notice-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid #f0ece0;
}

    .notice-row:last-child {
        border-bottom: none;
    }

.notice-date-badge {
    background: var(--royal-blue);
    color: #fff;
    border-radius: 12px;
    min-width: 64px;
    text-align: center;
    padding: 8px 4px;
    font-family: var(--font-display);
    line-height: 1.1;
}

    .notice-date-badge .day {
        font-size: 1.3rem;
        font-weight: 700;
        display: block;
    }

    .notice-date-badge .mon {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--golden);
    }

.notice-row h6 {
    margin: 0 0 2px;
    font-weight: 600;
    font-size: 0.98rem;
}

.notice-row p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
}


.notice-card-list {
    height: 350px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

#noticeScroller {
    position: relative;
}



.notice-new-tag {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
    margin-right: 6px;
    animation: noticeBlink 1s infinite;
}

/* Blink + Pulse Effect */
@keyframes noticeBlink {

    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255,0,0,0.7);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
        box-shadow: 0 0 10px rgba(255,0,0,0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255,0,0,0);
    }
}

.bell-animation {
    color: #ffc107;
    animation: ring 1.5s infinite;
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}



/* Hero */
.hero {
    background: var(--sky);
    padding: 40px 0 140px;
    position: relative
}

    .hero h1 {
        font-size: clamp(3rem, 8vw, 5.6rem);
        font-weight: 800;
        color: var(--navy);
        line-height: .95;
        margin: 0
    }

    .hero h2 {
        font-size: clamp(1.8rem, 4vw, 3rem);
        font-weight: 800;
        color: var(--navy)
    }

    .hero p {
        text-align: justify;
        color: var(--navy);
        max-width: 600px
    }

    .hero .img-wrap {
        border-radius: 50% 0 0 50%/40% 0 0 40%;
        overflow: hidden;
        -webkit-mask-image: radial-gradient(circle at 60% 50%, #000 55%, transparent 75%);
        mask-image: radial-gradient(circle at 60% 50%, #000 55%, transparent 75%)
    }

        .hero .img-wrap img {
            width: 100%;
            height: 460px;
            object-fit: cover
        }

.btn-black {
    background: #000;
    color: #fff;
    border-radius: 0;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: .8rem;
    padding: 24px 10px;
    width: 100%;
    transition: .3s;
    border: 0
}

    .btn-black:hover {
        background: var(--orange);
        color: #fff
    }

/* Quick cards */
/*.quick {
    margin-top: -110px;
    position: relative;
    z-index: 5
}

.q-card {
    border-radius: 22px 22px 22px 0;
    color: #fff;
    text-align: center;
    padding: 26px 18px;
    height: 100%;
    transition: transform .3s, box-shadow .3s
}

    .q-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 35px rgba(0, 0, 0, .25)
    }

    .q-card i {
        font-size: 3rem;
        margin-bottom: 10px
    }

    .q-card h3 {
        font-weight: 800;
        font-size: 1.6rem
    }

    .q-card p {
        font-size: .85rem;
        margin: 0
    }

    .q-card a {
        color: #fff;
        display: block;
        text-decoration: none;
        margin: 12px 0;
        font-weight: 500
    }

        .q-card a:hover {
            text-decoration: underline
        }

.bg-green {
    background: var(--green)
}

.bg-navy {
    background: var(--navy)
}

.bg-red {
    background: var(--red)
}*/

/* About */
/*.about {
    background: linear-gradient(120deg, var(--sky) 40%, #6fa8c0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden
}

    .about p {
        max-width: 470px
    }

    .about img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%)
    }*/

/* Purane .quick, .q-card, .about wale saare CSS ko is poore block se replace karo */

/* Hero ke neeche cards ke liye jagah chahiye */
.hero {
    padding-bottom: 150px;
}

/* ===== ABOUT (section) ===== */
.about {
    position: relative;
    min-height: 580px;
    background: linear-gradient(120deg, var(--sky) 35%, #6fa8c0 100%);
    /* overflow visible rakho, warna cards upar se cut ho jayenge */
}

/* ===== Background layer ===== */
.about-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

    /* Left diagonal light band */
    .about-bg .band {
        position: absolute;
        inset: 0;
        background: linear-gradient(100deg, rgba(255,255,255,.45), rgba(60,140,170,.55));
        clip-path: polygon(13.5% 0, 21% 0, 44.5% 100%, 37% 100%);
    }

    /* Right image with diagonal left edge */
    .about-bg .about-img {
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        object-fit: cover;
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    }

    /* White diagonal stripes on far right */
    .about-bg .stripe {
        position: absolute;
        background: rgba(255,255,255,.92);
    }

    .about-bg .s1 {
        right: 0;
        top: 32%;
        width: 14%;
        height: 52%;
        clip-path: polygon(0 0, 35% 0, 100% 100%, 100% 100%, 0 0);
        clip-path: polygon(0 0, 30% 0, 100% 100%, 70% 100%);
    }

    .about-bg .s2 {
        right: 4%;
        bottom: 0;
        width: 10%;
        height: 14%;
        clip-path: polygon(0 0, 35% 0, 100% 100%, 65% 100%);
    }

/* ===== Text ===== */
.about-text {
    position: relative;
    z-index: 2;
    padding: 115px 0 60px 6.4%;
}

    .about-text .sec-title {
        font-size: clamp(2.6rem, 5vw, 3.5rem);
        margin-bottom: 36px;
    }

    .about-text p {
        max-width: 450px;
        font-size: .95rem;
        line-height: 1.32;
        color: var(--ink);
    }

    .about-text .hl {
        color: var(--navy);
        font-size: 1.2em;
    }

/* ===== Quick cards (about ke upar overlap) ===== */
.quick-cards {
    position: absolute;
    top: -100px;
    left: 41.5%;
    right: 7.8%;
    z-index: 5;
    display: flex;
    align-items: flex-start; /* cards ki height apni apni rahegi */
    gap: 20px;
}

.q-card {
    flex: 1;
    color: #fff;
    text-align: center;
    padding: 14px 16px 18px;
    border-radius: 22px;
    transition: transform .3s, box-shadow .3s;
}

    .q-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
    }

    /* Original jaisa staggered (upar-neeche) look */
    .q-card.bg-green {
        margin-top: 19px;
    }

    .q-card.bg-navy {
        margin-top: 0;
    }

    .q-card.bg-red {
        margin-top: 14px;
    }

    .q-card i {
        font-size: 3.6rem;
        margin-bottom: 8px;
        display: block;
    }

    .q-card h3 {
        font-weight: 800;
        font-size: 1.55rem;
        margin-bottom: 8px;
    }

    .q-card p {
        font-size: .8rem;
        line-height: 1.3;
        margin: 0;
    }

    .q-card a {
        color: #fff;
        display: block;
        text-decoration: none;
        margin: 14px 0;
        font-size: 1.05rem;
    }

        .q-card a:hover {
            text-decoration: underline;
        }

.bg-green {
    background: var(--green);
}

.bg-navy {
    background: var(--navy);
}

.bg-red {
    background: var(--red);
}

/* ===== Tablet / Mobile ===== */
@media (max-width: 991px) {
    .hero {
        padding-bottom: 40px;
    }

    .quick-cards {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        flex-wrap: wrap;
        padding: 0 16px;
        margin-bottom: 20px;
    }

    .q-card {
        flex: 1 1 220px;
        margin-top: 0 !important;
    }

    .about {
        min-height: 0;
    }

    .about-bg .about-img {
        width: 100%;
        opacity: .25;
        clip-path: none;
    }

    .about-bg .band, .about-bg .stripe {
        display: none;
    }

    .about-text {
        padding: 20px 16px 50px;
    }

        .about-text p {
            max-width: 100%;
        }
}

/* Toppers */

.toppers {
    background: linear-gradient(#fff, #eef7fc);
    padding: 40px 0 30px;
}

/* ===== Heading ===== */
.top-head {
    text-align: center;
    margin: 30px 0 22px;
}

.top-trophy {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #ffd95a, #e0a800);
    box-shadow: 0 6px 16px rgba(224, 168, 0, .45);
}

.top-head .sec-title {
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

    .top-head .sec-title::after {
        content: "";
        position: absolute;
        left: 25%;
        right: 25%;
        bottom: 0;
        height: 3px;
        border-radius: 3px;
        background: var(--navy);
    }

.top-head p {
    margin: 8px 0 0;
    color: #6b7a90;
    font-size: .9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== Card ===== */
.t-card {
    --rc: var(--navy); /* rank color */
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border-bottom: 5px solid var(--rc);
    background: #fff;
    box-shadow: 0 8px 22px rgba(26, 60, 110, .18);
    transition: transform .35s, box-shadow .35s;
}

    .t-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 36px rgba(26, 60, 110, .3);
    }

    .t-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        object-position: center top; /* chehra na kate */
        display: block;
        transition: transform .5s;
    }

    .t-card:hover img {
        transform: scale(1.08);
    }

    /* Rank colors */
    .t-card.rank-1 {
        --rc: #e0a800;
        box-shadow: 0 0 0 3px #f5c542, 0 12px 30px rgba(245, 197, 66, .5);
    }

    .t-card.rank-2 {
        --rc: #9aa5b1;
    }

    .t-card.rank-3 {
        --rc: #b8743a;
    }

    .t-card.rank-n {
        --rc: #3a6ea5;
    }

/* ===== Medal ribbon (top-left, latakta hua) ===== */
.t-medal {
    position: absolute;
    top: 0;
    left: 14px;
    z-index: 3;
    width: 54px;
    padding: 10px 0 20px;
    text-align: center;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
    background: linear-gradient(160deg, var(--rc), #000 220%);
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4));
}

    .t-medal i {
        display: block;
        font-size: 1.35rem;
        margin-bottom: 4px;
    }

    .t-medal span {
        display: block;
        font-size: .72rem;
        letter-spacing: .5px;
    }
/* Gold / silver ke liye halki chamak */
.rank-1 .t-medal {
    background: linear-gradient(160deg, #ffd95a, #c98f00);
    color: #5a3b00;
}

.rank-2 .t-medal {
    background: linear-gradient(160deg, #eef1f5, #8e99a6);
    color: #2f3a46;
}

.rank-3 .t-medal {
    background: linear-gradient(160deg, #e9a96b, #9c5a24);
}

/* ===== Caption ===== */
.t-card .cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 8px 14px;
    text-align: center;
    color: #fff;
    background: linear-gradient(to top, rgba(26, 60, 110, .96) 55%, rgba(26, 60, 110, 0));
}

    .t-card .cap b {
        display: block;
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .t-card .cap .t-pct {
        display: inline-block;
        margin: 6px 0 4px;
        padding: 3px 16px;
        border-radius: 20px;
        font-weight: 800;
        font-size: 1rem;
        background: linear-gradient(135deg, var(--orange), #ffb347);
        box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
    }

    .t-card .cap small {
        display: block;
        font-size: .7rem;
        letter-spacing: 2px;
        opacity: .85;
    }

/* ===== Owl arrows ===== */
.toppers-carousel {
    position: relative;
    padding: 6px 0 4px;
}

    .toppers-carousel .owl-stage-outer {
        padding: 10px 0 18px;
    }
    /* shadow/hover lift cut na ho */
    .toppers-carousel .owl-nav button.owl-prev,
    .toppers-carousel .owl-nav button.owl-next {
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--navy) !important;
        color: #fff !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
        transition: background .3s;
    }

    .toppers-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    .toppers-carousel .owl-nav button.owl-next {
        right: 10px;
    }

    .toppers-carousel .owl-nav button:hover {
        background: var(--orange) !important;
    }

    /* Dots */
    .toppers-carousel .owl-dots {
        text-align: center;
    }

    .toppers-carousel .owl-dot span {
        display: block;
        width: 9px;
        height: 9px;
        margin: 0 4px;
        border-radius: 10px;
        background: #b9c9e8;
        transition: width .25s, background .25s;
    }

    .toppers-carousel .owl-dot.active span {
        width: 24px;
        background: var(--navy);
    }

@media (max-width: 575px) {
    .t-card img {
        height: 280px;
    }

    .t-medal {
        width: 46px;
        left: 10px;
    }
}

/*.toppers h3 {
    text-align: center;
    margin: 30px 0 15px
}

.t-card {
    position: relative;
    overflow: hidden
}

    .t-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform .4s
    }

    .t-card:hover img {
        transform: scale(1.08)
    }

    .t-card .cap {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(26, 60, 110, .8);
        color: #fff;
        text-align: center;
        padding: 12px 6px
    }

        .t-card .cap b {
            display: block;
            font-size: 1.2rem
        }

        .t-card .cap small {
            font-size: .8rem
        }*/

/* Feature cards (BLUE ON HOVER) */
.feature {
    padding: 60px 0
}

.f-card {
    text-align: center;
    padding: 36px 24px;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all .35s ease;
    cursor: pointer
}

    .f-card .ico {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #f4f6fb;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 18px;
        font-size: 2.4rem;
        color: #000;
        transition: all .35s
    }

    .f-card h4 {
        color: var(--navy);
        font-size: 1.4rem;
        font-weight: 600;
        transition: color .35s
    }

    .f-card p {
        color: #6b7280;
        transition: color .35s
    }

    .f-card .btn {
        border: 2px solid var(--navy);
        color: #000;
        border-radius: 6px;
        padding: 12px 28px;
        transition: all .35s
    }

    .f-card:hover {
        background: var(--navy);
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .2)
    }

        .f-card:hover .ico {
            background: #fff
        }

        .f-card:hover h4,
        .f-card:hover p {
            color: #fff
        }

        .f-card:hover .btn {
            border-color: #fff;
            color: #fff
        }

/* Philosophy */
.philo {
    position: relative;
    min-height: 540px;
    background: var(--sky);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* ===== Left media area (~53% width) ===== */
.philo-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 53%;
    z-index: 0;
}

    /* Image: right side sky-blue me fade hoti hai */
    .philo-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
        mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    }

    /* ">" chevrons on far left */
    .philo-media .chev {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
    }

    .philo-media .chev-blue {
        width: 160px;
        background: rgba(100, 155, 185, .65);
        clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%);
    }

    .philo-media .chev-white {
        width: 95px;
        z-index: 1;
        background: rgba(255, 255, 255, .8);
        clip-path: polygon(0 0, 40% 0, 100% 50%, 40% 100%, 0 100%, 55% 50%);
    }

    /* Diagonal teal band jo image ko overlap karta hai */
    .philo-media .band {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(70, 140, 170, .75), rgba(70, 140, 170, .15));
        clip-path: polygon(84% 0, 100% 0, 100% 100%, 54% 100%, 48% 62%);
    }

    /* Neeche halka white stripe */
    .philo-media .stripe {
        position: absolute;
        bottom: 0;
        left: 55%;
        width: 22%;
        height: 7%;
        background: linear-gradient(to right, rgba(255,255,255,.85), rgba(255,255,255,0));
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }

/* ===== Text (right half) ===== */
.philo > .container-fluid {
    position: relative;
    z-index: 2;
}

.philo-txt {
    padding: 70px 6% 70px 68px;
}

    .philo-txt .sec-title {
        font-size: clamp(2.4rem, 4.6vw, 3.5rem);
        margin-bottom: 28px;
    }

    .philo-txt p {
        font-size: .93rem;
        line-height: 1.45;
        color: var(--ink);
        max-width: 590px;
        margin: 0;
    }

/* ===== Tablet / Mobile ===== */
@media (max-width: 991px) {
    .philo {
        display: block;
        min-height: 0;
    }

    .philo-media {
        position: relative;
        width: 100%;
        height: 280px;
    }

        .philo-media img {
            -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
        }

        .philo-media .band,
        .philo-media .stripe {
            display: none;
        }

        .philo-media .chev-blue {
            width: 100px;
        }

        .philo-media .chev-white {
            width: 60px;
        }

    .philo-txt {
        padding: 10px 16px 40px;
    }
}

/*.philo {
    background: var(--sky);
    overflow: hidden
}

    .philo img {
        width: 100%;
        height: 100%;
        min-height: 380px;
        object-fit: cover;
        clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%)
    }

    .philo .txt {
        padding: 50px 30px
    }*/

/* Stats */
.stats {
    background: var(--sky);
    padding: 70px 0
}

.stat {
    background: var(--navy);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 30px 10px;
    height: 100%;
    transition: all .3s
}

    .stat:hover {
        background: var(--orange);
        transform: translateY(-8px)
    }

    .stat i {
        font-size: 2.6rem;
        color: var(--orange);
        transition: color .3s
    }

    .stat:hover i {
        color: #fff
    }

    .stat h3 {
        font-size: 2rem;
        margin: 12px 0 0
    }

    .stat.story {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: var(--orange);
        font-weight: 800
    }

        .stat.story:hover{
            color:#ffffff;
        }

 /* Calendar */
 /*.cal h3 {
            font-weight: 800;
            font-size: 1.6rem
        }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden
}

    .cal-grid div {
        padding: 14px 6px;
        border: 1px solid #eee;
        text-align: center;
        font-size: .9rem;
        transition: .2s
    }

    .cal-grid .h {
        font-weight: 700;
        color: #999;
        background: #fafafa
    }

    .cal-grid div:not(.h):not(.e):hover {
        background: var(--navy);
        color: #fff;
        cursor: pointer
    }

    .cal-grid .ev {
        background: #fff1e0;
        font-weight: 700
    }

.ev-item {
    background: #f2f2f2;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 10px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: .3s
}

    .ev-item:hover {
        background: var(--navy);
        color: #fff
    }

    .ev-item .d {
        background: #fff;
        color: var(--navy);
        width: 56px;
        height: 56px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800
    }*/

/* Testimonials */
.speak h2 {
    color: var(--navy);
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px
}

.t-box {
    border: 1px solid var(--navy);
    border-radius: 20px;
    padding: 30px 24px 70px;
    text-align: center;
    color: #777;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .35s;
    margin: 10px 10px 90px;
    position: relative;
    min-height: 260px
}

    .t-box:hover {
        background: var(--navy);
        color: #fff
    }

    .t-box .person {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -95px;
        color: #000
    }

        .t-box .person img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-top: -35px;
            border: 3px solid #fff
        }

        .t-box .person b,
        .t-box .person small {
            display: block
        }

        .t-box .person small {
            color: #888
        }

/* Social strip */
.social {
    background: var(--sky);
    padding: 60px 0 50px
}

    .social .gal img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        transition: .3s
    }

        .social .gal img:hover {
            transform: scale(1.05)
        }

    .social .icons a {
        color: var(--navy);
        font-size: 1.2rem;
        margin-left: 18px
    }

        .social .icons a:hover {
            color: var(--orange)
        }

/* Banner */
.banner {
    position: relative;
    color: #fff;
    height: 420px;
    border-radius: 0 0 0 0;
    overflow: hidden;
    background: var(--navy)
}

    .banner img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .35;
        mix-blend-mode: luminosity
    }

    .banner h2 {
        position: absolute;
        right: 6%;
        bottom: 16%;
        text-align: right;
        font-weight: 800;
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        margin: 0
    }

        .banner h2 span {
            font-weight: 400
        }

/* Footer */
footer {
    background: var(--navy);
    color: #fff;
    padding: 50px 0 20px
}

    footer .theme {
        color: var(--orange);
        font-style: italic;
        font-weight: 700
    }

    footer h2 {
        font-weight: 800
    }

        footer h2 em {
            color: var(--orange)
        }

    footer h6 {
        color: var(--orange);
        font-weight: 700;
        margin-top: 18px
    }

    footer a {
        color: #fff;
        text-decoration: none;
        display: block;
        padding: 2px 0
    }

        footer a:hover {
            color: var(--orange);
            padding-left: 6px;
            transition: .2s
        }

    footer .sch {
        margin-bottom: 14px;
        font-size: .85rem
    }

        footer .sch b {
            font-size: 1.1rem;
            display: block
        }

    footer .soc a {
        display: inline-flex;
        width: 42px;
        height: 42px;
        border-radius: 4px;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        padding: 0
    }

        footer .soc a:hover {
            padding: 0;
            transform: translateY(-4px)
        }


.f-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

/* Logo white round badge me (jpeg ka white background navy par achha dikhe) */
.f-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /*background: #fff;*/
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
    transition: transform .3s, box-shadow .3s;
}

    .f-logo:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
        padding-left: 8px; /* footer a:hover ka padding-left override */
    }

    .f-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        /*border-radius: 50%;*/
    }

/* School name */
.f-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2rem);
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

    .f-name span {
        color: var(--orange);
    }

.f-sub {
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--orange);
    position: relative;
    padding-top: 10px;
}

    .f-sub::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--orange);
        border-radius: 2px;
    }

/* Mobile / tablet: center */
@media (max-width: 991px) {
    .f-brand {
        align-items: center;
        text-align: center;
    }

    .f-sub::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Back to top */
/*#toTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: none;
    border: 0;
    font-size: 2rem;
    color: #000;
    display: none;
    z-index: 99
}*/


#toTop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    display: flex; /* display:none nahi, ab fade se aata hai */
    align-items: center;
    justify-content: center;
    /* Bahar ki ring = scroll progress (--p JS se aata hai, 0-100) */
    background: conic-gradient(var(--orange) calc(var(--p, 0) * 1%), rgba(26, 60, 110, .25) 0);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.8);
    transition: opacity .35s, transform .35s, visibility .35s, box-shadow .3s;
}

    /* Andar ka navy circle */
    #toTop::before {
        content: "";
        position: absolute;
        inset: 4px;
        border-radius: 50%;
        background: var(--navy);
        transition: background .3s;
    }

    #toTop i {
        position: relative; /* circle ke upar dikhe */
        z-index: 1;
        transition: transform .3s;
    }

    /* Visible state (JS .show lagata hai) */
    #toTop.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

        /* Hover */
        #toTop.show:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
        }

    #toTop:hover::before {
        background: var(--orange);
    }

    #toTop:hover i {
        animation: toTopBounce .8s infinite;
    }

    #toTop:active {
        transform: scale(.94);
    }

    /* Keyboard focus */
    #toTop:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
    }

@keyframes toTopBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 575px) {
    #toTop {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #toTop, #toTop i {
        transition: none;
        animation: none !important;
    }
}

@media(max-width:767px) {
    .announce .label {
        padding: 17px 28px 12px 12px;
        font-size: .75rem
    }

    .announce .item {
        font-size: .8rem
    }

    .hero {
        padding-bottom: 60px
    }

    .quick {
        margin-top: 20px
    }

    .hero .img-wrap img {
        height: 300px
    }

    .philo img {
        clip-path: none;
        min-height: 240px
    }
}



/* ===== Calendar card ===== */
.cal-card {
    background: var(--cal-bg);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 63, 134, .12);
}

.cal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 10px;
}

.cal-title {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: .5px;
    color: var(--cal-ink);
}

.cal-nav {
    background: none;
    border: 0;
    color: var(--cal-ink);
    font-size: 1.4rem;
    line-height: 1;
    padding: 2px 8px;
    transition: transform .2s;
}

    .cal-nav:hover {
        transform: scale(1.25);
    }

/* White body (top corners rounded) */
.cal-wrap {
    background: #fff;
    margin: 12px 12px;
    border-radius: 22px 22px 10px 10px;
    overflow: hidden;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.cal-head {
    background: var(--cal-head);
    color: var(--cal-ink);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    text-align: center;
    padding: 16px 0;
}

.cal-day {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: .95rem;
    color: var(--cal-ink);
}

    .cal-day span {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .2s, transform .2s;
    }

    .cal-day:not(.other):hover span {
        background: #e8f0ff;
        transform: scale(1.08);
    }

    .cal-day.other {
        color: #aab0ba;
    }

    /* Aaj ki date: yellow */
    .cal-day.today span {
        background: #f7d60a;
        font-weight: 700;
        box-shadow: 0 3px 8px rgba(247, 214, 10, .45);
    }

    /* Event wali date: red */
    .cal-day.has-event span {
        background: #e8403a;
        color: #fff;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(232, 64, 58, .45);
    }
    /* Aaj + event dono: red, yellow ring ke saath */
    .cal-day.today.has-event span {
        outline: 3px solid #f7d60a;
        outline-offset: 1px;
    }

/* ===== Events (right side) ===== */
.ev-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #14213d;
    margin-bottom: 14px;
}

.ev-slide {
    min-height: 300px;
}

.ev-item {
    background: #f2f2f2;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 10px;
    height: 88px;
    display: flex;
    gap: 14px;
    align-items: center;
    overflow: hidden;
    transition: background .3s, color .3s;
}

    .ev-item:hover {
        background: var(--navy);
        color: #fff;
    }

    .ev-item .d {
        flex: 0 0 56px;
        height: 56px;
        background: #fff;
        color: var(--navy);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }

    .ev-item b {
        display: block;
        line-height: 1.2;
    }

    .ev-item small {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.ev-empty {
    background: #f2f2f2;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    font-style: italic;
    color: #777;
}

/* Owl dots (slides ke neeche) */
.ev-owl .owl-dots {
    text-align: center;
    margin-top: 6px;
}

.ev-owl .owl-dot span {
    background: #c5cfe0;
    width: 8px;
    height: 8px;
    margin: 0 4px;
}

.ev-owl .owl-dot.active span {
    background: var(--navy);
}

/* ===== Mobile ===== */
@media (max-width: 575px) {
    .cal-day {
        height: 44px;
        font-size: .85rem;
    }

        .cal-day span {
            width: 34px;
            height: 34px;
        }

    .cal-head {
        padding: 12px 0;
        font-size: .7rem;
    }

    .ev-slide {
        min-height: 0;
    }
}

/*========= Photo Gallery ============*/
/* Purane .social .gal img / .social .icons rules ki jagah (ya unke neeche) ye paste karo.
   .social section ka sky-blue background wahi rahega. */

.social {
    background: var(--sky);
    padding: 60px 0 50px;
}

    /* "View All" link (right side) */
    .social .gal-all {
        color: var(--navy);
        font-weight: 700;
        text-decoration: none;
        border: 2px solid var(--navy);
        border-radius: 30px;
        padding: 8px 20px;
        transition: all .3s;
    }

        .social .gal-all:hover {
            background: var(--navy);
            color: #fff;
        }

        .social .gal-all i {
            margin-left: 6px;
            transition: transform .3s;
        }

        .social .gal-all:hover i {
            transform: translateX(4px);
        }

/* ===== Square tile ===== */
.gal-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

    .gal-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

    .gal-tile:hover img {
        transform: scale(1.1);
    }

/* Hover par neeche se navy overlay upar aata hai */
.gal-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 12px;
    background: linear-gradient(to top, rgba(26, 60, 110, .95) 55%, rgba(26, 60, 110, 0));
    text-align: center;
    transform: translateY(100%);
    transition: transform .35s ease;
}

.gal-tile:hover .gal-info {
    transform: translateY(0);
}

.gal-info strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .95rem;
    line-height: 1.2;
}

.gal-info em {
    display: block;
    font-style: normal;
    font-size: .75rem;
    color: var(--orange);
    font-weight: 600;
    margin: 4px 0 8px;
}

.gal-btn {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 3px 14px;
    font-size: .75rem;
    transition: all .3s;
}

.gal-tile:hover .gal-btn {
    background: var(--orange);
    border-color: var(--orange);
}

/* Touch screens (hover nahi hota): title hamesha dikhe */
@media (hover: none) {
    .gal-info {
        transform: translateY(0);
        padding-top: 30px;
    }

    .gal-btn {
        display: none;
    }
}

/* ===== Owl arrows ===== */
.gallery-carousel .owl-nav button.owl-prev,
.gallery-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    transition: background .3s;
}

.gallery-carousel .owl-nav button.owl-prev {
    left: -14px;
}

.gallery-carousel .owl-nav button.owl-next {
    right: -14px;
}

.gallery-carousel .owl-nav button:hover {
    background: var(--orange) !important;
}

.gallery-carousel .owl-nav button.disabled {
    opacity: .35;
}

.gallery-carousel {
    position: relative;
}

@media (max-width: 575px) {
    .gallery-carousel .owl-nav button.owl-prev {
        left: 4px;
    }

    .gallery-carousel .owl-nav button.owl-next {
        right: 4px;
    }
}

/*============= Video Gallery Style ===========*/

.vid-sec {
    background: var(--sky); /* photo gallery jaisa. Alag chahiye to #fff kar do */
    padding: 60px 0 50px;
}

/* "View All" pill (photo gallery jaisa) */
.vid-all {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--navy);
    border-radius: 30px;
    padding: 8px 20px;
    transition: all .3s;
}

    .vid-all:hover {
        background: var(--navy);
        color: #fff;
    }

    .vid-all i {
        margin-left: 6px;
        transition: transform .3s;
    }

    .vid-all:hover i {
        transform: translateX(4px);
    }

/* ===== Square tile ===== */
.vid-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

    /* YouTube hqdefault me upar-neeche kaali patti hoti hai. Scale se wo crop ho jati hai */
    .vid-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transform: scale(1.36);
        transition: transform .5s;
    }

    .vid-tile:hover img {
        transform: scale(1.5);
    }

    /* Neeche halka navy gradient */
    .vid-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(26, 60, 110, .65), rgba(26, 60, 110, 0) 60%);
        pointer-events: none;
    }

/* Play button */
.vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    z-index: 1;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 1.15rem;
    padding-left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    transition: transform .3s, background .3s, color .3s;
}
    /* Halki pulse ring */
    .vid-play::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid #fff;
        animation: vidPulse 2s infinite;
    }

.vid-tile:hover .vid-play {
    background: var(--orange);
    color: #fff;
    transform: scale(1.15);
}

.vid-tile:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: -3px;
}

@keyframes vidPulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* ===== Owl arrows (photo gallery jaise) ===== */
.video-carousel {
    position: relative;
}

    .video-carousel .owl-nav button.owl-prev,
    .video-carousel .owl-nav button.owl-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--navy) !important;
        color: #fff !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
        transition: background .3s;
    }

    .video-carousel .owl-nav button.owl-prev {
        left: -14px;
    }

    .video-carousel .owl-nav button.owl-next {
        right: -14px;
    }

    .video-carousel .owl-nav button:hover {
        background: var(--orange) !important;
    }

/* ===== Popup ===== */
.vid-modal {
    border-radius: 14px;
    overflow: visible;
}

    .vid-modal .ratio {
        border-radius: 14px;
        overflow: hidden;
    }

.vid-close {
    position: absolute;
    right: 0;
    top: -36px;
    z-index: 5;
}

@media (max-width: 575px) {
    .vid-play {
        width: 46px;
        height: 46px;
        margin: -23px 0 0 -23px;
        font-size: 1rem;
    }

    .video-carousel .owl-nav button.owl-prev {
        left: 4px;
    }

    .video-carousel .owl-nav button.owl-next {
        right: 4px;
    }
}