/* =========================================================
   OPJS Raigarh - modern.css
   Ye file style.css aur responsive.css ke BAAD load hoti hai.
   Sirf look & feel badalti hai, original files untouched.
   Hatana ho to header.php se is file ki <link> line hata dein.
   ========================================================= */

:root {
    --navy: #07294d;
    --navy-dark: #041a33;
    --navy-soft: #24486e;
    --gold: #ffc600;
    --ink: #1d2025;
    --text: #3b4656;
    --bg-soft: #f4f7fb;
    --radius: 14px;
    --shadow-sm: 0 4px 14px rgba(7, 41, 77, .08);
    --shadow-md: 0 14px 34px rgba(7, 41, 77, .16);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { color: var(--text); }
p { line-height: 1.75; }
::selection { background: var(--gold); color: var(--navy); }

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* ---------- Header top bar ---------- */
.header-top {
    background: linear-gradient(90deg, var(--navy-dark), var(--navy));
}
.header-contact ul li span,
.header-opening-time p {
    font-size: 14px;
    letter-spacing: .2px;
}
.header-logo-support {
    background: #fff;
    border-bottom: 0;
}

/* ---------- Navigation ---------- */
.navigation {
    background: #fff;
    box-shadow: 0 6px 18px rgba(7, 41, 77, .08);
    position: relative;
    z-index: 100;
}
.navigation.sticky {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 20px rgba(7, 41, 77, .12);
    animation-duration: .6s;
}

@media (min-width: 992px) {
    .navigation .navbar .navbar-nav li {
        margin-right: clamp(14px, 1.7vw, 34px);
    }
    .navigation .navbar .navbar-nav > li > a {
        position: relative;
        font-size: 14px;
        letter-spacing: .3px;
        padding: 18px 0;
    }
    .navigation .navbar .navbar-nav > li > a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 9px;
        width: 0;
        height: 3px;
        border-radius: 3px;
        background: var(--gold);
        transition: width .3s var(--ease);
    }
    .navigation .navbar .navbar-nav > li > a:hover::after,
    .navigation .navbar .navbar-nav > li > a.active::after {
        width: 100%;
    }
    .navigation .navbar .navbar-nav > li > a:hover,
    .navigation .navbar .navbar-nav > li > a.active {
        color: var(--navy);
    }

    /* Dropdown */
    .navigation .navbar .navbar-nav li .sub-menu {
        top: 100%;
        width: 275px;
        border-top: 3px solid var(--gold);
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        transform: translateY(10px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    .navigation .navbar .navbar-nav li:hover .sub-menu {
        transform: translateY(0);
    }
    .navigation .navbar .navbar-nav li .sub-menu li a {
        padding: 11px 16px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .navigation .navbar .navbar-nav li .sub-menu li a:hover {
        padding-left: 24px;
        background: rgba(255, 198, 0, .1);
    }
}

/* ---------- Buttons ---------- */
.main-btn {
    border-radius: 50px;
    padding: 0 32px;
    line-height: 48px;
    letter-spacing: .3px;
    box-shadow: 0 8px 20px rgba(255, 198, 0, .35);
}
.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(7, 41, 77, .3);
}
.my-btn {
    border-radius: 10px;
    line-height: 38px;
    color: var(--navy);
    border-color: transparent;
    background: rgba(255, 255, 255, .96);
}
.my-btn:hover {
    color: var(--navy);
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-2px);
}

/* ---------- Slider ---------- */
.single-slider { position: relative; padding-bottom: 220px; }
.single-slider::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(100deg, rgba(4, 26, 51, .88) 0%, rgba(4, 26, 51, .55) 48%, rgba(4, 26, 51, .1) 100%);
    z-index: 1;
}
.slider-cont h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.15;
    padding-bottom: 0;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .35);
}
.slider-cont h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    margin: 20px 0 22px;
    border-radius: 5px;
    background: var(--gold);
}
/* index.php mein inline neon-green color tha, use readable white kiya */
.slider-cont p {
    color: #fff !important;
    font-size: clamp(16px, 1.6vw, 20px) !important;
    font-weight: 400;
    line-height: 1.6;
    max-width: 640px;
    padding-bottom: 34px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* ---------- Scrolling button strip ---------- */
#category-part .modern-marquee-horizontal {
    background: linear-gradient(90deg, var(--navy-dark), var(--navy), var(--navy-dark));
    padding: 14px 0;
    border-radius: 60px;
    box-shadow: var(--shadow-md);
}
#category-part .marquee-content-h .main-btn {
    line-height: 40px;
    font-size: 13px;
    padding: 0 24px;
}

/* ---------- Founders / mentors ---------- */
.members-list { padding: 30px 0 10px; }
.members-list .col-lg-4 { margin-bottom: 24px; }
.members-list .col-lg-4 > a {
    display: block;
    height: 100%;
    padding: 22px 16px 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    color: var(--navy) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.members-list .col-lg-4 > a:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.members-list img {
    width: 210px;
    height: 270px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

/* ---------- Principal's desk ---------- */
.about-cont img#hp {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.about-cont p { line-height: 1.8; }

/* ---------- Quick View + Announcements panels ---------- */
.about-event .event-button {
    width: 100% !important;
    padding: 6px 14px 4px;
    background: linear-gradient(160deg, var(--navy-soft), var(--navy)) !important;
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.about-event .event-button h4,
.about-event .event-title h4 {
    color: #fff !important;
    font-size: 20px;
    letter-spacing: .5px;
}
.about-event .event-button h4::after,
.about-event .event-title h4::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: var(--gold);
}
.event-button br { display: none; }
.event-button .my-btn {
    margin: 0 2px 10px;
    padding: 0 8px;
}
.event-button .my-btn[style*="45%"] {
    width: calc(50% - 6px) !important;
    font-size: 12px;
    padding: 0 4px;
}

.about-event .event-title {
    background: linear-gradient(180deg, var(--navy-dark), var(--navy)) !important;
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.about-event .modern-marquee-vertical {
    border: 0;
    -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent);
}
.about-event .marquee-content-v { padding: 0 6px; }
.about-event .marquee-content-v br { display: none; }
.about-event .marquee-content-v a {
    display: block;
    margin: 0 8px 8px;
    padding: 10px 14px;
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #e8eefc !important;
    font-size: 14.5px;
    line-height: 1.45;
    transition: all .25s ease;
}
.about-event .marquee-content-v a:hover {
    padding-left: 20px;
    border-left-color: var(--gold);
    background: rgba(255, 198, 0, .14);
    color: var(--gold) !important;
}

/* ---------- Section headings (Hall of Fame, Affiliations) ---------- */
#apply-aprt h3 {
    color: var(--navy) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 30px;
}
#apply-aprt h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 4px;
    background: var(--gold);
}

/* ---------- Hall of Fame scroller ---------- */
.modern-marquee-images { padding: 14px 0; }
.modern-marquee-images .marquee-content-img img {
    height: 253px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.modern-marquee-images .marquee-content-img img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

/* ---------- Affiliations marquee ---------- */
#apply-aprt marquee img {
    margin: 0 10px;
    vertical-align: middle;
    transition: transform .3s var(--ease);
}
#apply-aprt marquee img:hover { transform: scale(1.08); }

/* ---------- Counters ---------- */
#counter-part { padding-top: 40px !important; padding-bottom: 40px !important; }
#counter-part .singel-counter {
    margin-top: 0;
    margin-bottom: 14px;
    padding: 24px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.singel-counter span { font-size: clamp(28px, 3.4vw, 42px); }
.singel-counter p {
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- Video / features ---------- */
@keyframes opjs-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 198, 0, .55); }
    70%  { box-shadow: 0 0 0 26px rgba(255, 198, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 198, 0, 0); }
}
#video-feature .video a { border-radius: 50%; animation: opjs-pulse 2.2s infinite; }

/* ---------- Back to top ---------- */
.back-to-top { box-shadow: 0 8px 20px rgba(7, 41, 77, .3); }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .single-slider { padding-bottom: 110px; }
    .single-slider.pt-150 { padding-top: 90px !important; }
    #category-part .modern-marquee-horizontal { border-radius: 16px; }
    .members-list img { width: 170px; height: 220px; }
    .modern-marquee-images .marquee-content-img img { height: 180px; }
    #apply-aprt h3 { font-size: 24px; }
}

/* ---------- Accessibility: motion kam karna ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    #video-feature .video a { animation: none; }
    .marquee-content-h {
        animation: none;
        padding-left: 0;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    .marquee-content-v {
        animation: none;
        position: static;
    }
    .modern-marquee-vertical { overflow-y: auto; }
    .marquee-content-img { animation: none; }
    .modern-marquee-images { overflow-x: auto; }
}
