/* --- Global Styles & Variables --- */
:root {
    --color-primary: #003366; /* Deep Navy Blue */
    --color-secondary: #f4f4f9; /* Light Gray Background */
    --color-action: #FFCC00; /* Gold/Deep Yellow */
    --color-accent-blue: #0056b3; /* Darker Blue for Buttons */
    --color-text: #333;
    --font-stack: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--color-text);
    background-color: white; /* Clean white background */
}

.section {
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Navigation & Hero Section Styling --- */
.hero-container {
    height: 600px; /* Controlled height */
    position: relative;
    background: url('https://source.unsplash.com/1600x600/?california,modern,financial') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    color: white;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient for text readability and premium feel */
    background: linear-gradient(to right, rgba(0, 51, 102, 0.85) 40%, rgba(0, 51, 102, 0.4) 70%, rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    z-index: 2;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-icons i {
    font-size: 1.2rem;
    margin-left: 20px;
    cursor: pointer;
}

.hero-grid-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    flex-grow: 1;
    z-index: 2;
}

.pre-header {
    font-size: 1.2rem;
    font-weight: 600;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
    color: var(--color-action);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 450px;
}

/* --- Lead Form Card Styling --- */
.lead-form-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--color-text);
}

.lead-form-card h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.lead-form-card input, .lead-form-card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-accent-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cta-button:hover { background-color: var(--color-primary); }

/* --- Floating CTA Button --- */
.floating-cta {
    position: fixed;
    top: 20px; /* Positioned at the top right, as per the image */
    right: 5%;
    background-color: var(--color-action);
    color: var(--color-primary);
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* --- Trust Bar Section --- */
.trust-bar {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.trust-bar h3 {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.trust-bar p {
    color: #666;
    margin-bottom: 20px;
}

.logo-bar img {
    height: 35px;
    margin: 0 15px;
    opacity: 0.8;
}

.license-info {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* --- Risk Section (The two main cards) --- */
.risk-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.risk-card {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
}

.risk-card h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.graph-visual-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* --- Closing Section (Testimonial and Final CTA) --- */
.closing-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.closing-card {
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.testimonial-card {
    background-color: var(--color-secondary);
}

.cta-card {
    background-color: var(--color-primary);
    color: white;
}

.cta-card h3 {
    color: var(--color-action);
}

.secondary-cta {
    background-color: var(--color-action);
    color: var(--color-primary);
    margin-top: 20px;
}
.secondary-cta:hover { background-color: #ffda47; }


/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 30px 5%;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 100px;
}

footer a {
    color: white;
    text-decoration: underline;
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .hero-grid-content, .risk-section, .closing-section, footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-container {
        height: auto;
        padding-bottom: 50px;
    }
    
    .hero-text-block {
        text-align: center;
    }
    
    .risk-mitigation-text, .testimonial-card, .cta-card {
        text-align: center;
    }
    
    .hero-grid-content {
        padding-top: 50px;
    }

    h1 {
        font-size: 3rem;
    }

    .floating-cta {
        /* Move back to bottom for better mobile UX */
        top: auto;
        bottom: 15px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .logo-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-bar img {
        margin: 10px;
    }
    
    footer {
        flex-direction: column;
        gap: 15px;
    }
}