﻿:root {
    --primary: #0B3C6F;
    --secondary: #005BAC;
    --accent: #FFC107;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --text: #152238;
    --text-muted: #5B6B85;
    --radius: 16px;
    --shadow-sm: 0 2px 10px rgba(11,60,111,.06);
    --shadow-md: 0 10px 30px rgba(11,60,111,.10);
    --shadow-lg: 0 20px 50px rgba(11,60,111,.16);
    --header-h: 56px;
    --nav-h: 72px;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
    --bg: #0B1220;
    --card: #141C2E;
    --text: #EAF0FA;
    --text-muted: #9AACC7;
    --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
    --shadow-md: 0 10px 30px rgba(0,0,0,.45);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    transition: background .3s ease,color .3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-head {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}

    .skip-link:focus {
        left: 0;
    }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary);
    color: #e7eefc;
    font-size: .82rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
}

    .top-bar a {
        color: #e7eefc;
        opacity: .9;
    }

        .top-bar a:hover {
            opacity: 1;
            color: var(--accent);
        }

    .top-bar .divider {
        opacity: .3;
        margin: 0 .5rem;
    }

.badge-naac {
    background: var(--accent);
    color: #3a2c00;
    font-weight: 700;
    border-radius: 20px;
    padding: .2rem .7rem;
    font-size: .75rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: #e7eefc;
    font-size: 1rem;
    padding: .15rem .4rem;
}

    .icon-btn:hover {
        color: var(--accent);
    }
.navbar {
    /*   background: #1d3557;
    display: flex;*/
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #1d3557;
    transition: all .3s ease;
    padding: 0 20px;
    height: 40px;
    /*  justify-content: space-between;

  
    z-index: 9999;*/
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

/* ==========================
   MAIN MENU
========================== */

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex: 1;
    position: sticky;
}

    .menu > li {
        position: relative;
    }

        .menu > li > a {
            display: block;
            color: #fff;
            text-decoration: none;
            padding: 6px 18px;
            transition: .3s;
            white-space: nowrap;
        }

        .menu > li:hover > a {
            background: #457b9d;
        }

    /* ==========================
   FIRST DROPDOWN
========================== */

    .menu li ul {
        list-style: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        background: #1d3557;
        display: none;
        padding: 0;
        margin: 0;
        border-radius: 6px;
        box-shadow: 0 10px 25px rgba(0,0,0,.25);
        z-index: 99999;
    }

    /* Show submenu */

    .menu li:hover > ul {
        display: block;
    }

    /* ==========================
   SECOND & THIRD LEVEL
========================== */

    .menu li ul li {
        position: relative;
    }

        .menu li ul li a {
            display: block;
            color: #fff;
            text-decoration: none;
            padding: 12px 18px;
            background: #1d3557;
            transition: .3s;
        }

            .menu li ul li a:hover {
                background: #2f5d8a;
            }

        /* Third level */

        .menu li ul li ul {
            top: 0;
            left: 100%;
        }

/* ==========================
   MOBILE MENU
========================== */

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width:992px) {

    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 5px 20px;
    }

    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #1d3557;
        margin-top: 10px;
    }

    #menu-toggle:checked ~ .menu {
        display: flex;
    }

    .menu > li {
        width: 100%;
    }

        .menu > li > a {
            padding: 14px 20px;
            border-top: 1px solid rgba(255,255,255,.08);
        }

    /* Mobile dropdown */

    .menu li ul {
        position: static;
        display: none;
        width: 100%;
        background: #294a72;
        border-radius: 0;
        box-shadow: none;
    }

    .menu li:hover > ul {
        display: block;
    }

    .menu li ul li ul {
        position: static;
        display: none;
        background: #355b87;
    }

    .menu li ul li:hover > ul {
        display: block;
    }

    .menu li ul li a {
        padding-left: 35px;
    }

    .menu li ul li ul li a {
        padding-left: 55px;
    }
}
/* ===== Navbar ===== */
.main-nav {
  
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    background: rgba(255,255,255,.75);
    border-bottom: 1px solid rgba(11,60,111,.08);
    transition: all .3s ease;
}

[data-theme="dark"] .main-nav {
    background: rgba(11,18,32,.75);
    border-color: rgba(255,255,255,.06);
}

.main-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-text .name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.1;
    color: var(--text);
}

.brand-text small {
    color: var(--text-muted);
    font-size: .72rem;
}

.nav-link-custom {
    color: var(--text) !important;
    font-weight: 600;
    font-size: .92rem;
    margin: 0 .4rem;
    position: relative;
}

    .nav-link-custom::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width .25s ease;
    }

    .nav-link-custom:hover::after, .nav-link-custom.active::after {
        width: 100%;
    }

.btn-apply {
    background: linear-gradient(135deg,var(--secondary),var(--primary));
    color: #fff;
    border-radius: 30px;
    padding: .5rem 1.3rem;
    font-weight: 600;
    font-size: .88rem;
    border: none;
    box-shadow: var(--shadow-sm);
}

    .btn-apply:hover {
        box-shadow: var(--shadow-md);
        color: #fff;
        transform: translateY(-1px);
    }

.btn-outline-nav {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    padding: .45rem 1.1rem;
    font-weight: 600;
    font-size: .85rem;
    background: transparent;
}

[data-theme="dark"] .btn-outline-nav {
    color: #dfe9fb;
    border-color: #dfe9fb55;
}

.search-toggle, .theme-toggle {
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.15rem;
}

/* ===== Hero ===== */
.hero-slider {
    position: relative;
    height: 280px;
    overflow: hidden;
}

@media(min-width:768px) {
    .hero-slider {
        height: 350px;
    }
}

@media(min-width:1200px) {
    .hero-slider {
        height: 450px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    background-size: cover;
    background-position: center;
}

    .hero-slide.active {
        opacity: 1;
        z-index: 1;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,32,60,.82) 0%, rgba(11,32,60,.55) 55%, rgba(11,32,60,.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 640px;
}

.hero-eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .75rem;
}

.hero-title {
    font-size: clamp(1.5rem,4vw,2.6rem);
    line-height: 1.15;
    margin: .4rem 0;
}

.hero-desc {
    font-size: .95rem;
    opacity: .92;
    margin-bottom: 1rem;
    max-width: 520px;
}

.hero-btns .btn {
    border-radius: 30px;
    font-weight: 600;
    padding: .55rem 1.4rem;
    font-size: .88rem;
}

.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

    .hero-dots button {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,.45);
    }

        .hero-dots button.active {
            background: var(--accent);
            width: 22px;
            border-radius: 6px;
        }

.hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

    .hero-arrow:hover {
        background: rgba(255,255,255,.3);
    }

    .hero-arrow.prev {
        left: 14px;
    }

    .hero-arrow.next {
        right: 14px;
    }

@media(max-width:575px) {
    .hero-arrow {
        display: none;
    }
}

/* ===== Section spacing ===== */
.section {
    padding: 3.2rem 0;
}

.section-tight {
    padding: 2.2rem 0;
}

.eyebrow {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .08em;
}

.section-title {
    font-size: clamp(1.4rem,2.6vw,2rem);
    margin-bottom: .4rem;
}

.section-sub {
    color: var(--text-muted);
    max-width: 620px;
}

/* ===== Cards common ===== */
.glass-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11,60,111,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

[data-theme="dark"] .glass-card {
    border-color: rgba(255,255,255,.06);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Quick action cards */
.quick-card {
    padding: 1.4rem 1rem;
    text-align: center;
    height: 100%;
    cursor: pointer;
}

    .quick-card .icon-wrap {
        width: 56px;
        height: 56px;
        margin: 0 auto .7rem;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg,var(--secondary),var(--primary));
        color: #fff;
        font-size: 1.4rem;
    }

    .quick-card h3 {
        font-size: .95rem;
        margin-bottom: 0;
    }

/* Stats */
.stats-band {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: #fff;
    border-radius: var(--radius);
}

.stat-item {
    text-align: center;
    padding: 1.4rem .5rem;
}

.stat-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem,3vw,2.3rem);
}

.stat-label {
    font-size: .78rem;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Why choose */
.feature-card {
    padding: 1.6rem 1.3rem;
    height: 100%;
}

    .feature-card .icon-wrap {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(11,60,111,.08);
        color: var(--primary);
        font-size: 1.3rem;
        margin-bottom: .8rem;
    }

[data-theme="dark"] .feature-card .icon-wrap {
    background: rgba(255,255,255,.08);
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 0;
}

/* Course cards */
.course-card {
    overflow: hidden;
    height: 100%;
}

    .course-card .img-wrap {
        height: 170px;
        overflow: hidden;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .course-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .course-card:hover img {
        transform: scale(1.08);
    }

    .course-card .body {
        padding: 1.1rem;
    }

    .course-card h3 {
        font-size: 1rem;
    }

    .course-card p {
        color: var(--text-muted);
        font-size: .85rem;
    }

.btn-readmore {
    color: var(--secondary);
    font-weight: 600;
    font-size: .85rem;
}

    .btn-readmore i {
        transition: transform .2s ease;
    }

    .btn-readmore:hover i {
        transform: translateX(4px);
    }

/* Ticker */
.ticker-wrap {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-label {
    background: var(--accent);
    color: #3a2c00;
    font-weight: 700;
    padding: .6rem 1rem;
    white-space: nowrap;
    font-size: .85rem;
    border-radius: var(--radius) 0 0 var(--radius);
}

.ticker-track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: ticker 22s linear infinite;
    padding: .6rem 1rem;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ticker-item {
    font-size: .85rem;
    color: var(--text);
}

    .ticker-item .tag {
        color: var(--secondary);
        font-weight: 700;
        margin-right: .3rem;
    }

/* Principal */
.principal-photo {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.quote-mark {
    font-size: 2.6rem;
    color: var(--accent);
    line-height: 1;
    font-family: Georgia,serif;
}

/* Placement */
.recruiter-logo {
    background: var(--card);
    border-radius: 12px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    font-size: .85rem;
}

/* Facilities */
.facility-tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 190px;
}

    .facility-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .facility-tile:hover img {
        transform: scale(1.1);
    }

    .facility-tile .label {
        position: absolute;
        inset: auto 0 0 0;
        padding: .7rem .9rem;
        background: linear-gradient(0deg,rgba(0,0,0,.75),transparent);
        color: #fff;
        font-weight: 600;
        font-size: .88rem;
    }

/* Testimonials */
.testi-card {
    padding: 1.6rem;
    height: 100%;
}

    .testi-card p {
        font-size: .9rem;
        color: var(--text-muted);
    }

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

/* Notice board */
.notice-board {
    max-height: 340px;
    overflow-y: auto;
}

.notice-item {
    display: flex;
    gap: .8rem;
    padding: .8rem 0;
    border-bottom: 1px dashed rgba(11,60,111,.15);
}

[data-theme="dark"] .notice-item {
    border-color: rgba(255,255,255,.12);
}

.notice-item .date-box {
    background: rgba(11,60,111,.08);
    color: var(--primary);
    border-radius: 10px;
    padding: .4rem .6rem;
    text-align: center;
    min-width: 52px;
    font-weight: 700;
    font-size: .78rem;
}

[data-theme="dark"] .notice-item .date-box {
    background: rgba(255,255,255,.08);
    color: var(--accent);
}

.pdf-icon {
    color: #d64545;
}

/* Gallery */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

/* Downloads / IQAC */
.download-card {
    padding: 1.2rem;
    text-align: center;
    height: 100%;
}

    .download-card i {
        font-size: 1.6rem;
        color: var(--secondary);
    }

/* Footer */
footer {
    background: #071B33;
    color: #c6d4ea;
}

[data-theme="dark"] footer {
    background: #050B15;
}

footer a {
    color: #c6d4ea;
}

    footer a:hover {
        color: var(--accent);
    }

footer h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-cta {
    background: linear-gradient(135deg,var(--secondary),var(--primary));
    border-radius: var(--radius);
    padding: 2.2rem;
    color: #fff;
    text-align: center;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c6d4ea;
}

    .social-circle:hover {
        background: var(--accent);
        color: #3a2c00;
    }

/* Mobile sticky bottom nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: var(--card);
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    display: flex;
    justify-content: space-around;
    padding: .4rem 0;
    border-top: 1px solid rgba(11,60,111,.08);
}

[data-theme="dark"] .mobile-bottom-nav {
    border-color: rgba(255,255,255,.08);
}

.mobile-bottom-nav a {
    color: var(--text-muted);
    text-align: center;
    font-size: .68rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 56px;
    padding: 4px;
}

    .mobile-bottom-nav a i {
        font-size: 1.15rem;
    }

    .mobile-bottom-nav a.primary {
        color: var(--primary);
    }

[data-theme="dark"] .mobile-bottom-nav a.primary {
    color: var(--accent);
}

@media(min-width:992px) {
    .mobile-bottom-nav {
        display: none;
    }
}

body {
    padding-bottom: 0;
}

@media(max-width:991px) {
    body {
        padding-bottom: 64px;
    }
}

/* Accessibility panel */
.a11y-panel {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 1050;
    background: var(--card);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    width: 230px;
    display: none;
}

    .a11y-panel.show {
        display: block;
    }

@media(min-width:992px) {
    .a11y-panel {
        bottom: 24px;
    }
}

.a11y-panel button {
    width: 100%;
    margin-bottom: .4rem;
    font-size: .82rem;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .ticker-track {
        animation: none;
    }
}

/* Font size scaling */
html[data-font="lg"] {
    font-size: 112%;
}

html[data-font="xl"] {
    font-size: 124%;
}

html[data-contrast="high"] {
    --bg: #000;
    --card: #111;
    --text: #fff;
    --text-muted: #ddd;
}

    html[data-contrast="high"] .main-nav {
        background: #000 !important;
    }
