/* Hero Section Responsive */
@media (max-width: 1024px) {

    .gallery-grid-box {
        flex: 1;
        width: 100%;
    }

    .hero-content .content {
        flex-direction: column;
        height: auto;
        padding: 60px 0;
    }

    .hero-content .left-content h1 {
        font-size: 100px;
        top: 0;
        text-align: center;
    }

    .hero-content .right-content .desc {
        top: 0;
        max-width: 100%;
        margin-top: 40px;
    }

    .hero-content .right-content .desc p {
        font-size: 22px;
    }

    .hero-content .right-content .desc p:first-child {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    main {
        height: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        background-size: contain;
        background-position: center;
    }

    .hero-content .content {
        padding: 40px 0;
    }

    .hero-content .left-content h1 {
        font-size: 70px;
    }

    .hero-content .right-content .desc p {
        font-size: 18px;
        line-height: 1.6;
    }

    .hero-content .right-content .desc p:first-child {
        font-size: 35px;
    }

    .hero-content .right-content .desc p:nth-child(2) {
        padding-bottom: 30px;
    }

    .hero-content .right-content .desc p:nth-child(3) {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content .right-content .desc p:nth-child(3) a {
        font-size: 17px;
        text-align: center;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content .content {
        padding: 30px 0;
    }

    .hero-content .left-content h1 {
        font-size: 50px;
    }

    .hero-content .right-content .desc {
        margin-top: 30px;
    }

    .hero-content .right-content .desc p {
        font-size: 16px;
    }

    .hero-content .right-content .desc p:first-child {
        font-size: 28px;
        padding: 10px 5px;
    }

    .hero-content .right-content .desc p:nth-child(3) a {
        font-size: 15px;
        padding: 6px 15px;
    }
}

/* Second Section Responsive - FIXED BREAKPOINT */
@media (max-width: 1350px) {
    .second-section {
        height: auto;
        margin-bottom: 60px;
    }
    
    .second-section .sec-section-content .sec-content .noted {
        flex-direction: column;
        gap: 30px;
    }

    .second-section .sec-section-content .sec-content .noted .right-parag {
        width: 100%;
        padding: 50px 20px;
    }

    .second-section .sec-section-content .sec-content .noted .left-title {
        font-size: 100px;
        text-align: center;
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .second-section {
        height: auto;
        margin-top: 60px;
    }

    .second-section .sec-section-content .sec-content .noted .right-parag {
        font-size: 20px;
        padding: 50px 10px;
    }

    .second-section .sec-section-content .sec-content .noted .left-title {
        font-size: 70px;
        padding: 20px 0;
    }

    .second-section .sec-section-content .sec-content .noted .left-title .word-one,
    .second-section .sec-section-content .sec-content .noted .left-title .word-two {
        display: block;
    }
}

@media (max-width: 480px) {
    .second-section .sec-section-content .sec-content .noted .right-parag {
        font-size: 18px;
    }

    .second-section .sec-section-content .sec-content .noted .left-title {
        font-size: 50px;
    }
}

/* Third Section Responsive */
@media (max-width: 1024px) {
    .third-section {
        margin-top: 80px;
        padding: 40px 0;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .editorial-intro {
        position: static;
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 2px solid var(--coffee-light);
    }

    .carousel-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .third-section {
        margin-top: 50px;
        padding: 40px 0;
    }

    .editorial-intro h2 {
        font-size: 1.8rem;
    }

    .featured-title {
        font-size: 0.95rem;
    }

    .third-section .article-card {
        flex: 0 0 220px;
    }

    .third-section .card-image h3 {
        font-size: 1.1rem;
        padding: 15px;
    }

    .third-section .card-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .editorial-intro h2 {
        font-size: 1.5rem;
    }

    .section-label {
        font-size: 0.75rem;
    }

    .third-section .article-card {
        flex: 0 0 200px;
    }

    .third-section .card-image h3 {
        font-size: 1rem;
    }

    .third-section .nav-btn {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
}

/* Horizontal Section Responsive */
@media (max-width: 768px) {
    .horizontal-section {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .horizontal-section .article-card {
        flex: 0 0 240px;
    }
    
    .horizontal-section .card-title {
        font-size: 1.2rem;
    }
    
    .horizontal-section .card-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .horizontal-section .article-card {
        flex: 0 0 220px;
    }
}
