/* ----------------------------------------------------
   Echofy Sustainability Website - Responsive Media Queries
---------------------------------------------------- */

@media (max-width: 1400px) {
    .eco-badge-glass {
        left: -10px;
    }
}

@media (max-width: 1199px) {
    .navbar-nav .nav-link {
        margin: 0 5px;
        font-size: 15px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .display-3 {
        font-size: 2.8rem;
    }
    
    .main-stats-img {
        width: 320px;
        height: 320px;
    }
    
    .save-planet-badge {
        width: 110px;
        height: 110px;
        font-size: 11px;
    }
}

@media (max-width: 991px) {
    /* Navbar Collapse Styling */
    .navbar-collapse {
        background-color: var(--dark-green);
        border-radius: 12px;
        padding: 20px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .navbar-nav {
        align-items: center;
    }
    
    .navbar-nav .nav-link {
        margin: 10px 0;
        font-size: 16px;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .header-actions {
        justify-content: center;
        margin-top: 15px;
        width: 100%;
    }
    
    .header-actions .btn-quote {
        width: 80%;
        text-align: center;
    }
    
    /* Hero Section Columns */
    .hero-content-col {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-main-img {
        max-height: 400px;
    }
    
    .eco-badge-glass {
        position: relative !important;
        left: 0 !important;
        bottom: 0 !important;
        display: inline-flex !important;
        align-items: center;
        gap: 10px;
        margin-top: 30px;
        animation: none;
    }
    
    /* Spacers */
    .py-100 {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    
    /* About image offset */
    .award-badge {
        bottom: 10px;
        left: 10px;
    }
    
    /* Stats Layout */
    .stats-img-wrapper {
        margin-top: 50px;
    }
    
    .main-stats-img {
        width: 350px;
        height: 350px;
    }
    
    /* Why Choose Us columns */
    .why-choose-us-section .col-xl-3 {
        width: 50%;
    }
    
    /* Projects Filters Alignment */
    .project-filters {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    /* About feature items listing */
    .about-section .col-md-6 {
        width: 100%;
    }
    
    /* Why Choose Us columns */
    .why-choose-us-section .col-xl-3 {
        width: 100%;
    }
    
    .main-stats-img {
        width: 280px;
        height: 280px;
    }
    
    .save-planet-badge {
        width: 100px;
        height: 100px;
        padding: 10px;
        left: -10px;
        top: 0px;
    }
    
    .save-planet-badge h6 {
        font-size: 9px;
    }
    
    .save-planet-badge h4 {
        font-size: 13px;
    }
    
    /* Map controls */
    .map-container {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .display-3 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-img-wrapper img {
        border-radius: 12px;
    }
    
    .award-badge {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        margin-top: 15px;
        display: flex !important;
        justify-content: center;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .save-planet-badge {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-top: 20px;
        display: inline-flex !important;
        width: auto;
        height: auto;
        border-radius: 12px;
    }
    
    .main-stats-img {
        width: 240px;
        height: 240px;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-filter {
        width: 100%;
        text-align: center;
    }
    
    /* Footer links layout */
    .footer-section {
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .border-left-success {
        border-left: none;
        border-bottom: 2px solid var(--primary);
        padding-left: 0;
        padding-bottom: 8px;
        display: inline-block;
    }
}
