:root {
    --primary-red: #DC1C2E;
    --primary-blue: #003DA5;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --footer-bg: #424242;
    --footer-text: #D1D5DB;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --scroll-animation-speed: 0.6s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Core Modern & Reactive Elements --- */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--scroll-animation-speed) ease-out, transform var(--scroll-animation-speed) ease-out;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero & Content Wrapper --- */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.content-wrapper {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

#spotlight-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1; 
}

.spotlight-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    #spotlight-wrapper.active .spotlight-circle {
        opacity: 1;
    }
}

.bio-panel, .form-panel {
    position: relative;
    z-index: 2;
}

.bio-panel {
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-blue), #002366);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.headshot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    will-change: transform;
}

.bio-panel h1 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 700; }
.bio-panel h2 { font-size: 1.2rem; font-weight: 400; margin-bottom: 20px; color: #A0C4FF; }
.bio-panel p { font-size: 1rem; opacity: 0.9; }

.form-panel { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.form-panel h3 { font-size: 1.8rem; margin-bottom: 5px; color: var(--primary-blue); }
.form-subtitle { color: var(--text-light); margin-bottom: 30px; font-size: 0.95rem; }

.input-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }

input, select {
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: #F9FAFB;
    transition: border-color var(--transition-speed), background-color var(--transition-speed), transform 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 165, 0.08);
}
input:hover, select:hover { border-color: #A0C4FF; }
.field-hint { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }

.submit-btn {
    width: 100%; padding: 15px; background-color: var(--primary-red); color: var(--white);
    border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition-speed); margin-top: 10px;
}
.submit-btn:hover {
    background-color: #B51524; transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(220, 28, 46, 0.35);
}

#thank-you-message { text-align: center; padding: 40px 20px; animation: fadeIn 0.5s ease-in-out; }
.success-icon {
    width: 60px; height: 60px; background-color: #10B981; color: white;
    font-size: 30px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 20px auto;
}

/* --- New Content Sections (About, Partner, FAQ) --- */
.about-section, .partner-section, .faq-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.text-link {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.text-link:hover {
    color: #B51524;
    text-decoration: underline;
}

/* About Grid */
.about-grid {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    line-height: 1.8;
}
.about-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--text-dark);
}
.about-content p:last-child { margin-bottom: 0; }
.about-content strong {
    font-size: 1.2rem;
    color: var(--primary-blue);
    display: inline-block;
    margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--primary-blue); }
.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-red);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-content {
    padding-top: 15px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Partner Section */
.partner-container {
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.partner-container h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #A0C4FF;
}
.partner-container p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}
.partner-container a {
    color: #10B981;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}
.partner-container a:hover {
    color: #34D399;
    text-decoration: underline;
}

/* Bottom Logos */
.bottom-logos-section {
    background-color: transparent;
    padding: 40px 20px 60px 20px;
}
.logo-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.logo { max-height: 60px; object-fit: contain; }

/* Footer Disclaimers */
.disclaimer-section {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 20px;
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.disclaimer-section h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; font-weight: 400; }
.footer-spaced-text { margin-top: 20px; }
.disclaimer-section a { color: var(--white); text-decoration: none; }
.disclaimer-section a:hover { text-decoration: underline; }

.mls-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.mls-logo { background-color: white; padding: 10px; max-width: 120px; border-radius: 4px; }
.mls-text { color: #A3A3A3; text-align: justify; }

#more-text { display: none; }
#toggle-disclaimer-btn {
    background: transparent; border: 1px solid var(--white); color: var(--white);
    padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; cursor: pointer;
    margin-left: 5px; font-family: 'Inter', sans-serif; transition: all 0.2s;
}
#toggle-disclaimer-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper { grid-template-columns: 1fr; padding-top: 0; }
    .input-row { grid-template-columns: 1fr; gap: 0; }
    .bio-panel, .form-panel { padding: 40px 20px; }
    .bio-panel { text-align: center; border-radius: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .mls-header { flex-direction: column; align-items: flex-start; }
    .about-grid, .faq-container, .partner-container { padding: 30px 20px; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}