/*==============================================================
# Dharmsinh Desai University (DDU) - Custom Stylesheet
# Handles: Full-page Slider, Overlay Header, and VC Load Popup
# Theme Accent Color: Orange (#ef5924 / var(--theme-color))
==============================================================*/

/*--------------------------------------------------------------
# 1. Full-Page Hero Slider Layout
--------------------------------------------------------------*/
#hero {
    margin-top: 0 !important; /* Starts naturally below Row 1 due to relative header positioning */
}

.custom-hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 85px) !important; /* Adjusted for Row 1 header offset */
    min-height: calc(600px - 85px) !important;
    background-color: #001B35;
    overflow: hidden;
    padding: 0 !important;
}

/* Swiper Container reset to full page */
.custom-hero-slider {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
}

.custom-hero-slider .swiper-wrapper,
.custom-hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.custom-slide-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Smooth Ken Burns slider effect */
.swiper-slide-active .custom-slide-img {
    transform: scale(1.08) !important;
}

/* Custom Navigation Buttons Positioning in Full-screen */
.custom-hero-slider .slider-prev,
.custom-hero-slider .slider-next {
    width: 55px;
    height: 55px;
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.custom-hero-slider .slider-prev:hover,
.custom-hero-slider .slider-next:hover {
    background-color: var(--theme-color) !important; /* Orange Theme Color */
    border-color: var(--theme-color) !important;
    transform: translateY(-50%) scale(1.08);
}

.custom-hero-slider .slider-pagination {
    bottom: 60px !important; /* Raised to clear scroll explore banner */
}

/*--------------------------------------------------------------
# 2. Transparent Header Overlay (Desktop & Mobile)
--------------------------------------------------------------*/
.th-header.header-overlay {
    position: relative !important; /* Keep Row 1 in normal document flow */
    width: 100%;
    z-index: 999;
    border: none !important;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Absolute position Row 2 menu bar so it overlays the top of the hero section */
.th-header.header-overlay .sticky-wrapper {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* Row 1: Logo & Links inline */
.th-header.header-overlay .header-top-row {
    background: var(--theme-color) !important; /* Full background using main theme color orange */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 3px 0;
    transition: all 0.3s ease;
}

.th-header.header-overlay .header-logo img {
    max-height: 55px;
    width: auto;
}

.th-header.header-overlay .header-links ul li {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
}

.th-header.header-overlay .header-links ul li a {
    color: var(--white-color) !important;
    font-weight: 600;
}

.th-header.header-overlay .header-links ul li a:hover {
    color: var(--title-color) !important; /* Orange hover */
}

/* Row 2: Menu Area centered */
.th-header.header-overlay .menu-area {
    background: rgba(0, 0, 0, 0.55) !important; /* Dark black transparent color */
    border: none !important;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.th-header.header-overlay .main-menu {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.th-header.header-overlay .main-menu > ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.th-header.header-overlay .main-menu > ul > li > a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 0;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.th-header.header-overlay .main-menu > ul > li > a:hover {
    color: var(--theme-color) !important; /* Orange highlight */
}

/* Dropdown Carets color update */
.th-header.header-overlay .main-menu > ul > li.menu-item-has-children > a::after {
    color: rgba(255, 255, 255, 0.7);
}

.th-header.header-overlay .main-menu > ul > li.menu-item-has-children > a:hover::after {
    color: var(--theme-color);
}

.th-header.header-overlay .th-menu-toggle i {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.th-header.header-overlay .th-menu-toggle:hover i {
    color: var(--theme-color) !important;
}

/* Search Button Styling (Initial & Scrolled States) */
.th-header.header-overlay .header-search {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important;
    background: transparent !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.th-header.header-overlay .header-search i {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.th-header.header-overlay .header-search:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

.th-header.header-overlay .header-search:hover i {
    color: var(--theme-color) !important; /* Theme color orange on hover */
}

/* Remove all vertical separators or borders near Links (Important Links / Contact Us) */
.th-header .header-links ul li::after,
.th-header .header-links ul li::before,
.th-header .header-links li::after,
.th-header .header-links li::before,
.header-links li::after,
.header-links li::before,
.header-left-wrap li::after,
.header-left-wrap li::before {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/*--------------------------------------------------------------
# 3. Sticky Scrolled Header (Matches Reference Image)
--------------------------------------------------------------*/
.th-header.header-overlay.header-scrolled {
    position: fixed !important;
    top: 0 !important;
    background: var(--theme-color) !important; /* Main theme color background (orange) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    animation: slideDown 0.35s ease-out forwards;
}

.th-header.header-overlay.header-scrolled .sticky-wrapper {
    position: relative !important; /* Revert absolute position on scroll */
    top: 0 !important;
}

.th-header.header-overlay.header-scrolled .header-top-row {
    display: none !important; /* Hide Row 1 on scroll */
}

.th-header.header-overlay.header-scrolled .menu-area {
    padding: 3px 0 !important;
    background: var(--theme-color) !important; /* Main theme color background (orange) */
}

/* Transform layout to space-between: logo left, menu center, search right */
.th-header.header-overlay.header-scrolled .menu-area .row {
    justify-content: space-between !important;
}

/* Menu links color when scrolled (white text) */
.th-header.header-overlay.header-scrolled .main-menu > ul > li > a {
    color: #ffffff !important;
    text-shadow: none !important;
}

.th-header.header-overlay.header-scrolled .main-menu > ul > li > a:hover {
    color: var(--theme-color2) !important; /* Secondary theme color (yellow) hover */
}

/* Dropdown indicators when scrolled (white text) */
.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children > a::after {
    color: #ffffff !important;
}

.th-header.header-overlay.header-scrolled .main-menu > ul > li.menu-item-has-children > a:hover::after {
    color: var(--theme-color2) !important;
}

/* Icons styling when scrolled (white icons) */
.th-header.header-overlay.header-scrolled .th-menu-toggle i {
    color: #ffffff !important;
}

.th-header.header-overlay.header-scrolled .th-menu-toggle:hover i {
    color: var(--theme-color2) !important;
}

/* Search button border matching scrolled layout (white border) */
.th-header.header-overlay.header-scrolled .header-search {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 4px !important;
    background: transparent !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
}

.th-header.header-overlay.header-scrolled .header-search i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix search button hover state globally: Theme Orange icon on White background */
.th-header.header-overlay .header-search:hover,
.th-header.header-overlay.header-scrolled .header-search:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

.th-header.header-overlay .header-search:hover i,
.th-header.header-overlay.header-scrolled .header-search:hover i {
    color: var(--theme-color) !important;
}

/* Visibility triggers for sticky elements */
.sticky-logo-only {
    display: none !important;
}

.sticky-search-only {
    display: none !important;
}

.th-header.header-overlay.header-scrolled .sticky-logo-only {
    display: block !important;
}

.th-header.header-overlay.header-scrolled .sticky-search-only {
    display: block !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# 4. Alumni Portal Custom Orange Pill Button & Hover
--------------------------------------------------------------*/
.th-header.header-overlay .header-links ul li a.ddu-alumni-btn {
    background-color: #ffffff !important; /* White color button */
    color: var(--theme-color) !important; /* Theme Orange text */
    padding: 8px 22px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1.2;
    transition: all 0.3s ease !important;
    border: 1px solid #ffffff !important;
}

.th-header.header-overlay .header-links ul li a.ddu-alumni-btn:hover {
    background-color: #000000 !important; /* Hover: Black button */
    color: #ffffff !important; /* White text */
    border-color: #000000 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# 5. Centered Hero Text Overlay
--------------------------------------------------------------*/
.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 950px;
    z-index: 10;
    text-align: center;
    padding: 0 25px;
    pointer-events: none; /* Allows slider drag through the text container */
}

.hero-overlay-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(35px);
    animation: fadeUpIn 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-overlay-subtitle {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUpIn 1.2s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# 6. Scroll Down Explore Banner & Icon Animation
--------------------------------------------------------------*/
.scroll-down-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--theme-color); /* Orange */
    color: #ffffff !important;
    padding: 0 !important; /* Reset padding to allow full-height side labels */
    font-size: 11.5px; /* Decreased font size */
    z-index: 10;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center; /* Set all text in middle align (vertically centered) */
    height: 28px; /* Decreased banner height */
    line-height: 1; /* Decreased line-height */
}

.marquee-label-latest {
    background-color: var(--title-color) !important; /* Dark theme color */
    color: var(--theme-color) !important; /* Theme Orange text */
    font-weight: 500; /* Font not in bold */
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11.5px; /* Decreased font size */
    height: 100%;
}

.marquee-label-latest i {
    color: var(--theme-color) !important;
}

.marquee-label-viewall {
    background-color: var(--title-color) !important; /* Dark theme color */
    color: #ffffff !important;
    font-weight: 500; /* Font not in bold */
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11.5px; /* Decreased font size */
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.marquee-label-viewall:hover {
    background-color: #000000 !important;
    color: var(--theme-color) !important;
}

.marquee-scroller-wrap {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--theme-color) !important; /* Orange background */
    height: 100%;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    height: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    white-space: nowrap;
    animation: marquee-scroll 35s linear infinite;
    gap: 40px;
    padding-right: 40px; /* matches gap for seamless loop spacing */
    height: 100%;
}

.marquee-content a {
    color: #ffffff !important;
    /*font-weight: 500; !* Font not in bold *!*/
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 11.5px; /* Decreased font size */
}

.marquee-content a:hover {
    color: var(--theme-color2) !important; /* Turns yellow on hover */
}

.marquee-badge {
    font-size: 8.5px; /* Small size for badge text */
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 8px;
    color: #ffffff !important;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
}

.marquee-badge.badge-upcoming {
    background-color: #3282fb !important; /* Theme Light Blue color */
}

.marquee-badge.badge-new {
    background-color: #dc3545 !important;
}

.marquee-badge.badge-active {
    background-color: #28a745 !important;
}

.marquee-sep {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
}

/* Pause marquee scroll on hover */
.scroll-down-banner:hover .marquee-content {
    animation-play-state: paused;
}

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

/*--------------------------------------------------------------
# 7. Vice Chancellor Popup Modal (Light themed, Clean & Premium)
--------------------------------------------------------------*/
.ddu-vc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Dark translucent backdrop */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ddu-vc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ddu-vc-modal-card {
    background: #ffffff; /* Clean white card layout */
    border: 2px solid var(--theme-color); /* Orange Border outline */
    border-radius: 20px;
    width: 90%;
    max-width: 780px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.ddu-vc-modal-overlay.active .ddu-vc-modal-card {
    transform: scale(1);
}

.ddu-vc-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    color: #111111 !important;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99 !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ddu-vc-modal-close-btn i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ddu-vc-modal-close-btn:hover {
    background-color: var(--theme-color) !important; /* Orange background */
    color: #ffffff !important; /* White X icon */
    transform: rotate(90deg) scale(1.05) !important;
    box-shadow: 0 4px 10px rgba(239, 89, 36, 0.3) !important;
}

.ddu-vc-modal-content {
    display: flex;
    flex-direction: row;
}

/* Light Unified background panels */
.ddu-vc-modal-img-col {
    width: 32%;
    background-color: #fafafa; /* Light gray panel */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.ddu-vc-modal-img-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--theme-color); /* Theme Orange Image border */
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(239, 89, 36, 0.2);
}

.ddu-vc-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ddu-vc-modal-text-col {
    width: 68%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.ddu-vc-modal-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--theme-color); /* Orange subtitle */
    margin-bottom: 6px;
    display: block;
}

.ddu-vc-modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #00274C; /* Theme Navy Text color */
}

.ddu-vc-modal-designation {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #666666;
    margin-bottom: 15px;
    font-style: italic;
}

/* Explicit Blockquote Reset to avoid the white box issue from template */
.ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-left: 3px solid var(--theme-color) !important; /* Orange left border */
    padding: 0 0 0 18px !important;
    margin: 0 !important;
    color: #444444 !important; /* Dark gray readable text color */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: relative !important;
}

/* Remove overlapping quotation characters added by template stylesheet */
.ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote::before,
.ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote::after {
    content: none !important;
    display: none !important;
}

/*--------------------------------------------------------------
# 8. Device Responsiveness (Mobile & Tablet)
--------------------------------------------------------------*/
@media (max-width: 1199px) {
    /* Hide the desktop menu container on mobile / tablet viewports */
    .th-header.header-overlay .sticky-wrapper {
        display: none !important;
    }

    /* Handle mobile / tablet inline logo bar spacing */
    .th-header.header-overlay .header-top-row {
        padding: 3px 0;
    }

    .th-header.header-overlay .header-logo img {
        max-height: 50px !important;
    }

    .custom-hero-section {
        height: calc(100vh - 65px) !important;
        min-height: calc(600px - 65px) !important;
    }
}

@media (max-width: 991px) {
    /* Mobile transparent background overlay reset */
    .th-header.header-overlay {
        background: transparent !important;
        background-color: transparent !important;
        position: relative !important; /* Relative flow on mobile for row offset */
        box-shadow: none !important;
        border: none !important;
    }

    .th-header.header-overlay .header-top-row {
        background: var(--theme-color) !important; /* Full background using main theme color orange */
        border: none !important;
    }

    /* Main theme color sticky background on scroll on mobile */
    .th-header.header-overlay.header-scrolled {
        background: var(--theme-color) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        position: fixed !important;
    }

    .custom-hero-section {
        height: calc(100vh - 65px) !important;
        min-height: calc(600px - 65px) !important;
    }

    .hero-overlay-title {
        font-size: 46px;
        margin-bottom: 18px;
    }

    .hero-overlay-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    /* Modal layout transforms to single column stack */
    .ddu-vc-modal-content {
        flex-direction: column;
    }

    .ddu-vc-modal-img-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 35px 20px 20px 20px;
    }

    .ddu-vc-modal-img-wrap {
        width: 130px;
        height: 130px;
    }

    .ddu-vc-modal-text-col {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    .ddu-vc-modal-text-col blockquote.ddu-vc-modal-quote {
        text-align: left;
        padding-left: 15px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 575px) {
    .custom-hero-section {
        min-height: calc(500px - 65px) !important;
    }

    .hero-overlay-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-overlay-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .scroll-down-banner {
        padding: 0 !important;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .marquee-label-latest,
    .marquee-label-viewall {
        padding: 3px 12px !important;
        font-size: 11px !important;
    }

    .custom-hero-slider .slider-prev,
    .custom-hero-slider .slider-next {
        display: none !important; /* Hide arrows on mobile viewports for clean look */
    }

    .custom-hero-slider .slider-pagination {
        bottom: 55px !important;
    }

    /* Force the header logo to display larger on mobile viewports */
    .th-header.header-overlay .header-logo img {
        max-width: 230px !important;
        max-height: 46px !important;
    }
}

@media (max-width: 375px) {
    .th-header.header-overlay .header-logo img {
        max-width: 190px !important;
        max-height: 38px !important;
    }
}

/*--------------------------------------------------------------
# 8. Mobile Menu Drawer Logo Optimization
--------------------------------------------------------------*/
.th-menu-wrapper .mobile-logo {
    padding: 20px 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-color) !important;
}

.th-menu-wrapper .mobile-logo a {
    display: block;
    width: 100%;
}

.th-menu-wrapper .mobile-logo img {
    max-width: 100% !important;
    max-height: 55px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/*--------------------------------------------------------------
# 9. Home Page Slider Vice Chancellor Overlay
--------------------------------------------------------------*/
.vc-slider-overlay-wrapper {
    position: absolute;
    bottom: 28px; /* Sits directly above the new slimmer scroll-down marquee banner */
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 12;
    pointer-events: none; /* Allows user to click/drag slider elements underneath */
}

.vc-slider-overlay-bar {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.vc-slider-overlay-text {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #ffffff !important;
    text-align: right !important; /* Right aligned text matching mockup */
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
    padding-right: 520px; /* Aligns text cleanly to the left of the slightly smaller VC image */
    padding-left: 30px;
    width: 100%;
    transition: all 0.3s ease;
}

.vc-slider-overlay-text strong {
    font-weight: 700;
}

.vc-slider-overlay-subtext {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    margin-top: 2px;
}

.vc-slider-overlay-img-wrap {
    position: absolute;
    bottom: 28px; /* Align bottom to the bottom of the slider bar, resting on top of marquee banner */
    right: -50px; /* Offset the right transparent space in the image to align VC to the right edge */
    height: 380px; /* Slightly decreased image height on desktop */
    width: 570px; /* Aspect ratio height * 1.5 matches 1000x667 canvas size */
    z-index: 15; /* Sits on top of header, dark bar, and slider pagination */
    pointer-events: none;
    transition: all 0.3s ease;
}

.vc-slider-overlay-img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

/* Relocate pagination above the VC overlay bar */
.custom-hero-slider .slider-pagination {
    bottom: 135px !important; /* Raised to clear both the marquee banner and the new VC overlay bar */
    transition: bottom 0.3s ease;
}

/* Responsiveness for VC Overlay */
@media (max-width: 1199px) {
    .vc-slider-overlay-text {
        padding-right: 430px;
        padding-left: 20px;
        font-size: 16px;
    }

    .vc-slider-overlay-subtext {
        font-size: 13px;
    }

    .vc-slider-overlay-img-wrap {
        height: 310px;
        width: 465px;
        right: -40px;
    }
}

@media (max-width: 991px) {
    .vc-slider-overlay-wrapper {
        bottom: 28px;
        height: 80px;
    }

    .vc-slider-overlay-text {
        padding-right: 340px;
        padding-left: 20px;
        font-size: 14px;
    }

    .vc-slider-overlay-subtext {
        font-size: 12px;
    }

    .vc-slider-overlay-img-wrap {
        height: 240px;
        width: 360px;
        right: -35px;
    }
}

@media (max-width: 767px) {
    .vc-slider-overlay-wrapper {
        bottom: 28px;
        height: 80px;
    }

    .vc-slider-overlay-text {
        padding-right: 230px;
        padding-left: 15px;
        font-size: 12px;
    }

    .vc-slider-overlay-subtext {
        font-size: 11px;
    }

    .vc-slider-overlay-img-wrap {
        display: block !important;
        height: 160px;
        width: 240px;
        right: -20px;
        bottom: 28px;
    }
}

@media (max-width: 480px) {
    .vc-slider-overlay-wrapper {
        bottom: 28px;
        height: 85px;
    }

    .vc-slider-overlay-text {
        padding-right: 185px;
        padding-left: 10px;
        font-size: 11px;
    }

    .vc-slider-overlay-subtext {
        font-size: 10px;
    }

    .vc-slider-overlay-img-wrap {
        height: 130px;
        width: 195px;
        right: -15px;
        bottom: 28px;
    }

    /* Reposition slider pagination above the overlay bar on mobile as well */
    .custom-hero-slider .slider-pagination {
        bottom: 125px !important;
    }
}

/*--------------------------------------------------------------
# 19. Faculty-Wise Logo Styles (Small Logo + Faculty Name)
--------------------------------------------------------------*/
.faculty-logo-brand,
a.faculty-logo-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.faculty-logo-brand .faculty-logo-img {
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.faculty-logo-brand .faculty-logo-name,
.header-logo .faculty-logo-brand .faculty-logo-name,
.header-top-row .faculty-logo-brand .faculty-logo-name,
.th-header .faculty-logo-brand .faculty-logo-name {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    white-space: normal !important;
    display: inline-block !important;
    max-width: 480px !important;
    transition: color 0.3s ease !important;
}

.faculty-logo-brand:hover .faculty-logo-name {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Sticky Scrolled Header logo adjustment */
.th-header.header-overlay.header-scrolled .faculty-logo-brand .faculty-logo-img {
    max-height: 38px !important;
}

.th-header.header-overlay.header-scrolled .faculty-logo-brand .faculty-logo-name {
    font-size: 14px !important;
    max-width: 320px !important;
    color: #ffffff !important;
}

/* Mobile Drawer Menu logo adjustment (White background) */
.mobile-logo .faculty-logo-brand,
.th-menu-wrapper .mobile-logo .faculty-logo-brand {
    justify-content: center !important;
    gap: 10px !important;
    padding: 5px 0 !important;
}

.mobile-logo .faculty-logo-brand .faculty-logo-img {
    max-height: 38px !important;
}

.mobile-logo .faculty-logo-brand .faculty-logo-name,
.th-menu-wrapper .mobile-logo .faculty-logo-brand .faculty-logo-name {
    color: var(--white-color) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: left !important;
    max-width: 220px !important;
}

/* Responsive Scaling */
@media (max-width: 1199px) {
    .faculty-logo-brand {
        gap: 10px !important;
    }

    .faculty-logo-brand .faculty-logo-name {
        font-size: 14px !important;
        max-width: 340px !important;
    }
}

@media (max-width: 767px) {
    .faculty-logo-brand {
        gap: 8px !important;
    }

    .faculty-logo-brand .faculty-logo-img {
        max-height: 36px !important;
    }

    .faculty-logo-brand .faculty-logo-name {
        font-size: 13px !important;
        max-width: 240px !important;
    }
}

@media (max-width: 480px) {
    .faculty-logo-brand .faculty-logo-img {
        max-height: 32px !important;
    }

    .faculty-logo-brand .faculty-logo-name {
        font-size: 11px !important;
        max-width: 180px !important;
    }
}

