/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* HEADER MOBILE */
    .header-inner {
        position: relative;
        z-index: 2001;
    }

    .mobile-menu-btn {
        display: block !important;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 5px;
    }

    /* Mobile Nav Container - FIXED POSITION */
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #1a202c;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        z-index: 2000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
    }

    /* Active State */
    .main-nav.mobile-active {
        display: flex !important;
        animation: slideDown 0.3s ease-out forwards;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        border: none;
        width: 100%;
        text-align: left;
    }

    /* Bold White on Hover/Active */
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.05);
        color: #ffffff !important;
        font-weight: 700 !important;
        padding-left: 25px;
    }

    /* DROPDOWN IN MOBILE */
    .nav-item-dropdown {
        flex-direction: column;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        border: none;
        display: none;
        padding: 0;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        color: #cbd5e1;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* HERO SLIDER TWEAKS */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .headline-slider-wrapper {
        border-radius: 0;
        width: 100%;
        aspect-ratio: 16/9;
    }

    /* Reduced Title Size & Centered */
    .slider-title {
        font-size: 1.1rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    /* Spacing and Alignment */
    .slider-content {
        padding: 1rem 2.5rem;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .slider-content p {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0 auto 1.5rem auto;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-col {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .header-actions .btn {
        display: none;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}