:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f3f4f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.main-container {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    min-height: 600px;
}

/* Right Side: Form (now on right) */
.form-section {
    flex: 1.2; /* Slightly wider for the form content */
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    order: 2;
}

/* Left Side: Education/Media (now on left) */
.media-section {
    flex: 0.8;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    order: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefits-list {
    text-align: left;
    margin: 20px 0;
}

.benefit-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefit-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.dynamic-feedback {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 12px 15px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #166534;
    font-style: italic;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.media-content {
    max-width: 350px;
}

.media-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #cbd5e1;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.9rem;
}

.tip-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.tip-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
}

/* Progress Bar */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.4s ease;
}

/* Form Elements */
.step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: flex;
    flex-direction: column;
    flex: 1;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #111827;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.option-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
}

.option-card:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.option-card.selected {
    border-color: var(--primary-color);
    background-color: #eff6ff;
    color: var(--primary-color);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Navigation */
.nav-buttons {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
}

.btn-secondary:hover {
    color: var(--text-color);
    background: #f3f4f6;
}

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

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .media-section {
        display: none; /* Hide educational panel on small screens to save space, or move it */
        /* Alternatively, we could make it a small collapsible banner */
    }

    .form-section {
        padding: 20px;
    }
}
