/* MODERN SPLIT LAYOUT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 80px 0;
    align-items: start;
}

.contact-info h1 {
    font-size: 42px;
    color: #004a99;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 18px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* FORM STYLING */
.contact-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

.form-group {
    margin-bottom: 18px;
}

input, select, textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 16px;
    box-sizing: border-box; /* Critical for layout stability */
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #f0ab00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(240, 171, 0, 0.1);
}

.submit-btn {
    background: #f0ab00; /* CareerCraft Gold */
    color: #000;
    border: none;
    padding: 18px;
    width: 100%;
    font-weight: 800;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.submit-btn:hover {
    background: #d49700;
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

#success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

#success-message h3 {
    color: #004a99;
    font-size: 24px;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
    }
    
    .contact-info h1 {
        font-size: 32px;
    }
}