/* Color Variables & Typography */
:root {
    --primary-dark: #0f172a;    /* Deep Blue/Slate */
    --accent: #f97316;          /* Soft Orange */
    --accent-hover: #ea580c;
    --bg-soft: #f8fafc;         /* Soft Gray */
    --text-muted: #334155;
    --font-family: 'Inter', sans-serif;
}

/* * FIX 1: Safe Reset 
 * We keep box-sizing, but remove margin:0/padding:0 so we 
 * don't break Bootstrap's grid (.row and .container).
 */
*, *::before, *::after {
    box-sizing: border-box;
}

/* * FIX 2: Strict Overflow Control 
 * This absolutely stops the page from sliding left/right on mobile.
 */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: #333;
    -webkit-font-smoothing: antialiased;
    
}

/* Typography Utility */
.text-primary-dark { color: var(--primary-dark) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-soft { background-color: var(--bg-soft) !important; }
.bg-accent { background-color: var(--accent) !important; }
.text-muted{ color: var(--text-muted);}

/* Buttons */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    transition: all 0.3s ease;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}
.btn-primary-dark {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary-dark:hover {
    background-color: #1e293b;
    color: white;
    transform: translateY(-2px);
}

/* Spacing Utilities */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
    padding: 15px 0;
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}
.hero-img {
    border-radius: 24px;
    object-fit: cover;
    height: 500px;
    width: 100%;
    max-width: 100%;
}
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 18px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service-icon {
    height: 60px;
    width: 60px;
    background: var(--bg-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: white !important;
}

/* Why Us Section */
.feature-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-size: 1.5rem;
}

/* Brands Area */
.tracking-wide { letter-spacing: 2px; }
.brand-logos h3 {
    color: #94a3b8;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}
.brand-logos h3:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-dark);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-dark);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.fab:hover {
    transform: scale(1.1);
    color: white;
}
.fab-whatsapp { background-color: #25D366; }
.fab-call { background-color: #007bff; }

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
}

/* Footer Styles */
.text-light-muted {
    color: #94a3b8;
    transition: color 0.3s ease;
}
.hover-accent:hover {
    color: var(--accent) !important;
}
.footer-links li {
    margin-bottom: 0.85rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

@media (hover: hover) {
    .footer-links a:hover {
        color: var(--accent);
        transform: translateX(4px);
    }
}

/* Social Icons */
.social-links .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links .social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}
.border-secondary {
    border-color: #334155 !important; 
}
/* Contact Page Specific Styles */
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; 
}

/* Premium Form Inputs */
.custom-input {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--primary-dark);
    background-color: #f8fafc;
    transition: all 0.3s ease;
    box-shadow: none;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);  
    outline: none;
}

.custom-input::placeholder {
    color: #cbd5e1;
}

.form-label {
    margin-bottom: 0.3rem;
    letter-spacing: 0.3px;
}

.map-container iframe {
    pointer-events: none;
}
/* About Page Additions */
.lh-sm {
    line-height: 1.2 !important;
}

/* Ensure the stats section text is perfectly visible */
.text-light-muted {
    color: #94a3b8;
}

/* Enhancing the floating badge on the About image */
.translate-middle-y {
    transform: translateY(-50%) !important;
}
/* Slider container */
.brand-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Track */
.brand-track {
    display: flex;
    width: max-content;
    gap: 70px;
    animation: scrollBrands 28s linear infinite;
}

/* Brand text styling */
.brand-track h3 {
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    color: #444;
    transition: 0.3s;
}

.brand-track h3:hover {
    color: var(--accent-hover);
    transform: scale(1.15);
}

/* Animation */
@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.brand-slider:hover .brand-track {
    animation-play-state: paused;
}


/* ========================================= */
/* ====== RESPONSIVE MEDIA QUERIES ========= */
/* ========================================= */

/* Tablets & Mobile */
@media (max-width: 991px) {
    .footer-links a {
        font-size: 0.95rem;
    }
    .footer-bottom {
        padding-bottom: 20px;
    }
}

/* Mobile Specific */
@media (max-width: 768px) {
    /* Main Layout */
    .hero-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }
    .trust-badges {
        justify-content: center;
    }
    
    /* FAB & Bottom Bar adjustments */
    .fab-container {
        bottom: 90px; 
        right: 20px;
    }
    .fab {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    body {
        padding-bottom: 80px; 
    }

    /* Footer Fixes for touch screens */
    .pt-lg-6 {
        padding-top: 3rem !important;
    }
    .footer-links a, 
    .footer-contact a {
        padding: 0.3rem 0; 
    }
    .footer-bottom {
        text-align: center;
        padding-bottom: 80px; 
    }
    .footer-bottom .d-flex.small {
        font-size: 0.8rem;
    }
}