:root {
    --srs-maroon: #1e3a5f;
    --srs-maroon-dark: #122840;
    --srs-gold: #c9a24b;
    --srs-gold-light: #f2e2b8;
    --srs-cream: #f4f6fa;
    --srs-ink: #1b232e;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--srs-ink);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-heading {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
}

/* ---------- Topbar ---------- */
.brand-topbar {
    position: relative;
    z-index: 2;
    background: linear-gradient(100deg, var(--srs-gold) 0%, var(--srs-gold) 50%, var(--srs-maroon) 50%, var(--srs-maroon-dark) 100%);
    padding: 1.5rem 0 2.75rem;
}

@media (max-width: 991.98px) {
    .brand-topbar {
        background: var(--srs-maroon-dark);
        padding: 1rem 0 2rem;
    }
}

.brand-logo-box {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
   
   
   
    padding: .8rem 1.5rem;
    
    position: relative;
    z-index: 5;
    text-decoration: none;
    margin-bottom: -2rem;
}

.brand-topbar-contacts {
    color: #fff;
    font-weight: 500;
    font-size: .92rem;
    padding-top: 1.2rem;
}

    .brand-topbar-contacts i {
        color: var(--srs-gold-light);
        margin-right: .3rem;
    }

.contact-divider {
    opacity: .45;
}
/* ---------- Header: single clean navbar (logo + links + button, one row) ---------- */
.site-header {
    z-index: 1030;
}

.main-navbar {
    position: relative;
    z-index: 1;
    background: var(--srs-cream);
    padding: .6rem 0;
    border-bottom: 3px solid var(--srs-gold);
    box-shadow: 0 2px 16px rgba(30,58,95,.06);
}



.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--srs-maroon), var(--srs-maroon-dark));
    color: var(--srs-gold-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
}

.brand-badge-lg {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--srs-maroon), var(--srs-maroon-dark));
    color: var(--srs-gold-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(201,162,75,.16), 0 6px 16px rgba(30,58,95,.3);
}

    .brand-badge-lg::after {
        content: "";
        position: absolute;
        inset: -5px;
        border-radius: 50%;
        border: 1.5px solid rgba(201,162,75,.45);
        animation: badgeRingPulse 2.6s ease-in-out infinite;
    }

.brand-text-lg {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title-lg {
    font-family: fangsong;
    font-weight: 800;
    color: #ffffff;
    font-size: 2.25rem;
}

.brand-sub-lg {
    font-size: .68rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #242d3e;
    font-weight: 600;
    text-align: center;
    padding: 2px;
}

@media (max-width: 767.98px) {
    .brand-logo-box {
        padding: .5rem .9rem;
        gap: .55rem;
        margin-bottom: -1.1rem;
        max-width: calc(100% - 60px);
    }

    .brand-badge-lg {
        width: 38px;
        height: 38px;
        font-size: .8rem;
        flex-shrink: 0;
    }

    .brand-title-lg {
        font-size: .95rem;
        line-height: 1.2;
    }

    .brand-sub-lg {
        display: none;
    }
}

.brand-topbar .navbar-toggler {
    border-color: rgba(255,255,255,.5);
    padding: .35rem .55rem;
}

.brand-topbar .navbar-toggler-icon {
    width: 1.3em;
    height: 1.3em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(135deg, var(--srs-maroon), var(--srs-maroon-dark));
    color: #fff !important;
    border-radius: 30px;
    padding: .55rem 1.4rem;
    font-weight: 700;
    border: 1px solid rgba(201,162,75,.4);
    box-shadow: 0 6px 18px rgba(30,58,95,.32);
    transition: transform .25s ease, box-shadow .25s ease, background .3s ease;
}

    .btn-apply:hover {
        background: linear-gradient(135deg, var(--srs-maroon-dark), #0a1a2c);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(30,58,95,.42);
    }

.main-navbar .navbar-nav {
    padding: .25rem 0;
}

.main-navbar > .container {
    max-width: 1600px;
}

.main-navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--srs-ink);
    padding: .55rem .95rem !important;
    margin: 0 .15rem;
    border-radius: 24px;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

    .main-navbar .nav-link:hover {
        color: var(--srs-maroon);
        background: rgba(30,58,95,.1);
    }

    .main-navbar .nav-link.active {
        color: #fff !important;
        background: var(--srs-maroon);
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(30,58,95,.35);
    }

@media (max-width: 991.98px) {

    .main-navbar {
        padding: 0;
        border-bottom: none;
    }


    .main-navbar .navbar-collapse {
        background: #fff;
        margin-top: .75rem;
        padding: 1rem 1.1rem 1.35rem;
        border-radius: 16px;
        box-shadow: 0 14px 34px rgba(27,35,46,.14);
    }

    .main-navbar .navbar-nav {
        gap: .15rem;
    }

    .main-navbar .nav-link {
        border-radius: 10px;
        padding: .65rem .9rem !important;
    }

        .main-navbar .nav-link.active {
            background: transparent;
            color: var(--srs-maroon) !important;
            box-shadow: none;
        }
}
.main-navbar .dropdown-toggle::after {
    vertical-align: 1px;
    transition: transform .2s ease;
}

.main-navbar .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0,0,0,.16);
    padding: .6rem;
    margin-top: .5rem;
}

.main-navbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    border-radius: 8px;
    padding: .55rem .9rem;
    font-size: .92rem;
}

    .main-navbar .dropdown-item i {
        color: var(--srs-maroon);
    }

    .main-navbar .dropdown-item:hover,
    .main-navbar .dropdown-item:focus {
        background: var(--srs-gold-light);
        color: var(--srs-maroon);
    }

@keyframes badgeRingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.12);
        opacity: 0;
    }
}

/* Anchors targeted from the About Us dropdown (Chairman/VP/Secretary/Principal)
   shouldn't land underneath the sticky header */
#chairman, #vice-president, #secretary, #principal {
    scroll-margin-top: 160px;
}

/* ---------- Hero / Slider ---------- */
.hero-slider {
    position: relative;
    height: 62vh;
    min-height: 380px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--srs-maroon) 0%, var(--srs-maroon-dark) 100%);
}

    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item {
        height: 100%;
    }

    .hero-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.55);
    }

.hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    padding: 0 6%;
}

.hero-eyebrow {
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--srs-gold-light);
    font-weight: 600;
    margin-bottom: .75rem;
}

.hero-caption h1 {
    font-size: clamp(1.9rem, 4vw, 3.4rem);
    font-weight: 800;
    max-width: 760px;
    line-height: 1.15;
}

.hero-caption p {
    max-width: 560px;
    font-size: 1.05rem;
    opacity: .92;
}

/* ---------- Stat counters ---------- */
.stats-strip {
    background: var(--srs-maroon);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 1.75rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--srs-gold-light);
}

.stat-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}

/* ---------- Section basics ---------- */
.section-pad {
    padding: 4.5rem 0;
}

.section-pad-sm {
    padding: 3rem 0;
}

.section-eyebrow {
    color: var(--srs-maroon);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
}

.section-title {
    font-weight: 700;
    color: var(--srs-ink);
    margin-bottom: 1rem;
}

.gold-underline {
    width: 60px;
    height: 3px;
    background: var(--srs-gold);
    margin: .5rem 0 1.5rem;
}

.bg-cream {
    background: var(--srs-cream);
}

.overview-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9a9086;
    font-weight: 600;
}

.overview-value {
    font-weight: 700;
    color: var(--srs-ink);
    line-height: 1.35;
}

/* Admission Eligibility + News & Events combined section, on a photo background */
.eligibility-news-section {
    position: relative;
    border-top: 3px solid var(--srs-gold);
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
}

    .eligibility-news-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg, rgba(18,40,64,.55), rgba(10,18,29,.6));
    }

    .eligibility-news-section .container {
        position: relative;
        z-index: 1;
    }

/* One unified frosted-glass panel holds both columns, instead of separate floating cards */
.eligibility-news-panel {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.panel-col-divider {
    position: relative;
}

@media (min-width: 992px) {
    .panel-col-divider::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: -1.5rem;
        width: 1px;
        background: #eee6d9;
    }
}

@media (max-width: 991.98px) {
    .panel-col-divider {
        padding-bottom: 2rem;
        border-bottom: 1px solid #eee6d9;
        margin-bottom: .5rem;
    }
}

.eligibility-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

@media (max-width: 767.98px) {
    .eligibility-news-panel {
        padding: 1.75rem;
    }
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--srs-gold-light);
    color: var(--srs-maroon);
    font-size: 1.4rem;
}

@media (max-width: 767.98px) {
    .eligibility-news-section {
        background-attachment: scroll;
    }
}

/* ---------- Cards ---------- */
.card-soft {
    border: none;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(27,35,46,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .card-soft:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(27,35,46,.14);
    }

.msg-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(27,35,46,.08);
    overflow: hidden;
    height: 100%;
}

    .msg-card .msg-photo {
        height: 220px;
        object-fit: cover;
        width: 100%;
        background: var(--srs-gold-light);
    }

    .msg-card .msg-body {
        padding: 1.5rem;
    }

    .msg-card .msg-name {
        font-weight: 700;
        color: var(--srs-maroon);
        margin-bottom: 0;
    }

    .msg-card .msg-role {
        font-size: .82rem;
        color: #8a8078;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

/* ---------- Management page: full-width alternating message blocks ---------- */
.mgmt-photo-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--srs-gold);
    box-shadow: 0 20px 45px rgba(27,35,46,.18);
}

    .mgmt-photo-wrap img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        display: block;
    }

.mgmt-role {
    color: var(--srs-maroon);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .85rem;
    margin: .15rem 0 0;
}

.mgmt-quote-mark {
    font-size: 2.4rem;
    color: var(--srs-gold);
    opacity: .55;
    line-height: 1;
    margin: 1.1rem 0 .25rem;
}

.mgmt-message-text {
    color: #5a5148;
    font-size: 1.05rem;
    line-height: 1.85;
    text-align:justify;
}

@media (max-width: 767.98px) {
    .mgmt-photo-wrap img {
        height: 300px;
    }

    .mgmt-photo-wrap::after {
        inset: 10px;
    }
    /* ← delete this line */
}
.news-item {
    border-left: 3px solid var(--srs-gold);
    padding: .9rem 1.1rem;
    background: #fff;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 10px rgba(27,35,46,.05);
}

.news-date {
    font-size: .78rem;
    color: var(--srs-maroon);
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-thumb {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
    transition: transform .3s ease;
}

.gallery-tile {
    overflow: hidden;
    border-radius: 10px;
}

    .gallery-tile:hover .gallery-thumb {
        transform: scale(1.07);
    }

/* ---------- Gallery: album cards ---------- */
.album-card {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 26px rgba(27,35,46,.12);
    transition: transform .25s ease, box-shadow .25s ease;
}
.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(27,35,46,.2);
}
.album-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.album-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.album-card:hover .album-cover img { transform: scale(1.08); }
.album-count-badge {
    position: absolute; bottom: .6rem; right: .6rem;
    background: rgba(30,58,95,.85);
    color: #fff;
    font-size: .74rem; font-weight: 600;
    padding: .28rem .65rem;
    border-radius: 20px;
}
.album-title {
    padding: .9rem 1rem;
    font-weight: 700;
    color: var(--srs-ink);
    text-align: center;
}

.page-hero {
    position: relative;
    background: var(--srs-maroon-dark) url('/images/CollegeImg.jpg') center/cover no-repeat fixed;
    color: #fff;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(30,58,95,.88) 0%, rgba(10,18,29,.92) 100%);
    }

    .page-hero .container {
        position: relative;
        z-index: 1;
    }

    .page-hero h1 {
        font-weight: 700;
        margin-bottom: .4rem;
    }

@media (max-width: 767.98px) {
    .page-hero {
        background-attachment: scroll;
    }
}

.breadcrumb-light a {
    color: var(--srs-gold-light);
}

.breadcrumb-light .active {
    color: #fff;
}

.list-check li {
    padding: .3rem 0;
}

    .list-check li i {
        color: var(--srs-maroon);
        margin-right: .5rem;
    }

/* ---------- Admissions page: tabbed panel ---------- */
.admissions-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

    .admissions-tabs .nav-link {
        border-radius: 30px;
        padding: .6rem 1.4rem;
        font-weight: 600;
        font-size: .92rem;
        color: var(--srs-maroon);
        background: #fff;
        border: 1.5px solid var(--srs-maroon);
        margin: .25rem;
        transition: background .2s ease, color .2s ease;
    }

        .admissions-tabs .nav-link.active {
            background: var(--srs-maroon);
            color: #fff;
        }

        .admissions-tabs .nav-link:hover:not(.active) {
            background: var(--srs-gold-light);
            color: var(--srs-maroon-dark);
        }

.admissions-panel {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 34px rgba(27,35,46,.1);
    padding: 2.5rem;
    min-height: 300px;
}

.text-maroon {
    color: var(--srs-maroon);
}

@media (max-width: 575.98px) {
    .admissions-panel {
        padding: 1.5rem;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(18,40,64,.93) 0%, rgba(6,11,18,.97) 100%), url('https://images.unsplash.com/photo-1566935843973-aed0ddcb0ecc?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #d8d2ca;
    border-top: 3px solid var(--srs-gold);
    overflow: hidden;
}

    .site-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 90% 0%, rgba(201,162,75,.09), transparent 40%);
        pointer-events: none;
    }

    .site-footer .container {
        position: relative;
        z-index: 1;
    }

.footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--srs-maroon), var(--srs-maroon-dark));
    color: var(--srs-gold-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
}

.footer-heading {
    color: var(--srs-gold-light);
    font-weight: 700;
    margin-bottom: 1.15rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    position: relative;
    padding-bottom: .65rem;
}

    .footer-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 28px;
        height: 2px;
        background: var(--srs-gold);
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: .65rem;
        font-size: .92rem;
    }

    .footer-links a {
        color: #beb6ab;
        text-decoration: none;
        display: inline-block;
        transition: color .2s ease, transform .2s ease;
    }

        .footer-links a:hover {
            color: var(--srs-gold);
            transform: translateX(3px);
        }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .9rem;
    font-size: .9rem;
    color: #beb6ab;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(201,162,75,.12);
    border: 1px solid rgba(201,162,75,.32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--srs-gold-light);
    font-size: .88rem;
}

.btn-footer-cta {
    background: var(--srs-gold);
    color: var(--srs-maroon-dark) !important;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: .55rem 1.5rem;
    transition: background .2s ease, transform .2s ease;
}

    .btn-footer-cta:hover {
        background: #ddc07a;
        transform: translateY(-2px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-credit {
    color: #ff5b00;
    font-weight: 600;
    text-decoration: none;
}

    .footer-credit:hover {
        color: var(--srs-gold);
    }

/* ---------- Forms ---------- */
.form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(27,35,46,.1);
    padding: 2rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--srs-maroon);
    box-shadow: 0 0 0 .2rem rgba(30,58,95,.15);
}

.btn-maroon {
    background: var(--srs-maroon);
    border-color: var(--srs-maroon);
    color: #fff;
    font-weight: 600;
}

    .btn-maroon:hover {
        background: var(--srs-maroon-dark);
        border-color: var(--srs-maroon-dark);
        color: #fff;
    }

@media (max-width: 991.98px) {
    .hero-slider {
        height: 50vh;
    }

    .stat-item {
        padding: 1.25rem .5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ================= Animations ================= */

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201,162,75,.55);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(201,162,75,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(201,162,75,0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

/* Hero entrance (above-the-fold, so it plays on load rather than on scroll) */
.hero-eyebrow {
    animation: fadeSlideUp .7s ease both;
}

.hero-caption h1 {
    animation: fadeSlideUp .8s ease .1s both;
}

.hero-caption p {
    animation: fadeSlideUp .8s ease .25s both;
}

.hero-caption .btn-apply {
    animation: fadeSlideUp .8s ease .4s both, ctaPulse 2.4s ease-in-out 1.4s infinite;
}

.brand-logo-box .brand-badge-lg {
    transition: transform .35s ease;
}

.brand-logo-box:hover .brand-badge-lg {
    transform: rotate(-8deg) scale(1.08);
}

.card-soft, .msg-card, .news-item, .form-card {
    animation: fadeIn .5s ease both;
    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-tile {
    position: relative;
}

    .gallery-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(30,58,95,.55), transparent 55%);
        opacity: 0;
        transition: opacity .3s ease;
        border-radius: 10px;
    }

    .gallery-tile:hover::after {
        opacity: 1;
    }

.stat-number {
    transition: transform .25s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.08);
}

/* Scroll-to-top button */
.scroll-top-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--srs-maroon);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(30,58,95,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    cursor: pointer;
}

    .scroll-top-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top-btn:hover {
        background: var(--srs-maroon-dark);
        animation: floatY 1.4s ease-in-out infinite;
    }

.site-header.shadow {
    transition: box-shadow .25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-caption h1, .hero-caption p, .hero-caption .btn-apply,
    .card-soft, .msg-card, .news-item, .form-card {
        animation: none !important;
    }

    .scroll-top-btn:hover {
        animation: none;
    }
}


/* ---------- Contact page: info cards + map ---------- */
.contact-info-card {
    background: var(--srs-cream);
    border-radius: 16px;
    padding: 1.6rem;
}

.contact-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--srs-maroon), var(--srs-maroon-dark));
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(30,58,95,.25);
}

.contact-email-link {
    color: var(--srs-maroon);
    font-weight: 600;
}

    .contact-email-link:hover {
        color: var(--srs-maroon-dark);
        text-decoration: underline;
    }

.contact-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(27,35,46,.14);
}

    .contact-map-wrap iframe {
        width: 100%;
        height: 100%;
        min-height: 420px;
        border: 0;
        display: block;
    }

.mgmt-justify-text {
    text-align: justify;
    color: #a1a5a9;
}

.news-marquee-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1.1rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background .2s ease;
}

    .news-marquee-title:hover {
        background: var(--srs-gold-light);
        color: inherit;
    }

    .news-marquee-title .news-date {
        font-size: .72rem;
        white-space: nowrap;
    }

.news-detail-content {
    color: var(--srs-ink);
    font-size: 1.05rem;
    line-height: 1.85;
}

    .news-detail-content p {
        margin-bottom: 1rem;
    }

