/* 
==============================================
AG INFREATCH - Responsive Styles
Author: Website Developer
==============================================
*/

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    .hero-content {
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .project-img img {
        height: 220px;
    }
    
    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-light .navbar-nav .nav-link:after {
        display: none;
    }
    
    .dropdown-menu {
        border: none;
        background-color: #f8f9fa;
        padding: 0;
    }
    
    .dropdown-item {
        padding: 10px 15px;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-content {
        text-align: center;
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-btns .btn {
        margin-bottom: 10px;
    }
    
    .project-card,
    .service-card,
    .testimonial-card,
    .news-card {
        margin-bottom: 30px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
        text-align: center !important;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .breadcrumb-section h1 {
        font-size: 36px;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .project-meta {
        flex-direction: column;
    }
    
    .project-meta span {
        margin-bottom: 5px;
    }
    
    .about-feature-item h4 {
        font-size: 16px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .testimonial-img {
        width: 50px;
        height: 50px;
    }
    
    .breadcrumb-section h1 {
        font-size: 28px;
    }
    
    .breadcrumb-nav {
        padding: 8px 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }
}

/* Fix for very small devices */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-btns .btn {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .navbar-brand img.logo {
        height: 40px;
    }
}