/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #0056b3;      /* Deep Blue */
    --primary-dark: #004494;
    --secondary: #1e293b;    /* Slate Dark */
    --text-dark: #334155;
    --text-light: #64748b;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.btn { display: inline-block; padding: 12px 24px; background-color: var(--primary); color: var(--white); border-radius: var(--radius); font-weight: 600; border: none; cursor: pointer; }
.btn:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: var(--white); }

/* --- HEADER --- */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 50px; width: auto; object-fit: contain; }
.logo-text { font-weight: 700; font-size: 1.4rem; color: var(--secondary); line-height: 1.2; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO --- */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%); color: var(--white); padding: 80px 0; position: relative; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 30px; max-width: 650px; }

/* --- CARDS & GRIDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.3s; border-top: 4px solid transparent; display: block; color: inherit; }
.card:hover { transform: translateY(-5px); border-top-color: var(--primary); }
.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.card h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--secondary); }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* --- VALUE PROP --- */
.value-prop { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.value-text h2 { font-size: 2rem; color: var(--secondary); margin-bottom: 20px; }
.check-list li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.check-list i { color: #10B981; margin-right: 15px; margin-top: 4px; background: #ecfdf5; padding: 5px; border-radius: 50%; }
.map-placeholder { width: 100%; height: 350px; border-radius: var(--radius); background: #f1f5f9; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #64748b; }

/* --- CTA BANNER --- */
.cta-banner { background: var(--primary); color: var(--white); border-radius: 20px; padding: 60px; text-align: center; margin-bottom: -40px; position: relative; z-index: 10; }
.cta-banner h2 { margin-bottom: 15px; }
.contact-methods { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.contact-item { background: rgba(255,255,255,0.1); padding: 15px 30px; border-radius: 50px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,0.2); transition: 0.3s; color: white; font-weight: 600; }
.contact-item:hover { background: var(--white); color: var(--primary); }

/* --- FOOTER (Updated for Mobile-First Ordering) --- */
footer { background: var(--secondary); color: #94A3B8; padding-top: 80px; padding-bottom: 30px; }

.footer-grid { 
    display: grid; 
    /* Desktop Layout: Brand(Left) | Services(Middle) | Contact(Right) */
    grid-template-areas: "brand services contact";
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px; 
}

/* Assign areas to the new HTML classes */
.footer-brand { grid-area: brand; }
.services-col { grid-area: services; }
.contact-col { grid-area: contact; }

.footer-brand h3 { color: var(--white); margin-bottom: 10px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-areas { border-top: 1px solid #334155; padding-top: 30px; margin-bottom: 20px; }
.footer-areas h5 { color: var(--white); margin-bottom: 15px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.8rem; }
.area-list a { color: #64748b; }
.area-list a:hover { color: var(--primary); text-decoration: underline; }
.copyright { border-top: 1px solid #334155; padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .value-prop { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }

    /* RESET FOOTER GRID FOR MOBILE */
    .footer-grid {
        /* On mobile, we stop using grid areas and just stack them vertically. */
        display: flex;
        flex-direction: column;
        gap: 40px;
        /* Since we changed the HTML order to: Services -> Contact -> Brand,
           they will now appear in that exact order on mobile automatically. */
    }
}