/* ===== RESPONSIVE DESIGN ===== */

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
    .header-main {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo-section {
        order: 1;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow);
        padding: 10px 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }
    
    .footer-main {
        gap: 25px;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 768px) {
    /* Top Header */
    .top-header-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
        width: 100%;
    }
    
    .top-header-right {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    /* Header */
    .header-main {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .btn-apply {
        padding: 7px 12px;
        font-size: 12px;
    }
    
    /* Main Content */
    .section {
        padding: 25px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .card {
        padding: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 25px 0 12px;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
        gap: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-details p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-menu {
        justify-content: center;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* Top Header */
    .top-header {
        font-size: 12px;
        padding: 5px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .portal-links {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .portal-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Header */
    .logo {
        gap: 8px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text h1 {
        font-size: 14px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .btn-apply {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .btn-apply span {
        display: none;
    }
    
    .btn-apply i {
        margin: 0;
    }
    
    .mobile-menu-toggle {
        padding: 5px;
    }
    
    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* Ultra Small Devices */
@media (max-width: 400px) {
    .logo-text h1 {
        font-size: 13px;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .btn-apply {
        padding: 6px 8px;
        border-radius: 3px;
    }
}/* Content Responsive Styles */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .image-overlay {
        padding: 10px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .event-card .row {
        flex-direction: column;
    }
    
    .event-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .quick-link i {
        font-size: 1.5rem;
    }
}