/* Mobile (< 480px) */
@media (max-width: 479px) {

    .hero-grid,
    .speaker-card,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .benefits-grid,
    .audience-grid,
    .schedule-grid {
        grid-template-columns: 1fr !important;
    }

    .countdown {
        gap: 0.5rem;
    }

    .floating-card {
        margin: 2rem auto 0;
    }

    .hero {
        padding: 5rem 0rem 0rem !important;
        
    }
}

/* Small Tablet (480px – 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .benefits-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .schedule-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Tablet (768px – 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        margin: 2rem auto 0;
    }
}

/* Mobile navigation */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out, border-color 0.3s;
        border-bottom: 1px solid transparent;
    }

    .nav-links.open {
        max-height: 300px;
        padding: 1rem 0;
        border-bottom-color: var(--border);
    }
}