/* Base styles (for all devices) */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/* ---------- Extra Small Devices (Portrait phones, <576px) ---------- */
@media (max-width: 575.98px) and (orientation: portrait) {
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    .navbar-brand {
        font-size: 1rem;
    }
    .mega-menu .row {
        flex-direction: column;
    }
    .service-tile {
        padding: 20px;
    }
    footer p {
        font-size: 0.9rem;
    }
    .animated-heading {
        font-size: 2.2rem;
        line-height: 3rem;
        letter-spacing: -1px;
        padding: 0 15px;
    }
    .about-us-section h2 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
}

/* ---------- Small Devices (Landscape phones, 576px–767.98px) ---------- */
@media (min-width: 576px) and (max-width: 767.98px) and (orientation: landscape) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    .mega-menu .row {
        flex-direction: column;
    }
    .service-tile {
        padding: 25px;
    }
    .animated-heading {
        font-size: 2.2rem;
        line-height: 3rem;
        letter-spacing: -1px;
        padding: 0 15px;
    }
}

/* ---------- Medium Devices (Tablets, 768px–991.98px) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-banner h1 {
        font-size: 2.4rem;
    }
    .ellipse-tile {
        height: 28vh;
    }
    .mega-menu .row {
        flex-wrap: wrap;
    }
    .mega-menu .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }
    .service-tile {
        padding: 30px;
    }
    .animated-heading {
        font-size: 2.2rem;
        line-height: 3rem;
        letter-spacing: -1px;
        padding: 0 15px;
    }
}

/* ---------- Large Devices (Desktops, 992px–1199.98px) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
	
	
	
	
    .hero-banner h1 {
        font-size: 2.8rem;
    }
    .ellipse-tile {
        height:48vh;
    }
    .mega-menu .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .service-tile {
        padding: 35px;
    }
}



/* ---------- Large Devices (Desktops, 992px–1199.98px) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-banner h1 {
        font-size: 2.8rem;
    }
    .ellipse-tile {
        height:48vh;
    }
    .mega-menu .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .service-tile {
        padding: 35px;
    }
}






/* ---------- Extra Large Devices (≥1200px) ---------- */
@media (min-width: 1200px) {
    .hero-banner h1 {
        font-size: 3rem;
    }
    .service-tile {
        padding: 40px;
    }
    .mega-menu .col-md-3 {
        max-width: 25%;
    }
}
