/* Responsive CSS */

/* Large Screens (2560px and above) */
@media screen and (min-width: 2500px) {

    .container,
    .courses-section,
    .scholarship-layout {
        max-width: 2200px;
        /* Allow wider content */
    }

    .container {
        max-width: 100%;
        padding: 0 50px;
    }

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

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

    .section-title {
        font-size: 3rem;
    }

    /* Fix nav for large screens */
    .nav-list {
        display: flex;
        justify-content: center;
        /* Center items */
        flex-wrap: nowrap;
        /* Prevent wrapping */
        gap: 20px;
    }

    .nav-list>li {
        flex-shrink: 0;
        /* Prevent items from shrinking too much */
    }

    .nav-list>li>a {
        font-size: 1.1rem;
        /* Moderate font size */
        padding: 20px 20px;
        white-space: nowrap;
        /* Ensure text stays on one line */
    }
}

/* Laptops and smaller desktops */
@media screen and (max-width: 1366px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .logo-name .college-name {
        font-size: 18px;
    }

    /* Nav list compression removed - now handled via mobile menu at 1200px */

    .news-events-box {
        width: 300px;
        right: 1rem;
    }
}

/* Tablets & Mobile (992px and below) */
@media screen and (max-width: 992px) {

    /* Navigation styles removed as they are handled in header.blade.php */


    .scholarship-layout,
    .footer-top {
        flex-direction: column;
    }

    .scholarship-sidebar-block {
        order: 2;
    }

    .news-events-box {
        position: relative;
        width: 95%;
        margin: 20px auto;
        right: auto;
        top: auto;
        transform: none;
    }

    .stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile Devices (Extra Small) */
@media screen and (max-width: 767px) {
    .education-excellence {
        margin-left: 0 !important;
        padding: 30px 15px !important;
    }

    .transport-main-container,
    .mvo-section,
    .scholarship-main-block,
    .placement-officer-box,
    .placement-officer-section {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 100% !important;
        padding: 15px !important;
    }

    .mvo-item,
    .mvo-item.reverse {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .mvo-image img,
    .department-facility-image img {
        width: 100% !important;
        height: auto !important;
    }

    .department-facility-item {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .stats-row {
        gap: 20px !important;
    }

    .stat-item {
        min-width: 120px !important;
    }

    .hero-slider,
    .hero-slider img.slide {
        height: 50vh !important;
        min-height: 400px !important;
    }
}

/* Tablets (Between 768px and 1199px) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .education-excellence {
        margin-left: 0 !important;
    }

    .transport-main-container,
    .mvo-section,
    .placement-officer-box {
        width: 90% !important;
        float: none !important;
        margin: 20px auto !important;
    }

    .mvo-image img {
        width: 300px !important;
    }
}