:root {
    --primary-color: #29ABE2;
    /* Brand Blue - Graphic Use */
    --primary-text: #0077a3;
    /* Darker variant for text readability (WCAG AA) */
    --secondary-color: #005670;
    --accent-color: #F0A500;
    --text-color: #222222;
    /* High contrast text */
    --light-bg: #F4F8FB;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    font-size: 18px;
    /* Senior Friendly Base Size */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    /* Used darker secondary for headings */
    margin-bottom: 1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Larger padding for mobile sides */
}

/* Header */
.site-header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Rebranding */
/* Logo Rebranding */
.logo-container {
    display: flex;
    flex-direction: row;
    /* Changed to row for icon */
    align-items: center;
    /* Center icon with text block */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-icon {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    object-fit: contain;
    /* Ensure full shape is visible */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
}

.logo-sub {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.5px;
    margin-top: -2px;
}

/* Language Toggle */
.lang-toggle {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-left: 1rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle - Hidden */
.menu-toggle {
    display: none !important;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px;
    /* Larger hit area */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    /* Larger mobile touch target */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
    min-height: 48px;
    /* Minimum accessible touch size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-text);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-large {
    background-color: var(--accent-color);
    color: #222;
    /* Ensure black text on yellow/orange for contrast */
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

.btn-large:hover {
    background-color: #d18d00;
}

.btn-submit {
    background-color: var(--primary-text);
    color: var(--white);
    width: 100%;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 86, 112, 0.8), rgba(0, 86, 112, 0.8)), url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0;
    /* Expanded padding */
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    text-align: center;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    max-width: 250px;
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
    background: #e9eff5;
}

.form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.hidden {
    display: none;
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
    text-align: center;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #aeaeae;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-legal-text {
    font-size: 0.75rem;
    color: #888;
    max-width: 900px;
    margin: 1rem auto;
    line-height: 1.5;
}

/* Footer Bottom Content Layout */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo-link {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-link:hover {
    opacity: 1;
}

.footer-insights-logo {
    width: 32px;
    height: 32px;
    display: block;
    background: none;
    border: none;
}

.footer-portal-text {
    font-size: 0.85rem;
    color: #aeaeae;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Agent Section */
.agent-section {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
}

.agent-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.agent-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
}

.agent-bio h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.agent-bio .role {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
}

.agent-bio p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .agent-container {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .agent-bio h3 {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .site-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .logo-container {
        margin-bottom: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.75rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
    }

    .main-nav a {
        font-size: 0.85rem;
        padding: 6px 8px;
    }

    .lang-toggle {
        margin-left: 0.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    /* Mobile Menu Styles removed */
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
/* Map Container */
.map-container {
    width: 100%;
    max-width: 900px;
    height: 350px; /* Reduced from 400px */
    margin: 0 auto 3rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .map-container {
        height: 250px; /* Smaller for mobile */
        margin-bottom: 2rem;
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
