/* ==========================================================================
   1. CORPORATE BLUE DESIGN SYSTEM & RESET
   ========================================================================== */
:root {
    --primary-deep-blue: #0A2240;    /* Trust-anchored Corporate Navy */
    --accent-electric-blue: #00A6FF; /* Clean utility water-blue accent */
    --neutral-light: #F8FAFC;        /* Modern clean ice-white background panels */
    --neutral-dark: #1E293B;         /* High-contrast deep slate for body copy */
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--neutral-dark);
}

body {
    background-color: var(--white);
    line-height: 1.6;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 22px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float span { font-size: 14px; font-weight: 600; margin-left: 8px; display: inline-block; }
.whatsapp-float:hover { background-color: #128C7E; transform: scale(1.05); }

/* ==========================================================================
   2. REUSABLE STRUCTURAL UTILITIES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.container-small {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.badge {
    background-color: var(--accent-electric-blue);
    color: var(--white);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-deep-blue);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-electric-blue);
}

.section-title p {
    color: #64748B;
    margin-top: 10px;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

.rounded-shadow {
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* --- BUTTON UI ELEMENTS --- */
.btn-primary, .btn-secondary, .btn-primary-small {
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition-smooth);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-electric-blue);
    color: var(--white);
    padding: 12px 30px;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-deep-blue);
    border-color: var(--accent-electric-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    padding: 12px 30px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-deep-blue);
}

.btn-primary-small {
    background-color: var(--accent-electric-blue);
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-primary-small:hover {
    background-color: var(--white);
    color: var(--primary-deep-blue);
    border-color: var(--accent-electric-blue);
}

/* ==========================================================================
   3. EMERGENCY ALERT RIBBON
   ========================================================================== */
.emergency-ribbon {
    background: linear-gradient(90deg, #b91c1c, #dc2626);
    color: var(--white);
    text-align: center;
    padding: 8px 10px;
    font-size: 0.9rem;
}

/* ==========================================================================
   4. NAVIGATION HEADER FRAMEWORK
   ========================================================================== */
.main-header {
    background-color: var(--primary-deep-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.menu-toggle {
    display: none; /* Hidden on desktop view */
}

/* Desktop Inline Nav & Social Layout */
.nav-and-socials-inline {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-electric-blue);
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.header-socials a {
    color: var(--white) !important;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.header-socials a:hover {
    color: var(--accent-electric-blue) !important;
}

/* ==========================================================================
   5. SHUFFLING HERO SLIDER LAYOUT ENGINE
   ========================================================================== */
.hero-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #E2E8F0;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   6. ABOUT COMPANY CORE COMPONENT
   ========================================================================== */
.about-section {
    background-color: var(--neutral-light);
}

.about-text h2 {
    font-size: 2.4rem;
    color: var(--primary-deep-blue);
    margin-bottom: 20px;
}

.value-cards {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v-card {
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.v-card i {
    font-size: 2rem;
    color: var(--accent-electric-blue);
}

.v-card h4 {
    color: var(--primary-deep-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* ==========================================================================
   7. SERVICES GRID ELEMENTS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-img-placeholder {
    height: 180px;
    background-color: #CBD5E1;
}

.service-body {
    padding: 25px;
    position: relative;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #E0F2FE; /* Smooth light blue wash */
    color: var(--accent-electric-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 6px;
    margin-bottom: 15px;
}

.service-body h3 {
    margin-bottom: 10px;
    color: var(--primary-deep-blue);
}

/* ==========================================================================
   8. CORPORATE METRICS COMPONENT
   ========================================================================== */
.stats-section {
    background-color: var(--primary-deep-blue);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-electric-blue);
    margin-bottom: 5px;
}

/* ==========================================================================
   9. FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-section {
    background-color: var(--neutral-light);
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-deep-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-content p {
    padding-bottom: 20px;
    color: #475569;
}

/* ==========================================================================
   10. DATA ACQUISITION & CONTACT DETAILS AREA
   ========================================================================== */
.contact-details-list {
list-style: none;margin-top: 20px;}.contact-details-list li {margin-bottom: 15px;display: flex;align-items: center;gap: 12px;}.contact-details-list i {color: var(--accent-electric-blue);font-size: 1.2rem;}/* Contact Social Row Framework (Bottom Axis) */.contact-social-row {margin-top: 25px !important;display: flex;flex-wrap: wrap;align-items: center;gap: 15px !important;}.connect-text {font-weight: 600;font-size: 0.95rem;color: var(--primary-deep-blue);}.contact-inline-socials {display: flex;gap: 15px;align-items: center;}.contact-inline-socials a {color: var(--primary-deep-blue);font-size: 1.4rem;transition: var(--transition-smooth);}.contact-inline-socials a:hover {color: var(--accent-electric-blue);transform: translateY(-2px);}/* Lead Generation Form Elements */.modern-form {background-color: var(--neutral-light);padding: 30px;border-radius: 8px;border: 1px solid var(--border-color);}.form-group {margin-bottom: 20px;}.form-group label {display: block;font-size: 0.9rem;font-weight: 600;margin-bottom: 6px;}.form-group input,.form-group select,.form-group textarea {width: 100%;padding: 10px;border: 1px solid #CBD5E1;border-radius: 4px;font-size: 1rem;outline: none;transition: var(--transition-smooth);}.form-group input:focus,.form-group select:focus,.form-group textarea:focus {border-color: var(--accent-electric-blue);box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.15);}.block-btn {width: 100%;text-align: center;cursor: pointer;border: none;}/* ==========================================================================
11. STATIC SITE FOOTER TERMINUS
========================================================================== */
.main-footer {background-color: #040E1A;color: #94A3B8;text-align: center;padding: 40px 0 20px 0;font-size: 0.9rem;}.footer-content-grid {display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 20px;padding: 0 0 20px 0 !important;}.footer-brand {text-align: left;}.footer-brand h4 {color: var(--white);margin-bottom: 5px;}.footer-social-tray {display: flex;gap: 20px;}.footer-social-tray a {color: #94A3B8;font-size: 1.6rem;transition: var(--transition-smooth);}.footer-social-tray a:hover {color: var(--accent-electric-blue);}.footer-bottom {border-top: 1px solid #1E293B;padding-top: 20px;}/* ==========================================================================12. /* ==========================================================================
   12. 📱 COMPREHENSIVE RESPONSIVE ENGINE (MOBILE & TABLET BREAKPOINTS)
   ========================================================================== */
@media screen and (max-width: 992px) {
    /* Responsive Header Hamburger Architecture */
    .menu-toggle {
        display: flex !important; /* Force show hamburger button ONLY on smaller viewports */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1010;
        position: relative;
    }
    
    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--white);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }
    
    /* Transform Hamburger into "X" when Opened */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Sliding Fullscreen Responsive Nav Panel Drawer */
    .navbar {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen by default */
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--primary-deep-blue);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1005;
    }
    
    .navbar.is-open {
        right: 0; /* Slides into layout view */
    }
    
    .nav-and-socials-inline {
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .header-socials {
        border-left: none;
        padding-left: 0;
        gap: 25px;
    }
    
    .header-socials a {
        color: var(--accent-electric-blue) !important;
        font-size: 1.5rem;
    }

    /* General Component Adaptations */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta a {
        text-align: center;
        width: 100%;
    }
    
    .footer-content-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
}

/* ==========================================================================
   13. 💻 DESKTOP LAYOUT PROTECTION (PREVENTS VERTICAL MENU BUG)
   ========================================================================== */
@media screen and (min-width: 993px) {
    .menu-toggle {
        display: none !important; /* Completely hides the hamburger 3-lines button on desktops */
    }
    .navbar {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        display: block !important;
    }
    .nav-and-socials-inline {
        flex-direction: row !important; /* Forces layout to sit perfectly flat horizontally */
    }
}
