:root {
    --primary: #2f4f2f;
    /* Dark Slate Gray / Forest Green */
    --secondary: #416d41;
    /* Medium Forest Green */
    --accent: #d8ae11;
    /* Theme Gold */
    --accent-light: #fefce8;
    /* Light Yellow */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gray: #f1f5f9;
    --gray-dark: #cbd5e1;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 30px -10px rgba(47, 79, 47, 0.15);
    --shadow-lg: 0 20px 40px -15px rgba(47, 79, 47, 0.25);

    /* Header Redesign Tokens */
    --header-dark: #2f4f2f;
    /* Primary Dark Theme */
    --theme-accent-gold: #d8ae11;
    /* Deep Gold */
    --header-gold: #d8ae11;
    --header-dark: #333333;
}

/* Bootstrap Overrides - Change Blue to Green */
.btn-primary,
.bg-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 0.25rem rgba(47, 79, 47, 0.25) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

/* Global Typography Overrides - Applied to main content areas only */
main h2,
section h2,
.content-card h2,
h2.display-5.fw-bold {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin: 0px 0px 24px !important;
    font-family: 'Outfit', 'Montserrat', sans-serif !important;
}

.section-subtitle,
.badge.bg-primary {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    color: #334155 !important;
    background: #F1F5E9 !important;
    padding: 10px 22px !important;
    border-radius: 5px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    border-color: transparent !important;
}

.why-srec-subtitle {
    color: var(--primary) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

main p,
section p,
.lead {
    font-family: 'Outfit', sans-serif !important;
    font-size: 17px !important;
    color: #212529BF !important;
    margin: 0px 0px 24px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

a {
    text-decoration: none !important;
    transition: var(--transition);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Home Page Section Spacing Refinement */
.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Global Icon Styling */
i,
.fas,
.fab,
.far,
.fal,
.fad {
    color: inherit;
    /* Default to inherit text color */
}

/* Specific theme icons */
.benefit-icon i,
.program-card i,
.top-left span i,
.footer-contact-list i,
.footer-link-list li i,
.dept-breadcrumbs span {
    color: var(--accent) !important;
}

.accreditations p i,
.play-btn i {
    color: var(--secondary);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Base Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-grid {
    display: flex;
    gap: 80px;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4b5563;
}

/* Main Header Styles */
/* Removed redundant .container definition to fix global alignment */

/* 3-Tier Header Styles */

/* Tier 1: Top Red Bar */
.top-info-bar {
    background: #2f4f2f;
    /* Primary Theme */
    color: #ffffff;
    padding: 12px 0;
    font-size: 0.82rem;
    font-weight: 600;
    position: relative;
    z-index: 1001;
}

.top-info-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Base centering */
    position: relative;
    max-width: 1450px !important;
    /* Match logo bar width for consistency */
}

.top-bar-left {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
}

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

.top-info-bar a.top-link {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.top-info-bar i {
    color: #d8ae11;
    /* Yellow icons */
    margin-right: 5px;
}

.top-bar-marquee {
    color: #ffffff;
    font-weight: 500;
    text-align: center;
}


.top-bar-marquee .top-info-content {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
}

.marquee-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.marquee-link:hover {
    color: #d8ae11;
    /* Primary Theme */
}


.top-social-icons a {
    color: #ffffff;
    margin-left: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-social-icons a:hover {
    color: #d8ae11;
}

/* Make WhatsApp icon stand out */
.top-social-icons a .fa-whatsapp,
.footer-social-links-flat a .fa-whatsapp {
    color: #25D366 !important;
}

/* Tier 2: Main Official Logo Bar */
.main-header .container {
    max-width: 1450px;
}

.main-logo-bar {
    background: #f8f9fa;
    /* Light Grey Background */
    border-bottom: 1px solid #eeeeee;
    position: relative;
    z-index: 1000;
}

.official-header-logo {
    height: 85px;
    width: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d8ae11;
    /* Yellow/Gold ring branding */
}

.official-college-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.official-title {
    color: #2f4f2f;
    /* Primary Theme */
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.official-title.line1 {
    font-size: 26px;
}

.official-title.line2 {
    font-size: 15px;
    font-weight: 700;
}

.official-subtitle {
    color: #111111;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vertical-divider {
    border-left: 1px solid #cccccc;
    height: 72px;
    /* Matches 3 lines of accreditation text */
    align-self: center;
}

.official-accreditation-text p {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0 !important;
    text-align: left;
    letter-spacing: -0.1px;
}

/* Laptop: 1024px to 1199px */
@media (max-width: 1199px) {
    .main-header .container {
        max-width: 1000px;
    }

    .official-header-logo {
        height: 75px;
        width: 75px;
    }

    .official-title.line1 {
        font-size: 22px;
    }

    .official-title.line2 {
        font-size: 13px;
    }

    .vertical-divider {
        height: 60px;
    }

    .official-accreditation-text p {
        font-size: 11px;
    }

    /* Hero: force images to fill on laptop too */
    .hero-slider {
        height: auto !important;
        min-height: 350px;
        max-height: 520px;
    }

    .slide-bg {
        background-size: cover !important;
        background-position: center center !important;
        transform: none !important;
        transition: none !important;
        min-height: 350px;
        max-height: 520px;
        height: 100%;
    }
}

/* Tablet & Large Mobile: 768px to 991px */
@media (max-width: 991px) {

    /* Make logo bar a clean row: logo + name + hamburger */
    .main-logo-bar .container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .main-logo-bar .d-flex.align-items-center {
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }

    .official-header-logo {
        height: 65px;
        width: 65px;
        flex-shrink: 0;
    }

    .official-college-name {
        flex: 1;
        min-width: 0;
    }

    .official-title.line1 {
        font-size: 18px !important;
    }

    .official-title.line2 {
        font-size: 12px !important;
    }

    .official-subtitle {
        font-size: 10px !important;
    }

    /* Hide accreditation text and vertical divider on tablet/mobile */
    .official-accreditation-text,
    .vertical-divider {
        display: none !important;
    }
}

/* Small Mobile (iPhone / Android Portrait): Less than 480px */
@media (max-width: 479px) {
    .official-header-logo {
        height: 55px;
        width: 55px;
    }

    .official-title.line1 {
        font-size: 15px !important;
    }

    .official-title.line2 {
        font-size: 10px !important;
    }

    .official-subtitle {
        font-size: 8.5px !important;
    }

    .top-bar-left span {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 991px) {
    .top-bar-marquee {
        display: none !important;
    }

    .top-info-bar .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 6px 12px !important;
        position: relative !important;
        max-width: 100% !important;
    }

    .top-bar-left,
    .top-bar-right {
        position: static !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 6px !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    .top-bar-left {
        font-size: 0.7rem !important;
    }

    /* Hide the email link from top bar on mobile - visible in footer */
    .top-bar-left a.top-link,
    .top-info-bar .top-bar-left a.top-link {
        display: none !important;
    }

    .top-bar-right {
        margin-left: 0 !important;
    }

    .top-info-bar a.top-link {
        margin-right: 0 !important;
        font-size: 0.7rem !important;
        text-transform: none !important;
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }

    .top-social-icons {
        display: flex !important;
        gap: 5px !important;
        /* Reduced gap to fit all icons */
        justify-content: flex-end;
    }

    .top-social-icons a {
        margin-left: 5px !important;
        /* Reduced margin */
        font-size: 0.8rem !important;
    }

    .top-bar-left span i,
    .top-bar-left a i {
        font-size: 0.78rem;
    }

}


/* Header Badge Image */
.header-badge-img {
    height: 88px;
    width: auto;
}

/* Header Pill Buttons */
.btn-header-pill {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.btn-header-pill:hover {
    opacity: 0.85;
    color: #ffffff;
}

.btn-pill-dark {
    background: #2c3e50;
}

.btn-pill-yellow {
    background: var(--accent);
    color: #111111 !important;
    font-weight: 800;
}

.btn-pill-yellow:hover {
    background: #c29c0f;
    color: #000000 !important;
}

.btn-pill-yellow {
    background: #2f4f2f;
    /* Primary Theme */
}

/* Header Image-based Apply Button */
.header-apply-img-link {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    vertical-align: middle;
}

.header-apply-img-link:hover {
    transform: scale(1.05);
}

.header-apply-img {
    height: 88px;
    width: auto;
    display: block;
}

/* College Badge Design */
.college-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eeeeee;
    min-width: 120px;
}

.college-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.badge-text-top {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #2f4f2f;
    /* Primary Theme */
    line-height: 1;
    letter-spacing: 1px;
}

.badge-text-bottom {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: #d8ae11;
    /* Gold Highlight */
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
    .header-apply-img {
        height: 55px;
    }
}

@media (max-width: 991px) {
    .header-apply-img {
        height: 50px;
    }
}

.navigation-menu-bar {
    background: #d8ae11;
    /* Primary Theme gold */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Top Marquee Band Styles */
.top-marquee-band {
    background: #eaeaea;
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 1020;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: top-marquee-scroll 25s linear infinite;
    will-change: transform;
}

.marquee-item, 
.marquee-content a.marquee-item {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #295704 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-right: 20px;
    letter-spacing: 0.5px;
}

.top-marquee-band:hover .marquee-content {
    animation-play-state: paused;
}

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

/* Responsive adjustment for marquee */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 0.85rem;
    }

    .top-marquee-band {
        padding: 8px 0;
    }
}

.nav-links-list>li {
    position: relative;
}

.nav-links-list>li>a {
    color: #1a1a1a;
    padding: 18px 15px;
    /* Slightly reduced horizontal padding to fit all items */
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    /* Slightly reduced font size for better fit */
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Prevent wrapping within menu items */
}

.nav-links-list>li>a i {
    font-size: 0.7rem;
    margin-left: 3px;
    opacity: 0.7;
}

.nav-links-list>li>a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2f4f2f;
    /* Primary Theme */
}

/* Dropdown Styles */
.nav-dropdown:hover .dropdown-menu-list {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-list {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 250px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #2f4f2f;
    /* Primary Theme */
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.dropdown-menu-list li a {
    padding: 10px 20px;
    display: block;
    color: #333333;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu-list li a:hover {
    background: #f8f9fa;
    color: #2f4f2f;
    /* Primary Theme */
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #2f4f2f;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.mobile-nav-toggle:hover {
    background: #1a3020;
}

.mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #d8ae11;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Offcanvas Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Offcanvas Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #1a3020;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

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

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #142519;
    border-bottom: 2px solid #d8ae11;
    flex-shrink: 0;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #d8ae11;
    object-fit: cover;
    flex-shrink: 0;
}

.drawer-name {
    display: flex;
    flex-direction: column;
}

.drawer-title {
    color: #d8ae11;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}

.drawer-sub {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

.drawer-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.drawer-close:hover {
    opacity: 1;
}

/* Drawer Contact */
.drawer-contact {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.drawer-contact a {
    color: #d8ae11;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.drawer-contact a i {
    color: inherit;
    font-size: 0.85rem;
}

/* Drawer Navigation */
.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-menu>li>a {
    display: block;
    padding: 14px 20px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.2s ease;
}

.drawer-menu>li>a:hover {
    background: rgba(21, 135, 76, 0.12);
    color: #d8ae11;
    padding-left: 26px;
}

/* Drawer Dropdown */
.drawer-dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.drawer-dropdown-toggle i {
    font-size: 0.7rem;
    color: #d8ae11;
    transition: transform 0.25s ease;
}

.drawer-dropdown-toggle:hover {
    background: rgba(21, 135, 76, 0.12);
    color: #d8ae11;
}

.drawer-dropdown.open .drawer-dropdown-toggle i {
    transform: rotate(180deg);
}

.drawer-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.2);
}

.drawer-dropdown.open .drawer-submenu {
    display: block;
}

.drawer-submenu li a {
    display: block;
    padding: 11px 32px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s;
}

.drawer-submenu li a:hover {
    color: #d8ae11;
    padding-left: 38px;
    background: rgba(21, 135, 76, 0.06);
}

/* Drawer CTA */
.drawer-cta {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.drawer-apply-btn {
    display: block;
    text-align: center;
    background: #d8ae11;
    color: #1a1a1a !important;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.drawer-apply-btn:hover {
    background: #c29c0f;
    transform: translateY(-1px);
}

/* Mobile Media Queries */
@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .navigation-menu-bar {
        display: none !important;
    }

    .top-bar-marquee {
        display: none;
    }
}

@media (max-width: 767px) {
    .top-bar-left {
        display: none !important;
    }

    .top-bar-right {
        position: static;
        margin-left: auto;
    }

    .top-info-bar .container {
        justify-content: flex-end;
    }
}


/* Research & Innovation Culture Section (Premium Theme) */
.research-culture {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 70px;
}

.section-header-centered h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.blue-underline {
    width: 120px;
    height: 5px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 10px;
}

.research-culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.research-card-v2 {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 43, 92, 0.05);
}

.research-card-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #d8ae11;
    /* Theme Gold */
    transition: all 0.4s ease;
    z-index: 5;
}

.research-card-v2:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 43, 92, 0.12);
}

.research-card-v2:hover::after {
    height: 6px;
}

.research-card-v2 .card-img {
    height: 420px;
    overflow: hidden;
    position: relative;
}

.research-card-v2 .card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 43, 92, 0.4));
    z-index: 1;
    opacity: 0.8;
}

.research-card-v2 .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-card-v2:hover .card-img img {
    transform: scale(1.15);
}

.research-card-v2 .card-footer {
    padding: 30px 25px;
    text-align: center;
    background: var(--white);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.research-card-v2 .card-footer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.research-card-v2:hover .card-footer h3 {
    color: var(--accent);
}

.research-culture-cta {
    text-align: center;
    margin-top: 20px;
}

.btn-research-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    /* Modern pill shape */
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(47, 79, 47, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-research-cta:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 43, 92, 0.3), 0 0 20px rgba(21, 135, 76, 0.3);
    /* Gold glow */
}

.btn-research-cta i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-research-cta:hover i {
    transform: translateX(8px);
}

/* News and Updates Section Styles (Refined) */
.about-intro {
    background-color: #ffffff;
    background-image: radial-gradient(#e5eee5 2px, transparent 2px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -15%;
    width: 50%;
    height: 120%;
    background: radial-gradient(circle, #e8f5e9 0%, transparent 70%);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
}

.dept-updates-section {
    background-color: #f0faf4;
    /* Very light green background */
    background-image: radial-gradient(#d1e5d1 2px, transparent 2px);
    background-size: 30px 30px;
    padding: 80px 0;
    position: relative;
}

.news-updates-section .container {
    max-width: 1450px;
}

.sub-title-red {
    color: #2f4f2f;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.main-news-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.1;
}

/* News Cards (Left Column) */
.news-card-v2 {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: all 0.3s ease;
}

.news-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.news-card-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d8ae11;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.news-card-content {
    padding: 15px 20px 25px;
}

.news-card-content h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 500;
}

.btn-view-details {
    display: inline-block;
    background: #d8ae11;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.btn-view-details:hover {
    background: #2f4f2f;
    color: #ffffff;
}

/* Recent Updates Sidebar (Right Column) */
.recent-updates-sidebar {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #d8ae11;
    /* Subtle gold border matching screenshot */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sidebar-header-gradient {
    background: linear-gradient(90deg, #4d6342 0%, #dca70f 100%);
    padding: 16px 25px;
    text-align: center;
}

.sidebar-header-gradient h4 {
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.sidebar-updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-updates-list li {
    padding: 20px;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.sidebar-updates-list li:last-child {
    border-bottom: none;
}

.sidebar-updates-list li:hover {
    background: #fffcf5;
}

.update-thumb {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.update-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-text {
    flex-grow: 1;
}

.update-title {
    color: #2f4f2f;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
}

.update-title:hover {
    text-decoration: underline;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.overview-link {
    color: #d8ae11;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.overview-link::after {
    content: "\2192";
    font-size: 1rem;
    font-weight: 400;
}

.meta-date-tag {
    background: #2f4f2f;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .main-news-title {
        font-size: 2.2rem;
    }
}

/* Responsive Research Grid */
@media (max-width: 1200px) {
    .research-culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .research-culture-grid {
        grid-template-columns: 1fr;
    }

    .section-header-centered h2 {
        font-size: 2rem;
    }
}

/* Comprehensive Header Branding */
.logo-bar {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 2px solid #2f4f2f;
}

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

.main-logo img {
    height: 110px;
    width: auto;
    object-fit: contain;
}

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

.college-name {
    font-size: 2.1rem;
    font-weight: 800;
    color: #2f4f2f;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

.autonomous-badge {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.accreditations-text {
    font-size: 0.9rem;
    color: #2e4d2e;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.campus-address {
    font-size: 0.9rem;
    color: #2e4d2e;
    font-weight: 700;
    margin-top: 5px;
}

.header-badges-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.anniversary-badge-v2 {
    display: flex;
    align-items: center;
}

.anniversary-badge-v2 img {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

.tnea-box-premium {
    display: flex;
    align-items: stretch;
    border: 4px solid #2f4f2f;
    border-radius: 8px;
    overflow: hidden;
    height: 75px;
    transition: var(--transition);
}

.tnea-label {
    background: #2f4f2f;
    color: #d8ae11;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
}

.tnea-code-val {
    background: #fff;
    color: #1a1a1a;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

/* Responsive Header */
@media (max-width: 1200px) {
    .college-name {
        font-size: 1.8rem;
    }

    .tnea-code-val {
        font-size: 1.8rem;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .logo-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-badges-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .branding-details {
        padding: 0;
    }
}

/* Main Navigation */
.main-nav {
    background: var(--secondary);
    box-shadow: 0 8px 30px rgba(0, 43, 92, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-nav .container {
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 10px;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    padding: 18px 22px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu>li>a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.nav-menu>li>a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 500px;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Scrollbar for dropdown */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-content li:last-child a {
    border-bottom: none;
}

.dropdown-content li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 30px;
}

.dropdown-content li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-content li a:hover::before {
    transform: scaleY(1);
}

/* Mobile Toggle (Inside Nav) */
.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .logo-bar .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .main-logo img {
        height: 70px;
    }

    .secondary-logo img {
        height: 40px;
    }

    .main-nav .container {
        justify-content: flex-end;
    }

    .mobile-toggle {
        display: block;
        padding: 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        background: var(--primary);
        flex-direction: column;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 80px 0 40px;
        overflow-y: auto;
        box-shadow: 20px 0 40px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        left: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px 30px;
    }

    .dropdown-content {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content li a {
        color: var(--white);
        padding-left: 50px;
    }
}

/* Cinematic Hero Slider */
.hero-slider {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease forwards;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.slider-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.btn-slider-primary {
    background: var(--secondary);
    color: var(--accent);
    padding: 16px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.btn-slider-outline {
    background: var(--white);
    color: var(--secondary);
    padding: 16px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-slider-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.btn-slider-outline:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* Slider Controls */
.slider-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-ctrl:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.slider-ctrl.prev {
    left: 30px;
}

.slider-ctrl.next {
    right: 100px;
}

/* Side Sticky Navigation */
.side-nav-sticky {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sticky-item {
    background: var(--secondary);
    color: var(--white);
    padding: 25px 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-item.fees {
    background: #2a472a;
    /* Slightly darker variant of primary */
}

.sticky-item.admissions {
    background: var(--secondary);
}

.sticky-item:hover {
    padding-right: 25px;
    background: var(--primary);
}

/* Floating Utilities */
.floating-utilities {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 20;
}

.util-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.view-360 {
    background: var(--white);
    animation: float 3s ease-in-out infinite;
}

.view-360 img {
    width: 35px;
}

.whatsapp {
    background: #25d366;
    color: var(--white);
    font-size: 1.8rem;
    animation: pulse-green 2s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* General button styles update */
.btn {
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

/* Sections General */
section {
    padding: 120px 10%;
    transition: padding 0.5s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.section-header .underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 10px;
}

.highlight-text {
    margin-top: 25px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Program Cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.program-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(51, 72, 22, 0.03);
}

.program-card:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-lg);
}

.program-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.program-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.program-card i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 30px;
    transition: var(--transition);
    filter: drop-shadow(0 5px 10px rgba(47, 79, 47, 0.2));
}

.program-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent);
}

.program-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.program-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    padding: 100px 10%;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
}

.stat-item {
    text-align: center;
    padding: 20px;
    z-index: 1;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent);
    letter-spacing: -1px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Admissions Steps */
.admission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(51, 72, 22, 0.3);
}

.step h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step p {
    font-size: 0.9rem;
    color: #64748b;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 35px 25px;
    color: #64748b;
    line-height: 1.8;
    display: none;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Testimonials */
.testimonials {
    background: #f4f8f4;
    padding: 80px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    position: relative;
    border: 1px solid rgba(51, 72, 22, 0.05);
}

.testimonial-card i.fa-quote-left {
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.15;
    position: absolute;
    top: 50px;
    left: 50px;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.student-info h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Placements */
.recruiter-carousel {
    overflow: hidden;
    padding: 60px 0;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.recruiter-slide {
    display: flex;
    gap: 80px;
    width: fit-content;
    animation: slide 30s linear infinite;
}

.recruiter-slide img {
    height: 45px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition);
}

.recruiter-slide img:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
    opacity: 0.8;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(21, 135, 76, 0.4);
}

/* Global Customization */
::selection {
    background: var(--accent);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gray-dark);
    border-radius: 10px;
    border: 3px solid var(--bg-light);
}

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

/* Events & Updates Section */
.events {
    background: #f1f5f9;
    padding: 50px 0;
}

.events .container {
    max-width: 1450px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.event-card {
    background: transparent;
    border-radius: 12px;
}

.event-title {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
    padding-left: 5px;
}

.card-inner {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    /* Theme color story ring */
    padding: 2px;
}

.profile-info strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
}

.profile-info strong i {
    color: var(--secondary);
    font-size: 0.8rem;
    margin-left: 3px;
}

.profile-info span {
    font-size: 0.8rem;
    color: #64748b;
}

.view-profile-btn {
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.view-profile-btn:hover {
    background: var(--secondary);
}

.card-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--white);
    text-align: center;
}

.card-overlay-text h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.event-tag {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.event-slogan {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.card-overlay-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.card-overlay-content .brand {
    font-weight: 700;
    font-size: 1rem;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

.card-overlay-content .subtitle {
    font-size: 1.4rem;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(45deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.view-all-events {
    text-align: center;
    margin-top: 50px;
}

.btn-purple {
    background: #d8ae11;
    /* Vibrant Green */
    color: var(--white);
    /* White Text */
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-purple:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

.btn-purple i {
    font-size: 1.2rem;
    color: var(--accent);
    /* Gold icon as per image */
}


.btn-purple:hover i {
    transform: none;
    color: var(--accent);
}


/* Video Banner Section */
.video-banner {
    padding: 60px 10%;
    background: var(--white);
}

.banner-box {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gojan-building.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.banner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.banner-content h2 {
    color: var(--white);
    font-size: 3rem;
    max-width: 800px;
    margin-bottom: 40px;
    font-weight: 700;
}

.play-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.play-trigger span {
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-trigger:hover .play-btn {
    transform: scale(1.1);
    color: var(--primary);
}

/* Video Modal */
.video-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    align-items: center;
    justify-content: center;
    display: none;
}

.video-modal.active {
    display: flex !important;
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 1000px;
    background: transparent;
    margin: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}


/* Why GSBT Section - Premium Overhaul */
.why-srec {
    background: #ffffff;
    padding: 100px 0;
}

.why-srec-subtitle {
    color: #4b6e4f;
    /* Muted Green from Image */
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-title-dark {
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 30px;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Why GSBT Section Background & Styling */
.why-srec {
    background-color: #ffffff;
    /* Dotted pattern */
    background-image: radial-gradient(#e2e8f0 3px, transparent 3px);
    background-size: 35px 35px;
    position: relative;
    z-index: 1;
}

/* Wavy light green shape */
.why-srec::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 65%;
    height: 140%;
    background: linear-gradient(135deg, #dcf0dc 0%, #f0faf0 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    opacity: 0.8;
}

/* Secondary wave element for depth */
.why-srec::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    border: 2px solid #b7ddb7;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

/* Why GSBT Section - Left Aligned */
.why-gsbt-left-title {
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.why-gsbt-left-desc {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* International Stats Grid */
.gsbt-stats-world-grid-container {
    padding: 40px 20px;
    position: relative;
    background-color: transparent;
}

.stats-world-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    z-index: 1;
}

.world-stat-item {
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.world-stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.world-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0;
    line-height: 1.3;
    max-width: 220px;
}

/* Custom Grid Borders - Matching the fine lines in reference image */
.border-start-custom {
    border-left: 1px solid #b8c4b8;
}

.border-top-custom {
    border-top: 1px solid #b8c4b8;
}

@media (max-width: 991px) {
    .gsbt-stats-world-grid-container {
        padding: 30px 10px;
        margin-top: 40px;
    }

    .world-stat-number {
        font-size: 2.8rem;
    }

    .world-stat-label {
        font-size: 1rem;
    }

    .world-stat-item {
        padding: 30px 10px;
    }
}

.btn-explore-gsbt {
    display: inline-flex;
    align-items: center;
    padding: 12px 35px;
    background: #dca70f;
    /* Yellow/Gold matching image */
    color: #000000;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    border: none;
}

.btn-explore-gsbt:hover {
    background: #c29b0f;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 174, 17, 0.4);
}

/* Stats Bar Styling */
.stats-bar-blue {
    background: #1e3a8a;
    /* Deep blue */
    padding: 30px 0;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

.stat-col {
    padding: 10px 15px;
}

.stat-col h3 {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
}

.stat-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .why-srec-content h2 {
        font-size: 2.5rem;
    }

    .benefits-staggered {
        grid-template-columns: 1fr;
    }

    /* Cards are already standardized, no special transform needed for mobile */
}

/* About Intro Section */
.about-intro {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.intro-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.about-column {
    flex: 1;
}

.about-column h2 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
}

.about-column p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 35px;
    background: #1b3022;
    /* Dark Forest Green */
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-learn-more:hover {
    background: #25402e;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-learn-more i {
    color: #ffffff !important;
}

.intro-divider {
    width: 1px;
    height: 350px;
    background: #e2e8f0;
    margin-top: 20px;
}

.disciplines-column {
    flex: 1.2;
}

.disciplines-column h2 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 40px;
    font-family: 'Outfit', sans-serif;
}

.disciplines-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.discipline-pill,
a.discipline-pill {
    background: #f1f5e9;
    /* Light green tint */
    color: #334155;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    text-decoration: none !important;
}

.discipline-pill:hover,
a.discipline-pill:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    text-decoration: none !important;
}

@media (max-width: 992px) {
    .intro-flex {
        flex-direction: column;
        gap: 40px;
    }

    .intro-divider {
        display: none;
    }

    .about-column h2,
    .disciplines-column h2 {
        font-size: 2.2rem;
    }
}

/* Research & Innovation Section */
.research-innovation {
    padding: 120px 0;
    background: #f1f5f9;
}

.research-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.research-title-side {
    flex: 0 0 350px;
}

.research-title-side h2 {
    font-size: 3.2rem;
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.gold-underline {
    width: 65px;
    height: 4px;
    background: var(--accent);
    margin-top: 30px;
}

.research-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 150px;
    /* Space for the floating CTA */
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.research-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.card-img {
    height: 480px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.research-card:hover .card-img img {
    transform: scale(1.1);
}

.card-footer {
    padding: 25px 15px;
    text-align: center;
    background: var(--white);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-footer h3 {
    font-size: 1rem;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Outfit', sans-serif;
}

.floating-research-cta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.btn-research-square {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    width: 150px;
    height: 150px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    gap: 15px;
    padding: 20px;
}

.btn-research-square .btn-text {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-research-square i {
    font-size: 1.4rem;
}

.btn-research-square:hover {
    background: var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(51, 72, 22, 0.3);
}

@media (max-width: 1200px) {
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }

    .card-img {
        height: 300px;
    }
}

/* Experts Comments Section */
.experts-comments {
    padding: 120px 0;
    background: linear-gradient(rgba(10, 10, 10, 0.98), rgba(10, 10, 10, 0.98)), url('https://www.transparenttextures.com/patterns/black-marble.png');
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.expert-card {
    height: 450px;
    perspective: 1500px;
    cursor: pointer;
}

.expert-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.expert-card:hover .expert-card-inner {
    transform: rotateY(180deg);
}

.expert-card-front,
.expert-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.expert-card-front {
    background: #1a1a1a;
}

.expert-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.5s ease;
}

.expert-card:hover .expert-card-front img {
    transform: scale(1.1);
}

.expert-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    text-align: left;
}

.expert-info-overlay h3 {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.expert-info-overlay p {
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 500;
}

.expert-card-back {
    background: linear-gradient(135deg, var(--primary), #1a2f1a);
    color: var(--white);
    transform: rotateY(180deg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expert-card-back i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    opacity: 0.5;
}

.expert-card-back p {
    font-size: 1.15rem;
    line-height: 1.7;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 30px;
}

.expert-meta {
    margin-top: auto;
}

.expert-meta strong {
    display: block;
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.expert-meta span {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1200px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .experts-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .expert-card {
        height: 400px;
    }
}

.testimonial-large-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-large-img.changing img {
    opacity: 0.5;
    transform: scale(1.05) translateX(30px);
}

.testimonial-content {
    flex: 1;
    text-align: left;
}

.alumni-name {
    color: var(--accent);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.alumni-meta {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.testimonial-text {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--secondary);
}

.testimonial-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #cbd5e1;
    font-style: italic;
}

@media (max-width: 1100px) {
    .testimonial-main-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .testimonial-content {
        text-align: center;
    }

    .testimonial-text {
        padding-left: 0;
        border-left: none;
    }

    .testimonial-large-img {
        flex: 0 0 350px;
        height: 420px;
    }
}

@media (max-width: 768px) {
    .alumni-nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    .alumni-avatar {
        width: 55px;
        height: 55px;
    }

    .alumni-avatar.active {
        width: 80px;
        height: 80px;
    }

    .testimonial-header h2 {
        font-size: 2.4rem;
    }

    .alumni-name {
        font-size: 1.8rem;
    }
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Global Partners Section */
.global-partners {
    padding: 60px 0;
    position: relative;
    /* background: linear-gradient(rgba(0, 43, 92, 0.7), rgba(0, 43, 92, 0.4)), url('../images/global-partners-bg.jpg') center/cover no-repeat; */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partners-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Local background image without overlay */
    background: url('../images/sports_ground_bg.jpg') center/cover no-repeat fixed;
    z-index: 0;
    opacity: 1;
}

.partners-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.85) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(135deg,
            rgba(47, 79, 47, 0.6) 0%,
            rgba(216, 174, 17, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.partners-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.partners-grid-floating {
    position: relative;
    height: 600px;
    width: 100%;
}

.partners-title-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
}

.partners-title-center h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(216, 174, 17, 0.8), 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Vibrant yellow glow shadow + deep contrast shadow */
}

.highlight-partner {
    font-size: 4.5rem;
    color: var(--white);
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 50px rgba(216, 174, 17, 0.9);
    /* Intensified glow for the main highlight */
}

.partner-logo-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(216, 174, 17, 0.3);
    /* Multi-layer shadow with subtle brand glow */
    transition: var(--transition);
    width: 170px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatLogo 4s ease-in-out infinite;
    border: 1px solid rgba(216, 174, 17, 0.2);
    /* Subtle brand border */
}

.partner-logo-box:hover {
    transform: scale(1.1) translateY(-10px);
    background: var(--white);
    z-index: 20;
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
}

/* Specific Positions for aligned effect (Expanded Cloud) */
.p-left-1 {
    top: 25%;
    left: 4%;
    animation-delay: 0s;
}

.p-left-2 {
    top: 25%;
    left: 21%;
    animation-delay: 0.5s;
}

.p-left-3 {
    top: 65%;
    left: 4%;
    animation-delay: 1s;
}

.p-left-4 {
    top: 65%;
    left: 21%;
    animation-delay: 1.5s;
}

.p-right-1 {
    top: 25%;
    right: 4%;
    animation-delay: 0.2s;
}

.p-right-2 {
    top: 25%;
    right: 21%;
    animation-delay: 0.7s;
}

.p-right-3 {
    top: 65%;
    right: 4%;
    animation-delay: 1.2s;
}

.p-right-4 {
    top: 65%;
    right: 21%;
    animation-delay: 1.7s;
}

@media (max-width: 1200px) {
    .partners-title-center h2 {
        font-size: 2.5rem;
    }

    .highlight-partner {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .global-partners {
        height: auto;
        padding: 60px 0;
    }

    .partners-grid-floating {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        /* Slightly reduced gap */
        justify-content: center;
        padding: 220px 10px 40px;
        /* Top padding for title room */
        max-width: 500px;
        margin: 0 auto;
    }

    .partner-logo-box {
        position: static;
        transform: none !important;
        width: calc(50% - 10px);
        /* Better 2-column fit */
        min-width: 140px;
        height: 80px;
        margin: 0;
        padding: 10px;
    }

    .partners-title-center {
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding: 0 15px;
    }

    .partners-title-center h2 {
        font-size: 1.8rem;
    }

    .highlight-partner {
        font-size: 2.2rem;
    }
}

/* Life@Gojan Page Styles */

/* Hero Section */
.life-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://gsbt.edu.in/wp-content/uploads/2023/07/Main-Building-1-scaled.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.life-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.life-hero-content p {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Content Sections */
.life-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Fix global container flex issue */
.life-content-section .container,
.life-gallery-section .container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.life-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.life-intro h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.life-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: justify;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.facility-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.facility-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 33, 71, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.facility-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.facility-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Highlights Section */
.life-highlight-section {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.highlight-text {
    flex: 1;
}

.highlight-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.highlight-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #4a5568;
}

.highlight-image {
    flex: 1;
}

.highlight-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quote-box {
    margin-top: 30px;
    padding: 20px;
    border-left: 5px solid var(--secondary);
    background: #f9f9f9;
    font-style: italic;
    font-size: 1.1rem;
    color: #2d3748;
}

/* Gallery Masonry */
.life-gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.life-gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.life-gallery-section .underline {
    margin: 0 auto 50px;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 992px) {
    .life-highlight-section {
        flex-direction: column;
    }

    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 1;
    }

    .life-hero-content h1 {
        font-size: 2.2rem;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Mobile First Approach
   ======================================== */

/* ===================================
   TABLET DEVICES (768px - 1024px)
   =================================== */
@media screen and (max-width: 1024px) {

    /* General Section Spacing */
    section {
        padding: 80px 5%;
    }

    /* Typography Adjustments */
    .section-header h2 {
        font-size: 2.8rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    /* Container Adjustments */
    .container {
        padding: 0 15px;
        max-width: 95%;
    }

    /* Header Adjustments for Tablet */
    .anniversary-badge-v2 img {
        height: 90px;
    }

    .college-name {
        font-size: 1.6rem;
    }

    .autonomous-badge {
        font-size: 0.95rem;
    }

    .tnea-box-premium {
        height: 55px;
    }

    .tnea-code-val {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    /* About Section */
    .intro-flex {
        gap: 40px;
    }

    .disciplines-grid {
        gap: 10px;
    }

    .discipline-pill {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    /* Why SREC Section */
    .staggered-layout {
        gap: 40px;
    }

    .benefits-staggered {
        gap: 25px;
    }

    /* Video Banner */
    .video-banner h2 {
        font-size: 2rem;
    }

    .play-btn {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    /* Events Section */
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    /* Stats Section */
    .stats {
        gap: 50px;
        padding: 80px 5%;
    }

    .stat-item h3 {
        font-size: 3rem;
    }

    /* Marquee Cards */
    .marquee-card {
        width: 250px;
    }

    .marquee-img {
        height: 350px;
    }
}

/* ===================================
   MOBILE DEVICES (481px - 767px)
   =================================== */
@media screen and (max-width: 767px) {

    /* General Section Spacing */
    section {
        padding: 60px 20px;
    }

    /* Typography */
    .section-header h2 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    /* Header Adjustments for Mobile */
    .logo-bar {
        padding: 10px 0;
    }

    .college-name {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .autonomous-badge {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .accreditations-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .campus-address {
        font-size: 0.8rem;
    }

    .header-badges-right {
        gap: 15px;
        width: 100%;
        justify-content: center;
    }

    .anniversary-badge-v2 img {
        height: 80px;
    }

    .tnea-box-premium {
        height: 50px;
        border-width: 2px;
    }

    .tnea-label {
        padding: 0 8px;
        font-size: 0.7rem;
    }

    .tnea-code-val {
        font-size: 1.4rem;
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    /* Hero Section */
    .hero-slider {
        height: 55vw;
        min-height: 280px;
        max-height: 420px;
    }

    /* Force images to fill the slide on tablet/mobile */
    .slide-bg {
        background-size: cover !important;
        background-position: center center !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .slider-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
    }

    .btn-slider-primary,
    .btn-slider-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
        font-size: 0.9rem;
    }

    /* Hide arrow controls on mobile/tablet - touch swipe handles navigation */
    .slider-ctrl {
        display: none !important;
    }


    /* Hide side navigation on mobile */
    .side-nav-sticky {
        display: none;
    }

    .floating-utilities {
        bottom: 20px;
        padding: 0 20px;
    }

    .util-btn {
        width: 50px;
        height: 50px;
    }

    /* About Intro Section */
    .intro-flex {
        flex-direction: column;
        gap: 30px;
    }

    .about-column h2,
    .disciplines-column h2 {
        font-size: 1.8rem;
    }

    .intro-divider {
        display: none;
    }

    .disciplines-grid {
        gap: 8px;
    }

    .discipline-pill {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    /* Why GSBT Section */
    .why-srec {
        padding: 60px 4%;
    }

    .main-title-dark {
        font-size: 2.2rem;
    }

    .benefit-card {
        padding: 25px;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    /* Campus Marquee */
    .campus-marquee-section {
        padding: 50px 0;
    }

    .marquee-card {
        width: 220px;
    }

    .marquee-img {
        height: 300px;
    }

    .marquee-title {
        font-size: 1rem;
    }

    .marquee-num {
        font-size: 1.2rem;
    }

    /* Video Banner */
    .video-banner {
        padding: 60px 4%;
    }

    .banner-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    /* Events Section */
    .events {
        padding: 60px 4%;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .card-inner {
        padding: 12px;
    }

    .event-tag {
        font-size: 0.95rem;
    }

    .event-slogan {
        font-size: 1.2rem;
    }

    .view-all-events {
        margin-top: 30px;
    }

    /* Stats Section */
    .stats {
        padding: 60px 4%;
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }

    /* Global Partners */
    .partners-title-center h2 {
        font-size: 1.8rem;
    }

    .highlight-partner {
        font-size: 2.2rem;
    }

    /* Program Cards */
    .program-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program-card {
        padding: 40px 25px;
    }

    .program-card i {
        font-size: 3rem;
    }

    .program-card h3 {
        font-size: 1.4rem;
    }

    /* Admission Steps */
    .admission-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 40px 25px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    /* Footer */
    footer {
        padding: 60px 4% 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-col h4 {
        font-size: 1.2rem;
    }

    /* Buttons */
    .btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .btn-purple,
    .btn-primary {
        padding: 14px 30px;
    }

    /* Research Culture Grid */
    .research-culture {
        padding: 80px 4%;
    }

    .research-culture-grid {
        gap: 20px;
    }

    .research-card-v2 .card-img {
        height: 300px;
    }

    /* FAQ */
    .faq-question {
        padding: 20px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }
}

/* ===================================
   SMALL MOBILE (320px - 480px)
   =================================== */
@media screen and (max-width: 480px) {

    /* Hero Section */
    .hero-slider {
        height: 60vw;
        min-height: 240px;
        max-height: 360px;
    }

    /* Force cover on small mobile */
    .slide-bg {
        background-size: cover !important;
        background-position: center center !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .slider-btns {
        max-width: 250px;
    }

    .btn-slider-primary,
    .btn-slider-outline {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Typography */
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Logo Bar */
    .college-name {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .autonomous-badge {
        font-size: 0.75rem;
    }

    .main-logo img {
        height: 40px;
    }

    .jubilee-wrap {
        width: 60px;
        height: 60px;
    }

    .jubilee-wrap i {
        font-size: 3rem;
    }

    /* Small Mobile Header */
    .college-name {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .anniversary-badge-v2 img {
        height: 65px;
    }

    .tnea-box-premium {
        height: 40px;
    }

    .tnea-code-val {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .tnea-label {
        font-size: 0.6rem;
        padding: 0 5px;
    }

    .jubilee-text {
        font-size: 1.4rem;
    }

    .jubilee-sub {
        font-size: 0.6rem;
    }

    /* About Section */
    .about-column h2,
    .disciplines-column h2 {
        font-size: 1.5rem;
    }

    .about-column p {
        font-size: 0.95rem;
    }

    .discipline-pill {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    /* Why GSBT Section */
    .main-title-dark {
        font-size: 1.8rem;
    }

    .benefit-card h4 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: 0.85rem;
    }

    /* Marquee Cards */
    .marquee-card {
        width: 200px;
    }

    .marquee-img {
        height: 280px;
    }

    /* Video Banner */
    .banner-content h2 {
        font-size: 1.3rem;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .play-trigger span {
        font-size: 0.9rem;
    }

    /* Events */
    .event-title {
        font-size: 0.9rem;
    }

    .card-overlay-text h4 {
        font-size: 0.8rem;
    }

    .event-tag {
        font-size: 0.85rem;
    }

    .event-slogan {
        font-size: 1.1rem;
    }

    /* Stats */
    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.75rem;
    }

    /* Global Partners */
    .partners-title-center h2 {
        font-size: 1.5rem;
    }

    .highlight-partner {
        font-size: 2rem;
    }

    .partner-logo-box {
        width: 120px;
        height: 60px;
    }

    /* Program Cards */
    .program-card {
        padding: 30px 20px;
    }

    .program-card i {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .program-card h3 {
        font-size: 1.2rem;
    }

    .program-card p {
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 50px 4% 25px;
    }

    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .footer-col p {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Utilities */
    .util-btn {
        width: 45px;
        height: 45px;
    }

    .whatsapp {
        font-size: 1.5rem;
    }

    /* Research Culture */
    .section-header-centered h2 {
        font-size: 1.8rem;
    }

    .research-card-v2 .card-img {
        height: 250px;
    }

    .research-card-v2 .card-footer {
        padding: 20px 15px;
        min-height: 80px;
    }

    .research-card-v2 .card-footer h3 {
        font-size: 1rem;
    }

    .btn-research-cta {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}

/* ===================================
   LANDSCAPE ORIENTATION FIXES
   =================================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        height: auto;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .slider-btns {
        margin-top: 20px;
    }
}

/* ===================================
   LARGE DESKTOP (1441px+)
   =================================== */
@media screen and (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }

    section {
        padding: 120px 8%;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .section-header h2 {
        font-size: 4rem;
    }
}

/* ===================================
   TOUCH DEVICE OPTIMIZATIONS
   =================================== */
@media (hover: none) and (pointer: coarse) {

    /* Increase touch target sizes */
    .nav-menu>li>a {
        padding: 20px 22px;
    }

    .btn,
    .btn-slider-primary,
    .btn-slider-outline {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects */
    .program-card:hover,
    .benefit-card:hover,
    .event-card:hover {
        transform: none;
    }

    /* Simplify animations on touch devices */
    .marquee-card:hover {
        transform: none;
    }

    .marquee-card:hover .marquee-img img {
        transform: none;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {

    .main-header,
    .floating-utilities,
    .side-nav-sticky,
    .mobile-toggle {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }

    .hero-slider {
        height: auto;
        min-height: 400px;
    }
}

/* ===================================
   REDUCED MOTION PREFERENCE
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: none;
    }

    .recruiter-slide {
        animation: none;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
        --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* ===== Sree Sakthi Style Footer ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-around;
    gap: 40px;
    margin-bottom: 0;
}

.site-footer {
    background-color: #1a3020;
    color: #ffffff;
    padding: 15px 5%;
    font-family: 'Outfit', sans-serif;
    border-top: none;
    position: relative;
    overflow: hidden;
}

/* Wavy Top Divider */
.footer-wave-container {
    width: 100%;
    line-height: 0;
    margin-bottom: 20px;
}

.footer-wave-container svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-wave-container .shape-fill {
    fill: #1a3020;
}

/* Centered Branding */
.footer-branding-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    margin-bottom: 25px;
}

.footer-logo-box {
    width: 75px;
    height: 75px;
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    border: 2px solid #d8ae11;
    /* Yellow/Gold ring branding */
}

.footer-logo-main {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.footer-college-name-center {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #d8ae11;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.footer-college-subname {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 1200px) {
    .footer-grid {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, auto);
        gap: 60px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    color: #d8ae11;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 14px;
    padding-left: 0;
    margin-left: 0;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #d8ae11;
}

.footer-link-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link-list li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-link-list li a:hover {
    color: #d8ae11;
    padding-left: 5px;
}

/* Important Links Buttons */
.important-links-section {
    margin-top: 22px;
    width: 100%;
}

.important-links-section h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #d8ae11;
    margin-bottom: 10px;
}

.important-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2f4f2f;
    /* Changed from blue #003366 to green */
    color: #ffffff;
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 3px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    transition: background 0.25s ease;
    clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%);
    width: 180px;
}

.important-link-btn:hover {
    background-color: #e62328;
    color: #ffffff;
}

.footer-contact-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list i {
    color: #d8ae11;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-list .fa-whatsapp {
    color: #25D366;
}

.footer-contact-list a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-contact-list a:hover {
    color: #d8ae11;
}

/* Follow Us */
.follow-us-section {
    margin-top: 25px;
}

.follow-us-section h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #d8ae11;
    margin-bottom: 10px;
}

.footer-social-links-flat {
    display: flex;
    gap: 14px;
}

.footer-social-links-flat a {
    color: #d8ae11;
    font-size: 1.1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-social-links-flat a:hover {
    color: #ffffff;
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-branding-center {
        margin-bottom: 35px;
    }
}

.footer-bottom {
    background-color: #e8f1fb;
    padding: 18px 0;
    text-align: center;
    color: #777777;
    font-size: 0.85rem;
    border-top: 1px solid #d0dce8;
    margin-top: 50px;
}

.designer-link {
    color: #d8ae11;
    /* Changed from purple to green */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: #2f4f2f;
    text-decoration: underline !important;
}

/* Medals & Achievements Section */
.achievements-section {
    background-color: #fbfbfc;
    padding: 50px 0 70px;
}

.achievements-section .container {
    max-width: 1450px;
}

.achievements-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.achievements-marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: achievementMarquee 30s linear infinite;
}

.achievements-marquee-container:hover .achievements-marquee-content {
    animation-play-state: paused;
}

.achievement-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e1e1e1;
    transition: all 0.3s ease;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #2f4f2f;
    /* Updated to Primary Theme */
}

.achievement-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes achievementMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
        /* Half of total width (original set) + half of gap */
    }
}

.footer-link-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.footer-newsletter-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    background: white;
    font-family: 'Inter', sans-serif;
    margin-bottom: 15px;
}

.btn-footer-send {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    padding: 12px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-footer-send:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.help-tag {
    background: white;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary);
}

.chat-bubble {
    background: white;
    padding: 12px 25px;
    border-radius: 50px 50px 5px 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
}

.chat-bubble:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Department Pages Styles */
.dept-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.dept-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.dept-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.dept-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.dept-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.9;
}

.dept-breadcrumbs a {
    color: white;
    text-decoration: none;
}

.dept-breadcrumbs span {
    color: var(--accent);
}

.dept-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.dept-sidebar {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    align-self: flex-start;
    position: sticky;
    top: 220px;
}

.dept-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dept-nav li {
    margin-bottom: 5px;
}

.dept-nav a {
    display: block;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.dept-nav a:hover,
.dept-nav a.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.dept-nav a.active {
    border-left: 4px solid var(--primary);
}

.dept-main-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.content-section {
    padding: 0 !important;
    margin-bottom: 25px;
    scroll-margin-top: 240px;
}

.content-section h2 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.content-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Department Tables */
.dept-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dept-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.dept-table th,
.dept-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.dept-table th {
    background: #f8fafc;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.dept-table tr:last-child td {
    border-bottom: none;
}

.dept-table tr:hover {
    background: #fcfdfe;
}

/* Official Content Table Style (matches user images) */
.official-table th {
    background-color: var(--primary) !important;
    /* Primary Theme Gold */
    color: white !important;
    text-transform: none;
    font-size: 0.95rem;
}

.official-table tr:nth-child(even) {
    background-color: #f7f7f7;
}

.official-table td {
    color: #555;
    font-size: 0.95rem;
}

/* Document View Button */
.btn-view-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 10px;
    border: 1px solid transparent;
}

.btn-view-doc:hover {
    background: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-view-doc i {
    font-size: 0.9rem;
}

.status-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* HOD Message Refinement */
.hod-message-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.hod-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.hod-quote {
    font-style: italic;
    font-size: 1.15rem;
    color: #4a5568;
    position: relative;
    padding: 10px 0 10px 40px;
    line-height: 1.8;
}

.hod-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    font-family: serif;
}

/* Research & Info Cards */
.dept-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.dept-info-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.dept-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.dept-info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* CoE Banner */
.coe-banner {
    display: grid;
    grid-template-columns: 1fr 260px;
    background: var(--primary);
    border-radius: 20px;
    overflow: hidden;
    color: white;
}

.coe-content {
    padding: 50px;
}

.coe-content p,
section.content-section .coe-content p {
    color: #ffffff !important;
}

.coe-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.coe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dept Gallery */
.dept-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dept-gallery-item {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.dept-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dept-gallery-item:hover img {
    transform: scale(1.1);
}

/* Event List */
.event-highlight-dark {
    background: #1a202c;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.event-highlight-dark p,
section.content-section .event-highlight-dark p {
    color: #ffffff !important;
}

.event-badge {
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.news-title {
    font-weight: 700;
    color: var(--primary);
}

.news-date {
    font-size: 0.85rem;
    color: #718096;
}

/* Alumni Grid */
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.alumni-card {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
}

.alumni-pic {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: var(--gray-dark);
}

@media (max-width: 992px) {
    .dept-container {
        grid-template-columns: 1fr;
    }

    .dept-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .hod-message-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }

    .hod-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .coe-banner {
        grid-template-columns: 1fr;
    }

    .coe-image {
        height: 250px;
    }

    .dept-gallery-grid,
    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dept-hero {
        height: 300px;
    }

    .dept-hero h1 {
        font-size: 2.2rem;
    }

    .dept-gallery-grid,
    .alumni-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FLIP TESTIMONIAL CARDS - FIXED
   =================================== */

/* Override any earlier .testimonials rule */
section#testimonials.testimonials {
    background: #f0f5f0 !important;
    padding: 80px 0 !important;
}

.flip-testimonial-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid of cards */
.flip-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px;
    margin-bottom: 36px;
}

/* Each card: fixed height, overflow hidden to clip back face */
.flip-card {
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(47, 79, 47, 0.1);
}

/* Front face - fills the card */
.flip-card-front {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border: 2px solid #dce9dc;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.55s ease;
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
}

/* Back face - starts below the card */
.flip-card-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #2f4f2f, #4a7c59);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.55s ease;
    z-index: 1;
    transform: translateY(100%);
    opacity: 0;
}

/* On hover: slide front UP, slide back UP from BOTTOM */
.flip-card:hover .flip-card-front {
    transform: translateY(-100%);
    opacity: 0;
}

.flip-card:hover .flip-card-back {
    transform: translateY(0);
    opacity: 1;
    z-index: 3;
}

/* Front face elements */
.flip-card-front h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2f4f2f;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.flip-avatar {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #2f4f2f, #4a7c59);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8ae11;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(47, 79, 47, 0.3);
    flex-shrink: 0;
}

.flip-role {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 600;
    display: block;
    margin: 0;
}

.flip-stars {
    color: #d8ae11;
    font-size: 1rem;
    letter-spacing: 3px;
}

.flip-front-hint {
    font-size: 0.72rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.flip-front-hint i {
    animation: spin-slow 3s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Back face elements */
.flip-card-back p {
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    color: #ffffff !important;
    margin: 0;
}

.flip-quote-icon {
    color: #d8ae11;
    font-size: 1.4rem;
    opacity: 0.85;
    flex-shrink: 0;
}

.flip-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(21, 135, 76, 0.18);
    border: 1px solid rgba(21, 135, 76, 0.6);
    color: #d8ae11;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Navigation bar */
.flip-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.flip-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #2f4f2f;
    background: white;
    color: #2f4f2f;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.flip-btn:hover {
    background: #2f4f2f;
    color: #d8ae11;
    transform: scale(1.1);
}

.flip-dots {
    display: flex;
    gap: 8px;
}

.flip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bfcfbf;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-dot.active {
    background: #2f4f2f;
    transform: scale(1.35);
}

/* Responsive */
@media (max-width: 900px) {
    .flip-track {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 580px) {
    .flip-track {
        grid-template-columns: 1fr !important;
    }

    .flip-card {
        height: 260px;
    }
}

/* Utility Page Styles */
.py-80 {
    padding: 80px 0;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.page-title-banner {
    background: linear-gradient(rgba(0, 31, 64, 0.8), rgba(0, 31, 64, 0.8)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.page-title-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-title-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-card {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.content-card h2 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
}

.info-box {
    padding: 30px;
    border-radius: 12px;
    background: #f8fafc;
    height: 100%;
}

.border-accent {
    border-top: 5px solid var(--accent);
}

.border-secondary {
    border-top: 5px solid var(--secondary);
}

.info-box h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.info-box ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: #f1f5f9;
    color: var(--secondary);
    font-weight: 700;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.h-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.document-list {
    margin-top: 30px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 15px;
}

.info-strip {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    align-items: center;
}

.strip-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

.ranking-card {
    background: var(--secondary);
    color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
}

.ranking-card h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.job-opening-box {
    background: #f0f4f8;
    padding: 40px;
    border-radius: 20px;
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
}

.placement-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #f1f5f9;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2f4f2f !important;
    /* Forest Green */
}

#statistics .stat-number,
#statistics .stat-label {
    color: #fff !important;
}

/* ERP Login Specifics */
.erp-login-body {
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header img {
    height: 80px;
    margin-bottom: 20px;
}


.login-header h2 {
    color: var(--secondary);
    font-weight: 800;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4b5563;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 135, 76, 0.1);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.login-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    font-size: 0.9rem;
}

/* IQAC Page Styles */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, var(--secondary), transparent);
    width: 100%;
    margin-bottom: 40px;
}

.styled-list,
.check-list,
.composition-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    color: #4b5563;
    line-height: 1.6;
}

.styled-list li::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.8rem;
    top: 5px;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10b981;
    font-size: 1rem;
    top: 3px;
}

.benefit-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    height: 100%;
    transition: var(--transition);
}

.benefit-box:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.benefit-box i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.benefit-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.composition-list li {
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #f1f5f9;
    margin-bottom: 8px;
    border-radius: 8px;
}

.composition-list li strong {
    color: var(--primary);
}

.iqac-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.iqac-link-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.iqac-link-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.iqac-link-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

/* IQAC / NAAC Page Specific Styles */
.iqac-section-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(47, 79, 47, 0.08);
    transition: var(--transition);
    margin-bottom: 30px;
}

.iqac-section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.iqac-section-card .accent-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
}

.custom-list-v2 {
    list-style: none;
    padding: 0;
}

.custom-list-v2 li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.custom-list-v2 li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.iqac-overview p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .iqac-section-card {
        padding: 25px;
    }
}

/* Premium Section Utilities (Inspired by R&D) */
.section-header-premium {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 15px;
}

.section-header-premium h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.title-underline-premium {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 30px;
    border-radius: 10px;
}

.section-intro-text {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Premium Card System */
.premium-card-v2 {
    background: var(--white);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.icon-box-premium {
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 104, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    transition: var(--transition);
}

.premium-card-v2:hover .icon-box-premium {
    background: var(--primary);
    color: var(--white);
}

.icon-box-premium i {
    font-size: 1.8rem;
}

.premium-card-v2 h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.premium-card-v2 p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Accent Pillar Cards */
.accent-pillar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border-top: 1px solid #eef2f7;
    border-right: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
}

.accent-pillar-card:hover {
    transform: translateX(10px);
    background: #f1f5f9;
}

.accent-pillar-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

.accent-pillar-card h4 i {
    margin-right: 12px;
    font-size: 1.1rem;
    color: var(--accent);
}

.accent-pillar-card .pillar-content {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-header-premium {
        margin-bottom: 30px;
    }
}

.iqac-section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.iqac-section-card .accent-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
}

.custom-list-v2 {
    list-style: none;
    padding: 0;
}

.custom-list-v2 li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.custom-list-v2 li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.iqac-overview p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .iqac-section-card {
        padding: 25px;
    }
}

/* Premium Section Utilities (Inspired by R&D) */
.section-header-premium {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-premium h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.title-underline-premium {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 30px;
    border-radius: 10px;
}

.section-intro-text {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Premium Card System */
.premium-card-v2 {
    background: var(--white);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.icon-box-premium {
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 104, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    transition: var(--transition);
}

.premium-card-v2:hover .icon-box-premium {
    background: var(--primary);
    color: var(--white);
}

.icon-box-premium i {
    font-size: 1.8rem;
}

.premium-card-v2 h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.premium-card-v2 p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Accent Pillar Cards */
.accent-pillar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border-top: 1px solid #eef2f7;
    border-right: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
}

.accent-pillar-card:hover {
    transform: translateX(10px);
    background: #f1f5f9;
}

.accent-pillar-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

.accent-pillar-card h4 i {
    margin-right: 12px;
    font-size: 1.1rem;
    color: var(--accent);
}

.accent-pillar-card .pillar-content {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-header-premium h2 {
        font-size: 2rem;
    }

    .premium-card-v2 {
        padding: 30px;
    }
}

/* NIRF Card Box Redesign */
.nirf-section-title {
    color: #4b6e4a;
    /* Muted Green */
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 4px solid #d8ae11;
    /* Gold border line */
    padding-left: 15px;
}

.nirf-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.nirf-card-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nirf-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4b6e4a;
    transition: all 0.3s ease;
}

.nirf-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(75, 110, 74, 0.2);
}

.nirf-card-box:hover::before {
    background: #d8ae11;
}

.nirf-card-box h3 {
    color: #4b6e4a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nirf-card-box p {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.nirf-card-box .view-text {
    color: #d8ae11;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    background: rgba(21, 135, 76, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nirf-card-box .view-text::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.nirf-card-box:hover .view-text {
    background: #d8ae11;
    color: #ffffff;
}

.nirf-card-box:hover .view-text::after {
    transform: translateX(5px);
}

/* Department Updates Marquee Section */
.dept-updates-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.dept-updates-section .container {
    max-width: 1450px;
}

/* Redefining these for the marquee context */
.marquee-h-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0;
}

.marquee-h-content {
    display: flex;
    animation: marquee-h 35s linear infinite;
    gap: 0;
}

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

.news-event-card-wrapper {
    flex: 0 0 450px;
    padding-right: 30px;
    white-space: normal;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* Vertical Sidebar Marquee */
.marquee-v-container {
    height: 480px;
    /* Adjusted for rich sidebar items */
    overflow: hidden;
    position: relative;
}

.marquee-v-content {
    animation: marquee-v 30s linear infinite;
    padding: 0;
    list-style: none;
    margin: 0;
}

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

@keyframes marquee-v {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}


/* =========================================
   Statistics Section
========================================= */
.statistics-section {
    position: relative;
    background: url('../images/college-background-premium.png') center/cover no-repeat fixed;
    padding: 80px 0;
    /* Slightly more padding for better visual balance */
}

.statistics-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid rgba(0, 0, 0, 0.8);
    /* Matches the bottom shadow color */
    z-index: 2;
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.85) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(135deg,
            rgba(47, 79, 47, 0.6) 0%,
            rgba(216, 174, 17, 0.75) 100%);
    /* Increased yellow opacity for a richer brand glow */
}

.statistics-section .z-index-1 {
    z-index: 1;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: #d8ae11;
    /* User's preferred secondary color */
    margin-bottom: 15px;
}

.stat-number,
.placement-stats .stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #2f4f2f !important;
    /* Forest Green - forced override */
    margin-bottom: 0px;
    font-family: inherit;
    text-shadow: none;
}


.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f0f0;
    text-transform: capitalize;
    white-space: nowrap;
}

/* Global Sub-page Hero Background Override */
.dept-hero,
.facility-hero,
.practices-hero,
.club-hero,
.learning-hero,
.detail-hero,
.facilities-hero,
.life-hero {
    background-image: url('../images/gojan-building.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* =========================================
   Modern Accreditation Card Layout
   ========================================= */
.accreditation-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.accreditation-view-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.accreditation-view-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #1a3020;
    /* Dark Green */
}

.accreditation-view-card .card-year {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3020;
    margin-bottom: 15px;
}

.accreditation-view-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004b93;
    /* University Blue */
    margin-bottom: 25px;
    line-height: 1.4;
}

.accreditation-view-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #004b93;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.accreditation-view-btn:hover {
    background: #1a3020;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(26, 48, 32, 0.3);
}

/* Section Header Modern with Underline */
.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-modern h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #004b93;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-underline {
    width: 80px;
    height: 4px;
    background: #1a3020;
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.modern-underline::before,
.modern-underline::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 15px;
    background: #1a3020;
    top: 0;
    border-radius: 2px;
}

.modern-underline::before {
    left: -25px;
    opacity: 0.5;
}

.modern-underline::after {
    right: -25px;
    opacity: 0.5;
}

.section-intro-text {
    max-width: 850px;
    margin: 25px auto 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .accreditation-modern-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .section-header-modern h2 {
        font-size: 1.8rem;
    }
}

/* Refined IQAC Alignment Styles */
.section-intro-text {
    font-size: 1.1rem;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
}

.accent-pillar-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border-top: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

/* =========================================
   Department Laboratory Styling Refinement
   ========================================= */
section#labs.content-section .dept-requirements p {
    font-size: 1.05rem !important;
    color: #4b5563 !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    font-family: 'Outfit', sans-serif !important;
}

section#labs.content-section ul.labs-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 20px !important;
}

section#labs.content-section ul.labs-list li {
    position: relative !important;
    padding-left: 35px !important;
    margin-bottom: 18px !important;
    font-size: 1rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    transition: transform 0.2s ease;
}

section#labs.content-section ul.labs-list li:hover {
    transform: translateX(5px);
}

section#labs.content-section ul.labs-list li::before {
    content: '\f610' !important;
    /* Font Awesome 'microscope' icon */
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: #2f4f2f !important;
    /* Primary Theme */
    font-size: 1.1rem !important;
}

section#labs.content-section ul.labs-list li strong {
    color: #2f4f2f !important;
    /* Primary Theme */
    font-weight: 700 !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

@media (max-width: 768px) {
    section#labs.content-section .dept-requirements p {
        font-size: 1rem !important;
    }

    section#labs.content-section ul.labs-list li {
        padding-left: 30px !important;
        font-size: 0.95rem !important;
        margin-bottom: 15px !important;
    }

    section#labs.content-section ul.labs-list li::before {
        font-size: 1rem !important;
    }
}

/* Rules & Regulations Page Specific Styles */
.quick-links-section {
    background: #f1f5f9;
    padding: 30px 0;
    margin-bottom: 50px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.quick-link-item {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
}

.quick-link-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.quick-link-item:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-3px);
}

.quick-link-item:hover i {
    color: white;
}

.quick-link-item.active {
    background: var(--primary);
    color: white !important;
}

.quick-link-item.active i {
    color: white;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rule-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.rule-card-icon {
    width: 70px;
    height: 70px;
    background: #f1f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.rule-card:hover .rule-card-icon {
    background: var(--primary);
    color: white;
}

.rule-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: #111111 !important;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
}

.rule-card-btn:hover {
    background: #c29c0f;
    transform: scale(1.05);
}

/* ==========================================================================
   Standardized Page Hero Section
   ========================================================================== */
.page-hero {
    position: relative;
    height: 380px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/gojan-building.jpg');
    background-size: cover;
    background-position: center 40%;
    margin-top: 0;
    overflow: hidden;
    padding: 0 !important;
    /* Override general section padding */
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
    white-space: nowrap;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out forwards;
}

.page-hero .container p,
.page-hero p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #ffffff !important;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.btn-back-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.btn-back-hero i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-back-hero:hover {
    background: var(--white);
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-back-hero:hover i {
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    .page-hero {
        height: 320px;
    }

    .page-hero h1 {
        white-space: nowrap;
        /* Keep it nowrap but clamp handles size */
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 280px;
    }

    .page-hero h1 {
        white-space: normal;
        /* Allow wrap on very small screens */
        font-size: 2rem;
        line-height: 1.2;
    }
}

/* Global Intro Text Centering */
.intro-text {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure Back button is centered when flex is applied */
.page-hero .container .btn-back-hero {
    margin-left: auto;
    margin-right: auto;
}



/* =========================================
   GLOBAL RESPONSIVE FIXES 
   (Desktop, Laptop, Tablet, Mobile)
========================================= */

/* LAPTOP / LARGE TABLET (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    main h2,
    section h2,
    .content-card h2,
    h2.display-5.fw-bold {
        font-size: 38px !important;
    }

    .py-5,
    .utility-wrapper {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

/* TABLET (max-width: 991px) */
@media (max-width: 991px) {

    main h2,
    section h2,
    .content-card h2,
    h2.display-5.fw-bold {
        font-size: 32px !important;
        margin-bottom: 20px !important;
    }

    .section-subtitle,
    .badge.bg-primary {
        font-size: 16px !important;
        padding: 8px 16px !important;
    }

    main p,
    section p,
    .lead {
        font-size: 16px !important;
    }

    .py-5,
    .utility-wrapper {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* MOBILE (max-width: 767px) */
@media (max-width: 767px) {

    main h2,
    section h2,
    .content-card h2,
    h2.display-5.fw-bold {
        font-size: 26px !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
    }

    .section-subtitle,
    .badge.bg-primary {
        font-size: 14px !important;
        padding: 6px 12px !important;
    }

    main p,
    section p,
    .lead {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .py-5,
    .utility-wrapper {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Ensure generic tables scroll horizontally on mobile */
    .table-responsive-mobile {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* SMALL MOBILE (max-width: 480px) */
@media (max-width: 480px) {

    main h2,
    section h2,
    .content-card h2,
    h2.display-5.fw-bold {
        font-size: 22px !important;
    }

    .py-5,
    .utility-wrapper {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* ============================
   Careers Page - Full Responsive
   Covers: Laptop, Tablet, Android, iPhone
   ============================ */

/* LAPTOP (max-width: 1200px) */
@media (max-width: 1200px) {
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number,
    .placement-stats .stat-number {
        font-size: 3rem !important;
    }

    .utility-content.form-container {
        padding: 40px !important;
    }
}

/* TABLET (max-width: 991px) */
@media (max-width: 991px) {
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .placement-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-number,
    .placement-stats .stat-number {
        font-size: 2.5rem !important;
    }

    .stat-box {
        padding: 22px 16px;
    }

    .utility-content.form-container {
        padding: 35px 28px !important;
        max-width: 95% !important;
    }
}

/* ANDROID & MOBILE (max-width: 767px) */
@media (max-width: 767px) {
    .job-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .placement-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-number,
    .placement-stats .stat-number {
        font-size: 2.2rem !important;
    }

    .stat-box {
        padding: 20px;
    }

    .stat-label {
        font-size: 0.9rem !important;
    }

    .utility-content.form-container {
        padding: 24px 16px !important;
        max-width: 100% !important;
        border-radius: 16px !important;
    }

    h2.form-title {
        font-size: 1.5rem !important;
        margin-bottom: 28px !important;
    }

    .apply-style-btn {
        width: 100%;
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }

    .btn-recruit {
        width: 100%;
        text-align: center;
        padding: 12px 20px !important;
    }

    .job-card {
        flex-direction: column;
        gap: 16px;
    }
}

/* iPHONE / SMALL MOBILE (max-width: 480px) */
@media (max-width: 480px) {
    .job-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .placement-stats {
        grid-template-columns: 1fr;
    }

    .stat-number,
    .placement-stats .stat-number {
        font-size: 2rem !important;
    }

    .stat-box {
        padding: 18px 14px;
        border-radius: 12px;
    }

    .utility-content.form-container {
        padding: 20px 14px !important;
        border-radius: 12px !important;
    }

    h2.form-title {
        font-size: 1.3rem !important;
    }

    .apply-style-btn {
        font-size: 0.95rem !important;
        padding: 12px 16px !important;
    }

    .job-card {
        padding: 20px !important;
    }

    .job-card h4 {
        font-size: 1.1rem !important;
    }
}

/* FINAL OVERRIDE FOR HERO TEXT COLOR */
body section.page-hero div.container p,
body .page-hero .container p,
section.page-hero .container p,
section.page-hero p,
.page-hero .container p,
.page-hero p {
    color: #ffffff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Fix Bootstrap Modal layering over custom headers */
.modal-backdrop {
    z-index: 10040 !important;
}

.modal {
    z-index: 10050 !important;
}