/* Desktop View Responsive Fixes */

@media (min-width: 992px) {
    /* Header fixes */
    .menu-area.menu-style-two .container.custom-container-three {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .menu-area .navbar-wrap ul.navigation {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .menu-area .navbar-wrap ul.navigation li {
        margin: 0 12px;
    }
    
    .menu-area .navbar-wrap ul.navigation li a {
        font-size: 16px;
        white-space: nowrap;
    }
    
    /* Banner fixes */
    .banner-area-two .banner-content .title {
        font-size: 3.5vw;
        line-height: 1.3;
        max-width: 90%;
        margin: 0 auto 40px;
    }
    
    .banner-area-two .banner-content img {
        max-width: 90%;
        height: auto;
    }
    
    /* About section fixes */
    .about-area-two .container.custom-container-four {
        max-width: 1200px;
    }
    
    .about-content-two {
        padding-left: 30px;
    }
    
    .about-img-two img {
        max-width: 100%;
        height: auto;
    }
    
    /* Choose section fixes */
    .choose-area-two .choose-item-two {
        padding: 30px 20px;
        height: 100%;
    }
    
    .choose-content {
        min-height: 180px;
    }
    
    /* Counter section fixes */
    .counter-area .counter-inner {
        padding: 50px 0;
    }
    
    .counter-item {
        padding: 20px;
    }
    
    /* Roadmap fixes */
    .roadmap-area-two .roadmap-wrap-two .roadmap-item {
        width: 25%;
        padding: 0 15px;
    }
    
    .roadmap-content {
        padding: 25px 20px;
    }
    
    /* Team section fixes */
    .team-area-two .team-item-two {
        margin-bottom: 30px;
    }
    
    .team-thumb img {
        width: 100%;
        height: auto;
    }
    
    /* FAQ fixes */
    .faq-area .faq-wrap {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .accordion-button {
        font-size: 18px;
        padding: 20px;
    }
    
    /* Contact form fixes */
    .contact-form-wrap-two form {
        max-width: 500px;
        margin-left: auto;
    }
    
    .contact-info-wrap-two {
        padding-right: 50px;
    }
    
    /* Newsletter fixes */
    .newsletter-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .newsletter-content {
        flex: 1;
        min-width: 300px;
    }
    
    .newsletter-form {
        flex: 1;
        min-width: 400px;
    }
    
    /* Footer fixes */
    .footer-menu-two ul.navigation {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .footer-menu-two ul.navigation li {
        margin-right: 30px;
        margin-bottom: 10px;
    }
    
    .footer-bottom .row {
        align-items: center;
    }
}

@media (min-width: 1200px) {
    .container.custom-container-four {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .banner-area-two .banner-content .title {
        font-size: 48px;
        max-width: 80%;
    }
    
    .choose-area-two .choose-item-two {
        padding: 40px 30px;
    }
}

@media (min-width: 1400px) {
    .container.custom-container-four {
        max-width: 1320px;
    }
    
    .banner-area-two .banner-content .title {
        font-size: 56px;
    }
}

/* General fixes for all desktop sizes */
@media (min-width: 768px) {
    /* Make sure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure containers don't overflow */
    .container, 
    .container-fluid, 
    .custom-container-three, 
    .custom-container-four,
    .custom-container-two {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix for countdown */
    #countdown-gampang {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Social icons alignment */
    .banner-social-wrap ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Fix for very large screens */
@media (min-width: 1600px) {
    .banner-area-two .banner-content .title {
        font-size: 64px;
        max-width: 70%;
    }
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}