:root { 
    --primary: #003366; 
    --accent: #FF9900; 
    --light: #F4F7FA; 
    --text: #333333; 
    --white: #ffffff; 
    --success: #2e7d32; 
    --error: #d32f2f; 
}

body { 
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: var(--light); 
    color: var(--text); 
}

* { box-sizing: border-box; }

header { 
    background: var(--white); 
    padding: 15px 20px; 
    border-bottom: 4px solid var(--accent); 
    text-align: center; 
}

.logo-text { font-size: 1.8rem; font-weight: 900; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.logo-span { color: var(--accent); }
.logo-sub { font-size: 0.85rem; color: #666; font-weight: 600; letter-spacing: 1.5px; margin-top: 5px; text-transform: uppercase; }

.hero-section { 
    background: var(--primary); 
    color: white; 
    padding: 40px 20px 80px 20px; 
    text-align: center; 
}
.hero-container { max-width: 800px; margin: 0 auto; }
.hero-section h1 { margin: 0 0 15px 0; font-size: 2.2rem; line-height: 1.2; }
.highlight { color: var(--accent); }
.hero-sub { font-size: 1.1rem; line-height: 1.6; opacity: 0.9; margin-bottom: 30px; }

.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; text-align: left; }
.badge { background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; display: flex; align-items: flex-start; gap: 10px; max-width: 350px; }
.check-icon { color: var(--accent); font-weight: bold; font-size: 1.2rem; }
.badge strong { display: block; margin-bottom: 4px; color: white; }
.badge-sub { font-size: 0.85rem; opacity: 0.8; display: block; line-height: 1.3; }

.main-content { margin-top: -50px; position: relative; padding: 0 15px; }
.form-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); max-width: 600px; margin: 0 auto; }

.form-header { text-align: center; margin-bottom: 25px; }
.form-header h3 { margin: 0; color: var(--primary); font-size: 1.5rem; }
.form-header p { margin: 5px 0 0 0; color: #666; font-size: 0.9rem; }

.form-group { margin-bottom: 20px; }

/* FLEXBOX FOR SIDE-BY-SIDE INPUTS */
.row-inputs { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; /* This ensures it stacks on mobile */
}
.row-inputs .form-group { 
    flex: 1; 
    min-width: 200px; /* Forces vertical stack if screen is too small */
}

label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--primary); font-size: 0.9rem; }
.required { color: #d32f2f; }

input[type="text"], input[type="tel"], input[type="email"], select { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-size: 1rem; 
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus { 
    border-color: var(--primary); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1); /* Blue glow on click */
}

.phone-input-wrapper { position: relative; }
#validationStatus { 
    position: absolute; 
    right: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 0.9rem; 
    font-weight: bold; 
    z-index: 5;
}

.valid-icon { color: var(--success); } 
.invalid-icon { color: var(--error); } 
.checking-icon { color: var(--accent); }

#phoneHelp { font-size: 0.8rem; color: #666; display: none; margin-top: 4px; }
.error-msg { color: var(--error); text-align: center; font-weight: bold; margin-top: 10px; font-size: 0.9rem; }

.radio-group { display: flex; gap: 20px; }
.radio-option { display: flex; align-items: center; cursor: pointer; font-weight: 500; }
.radio-option input { margin-right: 8px; transform: scale(1.2); }

/* CAPTCHA STYLING */
.captcha-container { background: #f9f9f9; padding: 15px; border-radius: 6px; border: 1px solid #eee; text-align: center; }
.captcha-options { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }
.captcha-btn { font-size: 2rem; padding: 10px 15px; border: 2px solid #ddd; background: white; border-radius: 8px; cursor: pointer; transition: all 0.2s; }
.captcha-btn:hover { background: #f0f0f0; transform: scale(1.1); }
.captcha-btn.selected { border-color: #2e7d32; background: #e8f5e9; box-shadow: 0 0 10px rgba(46, 125, 50, 0.2); }
.captcha-btn.wrong { border-color: #d32f2f; background: #ffebee; animation: shake 0.3s; }
@keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0); } }

.submit-btn { 
    background: var(--accent); 
    color: white; 
    width: 100%; 
    padding: 16px; 
    border: none; 
    border-radius: 5px; 
    font-size: 1.2rem; 
    font-weight: bold; 
    cursor: pointer; 
    text-transform: uppercase; 
    margin-top: 10px; 
    transition: background 0.3s, opacity 0.3s; 
    opacity: 1; 
}
.submit-btn:disabled { background: #95a5a6; cursor: not-allowed; opacity: 0.7; }
.submit-btn:hover:not(:disabled) { background: #d35400; }

.tcpa-disclaimer { font-size: 11px; color: #95a5a6; margin-top: 20px; line-height: 1.5; text-align: justify; }
.tcpa-disclaimer a { color: #7f8c8d; text-decoration: underline; }

footer { text-align: center; margin-top: 50px; padding-bottom: 30px; font-size: 12px; color: #bdc3c7; }
footer a { color: #bdc3c7; text-decoration: none; margin: 0 8px; }
.legal-footer { margin-top: 10px; line-height: 1.4; }

@media (max-width: 600px) { 
    .hero-section h1 { font-size: 1.8rem; } 
    .form-card { padding: 20px; } 
    /* Force inputs to stack on very small screens */
    .row-inputs { flex-direction: column; gap: 0; }
}