/* General Reset */
* { box-sizing: border-box; }
body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6; 
    color: #333; 
    text-align: center; /* Centers text globally */
}

/* Header & Logo */
header {
    background-color: #002868;
    color: white;
    padding: 2rem 1rem; /* Reduced padding so the header isn't too tall */
    border-bottom: 8px solid #BF0A30;
    text-align: center;
}

.logo-svg {
    display: block;
    margin: 0 auto 1.5rem auto; /* Centers it and adds space below */
    width: 180px;  /* This is the magic number. Change this to make it bigger or smaller */
    height: auto;
}

h1 { font-size: 2.5rem; margin: 0; letter-spacing: 2px; font-weight: 900; }
.tagline { font-size: 1.1rem; opacity: 0.9; margin-top: 5px; font-style: italic; }

/* Hero Section */
.hero { 
    padding: 4rem 1.5rem; 
    background-color: #f8f9fa; 
}

.hero h2 { color: #002868; font-size: 2rem; margin-bottom: 1rem; }
.hero p { max-width: 700px; margin: 0 auto 2rem auto; font-size: 1.1rem; color: #555; }

/* Buttons */
.hero-buttons { 
    display: flex; 
    flex-direction: column; /* Stack on mobile */
    align-items: center; 
    gap: 15px; 
}

.btn { 
    display: inline-block;
    padding: 1rem 2rem;
    color: white !important; /* Forces white text */
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    width: 100%; /* Full width on mobile */
    max-width: 300px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-red { background-color: #BF0A30; }
.btn-red:hover { background-color: #a00828; transform: translateY(-2px); }

.btn-navy { background-color: #002868; }
.btn-navy:hover { background-color: #001a45; transform: translateY(-2px); }

/* Desktop Adjustments */
@media (min-width: 600px) {
    .hero-buttons { flex-direction: row; justify-content: center; }
    .btn { width: auto; }
    h1 { font-size: 3.5rem; }
    .hero h2 { font-size: 2.5rem; }
}

/* Services Grid */
.container { max-width: 1100px; margin: auto; padding: 4rem 1.5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { 
    padding: 2rem; 
    border-radius: 8px; 
    border: 1px solid #eee; 
    background: white; 
    border-top: 5px solid #002868;
    text-align: left; /* Services read better left-aligned */
}

footer { background: #1a1a1a; color: #aaa; padding: 3rem 1rem; font-size: 0.9rem; }
footer a { color: white; text-decoration: underline; }