/* ================= RESPONSIVE CSS ================= */

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        height: 70px;
    }

    .logo {
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #050b1a;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 25px rgba(0,0,0,.5);
    }

    nav.open {
        max-height: 400px;
        padding: 15px 0;
    }

    nav a {
        display: block;
        padding: 14px 25px;
        font-size: 16px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 120px 0 80px;
        background-position: center;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        margin: 0 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
        max-width: 100%;
    }

    .tag {
        font-size: 14px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .features {
        grid-template-columns: 1fr;
        margin: 20px 15px 40px;
        padding: 0;
        gap: 15px;
    }

    .feature-card {
        min-height: 180px;
    }

    .feature-card h3 {
        font-size: 24px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .about {
        margin: 50px 15px;
        padding: 0;
    }

    .about h2 {
        font-size: 28px;
    }

    .about p {
        font-size: 15px;
        line-height: 1.7;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }

    .stat-box {
        width: 100%;
        max-width: 250px;
        padding: 20px;
    }

    .stat-box h3 {
        font-size: 28px;
    }

    .footer {
        margin-top: 50px;
        padding: 40px 15px;
    }

    .footer h2 {
        font-size: 22px;
    }

    .footer-desc {
        font-size: 14px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        padding: 10px 15px;
        font-size: 13px;
        gap: 6px;
    }

    .page-hero {
        height: 350px;
    }

    .page-content h1 {
        font-size: 42px;
    }

    .page-content p {
        font-size: 16px;
    }

    .news-header {
        margin-top: 100px;
    }

    .news-header h1 {
        font-size: 36px;
    }

    .news-container {
        padding: 0 15px 50px;
    }

    .news-card {
        flex-direction: column;
        gap: 0;
    }

    .news-card img {
        width: 100%;
        height: 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h2 {
        font-size: 22px;
    }

    .news-content p {
        font-size: 14px;
    }

    .section-title {
        margin: 100px 15px 30px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 15px;
    }

    .program-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
    }

    .program-card img {
        height: 200px;
    }

    .program-content h3 {
        font-size: 18px;
    }

    .program-content p {
        font-size: 14px;
    }

    .event-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
    }

    .event-card img {
        height: 200px;
    }

    .event-content h3 {
        font-size: 20px;
    }

    .event-content p {
        font-size: 14px;
    }

    .event-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .article-top {
        margin: 100px 15px 50px;
        padding: 0;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .article-top img,
    .article-slider {
        height: auto;
        max-height: 350px;
        position: static;
    }

    .article-slider .slide {
        height: 350px;
    }

    .article-info h1 {
        font-size: 26px;
    }

    .article-info p {
        font-size: 15px;
        line-height: 1.7;
    }

    .prev, .next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 420px;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .page-hero {
        height: 280px;
    }

    .page-content h1 {
        font-size: 30px;
    }

    .page-content p {
        font-size: 14px;
    }

    .news-header h1 {
        font-size: 26px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .article-info h1 {
        font-size: 22px;
    }

    .article-slider .slide {
        height: 250px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    header {
        padding: 0 35px;
    }

    nav {
        gap: 25px;
    }

    nav a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .news-card img {
        width: 280px;
        height: 100%;
        min-height: 200px;
        align-self: stretch;
        object-fit: cover;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
