/* --- BRANDED STYLE (Matches SFS Logo) --- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* LOGO COLORS EXTRACTED */
    --brand-dark-blue: #2c5f85;   /* The House/Shield Color */
    --brand-light-blue: #7bb0d6;  /* The Paint Swish Color */
    --brand-dark-grey: #1a1a1a;   /* The "SFS" Text Color */
    
    /* NEUTRALS */
    --white: #ffffff;
    --off-white: #f8fafc;
    --border-color: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #334155;
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-dark-blue);
    font-weight: 800;
}

/* HEADER */
header {
    background-color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--brand-light-blue); /* The paint swish effect */
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brand-dark-grey); /* Matches "SFS" */
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -1px;
}
.logo span { color: var(--brand-dark-blue); } /* Matches "Shield" */

nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: var(--brand-dark-grey); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

/* BRANDED BUTTONS */
.cta-btn-header {
    background-color: var(--brand-dark-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--brand-light-blue);
    color: var(--brand-dark-blue);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
}
.btn-primary:hover { background-color: var(--brand-dark-blue); color: var(--white); }

/* HERO SECTION */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(44, 95, 133, 0.9), rgba(44, 95, 133, 0.8)), url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?q=80&w=2070');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 15px; }

/* SERVICES GRID */
.section-padding { padding: 80px 20px; text-align: center; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    border-bottom: 5px solid var(--brand-light-blue); /* Bottom paint accent */
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }

/* FOOTER */
footer {
    background-color: var(--brand-dark-grey); /* Dark SFS color */
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    border-top: 10px solid var(--brand-dark-blue);
}

@media (max-width: 768px) {
    nav ul { display: none; } /* Simple mobile menu hide */
    .hero h1 { font-size: 2rem; }
}
