:root {
    --primary: #0a74b9;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:var(--font-body); color:var(--dark); background:var(--light); line-height:1.6; }
h1,h2,h3,h4 { font-family:var(--font-heading); color:var(--dark); margin-bottom:10px; }
a { text-decoration:none; color:inherit; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }
.container-flex { display:flex; justify-content:space-between; align-items:center; }
.section-padding { padding:60px 0; }
.text-center { text-align:center; }
.section-title { font-size:2rem; margin-bottom:30px; text-align:center; position:relative; }
.btn { display:inline-block; padding:12px 24px; border-radius:4px; font-weight:500; cursor:pointer; border:none; }
.btn-primary { background:var(--primary); color:var(--white); }
.btn-secondary { background:var(--secondary); color:var(--white); }
.btn-nav { background:var(--secondary); color:var(--white); padding:6px 15px; border-radius:4px; }
.top-bar { background:var(--dark); color:var(--white); font-size:0.85rem; padding:8px 0; }
.top-info span { margin-right:15px; }
.navbar { background:var(--white); position:sticky; top:0; z-index:1000; box-shadow:var(--shadow); padding:15px 0; }
.logo { font-size:1.3rem; font-weight:700; color:var(--primary); }
.nav-menu { display:flex; list-style:none; gap:20px; align-items:center; }
.nav-toggle { display:none; background:none; border:none; font-size:1.3rem; cursor:pointer; }
.hero { padding:80px 0; background:linear-gradient(135deg, rgba(10,116,185,0.05) 0%, rgba(16,185,129,0.05) 100%); }
.grid-hero { display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:center; }
.grid-three { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:20px; }
.card { background:var(--white); padding:25px; border-radius:6px; box-shadow:var(--shadow); border-top:4px solid var(--primary); }
.service-category-title { background:var(--primary); color:var(--white); padding:10px 15px; margin:30px 0 15px 0; border-radius:4px; font-weight:600; }
.form-container { background:var(--white); padding:30px; border-radius:6px; box-shadow:var(--shadow); max-width:700px; margin:0 auto; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-bottom:15px; }
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-group-full { grid-column: span 2; display:flex; flex-direction:column; gap:5px; }
.form-group input, .form-group select, .form-group textarea { padding:10px; border:1px solid var(--border-color); border-radius:4px; }
.alert { padding:12px; border-radius:4px; margin-bottom:15px; }
.alert-success { background:#d1e7dd; color:#0f5132; }
.alert-danger { background:#f8d7da; color:#842029; }
.faq-item { background:var(--white); border:1px solid var(--border-color); margin-bottom:8px; border-radius:4px; }
.faq-header { padding:15px; display:flex; justify-content:space-between; cursor:pointer; font-weight:600; }
.faq-content { padding:0 15px; max-height:0; overflow:hidden; transition:max-height 0.3s ease-out; color:var(--text-muted); }
.testimonial-carousel { max-width:700px; margin:0 auto; text-align:center; position:relative; }
.testimonial-slide { background:var(--white); padding:30px; border-radius:6px; box-shadow:var(--shadow); display:none; }
.testimonial-slide.active { display:block; }
.carousel-nav { display:flex; justify-content:center; gap:10px; margin-top:15px; }
.carousel-btn { background:var(--white); border:1px solid var(--border-color); width:35px; height:35px; border-radius:50%; cursor:pointer; }
.grid-contact { display:grid; grid-template-columns:1fr 1.2fr; gap:30px; }
.info-item { display:flex; gap:15px; background:var(--white); padding:15px; margin-bottom:10px; border-radius:4px; box-shadow:var(--shadow); }
.map-holder { height:250px; border-radius:6px; overflow:hidden; margin-top:15px; }
.main-footer { background:var(--dark); color:rgba(255,255,255,0.7); padding:40px 0 20px 0; font-size:0.9rem; }
.grid-footer { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:30px; }
.footer-bottom { text-align:center; border-top:1px solid rgba(255,255,255,0.1); padding-top:15px; margin-top:20px; }
.whatsapp-float { position:fixed; bottom:20px; right:20px; background:#25d366; color:white; width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; z-index:1000; }
.call-float { position:fixed; bottom:80px; right:20px; background:var(--primary); color:white; width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px; z-index:1000; }
@media (max-width: 768px) {
    .grid-hero, .grid-contact, .form-grid { grid-template-columns:1fr; }
    .form-group-full { grid-column:span 1; }
    .nav-menu { display:none; flex-direction:column; width:100%; position:absolute; top:100%; left:0; background:var(--white); padding:20px; box-shadow:var(--shadow); }
    .nav-menu.show { display:flex; }
    .nav-toggle { display:block; }
}


/* ==========================================================================
   MOBILE & TABLET ULTRA-RESPONSIVE OPTIMIZATION OVERRIDES (Max 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 1. Global Layout Resets */
    .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 2. Force Multi-Column Grids to Stack Vertically */
    .grid-2, .grid-3, .grid-4, .grid-footer, .services-grid, .features-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    /* 3. Hero Section Fluid Scale Rules */
    .hero-section {
        padding: 60px 0 !important;
        text-align: center !important;
    }
    .hero-section h1 {
        font-size: 2.1rem !important;
        line-height: 1.3 !important;
    }
    .hero-section p {
        font-size: 1rem !important;
    }
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* 4. Form Layout Structural Compression */
    form {
        padding: 20px !important;
    }
    .form-group, .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    input, select, textarea {
        font-size: 16px !important; /* Prevents iOS Safari auto-zooming on focus */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Mobile Floating Action Buttons (Thumb Zone Optimization) */
    .whatsapp-float, .call-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        bottom: 20px !important;
    }
    .whatsapp-float {
        right: 20px !important;
    }
    .call-float {
        left: 20px !important;
    }

    /* 6. Mobile Data Presentation Optimization */
    .about-img, .service-card, .features-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
}