/* ===== RESPONSIVE STYLES ===== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .logo-text .uni-name {
        font-size: 1.2rem;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 100;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 15px 0;
        width: 100%;
        display: block;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 500px;
    }
    
    .dropdown-item {
        text-align: center;
        padding: 12px 0;
    }
    
    .dropdown-toggle::after {
        content: '+';
        border: none;
        margin-left: 5px;
    }
    
    .dropdown.active .dropdown-toggle::after {
        content: '-';
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: 75vh;
    }
    
    .hero-content {
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-image {
        order: -1;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
    }
    
    .spotlight-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .hero {
        height: auto;
        padding: 80px 0;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-overlay {
        background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.8) 100%);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .programs-container {
        grid-template-columns: 1fr;
    }
    
    .spotlight-slider {
        grid-template-columns: 1fr;
    }
    
    .spotlight-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .testimonial-slide {
        padding: 0;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    .header-content {
        padding: 10px 0;
    }
    
    .logo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo img {
        height: 40px;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .logo-text .uni-name {
        font-size: 1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .about-feature i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .testimonial-author {
        flex-direction: column;
    }
    
    .testimonial-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}