/* ============================================================
   1. ROOT VARIABLES
============================================================ */
:root {
    --primary-color: rgb(0,0,64);
    --secondary-color: #1c5d99;
    --gold-color: #d4af37;
    --program-red: #b71c1c;
    --white: #ffffff;
    --text-black: #222;
}


/* =========================================
   3. UNIVERSITY HEADER (Logos & Titles)
   ========================================= */
.header-container {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 5px solid var(--gold-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.v_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

/* Logo Images */
.logo_img_left img {
    height: 150px; /* Standard height for university logos */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo_img_right img{
	height: 125px; /* Standard height for university logos */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo_img img:hover {
    transform: scale(1.05);
}

/* Center Text Content */
.logo_content {
    text-align: center;
    flex-grow: 1;
}

.logo_content h2 {
    font-size: 1.25rem; /* Adjusted for long university names */
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}

.logo_content h3 {
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.logo_content p.clr_b {
    color: #000;
    font-weight: bold;
    font-size: 0.85rem;
    margin: 2px 0;
}

.header-text-dsnlu h2{
	color: green;
	text-decoration:none;
}

.header-text-jntugv h2 a{
	color : var(--primary-color);
	text-decoration : none;
}

a{
	text-decoration:none;
}
.header-text{
	color:#ff9981;
	font-weight: bold;
	
}
.logo_content p.clr_g {
    color: green;
    font-weight: 600;
    font-size: 0.8rem;
    margin: 0;
}

/* Specific styling for the Collaboration Text */
.collab-text {
    font-family: 'Georgia', serif;
    color: #555;
    font-size: 1rem !important;
    font-style: italic;
    font-weight: normal !important;
    margin: 8px 0 !important;
    text-transform: none !important;
}

/* The PGCPAITL Program Title */
.program-title {
    margin-top: 12px;
    color: var(--program-red);
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    line-height: 1.3;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.announcement-marquee {
    background: #fff3cd;
    padding: 10px 0;
    overflow: hidden;
    border-top: 2px solid #ffcc00;
    border-bottom: 2px solid #ffcc00;
    font-weight: bold;
    color: #5c4400;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 18s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



/* ============================================================
   2. HEADER CONTAINER
============================================================ */
.header-container {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 4px solid var(--gold-color);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

/* Shrinking header */
#mainHeader.shrink {
    padding: 4px 0;
    background: #ffffffee;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#mainHeader.shrink img {
    height: 45px !important;
}
#mainHeader.shrink .program-title {
    font-size: 0.7rem !important;
}


/* ============================================================
   3. HEADER FLEX LAYOUT (Mobile First)
============================================================ */
.v_logo {
    display: flex;
    flex-direction: column; /* Mobile first */
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 0 10px;
}

/* Logos (mobile size) */
.logo_img_left img,
.logo_img_right img {
    height: 70px;
    width: auto;
    transition: 0.3s ease;
}

/* HEADER TEXT STYLE (Mobile First) */



/* ============================================================
   4. HAMBURGER MENU (Mobile First)
============================================================ */
.hamburger {
    font-size: 32px;
    cursor: pointer;
    color: var(--primary-color);
    display: block;
}


/* ============================================================
   5. MOBILE NAVIGATION MENU
============================================================ */
.mobile-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-color);
}

.mobile-nav a {
    padding: 14px;
    color: white;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
}

.mobile-nav a:hover {
    background: var(--secondary-color);
}

.mobile-nav.active {
    display: flex;
}


/* ============================================================
   6. DESKTOP NAVIGATION (Hidden on Mobile)
============================================================ */
.desktop-nav {
    display: none;
}


/* ============================================================
   7. MARQUEE ANNOUNCEMENT BAR
============================================================ */
.announcement-marquee {
    background: #fff3cd;
    padding: 10px 0;
    border-top: 2px solid #ffcc00;
    border-bottom: 2px solid #ffcc00;
    overflow: hidden;
    font-weight: bold;
    font-size: 0.85rem;
    white-space: nowrap;
    color: #5c4400;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScroll 12s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


/* ============================================================
   8. TABLET VIEW (≥ 600px)
============================================================ */
@media (min-width: 600px) {

    .v_logo {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .logo_img_left img,
    .logo_img_right img {
        height: 110px;
    }

    .logo_content h2 {
        font-size: 1rem;
    }

    .program-title {
        font-size: 1rem;
    }

    .hamburger {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }
}


/* ============================================================
   9. DESKTOP VIEW (≥ 900px) — Exact Screenshot Layout
============================================================ */
@media (min-width: 900px) {

    .v_logo {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1350px;
        margin: auto;
        gap: 35px;
    }

    .logo_img_left img { height: 150px; }
    .logo_img_right img { height: 130px; }

    .logo_content h2 {
        font-size: 1.25rem;
    }

    .collab-text {
        font-size: 1rem;
    }

    .program-title {
        font-size: 1.3rem;
        font-weight: 900;
    }

    /* Desktop NAVIGATION */
    .desktop-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        background: var(--primary-color);
        padding: 14px 0;
    }

    .desktop-nav a {
        color: white;
        padding: 10px 20px;
        font-size: 1rem;
        text-decoration: none;
        text-transform: uppercase;
        border-bottom: 3px solid transparent;
        transition: 0.3s;
        font-weight: 500;
    }

    .desktop-nav a:hover {
        background: var(--secondary-color);
        border-bottom: 3px solid var(--gold-color);
    }

    .hamburger {
        display: none;
    }
}
