:root {
    /* Colors sampled from the hero image */
    --primary_deep: #0a2540;   /* Deep Navy from background */
    --accent_bright: #48a6e8;  /* Bright Blue from light streaks */
    --text_main: #334155;     /* Slate Gray for readability */
    --bg_light: #f8fafc;      /* Subtle gray for sections */
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text_main);
    background-color: var(--white);
    line-height: 1.6;
}

/* --- Header & Nav --- */
header.site_header {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary_deep);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav_links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text_main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav_links a:hover {
    color: var(--accent_bright);
}

.nav_links .phone_link {
    color: var(--accent_bright);
    font-weight: 700;
}

/* --- Hero Section --- */
.hero_container {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero_text h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--primary_deep);
    margin-bottom: 1.5rem;
}

.hero_image_box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    height: 380px;
}

.hero_image_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Content Blocks & Grid --- */
.section_light {
    background: var(--bg_light);
    padding: 6rem 10%;
}

.section_white {
    padding: 6rem 10%;
    background: var(--white);
}

.grid_3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--accent_bright);
}

.card h3 {
    color: var(--primary_deep);
    margin-top: 0;
}

/* --- Buttons --- */
.hero_cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn_primary {
    background: var(--accent_bright);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border: none;
}

.btn_secondary {
    border: 2px solid var(--primary_deep);
    color: var(--primary_deep);
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

/* --- Footer --- */
footer.site_footer {
    background: var(--primary_deep);
    color: var(--white);
    padding: 4rem 10% 2rem;
}

.footer_grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

/* --- Responsive Fixes --- */
@media (max-width: 900px) {
    .hero_container { grid-template-columns: 1fr; text-align: center; padding: 3rem 5%; }
    header.site_header { padding: 1.25rem 5%; flex-direction: column; gap: 1rem; }
    .hero_text h1 { font-size: 2.5rem; }
    .footer_grid { flex-direction: column; gap: 2rem; text-align: center; }
}

/* --- Content Layout Additions --- */
.section_title {
    text-align: center;
    margin-bottom: 4rem;
}

.section_title h2 {
    font-size: 2.5rem;
    color: var(--primary_deep);
    margin-bottom: 1rem;
}

.content_block h3 {
    color: var(--primary_deep);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content_block ul {
    list-style: none;
    padding: 0;
}

.content_block li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

/* Bullet accent using the Bright Blue color */
.content_block li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent_bright);
    font-weight: bold;
}

/* --- CTA Banner --- */
.cta_banner {
    background: var(--primary_deep);
    color: var(--white);
    text-align: center;
    padding: 6rem 10%;
}

.cta_banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta_banner p {
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Adjusted Hero for Subpages --- */
.small_hero {
    padding: 3rem 10%;
    min-height: auto;
}

.small_hero .hero_text h1 {
    font-size: 2.5rem;
}

.small_hero .hero_image_box {
    height: 250px;
}

/* --- Hero Overlay System --- */
.hero_overlay {
    position: relative;
    width: 100%;
    min-height: 600px; /* Taller for the homepage */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary_deep);
}

.hero_background_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero_background_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45; /* Slightly higher for the main splash */
}

.hero_content_wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 10%;
    max-width: 1000px;
}

.hero_text_center h1 {
    font-size: 3.8rem; /* Bold, impactful heading */
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero_text_center p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Centers the buttons in the overlay */
.hero_text_center .hero_cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Adjust for sub-pages to keep them distinct */
.small_hero {
    min-height: 400px;
}

.small_hero h1 {
    font-size: 2.8rem;
}

/* --- Contact Page Layout --- */
.contact_grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 6rem;
    align-items: start;
}

.payment_tag {
    display: inline-block;
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary_deep);
    margin-right: 8px;
    text-transform: uppercase;
}

/* --- Form Card --- */
.form_card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form_group {
    margin-bottom: 2rem;
}

.form_group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary_deep);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form_group input, 
.form_group select, 
.form_group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fcfdfe;
}

.form_group input:focus, 
.form_group select:focus, 
.form_group textarea:focus {
    outline: none;
    border-color: var(--accent_bright);
    box-shadow: 0 0 0 4px rgba(72, 166, 232, 0.1);
    background: var(--white);
}

.btn_full {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Responsive Fixes */
@media (max-width: 900px) {
    .contact_grid { grid-template-columns: 1fr; gap: 4rem; }
    .form_row { grid-template-columns: 1fr; }
    .form_card { padding: 2rem; }
}