﻿/* =========================================================
   MARYADA PURUSHOTTAM RAM ASHISH SINGH INTER COLLEGE
   SCHOOL WEBSITE MASTER THEME
   ROYAL NAVY + ANTIQUE GOLD + IVORY
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    --navy-950: #071426;
    --navy-900: #0b1f3a;
    --navy-850: #0e2543;
    --navy-800: #102a4c;
    --navy-700: #163b67;

    --gold: #c9a227;
    --gold-dark: #a98214;
    --gold-light: #e5c766;
    --gold-soft: #f3df9b;

    --ivory: #faf8f1;
    --ivory-dark: #f4f0e4;

    --white: #ffffff;

    --text-dark: #182334;
    --text-muted: #687386;

    --border-light: rgba(201, 162, 39, .22);

    --shadow-soft:
        0 12px 35px rgba(7, 20, 38, .10);

    --shadow-medium:
        0 18px 45px rgba(7, 20, 38, .16);

    --transition: .3s ease;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    background:
        linear-gradient(
            180deg,
            var(--ivory) 0%,
            #ffffff 45%,
            #f7f8fa 100%
        );

    color: var(--text-dark);

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}


/* Remove Bootstrap focus outline feel */

a {
    transition: all var(--transition);
}


/* =========================================================
   TOP INFORMATION BAR
   ========================================================= */

.school-topbar {

    background:
        linear-gradient(
            90deg,
            var(--navy-950),
            var(--navy-900)
        );

    color: #dce5ef;

    font-size: 13px;

    border-bottom:
        1px solid
        rgba(201, 162, 39, .28);
}


.school-topbar-inner {

    min-height: 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.school-top-left,
.school-top-right {

    display: flex;

    align-items: center;

    gap: 14px;
}


.school-topbar span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    white-space: nowrap;
}


.school-topbar i {

    color: var(--gold-light);

    font-size: 12px;
}


.top-divider {

    width: 1px;

    height: 16px;

    background:
        rgba(255, 255, 255, .18);
}


/* =========================================================
   MAIN NAVBAR
   ========================================================= */

.school-navbar {

    background:
        rgba(11, 31, 58, .98);

    min-height: 84px;

    padding: 8px 0;

    border-bottom:
        2px solid
        rgba(201, 162, 39, .65);

    box-shadow:
        0 8px 30px
        rgba(7, 20, 38, .20);

    backdrop-filter: blur(12px);

    z-index: 1000;
}


/* =========================================================
   SCHOOL BRAND
   ========================================================= */

.school-brand {

    display: flex;

    align-items: center;

    gap: 13px;

    color: white !important;

    text-decoration: none;

    max-width: 440px;

    transition:
        transform var(--transition);
}


.school-brand:hover {

    transform:
        translateY(-1px);
}


/* Brand Icon */

.brand-icon {

    width: 52px;

    height: 52px;

    min-width: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    color: var(--gold-light);

    border:
        1px solid
        rgba(229, 199, 102, .55);

    background:
        linear-gradient(
            145deg,
            rgba(201, 162, 39, .20),
            rgba(255, 255, 255, .04)
        );

    box-shadow:
        inset 0 0 15px
        rgba(201, 162, 39, .08);
}


.brand-icon i {

    font-size: 25px;
}


/* Brand Text */

.brand-name {

    display: flex;

    flex-direction: column;

    line-height: 1.2;
}


.brand-name strong {

    font-size: 15px;

    letter-spacing: .3px;

    color: #fff;
}


/*
   Hindi school name appears only here.
*/

.brand-name small {

    margin-top: 5px;

    font-size: 12px;

    color: var(--gold-light);

    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.school-nav-link {

    position: relative;

    color:
        rgba(255, 255, 255, .88) !important;

    font-size: 14px;

    font-weight: 600;

    padding:
        12px 13px !important;

    margin: 0 2px;

    border-radius: 9px;

    display: flex !important;

    align-items: center;

    gap: 7px;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}


.school-nav-link i {

    color: var(--gold-light);

    font-size: 12px;

    transition:
        transform var(--transition);
}


.school-nav-link:hover {

    color: white !important;

    background:
        rgba(201, 162, 39, .12);

    transform:
        translateY(-1px);
}


.school-nav-link:hover i {

    transform:
        translateY(-1px);
}


/* =========================================================
   NAV ACTIVE / HOVER GOLD LINE
   ========================================================= */

.school-nav-link::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 4px;

    width: 0;

    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-light)
        );

    transform:
        translateX(-50%);

    transition:
        width var(--transition);
}


.school-nav-link:hover::after {

    width: 65%;
}


/* =========================================================
   ACADEMICS DROPDOWN
   ========================================================= */

.school-dropdown {

    min-width: 275px;

    margin-top: 10px;

    padding: 10px;

    border: 0;

    border-top:
        3px solid
        var(--gold);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            #fffef9,
            #faf8f1
        );

    box-shadow:
        0 18px 45px
        rgba(15, 23, 42, .20);

    animation:
        dropdownFade .22s ease;
}


@keyframes dropdownFade {

    from {

        opacity: 0;

        transform:
            translateY(8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* Dropdown Items */

.school-dropdown .dropdown-item {

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        #172554;

    font-weight: 600;

    font-size: 13px;

    padding:
        11px 13px;

    margin-bottom: 2px;

    border-radius: 9px;

    transition:
        all .25s ease;
}


.school-dropdown .dropdown-item i {

    width: 20px;

    text-align: center;

    color:
        var(--gold-dark);

    font-size: 13px;

    transition:
        transform .25s ease;
}


.school-dropdown .dropdown-item:hover {

    background:
        rgba(201, 162, 39, .12);

    color:
        #8a6914;

    transform:
        translateX(4px);
}


.school-dropdown .dropdown-item:hover i {

    transform:
        scale(1.12);
}


.school-dropdown .dropdown-divider {

    border-color:
        rgba(201, 162, 39, .20);

    margin:
        7px 4px;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.school-login-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding:
        10px 20px;

    border-radius: 30px;

    text-decoration: none;

    color:
        var(--navy-950);

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    border:
        1px solid
        rgba(255, 255, 255, .25);

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 7px 20px
        rgba(201, 162, 39, .22);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        filter var(--transition);
}


.school-login-btn:hover {

    color:
        var(--navy-950);

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(201, 162, 39, .34);

    filter:
        brightness(1.06);
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.school-toggler {

    border:
        1px solid
        rgba(229, 199, 102, .5);

    color:
        var(--gold-light);

    background:
        rgba(201, 162, 39, .08);

    border-radius: 9px;

    padding:
        9px 12px;
}


.school-toggler:hover {

    color:
        var(--gold-light);

    background:
        rgba(201, 162, 39, .15);
}


.school-toggler:focus {

    box-shadow:
        0 0 0 3px
        rgba(201, 162, 39, .15);
}


.school-toggler i {

    font-size: 20px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.school-main-content {

    min-height: 650px;

    background:
        linear-gradient(
            180deg,
            rgba(250, 248, 241, .75),
            #ffffff
        );
}


/* =========================================================
   FOOTER
   ========================================================= */

.school-footer {

    position: relative;

    background:
        linear-gradient(
            145deg,
            #071426 0%,
            #0b1f3a 55%,
            #102a4c 100%
        );

    color:
        #dce5ef;

    padding:
        70px 0 20px;

    overflow: hidden;
}


/* Gold decorative glow */

.school-footer::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    top: -250px;

    right: -150px;

    background:
        rgba(201, 162, 39, .08);

    filter:
        blur(10px);

    pointer-events: none;
}


.school-footer::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    bottom: -220px;

    left: -150px;

    background:
        rgba(201, 162, 39, .05);

    pointer-events: none;
}


/* =========================================================
   FOOTER SCHOOL BRAND
   ========================================================= */

.footer-brand {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}


.footer-logo {

    width: 48px;

    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color:
        var(--gold-light);

    border:
        1px solid
        rgba(229, 199, 102, .45);

    background:
        rgba(201, 162, 39, .10);
}


.footer-logo i {

    font-size: 22px;
}


.footer-brand h4 {

    margin: 0;

    color: white;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.35;
}


.footer-brand span {

    color:
        var(--gold-light);

    font-size: 13px;

    font-weight: 600;
}


.footer-description {

    color:
        #aebdce;

    line-height: 1.8;

    font-size: 14px;

    max-width: 410px;

    margin-bottom: 20px;
}


/* =========================================================
   FOOTER BADGES
   ========================================================= */

.footer-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.footer-badges span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding:
        7px 11px;

    border:
        1px solid
        rgba(201, 162, 39, .20);

    background:
        rgba(255, 255, 255, .04);

    border-radius: 20px;

    color:
        #dbe4ee;

    font-size: 11px;

    transition:
        all var(--transition);
}


.footer-badges span i {

    color:
        var(--gold-light);
}


.footer-badges span:hover {

    background:
        rgba(201, 162, 39, .10);

    border-color:
        rgba(201, 162, 39, .45);

    transform:
        translateY(-2px);
}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.footer-column h5 {

    color:
        white;

    font-size: 16px;

    font-weight: 700;

    margin-bottom: 20px;

    position: relative;

    padding-bottom: 10px;
}


.footer-column h5::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 34px;

    height: 2px;

    background:
        var(--gold);
}


.footer-column > a {

    display: block;

    text-decoration: none;

    color:
        #aebdce;

    font-size: 13px;

    margin-bottom: 12px;

    transition:
        color var(--transition),
        transform var(--transition);
}


.footer-column > a i {

    color:
        var(--gold-light);

    font-size: 10px;

    margin-right: 7px;
}


.footer-column > a:hover {

    color:
        white;

    transform:
        translateX(4px);
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.footer-contact-item {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-bottom: 17px;
}


.footer-contact-icon {

    width: 34px;

    height: 34px;

    min-width: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    color:
        var(--gold-light);

    background:
        rgba(201, 162, 39, .10);

    border:
        1px solid
        rgba(201, 162, 39, .18);
}


.footer-contact-icon i {

    font-size: 13px;
}


.footer-contact-item strong {

    display: block;

    color:
        white;

    font-size: 12px;

    margin-bottom: 3px;
}


.footer-contact-item span {

    display: block;

    color:
        #aebdce;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 45px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, .10);
}


.footer-copyright {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    color:
        #8999ad;

    font-size: 11px;
}


.footer-separator {

    color:
        var(--gold);
}


/* =========================================================
   FOOTER SOCIAL
   ========================================================= */

.footer-social {

    display: flex;

    align-items: center;

    gap: 8px;
}


.footer-social a {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    color:
        #dce5ef;

    border:
        1px solid
        rgba(255, 255, 255, .12);

    background:
        rgba(255, 255, 255, .04);

    transition:
        all var(--transition);
}


.footer-social a:hover {

    color:
        var(--navy-950);

    background:
        var(--gold-light);

    border-color:
        var(--gold-light);

    transform:
        translateY(-3px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


/* ---------------------------------------------------------
   TABLET / SMALL LAPTOP
   --------------------------------------------------------- */

@media (max-width: 1199px) {

    .school-nav-link {

        padding:
            11px 10px !important;

        font-size:
            13px;
    }

    .school-brand {

        max-width:
            390px;
    }

}


/* ---------------------------------------------------------
   MOBILE NAVBAR
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .school-navbar {

        padding:
            10px 0;
    }


    .school-brand {

        max-width:
            calc(100% - 65px);
    }


    .brand-name strong {

        font-size:
            13px;
    }


    .brand-name small {

        font-size:
            10px;
    }


    .school-nav-link {

        margin:
            2px 0;

        padding:
            11px 13px !important;

        border-radius:
            8px;
    }


    .school-nav-link::after {

        display:
            none;
    }


    .school-login-btn {

        width:
            100%;

        margin-top:
            5px;
    }


    /* Mobile dropdown */

    .school-dropdown {

        min-width:
            100%;

        width:
            100%;

        margin-top:
            6px;

        border-top:
            2px solid
            var(--gold);

        box-shadow:
            0 10px 25px
            rgba(15, 23, 42, .12);
    }


    .school-dropdown .dropdown-item {

        padding:
            12px 15px;
    }


    .school-topbar-inner {

        padding:
            7px 0;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .school-topbar {

        font-size:
            11px;
    }


    .school-topbar-inner {

        min-height:
            auto;

        padding:
            8px 0;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            5px;
    }


    .school-top-right {

        display:
            none;
    }


    .school-brand {

        gap:
            9px;
    }


    .brand-icon {

        width:
            43px;

        height:
            43px;

        min-width:
            43px;

        border-radius:
            11px;
    }


    .brand-icon i {

        font-size:
            20px;
    }


    .brand-name strong {

        font-size:
            11px;

        line-height:
            1.25;
    }


    .brand-name small {

        font-size:
            9px;

        margin-top:
            3px;
    }


    .school-footer {

        padding:
            50px 0 18px;
    }


    .footer-bottom {

        flex-direction:
            column;

        align-items:
            center;

        text-align:
            center;

        margin-top:
            30px;
    }


    .footer-copyright {

        justify-content:
            center;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .school-top-left {

        gap:
            8px;
    }


    .top-divider {

        display:
            none;
    }


    .school-top-left span {

        font-size:
            10px;
    }


    .brand-name strong {

        font-size:
            10px;
    }


    .brand-name small {

        font-size:
            8px;
    }


    .brand-icon {

        width:
            39px;

        height:
            39px;

        min-width:
            39px;
    }


    .brand-icon i {

        font-size:
            18px;
    }


    .footer-brand h4 {

        font-size:
            14px;
    }


    .footer-description {

        font-size:
            13px;
    }


    .footer-social a {

        width:
            33px;

        height:
            33px;
    }

}


/* =========================================================
   ACCESSIBILITY / TOUCH
   ========================================================= */

.school-nav-link:focus-visible,
.school-login-btn:focus-visible,
.school-dropdown .dropdown-item:focus-visible,
.footer-column a:focus-visible,
.footer-social a:focus-visible {

    outline:
        2px solid
        var(--gold-light);

    outline-offset:
        3px;
}


/* =========================================================
   END
   ========================================================= */