.edunexa-contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}
@media (min-width: 1024px) {
    .edunexa-contact-wrapper { flex-direction: row; align-items: stretch; }
}
.edunexa-form-col {
    flex: 0 0 65%;
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
}
@media (min-width: 768px) { .edunexa-form-col { padding: 3rem; } }
.edunexa-image-col {
    flex: 1;
    position: relative;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}
@media (max-width: 767px) { .edunexa-image-col { display: none; } }
.edunexa-image-col img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.edunexa-image-col:hover img { transform: scale(1.05); }
.edunexa-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(17, 33, 66, 0.4), transparent);
}
.edunexa-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .edunexa-grid { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-family: var(--font-heading); font-weight: 500; color: var(--dark); font-size: 0.875rem; }
.form-input {
    width: 100%;
    background: #f9fafb;
    border: 1px solid transparent;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: var(--dark);
}
.form-input::placeholder { color: #9ca3af; }
.form-input:focus { border-color: rgba(19, 1, 132, 0.2); background: var(--white); }
.form-select { appearance: none; -webkit-appearance: none; }
.select-wrapper { position: relative; }
.select-wrapper::after {
    content: '\25BC';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #9ca3af;
    pointer-events: none;
}
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #645BFF;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(100, 91, 255, 0.35);
    margin-top: 1rem;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(100, 91, 255, 0.45);
    filter: brightness(1.08);
}
.form-submit svg { width: 16px; height: 16px; fill: currentColor; }
.form-intro { font-size: 1rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 2rem; text-align: left; }
/* intl-tel-input integration */
.iti { width: 100%; }
.iti__tel-input {
    width: 100% !important;
    background: #f9fafb !important;
    border: 1px solid transparent !important;
    padding-top: 1rem !important;
    padding-right: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-radius: 10px !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    color: var(--dark) !important;
}
.iti__tel-input::placeholder { color: #9ca3af; }
.iti__tel-input:focus {
    border-color: rgba(19, 1, 132, 0.2) !important;
    background: var(--white) !important;
}
.iti__tel-input.input-error {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
}
.iti__flag-container { z-index: 10; }
.iti--separate-dial-code .iti__selected-dial-code {
    font-size: 0.875rem;
    color: var(--dark);
}
.iti--separate-dial-code .iti__selected-flag {
    background: transparent !important;
    border-radius: 10px 0 0 10px;
    padding: 0 0.75rem 0 1rem;
}
.required-star { color: #ef4444; }
.form-input.input-error {
    border-color: #ef4444;
    background: #fff5f5;
}
.field-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 400;
}
.form-message {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.form-message svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}
.form-message--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.form-message--success a { color: #166534; text-decoration: underline; }
.form-message--error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.form-message--error a { color: #991b1b; text-decoration: underline; }
.form-message strong { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.form-message p { margin: 0; }
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
    .contact-hero { min-height: 60vh !important; padding: 10px !important; }
    .contact-hero .hero-center { margin-top: 4rem !important; }
    .contact-form-section { padding-bottom: 10px !important; }
}
