:root{
    --primary-color:#0A2947;
    --secondary-color:#d32f2f;
    --accent-color:#f8b400;
    --blue: rgb(29,78,216);
  

    --heading-font:"Poppins",sans-serif;
    --body-font:"Roboto",sans-serif;


    --brand-font:"Cormorant Garamond", Georgia, serif;
    --nav-font:"Manrope", "Roboto", sans-serif;
    --header-ivory:#fbf8f1;

    --header-gold:#b8862e;
    --container-width:1200px;

    --transition:.3s ease;
    --border-radius:8px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


.logo{
    position:relative;
    display:grid;
    flex:0 0 auto;
    width:clamp(100px,9vw,120px);
    aspect-ratio:1;
    place-items:center;
    overflow:hidden;
    border:2px solid rgba(184,134,46,.82);
    border-radius:50%;
    background:#fffaf0;
    box-shadow:0 12px 22px rgba(10,41,71,.18), inset 0 0 0 6px rgba(255,255,255,.9);
    transition:transform .35s ease, box-shadow .35s ease;
}

.logo img{
    display:block;
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}


ul{list-style:none;}
a{text-decoration:none;}

.container{
    width:min(var(--container-width),calc(100% - 32px));
    margin-inline:auto;
}

.site-header{
    position:relative;
    z-index:1000;
    background:var(--header-ivory);
}

.header-top{
    background:#071f38;
    border-bottom:1px solid rgba(255,255,255,.12);
    color:var(--white);
}

.top-info{
    display:flex;
    align-items:center;
    justify-content:space-around;
    gap:0;
    min-height:36px;
    margin:0;
    font:600 11px/1.3 var(--nav-font);
    letter-spacing:.02em;
}

.top-info li{
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 16px;
}

.top-info li + li{
    border-left:1px solid rgba(255,255,255,.18);
}

.top-info i{
    color:#e4ba62;
    font-size:11px;
}

.top-info a{
    color: white;
    transition:color var(--transition);
}

.top-info a:hover{
    color:#f4c766;
}

.header-main{
    position:relative;
    overflow:hidden;
}


.header-main-wrapper{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:28px;
    min-height:clamp(110px,12vw,120px);
    /* padding:7px 0; */
}

.header-actions{
    display:flex;
    align-items:center;
    gap:30px;
}
.header-logo{
    height: 112px;
    width: auto;
}
.header-naac{
    height: 110px;
    width: auto;
    padding-left: 25px;
}

.header-estd{
    height: 90px;
    width: auto;
}

.header-bar{
    display:none;
    width:46px;
    height:46px;
    place-items:center;
    border:1px solid rgba(184,134,46,.85);
    border-radius:50%;
    background:rgba(255,255,255,.78);
    color:var(--primary-color);
    font-size:20px;
    cursor:pointer;
    transition:background var(--transition), color var(--transition), transform var(--transition);
}

.header-bar:hover{
    background:var(--primary-color);
    color:#f4c766;
    transform:translateY(-2px);
}

.header-navbar{
    position:sticky;
    top:0;
    z-index:9999;
    border-top:2px solid #d4a13b;
    background: var(--primary-color);
    box-shadow:0 7px 16px rgba(10,41,71,.13);
}

.navbar-menu{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    min-height:58px;
    gap:0;
    margin:0;
    padding:0;
}

.navbar-menu > li{
    position:relative;
    display:flex;
}

.navbar-menu > li > a{
    position:relative;
    display:flex;
    align-items:center;
    gap:7px;
    padding:18px 12px 16px;
    color:rgba(255,255,255,.94);
    font:800 12px/1 var(--nav-font);
    letter-spacing:.075em;
    text-transform:uppercase;
    white-space:nowrap;
    transition:color var(--transition);
}

.navbar-menu > li > a::after{
    content:"";
    position:absolute;
    right:12px;
    bottom:9px;
    left:12px;
    height:2px;
    border-radius:999px;
    background:#e6b74f;
    transform:scaleX(0);
    transform-origin:right;
    transition:transform .28s ease;
}

.navbar-menu > li:hover > a,
.navbar-menu > li:focus-within > a,
.navbar-menu > li.is-current > a{
    color: white;
}

.navbar-menu > li:hover > a::after,
.navbar-menu > li:focus-within > a::after,
.navbar-menu > li.is-current > a::after{
    transform:scaleX(1);
    transform-origin:left;
}

.nav-dropdown > a .fa-angle-down{
    color:#dfb451;
    font-size:.8em;
    transition:transform var(--transition);
}

.nav-dropdown:hover > a .fa-angle-down,
.nav-dropdown:focus-within > a .fa-angle-down{
    transform:rotate(180deg);
}

.nav-dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    z-index:1000;
    min-width:185px;
    margin:0;
    padding:9px;
    border-top:3px solid #d7a33a;
    border-radius:0 0 12px 12px;
    background:var(--white);
    box-shadow:0 17px 30px rgba(7,31,56,.18);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.nav-dropdown-menu li a{
    display:block;
    border-radius:7px;
    padding:10px 12px;
    color:#183754;
    font:700 12px/1.35 var(--nav-font);
    letter-spacing:.01em;
    transition:background var(--transition), color var(--transition), padding-left var(--transition);
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a:focus-visible{
    padding-left:16px;
    background:#f8f1e2;
    color:#8a5c0d;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    background-color: white;
}

.mega-menu{
    display:grid;
    grid-template-columns:repeat(2,minmax(190px,1fr));
    gap:2px 9px;
    min-width:510px;
}


/* ==========================================
    Header
========================================== */
@media (min-width:1600px){
    .header-main-wrapper{
        min-height:150px;
    }
}

@media (max-width:1250px){
    .navbar-menu > li > a{
        padding-right:9px;
        padding-left:9px;
        font-size:11px;
        letter-spacing:.055em;
    }

    .navbar-menu > li > a::after{
        right:9px;
        left:9px;
    }
}

@media (max-width:992px){
    .header-top{
        display:none;
    }

    .header-naac{
       display: none;
    }
    .header-estd{
        height: 70px;
       width: auto;
       padding-right: 20px;
    }

    .header-logo{
        height: 90px;
        width: auto;
    }

    .header-main-wrapper{
        min-height:126px;
    }


    .header-bar{
        display:grid;
        flex:0 0 auto;
    }

    .header-navbar{
        position:relative;
        top:auto;
    }

    .navbar-menu{
        display:block;
        min-height:0;
        max-height:0;
        overflow:hidden;
        padding:0 12px;
        background:#08243f;
        transition:max-height .38s ease, padding .38s ease;
    }

    .header-navbar.active .navbar-menu{
        max-height:3000px;
        padding-bottom:12px;
    }

    .navbar-menu > li{
        display:block;
        border-top:1px solid rgba(255,255,255,.12);
    }

    .navbar-menu > li > a{
        justify-content:space-between;
        padding:16px 10px;
        font-size:12px;
        letter-spacing:.07em;
    }

    .navbar-menu > li > a::after{
        display:none;
    }

    .nav-dropdown-menu{
        position:static;
        display:none;
        min-width:0;
        margin:0 0 6px;
        padding:6px;
        border:1px solid rgba(184,134,46,.35);
        border-top:2px solid #d7a33a;
        border-radius:8px;
        background:#f8f6f1;
        box-shadow:none;
        opacity:1;
        visibility:visible;
        transform:none;
    }

    .nav-dropdown.active > .nav-dropdown-menu{
        display:block;
    }
    .nav-dropdown-menu li a{
        padding:10px 12px;
        font-size:12px;
    }

     .mega-menu{
        display:none;
    }

    .nav-dropdown.active>.mega-menu{
        display:block;
    }

    .nav-dropdown.active>.nav-dropdown-menu{
    display:block;
}
}

@media (max-width:768px){
    .header-main-wrapper{
        gap:14px;
        min-height:108px;
        padding:12px 0;
    }

      /* .header-logo{
        height: 60px;
        width: auto;
    } */
    .header-estd{
        height: 40px;
       width: auto;
    }

    .header-logo{
        height: 60px;
        width: auto;
    }
}

@media (max-width:576px){

    .header-main-wrapper{
        gap:9px;
        min-height:82px;
        padding:11px 0;
    }
    .logo{
        width:64px;
    }

   .header-estd{
        height: 40px;
       width: auto;
       padding-right: 5px;
    }
    .header-logo{
        height: 50px;
        width: auto;
    }
    
    .header-bar{
        width:42px;
        height:42px;
        font-size:17px;
    }
    .navbar-menu{
        padding-right:8px;

        padding-left:8px;
    }
    .navbar-menu > li > a{
        padding:15px 10px;
        font-size:11px;
    }
}

@media (max-width:375px) {
    .header-logo{
        height: 45px;
        width: auto;
    }
      .header-estd{
        height: 25px;
    }
    .header-bar{
        height: 20px;
        width: auto;
    }
    .header-bar i{
    font-size:12px;
}
}

/* footer */

.university-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: white;
    background: var(--primary);
    font-family: var(--font-main);
}

/* =========================================================
   HTML BACKGROUND IMAGE
========================================================= */

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    transform: scale(1.04);
    filter: saturate(0.85) contrast(1.08);
}

/* =========================================================
   IMAGE OVERLAY
========================================================= */

.footer-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        rgba(7, 27, 53, 0.98) 0%,
        rgba(7, 27, 53, 0.94) 35%,
        rgba(7, 27, 53, 0.86) 70%,
        rgba(4, 18, 35, 0.94) 100%
    );
}

/* =========================================================
   SUBTLE GOLD GLOW
========================================================= */

.university-footer::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 300px;
    top: -190px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(200, 164, 93, 0.14),
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.footer-container {
    position: relative;
    z-index: 3;
}

/* =========================================================
   FOOTER TOP
========================================================= */

.footer-top {
    display: grid;
    grid-template-columns:
        1fr
        0.85fr
        1fr;
    align-items: center;
    gap: 65px;
    min-height: 350px;
    padding: 45px 20px 55px;
}

/* =========================================================
   SECTION TITLES
========================================================= */

.footer-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-section-title span {
    width: 30px;

    height: 2px;

    background: var(--accent);
}

.footer-section-title h3 {
    margin: 0;

    color: var(--accent);

    font-family: var(--font-main);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

/* =========================================================
   LINK GRID
========================================================= */

.footer-link-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 35px;
}

.footer-link-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.footer-link-list a {
    position: relative;

    width: fit-content;

    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;

    font-family: var(--font-main);

    font-size: 14px;

    font-weight: 500;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-link-list a::before {
    content: "";

    position: absolute;

    left: -15px;

    top: 50%;

    width: 0;

    height: 1px;

    background: var(--accent);

    transform: translateY(-50%);

    transition: width 0.25s ease;
}

.footer-link-list a:hover {
    color: var(--white);

    transform: translateX(5px);
}

.footer-link-list a:hover::before {
    width: 8px;
}

/* =========================================================
   CENTER BRAND
========================================================= */

.footer-brand {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

/* Logo */

.footer-logo-wrap {
    position: relative;

    width: 125px;

    height: 125px;

    display: grid;

    place-items: center;

    margin-bottom: 20px;
}

.footer-logo-ring {
    position: relative;

    width: 108px;

    height: 108px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(200, 164, 93, 0.65);

    border-radius: 50%;

    box-shadow:
        0 0 0 8px rgba(200, 164, 93, 0.04),
        0 0 0 15px rgba(200, 164, 93, 0.025);
}

.footer-logo-ring::before {
    content: "";

    position: absolute;

    inset: -7px;

    border: 1px dashed rgba(255, 255, 255, 0.18);

    border-radius: 50%;
}

.footer-logo-ring img {
    width: 94px;

    height: 94px;

    object-fit: contain;

    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));

    transition: transform 0.4s ease;
}

.footer-logo-wrap:hover .footer-logo-ring img {
    transform: scale(1.06) rotate(3deg);
}

/* University name */

.footer-brand h2 {
    margin: 0;
    color: #ffff;
    font-family: var(--font-main);
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.5px;
}

/* Brand divider */

.footer-brand-divider {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 14px 0;
}

.footer-brand-divider span {
    width: 32px;

    height: 1px;

    background: var(--accent);
}

.footer-brand-divider i {
    width: 5px;

    height: 5px;

    background: var(--accent);

    transform: rotate(45deg);
}

.footer-department {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-department b {
    color: var(--accent);

    margin: 0 4px;
}

.footer-motto {
    margin-top: 13px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 1.5px;
}


.footer-contact {
    gap: 23px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 5px;
}

.footer-contact-icon {
    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    display: grid;

    place-items: center;

    color: var(--accent);

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(200, 164, 93, 0.28);

    border-radius: 50%;
}

.footer-contact-icon svg {
    width: 19px;

    height: 19px;
}

.footer-contact-item > div:last-child {
    min-width: 0;
}

.footer-contact-item span {
    display: block;

    margin-bottom: 4px;

    color: var(--accent);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-contact-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;

    font-weight: 500;
}

.footer-contact-item small {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;
}

.footer-contact-item a {
    display: inline-block;

    max-width: 100%;

    color: rgba(255, 255, 255, 0.78);

    text-decoration: none;

    font-size: 12px;

    word-break: break-word;

    transition: color 0.25s ease;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 0 20px;
}

.footer-divider span {
    flex: 1;

    height: 1px;

    background: linear-gradient(90deg, transparent, rgba(200, 164, 93, 0.28));
}

.footer-divider span:last-child {
    background: linear-gradient(90deg, rgba(200, 164, 93, 0.28), transparent);
}

.footer-divider i {
    width: 6px;

    height: 6px;

    background: var(--accent);

    transform: rotate(45deg);
}

/* =========================================================
   MIDDLE
========================================================= */

.footer-middle {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 16px 20px;
}

/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 8px;
}

.social-label {
    margin-right: 7px;
    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);

    background: var(--accent);

    border-color: var(--accent);

    transform: translateY(-3px);
}
.footer-quote {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-quote span {
    width: 35px;

    height: 1px;

    background: var(--accent);
}

.footer-quote p {
    margin: 0;

    color: rgba(255, 255, 255, 0.5);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

/* =========================================================
   BACK TO TOP
========================================================= */

.footer-top-button {
    width: 45px;

    height: 45px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 1px;

    color: var(--accent);

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(200, 164, 93, 0.35);

    border-radius: 5px;

    text-decoration: none;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;

    transition: all 0.3s ease;
}

.footer-top-button span {
    font-size: 17px;

    line-height: 1;
}

.footer-top-button:hover {
    color: var(--primary);

    background: var(--accent);

    transform: translateY(-3px);
}

/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.65);

    font-weight: 600;
}

.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 11px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);

    text-decoration: none;

    font-size: 11px;

    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-bottom-links span {
    width: 3px;

    height: 3px;

    background: var(--accent);

    border-radius: 50%;
}

.footer-credit {
    text-align: right;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        grid-row: 1;

        padding-bottom: 15px;
    }

    .footer-navigation {
        grid-column: 1;

        grid-row: 2;
    }

    .footer-contact {
        grid-column: 2;

        grid-row: 2;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
    .footer-top {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 38px;

        padding: 45px 15px 35px;
    }

    .footer-brand {
        order: -1;
    }

    .footer-logo-wrap {
        width: 110px;

        height: 110px;
    }

    .footer-logo-ring {
        width: 94px;

        height: 94px;
    }

    .footer-logo-ring img {
        width: 82px;

        height: 82px;
    }

    .footer-brand h2 {
        font-size: 23px;
    }

    .footer-department {
        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .footer-link-grid {
        gap: 25px;
    }

    .footer-middle {
        flex-direction: column;

        justify-content: center;

        gap: 18px;

        padding: 22px 15px;
    }

    .footer-quote {
        order: -1;
    }

    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        gap: 10px;

        padding: 18px 15px;

        text-align: center;
    }

    .footer-credit {
        text-align: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
    .footer-brand h2 {
        font-size: 21px;
    }

    .footer-department {
        font-size: 7px;
    }

    .footer-link-list a {
        font-size: 13px;
    }

    .footer-contact-item p {
        font-size: 12px;
    }

    .footer-quote span {
        width: 18px;
    }

    .footer-quote p {
        font-size: 7px;

        letter-spacing: 1.5px;
    }
}
