/* === responsive.css (2026 Modern Mobile Enhancements) === */

/* ------------------------------------------------------
   1. Global Resets for Responsiveness
------------------------------------------------------ */
img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1200px;
}
section {
    padding: 60px 0;
}

/* ------------------------------------------------------
   2. Large Tablets (max-width: 1199px)
------------------------------------------------------ */
@media (max-width: 1199px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    p { font-size: 15px; }

    .navbar-brand {
        font-size: 16px;
    }

    .hero-section {
        padding-top: 130px;
        padding-bottom: 100px;
    }

    .service-box {
        margin-bottom: 50px;
    }
}

/* ------------------------------------------------------
   3. Tablets / Landscape Phones (max-width: 991px)
------------------------------------------------------ */
@media (max-width: 991px) {
    h1 { font-size: 34px; }
    h2 { font-size: 28px; }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 90px;
    }

    .hero-section p {
        font-size: 16px;
        max-width: 600px;
    }

    .navbar-brand {
        font-size: 15px;
    }

    /* Service grid stacks gracefully */
    .service-box {
        margin-bottom: 40px;
    }
    .services-overview .col-sm-4 {
        margin-bottom: 30px;
    }

    /* Contact form spacing fix */
    .contact-form {
        margin-top: 40px;
    }

    .site-footer {
        text-align: center;
    }
}

/* ------------------------------------------------------
   4. Mobile Phones (max-width: 767px)
------------------------------------------------------ */
@media (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Navbar */
    .modern-navbar {
        padding: 8px 0;
    }
    .navbar-brand {
        font-size: 15px;
    }
    .navbar-logo {
        max-height: 38px;
    }
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav > li > a {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 70px;
        background-position: center center;
    }
    .hero-section h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .hero-section p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    .btn-primary, .btn-secondary {
        padding: 10px 25px;
        font-size: 15px;
    }

    /* Services */
    .services-overview {
        padding: 60px 0;
    }
    .service-box {
        margin-bottom: 40px;
    }
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    /* Why Choose */
    .feature-box {
        margin-bottom: 25px;
    }

    /* Testimonials */
    .testimonials-preview blockquote,
    .testimonial {
        font-size: 16px;
        padding: 15px 20px;
        border-left-width: 3px;
    }
    .testimonial footer {
        font-size: 14px;
    }

    /* Footer */
    .site-footer {
        padding: 50px 0 30px;
        font-size: 14px;
    }
    .site-footer .footer-links,
    .site-footer .footer-contact {
        margin-bottom: 30px;
    }
    .footer-logo {
        max-width: 140px;
    }

    /* Adjust global spacing */
    section {
        padding: 60px 0;
    }
}

/* ------------------------------------------------------
   5. Extra-Small Phones (max-width: 480px)
------------------------------------------------------ */
@media (max-width: 480px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }

    .hero-section {
        padding-top: 90px;
        padding-bottom: 60px;
    }
    .hero-section h1 {
        font-size: 24px;
    }
    .hero-section p {
        font-size: 14px;
        max-width: 90%;
    }

    .btn-primary, .btn-secondary {
        font-size: 14px;
        padding: 9px 22px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .navbar-brand {
        font-size: 14px;
    }
}

/* ------------------------------------------------------
   6. Utility Helpers
------------------------------------------------------ */
.text-center-xs {
    text-align: center !important;
}
.mt-xs-20 { margin-top: 20px !important; }
.mt-xs-40 { margin-top: 40px !important; }
.mb-xs-20 { margin-bottom: 20px !important; }

