/* Responsive Styling Adjustments */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 991.98px) {
    .main-header {
        padding: 12px 0;
    }
    
    .navbar-collapse {
        background: var(--white);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 87, 184, 0.1);
        border: 1px solid rgba(0, 87, 184, 0.05);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 10px !important;
        border-bottom: 1px solid rgba(0, 87, 184, 0.03);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link.active {
        color: var(--primary);
        font-weight: 800;
        background-color: rgba(0, 87, 184, 0.03);
        border-radius: 8px;
    }
    
    .header-cta-btn {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
    
    .hero-section {
        padding: 180px 0 100px;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
        margin-bottom: 50px;
    }
    
    .process-col:not(:last-child)::after {
        display: none;
    }
    
    .process-step {
        margin-bottom: 40px;
    }
    
    .cta-btn-group {
        justify-content: center;
        margin-top: 25px;
    }
    
    .footer-col {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .section-title-wrapper h2 {
        font-size: 2rem;
    }
    
    .about-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 30px auto 0;
    }
    
    .counter-box {
        margin-bottom: 30px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-btns,
    .hero-cta-buttons,
    .intro-cta-group,
    .cta-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 12px !important;
    }
    
    .hero-btns .btn-premium,
    .hero-cta-buttons .btn-premium,
    .intro-cta-group .btn-premium,
    .cta-btn-group .btn-premium {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 20px !important;
    }
    
    .section-title-wrapper h2 {
        font-size: 1.65rem;
    }
    
    .floating-actions {
        bottom: 15px;
        left: 15px;
        gap: 8px;
    }
    
    .btn-float-backtop {
        bottom: 15px;
        right: 15px;
    }
    
    .btn-float {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
    
    .service-tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .glass-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
    
    .section-padding {
        padding: 50px 0 !important;
    }
    
    .inner-banner {
        padding: 110px 0 30px !important;
    }
    
    .inner-banner h1,
    .inner-banner h2 {
        font-size: 1.6rem !important;
    }
    
    .breadcrumb-item {
        font-size: 0.78rem !important;
    }
    
    .landing-hero-title {
        font-size: 1.65rem !important;
        line-height: 1.35 !important;
    }
    
    .landing-hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
    }
    
    .trust-card {
        padding: 14px 8px !important;
    }
    
    .trust-card h6 {
        font-size: 0.84rem !important;
    }
    
    .trust-card small {
        font-size: 0.72rem !important;
    }
}

/* Extra small devices (<= 380px) */
@media (max-width: 380px) {
    .landing-hero-title {
        font-size: 1.45rem !important;
    }
    
    .section-title-wrapper h2 {
        font-size: 1.45rem !important;
    }
    
    .btn-premium {
        padding: 10px 16px !important;
        font-size: 0.88rem !important;
    }
    
    .trust-card h6 {
        font-size: 0.78rem !important;
    }
    
    .trust-card small {
        font-size: 0.68rem !important;
    }
}

/* Base landing page mobile optimizations */
.landing-hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .landing-hero-title {
        font-size: 2.1rem;
    }
    .inner-banner {
        padding: 130px 0 50px;
    }
    .inner-banner h1,
    .inner-banner h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .landing-hero-title {
        font-size: 1.85rem;
    }
    .inner-banner {
        padding: 120px 0 40px;
    }
    .inner-banner h1,
    .inner-banner h2 {
        font-size: 1.75rem;
    }
    .service-card-img-wrapper {
        height: 200px;
    }
}

/* Global overflow protection */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}
