/* ==========================================================================
   GLOBAL STRUCTURE & THEME CONSTANTS
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background-color: #f1f5f9; color: #334155; line-height: 1.5; display: flex; flex-direction: column; min-height: 100vh; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.grid { display: grid; gap: 2rem; }
.section { padding: 5rem 0; flex-grow: 1; }
.section-desc { 
    color: #64748b; 
    max-width: 38rem; 
    margin: 0 auto 3.5rem auto; /* FIXED: Increased bottom margin from 2rem to 3.5rem to push the cards down */
    font-size: 0.938rem; 
    padding: 0 1rem; 
}
.text-center { text-align: center; }

/* ==========================================================================
   UNIFIED HEADERS (ALL PAGES)
   ========================================================================== */
header { position: fixed; top: 0; left: 0; right: 0; background-color: #0f172a; color: #ffffff; z-index: 9999; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border-bottom: 1px solid #1e293b; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.5rem; flex-wrap: wrap; gap: 1rem; }
.logo { color: #f59e0b; font-size: 1.25rem; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 0.75rem; letter-spacing: -0.025em; text-transform: uppercase; }
.logo img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #f59e0b; }
nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
nav a { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: 0.875rem; transition: all 0.2s; letter-spacing: 0.05em; padding-bottom: 4px; border-bottom: 2px solid transparent; white-space: nowrap; }

@media (max-width: 480px) {
    .nav-container { justify-content: center; text-align: center; padding: 0.75rem 1rem; }
    nav { justify-content: center; gap: 1rem; width: 100%; }
    nav a { font-size: 0.813rem; }
}

/* ==========================================================================
   UNIFIED BANNER & FOOTER LAYOUTS
   ========================================================================== */
.page-banner { padding-top: 9rem; padding-bottom: 4rem; background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), #1e293b; color: #ffffff; text-align: center; }
.page-banner span { color: #f59e0b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; display: block; margin-bottom: 0.5rem; }
.page-banner h1 { font-size: 2.25rem; font-weight: 800; tracking-tight: -0.025em; }
.page-banner p { color: #94a3b8; font-size: 1rem; max-width: 32rem; margin: 0.75rem auto 0 auto; padding: 0 1rem; }

@media (max-width: 768px) {
    .page-banner { padding-top: 11rem; padding-bottom: 3rem; }
    .page-banner h1 { font-size: 1.75rem; }
}

footer { background-color: #020617; color: #94a3b8; padding: 4rem 0 2rem 0; border-top: 1px solid #0f172a; margin-top: auto; }
.footer-grid { display: flex; flex-direction: row; flex-wrap: wrap; gap: 3rem; justify-content: space-between; box-sizing: border-box; }
.footer-col-1 { flex: 1.2 1 300px; display: flex; flex-direction: column; gap: 1rem; }
.footer-col-2 { flex: 1 1 250px; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-3 { flex: 1.2 1 300px; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-title { color: #ffffff; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid #1e293b; padding-bottom: 0.5rem; margin-bottom: 0.25rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: #f59e0b; }

/* ==========================================================================
   PAGE SPECIFIC LAYOUT UTILITIES
   ========================================================================== */
.hero { 
    flex-grow: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding-top: 12rem; 
    padding-bottom: 8rem; 
    text-align: center;
    
    /* Blends a dark slate overlay directly on top of your local traffic image */
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)), 
                url('hero-bg.png');
    
    background-size: cover;
    background-position: center center;
    background-attachment: scroll; /* Keeps background lightweight and fluid on mobile */
    min-height: 85vh; /* Gives the background an expansive, premium viewport height */
}

.hero-content { 
    max-width: 850px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.hero-tag { 
    color: #f59e0b; /* Changed from red to your signature amber for better dark-mode harmony */
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.12em; 
    font-size: 0.875rem; 
    margin-bottom: 1.25rem; 
    display: block; 
}

.hero h1 { 
    color: #ffffff;
    font-size: 2.75rem; 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
    letter-spacing: -0.025em; 
    text-shadow: 0 4px 12px rgba(2, 6, 23, 0.5); /* Adds a subtle drop shadow to text for flawless readability */
}

@media (min-width: 768px) { 
    .hero h1 { font-size: 4rem; } 
}

.hero p { 
    color: #f1f5f9; 
    font-size: 1.125rem; 
    line-height: 1.75; 
    margin-bottom: 2.5rem; 
    max-width: 38rem; 
    text-align: center; 
    padding: 0 1rem;
    text-shadow: 0 2px 8px rgba(2, 6, 23, 0.4);
}


.hero-content { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.btn-group { display: flex; flex-direction: column; gap: 1rem; width: 100%; justify-content: center; }
@media (min-width: 480px) { .btn-group { flex-direction: row; width: auto; } }
.btn { display: inline-block; padding: 0.875rem 2rem; font-weight: 700; border-radius: 0.375rem; text-decoration: none; text-align: center; transition: all 0.2s; font-size: 1rem; cursor: pointer; }
.btn-primary { background-color: #b91c1c; color: #ffffff; border: 2px solid #b91c1c; }
.btn-primary:hover { background-color: #991b1b; border-color: #991b1b; }
.btn-outline { border: 2px solid #ffffff; color: #ffffff; background: transparent; }
.btn-outline:hover { background-color: #ffffff; color: #0f172a; }

.overview-box { background-color: #ffffff; padding: 3rem; border-radius: 1.25rem; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); max-width: 900px; margin: 0 auto 5rem auto; box-sizing: border-box; }


.strength-grid { 
    display: grid; 
    gap: 2rem; /* FIXED: Increased from 1.25rem to 2rem to give the cards clear breathing room */
    grid-template-columns: repeat(4, 1fr); 
    width: 100%;
    max-width: 1140px; /* FIXED: Constraints the grid layout from stretching too wide */
    margin: 0 auto; /* Centers the grid perfectly inside the page section */
    padding: 0 1rem; /* Adds safe inner padding so cards never hug the screen edges */
}

/* Responsive breakpoint for tablets */
@media (max-width: 1024px) {
    .strength-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.5rem;
    }
}

/* Responsive breakpoint for mobile phones */
@media (max-width: 640px) {
    .strength-grid { 
        grid-template-columns: 1fr; 
        gap: 1.25rem;
    }
}

.strength-card { background-color: #ffffff; border-radius: 1rem; padding: 2rem; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); display: flex; flex-direction: column; gap: 0.75rem; box-sizing: border-box; }
.icon-box { width: 3rem; height: 3rem; background-color: #fee2e2; color: #b91c1c; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 0.5rem; flex-shrink: 0; }
.icon-box svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }

.service-panel { background-color: #ffffff; padding: 2.5rem; border-radius: 1.25rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); display: flex; flex-direction: row; flex-wrap: wrap; gap: 3rem; align-items: center; }
.content-col { flex: 1 1 400px; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.badge { background-color: #fee2e2; color: #b91c1c; font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.875rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; display: inline-block; }
.gallery-col { flex: 1.2 1 450px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-col img { 
    width: 100%; 
    height: 320px; /* Standard balanced height for desktop */
    object-fit: cover; 
    object-position: 40% 60%; 
    border-radius: 0.75rem; 
    border: 1px solid #cbd5e1; 
    background-color: #e2e8f0; 
}
.main-card { background-color: #ffffff; border-radius: 1.25rem; padding: 3rem; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); max-width: 900px; margin: 0 auto; }
.info-panel { display: flex; flex-direction: column; gap: 2rem; }
/* ==========================================================================
   REDESIGNED: Professional 2-2-1 Balanced Grid Flow
   ========================================================================== */
.info-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5rem;
    width: 100%;
}

.info-group { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    background-color: #f8fafc; 
    padding: 1.5rem; 
    border-radius: 0.75rem; 
    border: 1px solid #e2e8f0;
    box-sizing: border-box; /* Forces padding to stay inside the card boundaries */
    width: 100%; /* Prevents width elements from overflowing */
}

.info-grid > div:last-child {
    grid-column: span 2;
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    /* 📱 Services Page Image Un-Cropping Fix */
    .gallery-col img {
        height: 200px; /* Lowers height on phones so the wide lens pictures show without cropping */
    }
    
    /* 📱 Contact Page Container Boundaries Fix */
    .main-card {
        padding: 1.5rem 1rem !important; /* Shrinks thick margins inside the parent box container */
        width: 100% !important;
    }
    
    .info-grid {
        grid-template-columns: 1fr !important; /* Stacks everything into a simple single column */
    }
    
    .info-grid > div:last-child {
        grid-column: span 1 !important;
    }
    
    .info-group {
        padding: 1rem !important; /* Condenses card size so it fits perfectly on 320px screens */
    }
    
    .info-text a {
        font-size: 0.813rem !important; /* Prevents long Yahoo email strings from breaking layout lines */
        word-break: break-all !important; /* Automatically breaks words safely if text is wider than phone width */
    }
}
.icon-wrap { width: 2.5rem; height: 2.5rem; background-color: #fee2e2; color: #b91c1c; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.icon-wrap svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.info-text h4 { color: #0f172a; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.info-text a { color: #475569; font-size: 0.938rem; text-decoration: none; display: block; line-height: 1.5; }

/* ==========================================================================
   UNIFIED INNER BANNER THEME (Configured with Dark Overlay Graphic)
   ========================================================================== */
.page-banner { 
    padding-top: 10rem; 
    padding-bottom: 5rem; 
    /* Blends a dark slate overlay directly on top of your local about graphic */
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)), 
                url('about-banner.png'); 
    background-size: cover; 
    background-position: center center;
    color: #ffffff; 
    text-align: center; 
}

.page-banner span { 
    color: #f59e0b; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.12em; 
    font-size: 0.75rem; 
    display: block; 
    margin-bottom: 0.5rem; 
}

.page-banner h1 { 
    color: #ffffff;
    font-size: 2.25rem; 
    font-weight: 800; 
    tracking-tight: -0.025em; 
    text-shadow: 0 2px 8px rgba(2, 6, 23, 0.4);
}

.page-banner p { 
    color: #cbd5e1; 
    font-size: 1rem; 
    max-width: 35rem; 
    margin: 0.75rem auto 0 auto; 
    padding: 0 1rem; 
    text-shadow: 0 1px 4px rgba(2, 6, 23, 0.3);
}

@media (max-width: 768px) {
    .page-banner { padding-top: 12rem; padding-bottom: 4rem; }
    .page-banner h1 { font-size: 1.75rem; }
}

