/* =========================================
   1. VARIABLES & RESET
   ========================================= */
   :root {
    --primary-blue: #0066FF;
    --primary-blue-dark: #0052CC;
    --red-gradient-start: #DC2626;
    --red-gradient-end: #EA580C;
    --gray-900: #171717;
    --gray-800: #262626;
    --gray-700: #404040;
    --gray-600: #737373;
    --gray-500: #6B7280; /* Added for footer secondary text */
    --gray-400: #9CA3AF; /* Added for footer main text */
    --gray-300: #E5E5E5;
    --gray-200: #E9ECEF;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --green: #10B981;
    --yellow: #FFB700;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--gray-700); }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light { background-color: var(--gray-100); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}
.btn-primary:hover { background-color: var(--primary-blue-dark); transform: translateY(-2px); }

.btn-emergency {
    background: linear-gradient(to right, var(--red-gradient-start), var(--red-gradient-end));
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-emergency:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-900);
    color: var(--gray-900);
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.btn-outline:hover { background-color: var(--gray-900); color: var(--white); }

.full-width { width: 100%; }

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.logo i { color: var(--primary-blue); font-size: 1.6rem; }

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 1rem;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary-blue); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.emergency-badge {
    background-color: #FEF2F2;
    color: var(--red-gradient-start);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #FECACA;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1;
}
.emergency-badge i { animation: pulse-red 2s infinite; }

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-900);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 160px 0 60px;
    background-color: #ffffff; 
    min-height: auto;
    display: block;
}

.hero-content-clean {
    max-width: 100%;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--gray-900);
}
.hero h1 .text-blue {
    color: var(--primary-blue);
}

.hero-subtext {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-phone-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 30px;
}

.phone-icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.8rem;
    transition: 0.3s;
}

.phone-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-digit-text {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    letter-spacing: -1px;
}

.click-to-call {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-top: 4px;
}

.hero-phone-container:hover .phone-icon-box {
    background-color: var(--primary-blue);
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.05rem;
}
.hero-buttons .btn-emergency i {
    margin-right: 8px;
}

.hero-divider-line {
    height: 1px;
    background-color: #e5e7eb;
    width: 100%;
    margin: 0;
}
.hero-divider-line.top-line { margin-bottom: 20px; }
.hero-divider-line.bottom-line { margin-top: 20px; margin-bottom: 30px; }

.hero-trust-row {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
}
.hero-trust-item i {
    color: var(--green);
    background: #d1fae5; 
    padding: 3px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.hero-stats-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.h-stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.h-stat-box i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}
.h-stat-text {
    display: flex;
    flex-direction: column;
}
.h-stat-text strong {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.h-stat-text span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* =========================================
   4. STATS BAR & TRUST
   ========================================= */
.stats-bar {
    background-color: var(--white); 
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-section { padding: 40px 0; background-color: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-bottom: 3px solid var(--primary-blue); }

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #EFF6FF;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

/* =========================================
   5. SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.service-img::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 100%);
}

.service-icon {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 4px solid white;
}

.service-body {
    padding: 30px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-list { margin-bottom: 20px; flex-grow: 1; }
.service-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-size: 0.95rem; }
.service-list li i { color: var(--green); }

/* =========================================
   6. WHY US / FEATURES
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: 0.3s;
}
.feature-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-md); }

.feature-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* =========================================
   7. TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.stars { color: var(--yellow); margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: var(--gray-700); margin-bottom: 20px; }

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-user h4 { margin-bottom: 0; font-size: 1rem; }
.testimonial-user span { font-size: 0.85rem; color: var(--gray-600); }

/* =========================================
   8. SERVICE AREAS
   ========================================= */
.areas-container {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.areas-content {
    flex: 1;
    padding: 60px;
}

.areas-list {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}
.areas-list ul li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.areas-list i { color: var(--primary-blue); }

.areas-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.areas-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.image-overlay-content {
    position: relative;
    color: white;
    text-align: center;
    z-index: 2;
}
.image-overlay-content i { font-size: 3rem; margin-bottom: 15px; color: var(--yellow); }

/* =========================================
   9. CONTACT
   ========================================= */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info { flex: 1; }

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.ci-icon {
    width: 50px;
    height: 50px;
    background: #EFF6FF;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.large-phone { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); display: block; margin: 5px 0; }

.contact-form-wrapper {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

/* =========================================
   10. FAQ
   ========================================= */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.faq-question:hover { background-color: var(--gray-50); }

.faq-question i { transition: transform 0.3s; color: var(--primary-blue); }
.faq-question.active i { transform: rotate(45deg); color: var(--red-gradient-start); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}
.faq-answer p { padding: 0 20px 20px; margin: 0; color: var(--gray-700); }

.faq-footer { text-align: center; margin-top: 30px; font-weight: 600; }
.faq-footer a { color: var(--primary-blue); }

/* =========================================
   11. EMERGENCY CTA
   ========================================= */
.cta-section {
    background: #111827; /* Darker navy background */
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 { color: white; margin-bottom: 10px; font-size: 2.5rem; }
.cta-section p { color: #9CA3AF; margin-bottom: 40px; font-size: 1.2rem; }

/* New container for side-by-side layout */
.cta-action-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    line-height: 1;
}
.cta-phone i { font-size: 3rem; transform: rotate(90deg); }
.cta-phone:hover { color: var(--white); opacity: 0.9; }

.btn-large { 
    padding: 18px 35px; 
    font-size: 1.1rem; 
    border-radius: 6px;
    background: linear-gradient(to bottom, #EA580C, #C2410C); 
    box-shadow: none;
    white-space: nowrap;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #9CA3AF;
    font-size: 0.95rem;
}
.cta-info span { display: flex; align-items: center; gap: 10px; }
.cta-info i { color: #D1D5DB; }

/* =========================================
   12. FOOTER (UPDATED TEXT COLORS)
   ========================================= */
footer {
    background-color: var(--gray-900);
    color: var(--gray-400); /* Set default text to lighter gray */
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 { color: white; margin-bottom: 25px; font-size: 1.3rem; }

/* Fix for footer description paragraph */
.footer-col p {
    color: var(--gray-400);
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--gray-400); transition: 0.3s; } /* Use lighter gray */
.footer-col ul li a:hover { color: var(--primary-blue); padding-left: 5px; }

.social-icons { margin-top: 20px; display: flex; gap: 15px; }
.social-icons a {
    width: 40px; height: 40px;
    background: var(--gray-800);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { background: var(--primary-blue); transform: translateY(-3px); }

.footer-contact li { display: flex; gap: 15px; align-items: flex-start; color: var(--gray-400); }
.footer-contact i { 
    color: var(--primary-blue); 
    margin-top: 5px;
    width: 25px; /* Added fixed width for perfect alignment */
    text-align: center;
    flex-shrink: 0;
}
.footer-contact a { color: white !important; font-weight: 700; }

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-500); /* Slightly darker than main text but visible */
}

.footer-links a { margin-left: 20px; color: var(--gray-500); }
.footer-links a:hover { color: white; }

/* =========================================
   13. FLOATING BUTTON
   ========================================= */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(to right, var(--red-gradient-start), var(--red-gradient-end));
    color: white;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    transition: 0.3s;
    animation: pulse-float 2s infinite;
}
.floating-btn:hover { transform: scale(1.05); }

.float-content { display: flex; align-items: center; gap: 15px; }
.float-content i { font-size: 1.5rem; }
.float-text { text-align: left; font-size: 0.8rem; line-height: 1.2; }
.float-text strong { font-size: 1rem; display: block; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-float {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* =========================================
   14. RESPONSIVE DESIGN (UPDATED)
   ========================================= */
/* Tablet & Small Desktop */
@media (max-width: 1150px) {
    /* Trigger mobile menu earlier to prevent header overcrowding */
    .nav-menu, .call-btn, .emergency-badge { display: none; }
    .hamburger { display: block; }
    
    .nav-container { padding: 0 20px; }
    
    /* Mobile Menu Open State */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }
    
    /* Adjust Hero stats alignment for tablet */
    h1 { font-size: 2.8rem; }
    .hero-stats-row { gap: 30px; }
    .hero-stats-row .h-stat-box { flex-direction: column; text-align: center; gap: 5px; }
    
    .services-grid, .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-container { flex-direction: column; }
    .areas-image { height: 300px; min-height: 300px; }
    .contact-container { flex-direction: column; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    
    /* Hamburger handled by upper breakpoint now */
    
    .hero { padding-top: 110px; }
    
    .hero-buttons { flex-direction: column; width: 100%; gap: 15px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    
    .hero-trust-row { flex-wrap: wrap; justify-content: flex-start; gap: 15px; }
    
    .hero-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    
    /* Adjusted Phone Block for Mobile */
    .phone-digit-text { font-size: 2.5rem; }
    .phone-icon-box { width: 50px; height: 50px; font-size: 1.5rem; }
    .click-to-call { margin-left: 0; margin-top: 2px; }
    
    /* Stack CTA on mobile */
    .cta-action-row { flex-direction: column; gap: 20px; }
    .cta-phone { font-size: 2.2rem; }
    .cta-phone i { font-size: 1.8rem; }
    .btn-large { width: 100%; }
    .cta-info { flex-direction: column; gap: 15px; }
    
    .trust-grid, .services-grid, .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-list { flex-direction: column; gap: 10px; }
    .contact-form .form-row { flex-direction: column; gap: 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { margin: 0; }
    
    .floating-btn { 
        padding: 12px; 
        border-radius: 50%; 
        bottom: 20px; right: 20px; 
    }
    .float-text { display: none; }
}