/* Global Premium Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0A1F44;       /* User Brand Navy */
    --primary-light: #15305B;
    --primary-dark: #001b5e;  /* Deep Navy */
    --secondary: #2563EB;     /* User Brand Blue */
    --secondary-hover: #1D4ED8;
    --accent: #FFB703;        /* User Brand Gold */
    --accent-hover: #FFA000;
    --light: #F4F6FA;         /* Soft Background */
    --white: #FFFFFF;
    --dark: #111827;          /* Text Dark */
    --text-muted: #64748B;    /* Slate Gray Text */
    --border-color: #E2E8F0;
    
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.05);
    --shadow-md: 0 10px 25px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 20px 45px rgba(10, 31, 68, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
    border: 2px solid var(--light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    position: relative;
}

.top-bar .contact-info {
    display: flex;
    gap: 20px;
}

.top-bar .contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 450;
}

.top-bar .contact-info span i {
    color: var(--accent);
}

.top-bar .right-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .accreditation-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .accreditation-badge i {
    color: var(--accent);
}

.top-bar .social-links {
    display: flex;
    gap: 15px;
}

.top-bar .social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Branding Header */
.branding-header {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    position: relative;
    z-index: 100;
    height: 110px;
    padding: 15px 25px;
    border-bottom: 3px solid #003366;   
}

.branding-header .logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.branding-header .logo-container img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.05));

}

.branding-header .text-container h1 {
    color: var(--primary-dark);
    font-size: 29px;
    font-weight: 800;
    text-transform: uppercase;
}

.branding-header .text-container p {
    color: var(--secondary);
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.branding-header .nielit-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.branding-header .nielit-badge img {
    height: 70px;
    width: auto;
}

.branding-header {
    background: #ffffff;
    padding: 15px 25px;
    border-bottom: 3px solid #003366;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width:100%;
}
.text-container p{
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-size: 14px;
}

.main-logo {
    width: 100px;
    height: auto;
}

.text-container {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.text-container h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.nielit-badge img {
    width: 100px;
    height: auto;
}


/* Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--accent); /* Premium Gold Accent Line */
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.sticky-nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Hidden desktop logo shown when navbar scrolls/sticky */
.sticky-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
}

.sticky-nav.scrolled .nav-logo {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sticky-nav .nav-logo img {
    height: 40px;
}

.sticky-nav .nav-logo span {
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.sticky-nav ul {
    display: flex;
    list-style: none;
    gap: 15px; /* Reduced to fit on one line */
    align-items: center;
    flex-wrap: nowrap; /* Ensure it never wraps */
}

.sticky-nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sticky-nav ul li a i {
    font-size: 12px;
    opacity: 0.8;
}

/* Center expanding indicator line */
.sticky-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.sticky-nav ul li a:hover,
.sticky-nav ul li a.active {
    color: var(--accent);
}

.sticky-nav ul li a:hover::after,
.sticky-nav ul li a.active::after {
    width: 100%;
}

.sticky-nav .nav-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--primary-dark);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 750;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.sticky-nav .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.45);
    background: var(--white);
    color: var(--primary-dark);
}

/* Hamburger & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Sidebar Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--primary);
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    z-index: 1001;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-overlay ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.mobile-nav-overlay ul li a {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-overlay .nav-btn {
    text-align: center;
    width: 100%;
    justify-content: center;
}
.mobile-nav-overlay{
    color:white;
}
.mobile-nav-overlay ul li:hover {
    color:yellowgreen;
}
.mobile-nav-overlay a:hover{
    color:yellowgreen;
    
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}

.mobile-nav-backdrop.active {
    display: block;
}

/* Unified Footer */
footer.main-footer {
    background: linear-gradient(135deg, var(--primary) 0%, #030a17 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 6% 30px;
    border-top: 5px solid var(--accent); /* Premium Gold Top Accent */
}

footer.main-footer .footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
    margin-bottom: 50px;
}

footer.main-footer .footer-col h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

footer.main-footer .footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

footer.main-footer .footer-col.about-col .footer-logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

footer.main-footer .footer-col.about-col .footer-logo-section img {
    height: 55px;
}

footer.main-footer .footer-col.about-col .footer-logo-section h2 {
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

footer.main-footer .footer-col.about-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.65);
}

footer.main-footer .social-icons {
    display: flex;
    gap: 12px;
}

footer.main-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

footer.main-footer .social-icons a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.35);
}

footer.main-footer .footer-col.links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer.main-footer .footer-col.links-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

footer.main-footer .footer-col.links-col ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--accent);
    transition: var(--transition);
}

footer.main-footer .footer-col.links-col ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

footer.main-footer .footer-col.contact-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer.main-footer .footer-col.contact-col ul li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
}

footer.main-footer .footer-col.contact-col ul li i {
    color: var(--accent);
    margin-top: 4px;
    font-size: 16px;
}

footer.main-footer .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 15px;
}

footer.main-footer .footer-bottom .right {
    display: flex;
    gap: 20px;
}

/* Inner Page Hero (Shared between subpages) */
.inner-hero-section {
    position: relative;
    height: 40vh;
    background: linear-gradient(135deg, rgba(7, 27, 77, 0.85), rgba(10, 25, 49, 0.85)), url('campus-day.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0 5%;
}

.inner-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 49, 0.4);
    z-index: 1;
}

.inner-hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.inner-hero-section h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: var(--white);
}

.inner-hero-section p {
    font-size: clamp(14px, 1.8vw, 16px);
    opacity: 0.9;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
}

/* Animations & Transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

/* Responsive Styles */
@media(max-width: 1200px) {
    footer.main-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media(max-width: 992px) {
    .branding-header .nielit-badge {
        display: none;
    }
}

@media(max-width: 1024px) {
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    
    .branding-header {
        padding: 15px 5%;
        justify-content: center;
        text-align: center;
        height: auto;
    }
    
    .branding-header .logo-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .branding-header .text-container h1 {
        font-size: 16px;
    }
    
    .branding-header .text-container p {
        font-size: 11px;
    }
    
    .sticky-nav .nav-container {
        height: 50px;
        padding: 0 5%;
    }
    
    .sticky-nav .nav-logo {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .sticky-nav .nav-logo span {
        font-size: 14px;
    }
    
    .sticky-nav ul, 
    .sticky-nav .nav-btn {
        display: none; /* Hide default nav items */
    }
    
    .hamburger {
        display: flex; /* Show mobile hamburger toggle */
    }
    
    footer.main-footer {
        padding: 50px 5% 25px;
    }
    
    footer.main-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    footer.main-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


/* Ticker Styles */
.ticker-wrap {
    display: flex;
    align-items: center;
    background: #003366;
    height: 42px;
    overflow: hidden;
    width: 100%;
}

.ticker-label {
    background: #ffcc00;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
    white-space: nowrap;
}

.ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    animation: ticker-scroll 30s linear infinite;

}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-wrap {
        height: 40px;
    }

    .ticker-label {
        font-size: 12px;
        padding: 0 10px;
    }

    .ticker-content {
        font-size: 12px;
    }
}

/* ==========================
   MOBILE HEADER RESPONSIVE
========================== */
@media (max-width: 768px) {

    .branding-header{
        padding:10px 4%;
        height:auto;
    }

    .branding-header .logo-container{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        width:100%;
        gap:10px;
    }

    /* Main Logo (Left) */
    .branding-header .logo-container > img,
    .main-logo{
        width:55px !important;
        height:auto !important;
        flex-shrink:0;
        object-fit:contain;
    }

    /* Text (Center) */
    .branding-header .text-container{
        flex:1;
        text-align:center;
        padding:0 8px;
        min-width:0;
    }

    .branding-header .text-container h1{
        font-size:14px !important;
        line-height:1.25;
        margin:0;
        font-weight:800;
    }

    .branding-header .text-container p{
        font-size:10px !important;
        line-height:1.2;
        margin-top:3px;
        justify-content:center;
        flex-wrap:wrap;
    }

    /* NIELIT Logo (Right) */
    .branding-header .nielit-badge{
        display:flex;
        align-items:center;
        justify-content:center;
        background:none;
        border:none;
        padding:0;
        margin:0 ;
        flex-shrink:0;
    }

    .branding-header .nielit-badge img{
        width:55px ;
        height:auto ;
        display:block;
        object-fit:contain;
    }
}