/* Regional Pages Contact Section Fix */

.contact-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 12px;
}

.contact-section .section-header p {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    padding: 35px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 25px;
    text-align: center;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 7px;
    font-weight: 600;
    color: #444;
    font-size: 0.88rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    color: #333;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44,90,160,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkmark {
    background: #2c5aa0;
    border-color: #2c5aa0;
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.checkbox-label a {
    color: #2c5aa0;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44,90,160,0.35);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loading {
    display: none;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 15px;
    text-align: center;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    background: white;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 4px solid #2c5aa0;
    transition: transform 0.3s ease;
}

.info-card:nth-child(even) {
    border-left-color: #ff6b35;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card:nth-child(even) .info-icon {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.info-icon i {
    font-size: 1.1rem;
    color: white;
}

.info-content h3 {
    font-size: 0.9rem;
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-card:nth-child(even) .info-content h3 {
    color: #ff6b35;
}

.info-content p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #555;
    text-decoration: none;
}

.info-content a:hover {
    color: #2c5aa0;
}

/* Success Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-modal {
    text-align: center;
    padding: 40px 35px;
    max-width: 460px;
    width: 90%;
    position: relative;
}

.success-modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.success-modal .close:hover {
    color: #000;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-content i {
    font-size: 3.5rem;
    color: #28a745;
    margin-bottom: 18px;
}

.success-content h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.success-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.success-content .btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44,90,160,0.3);
}

/* Responsive */
@media (min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .contact-content {
        grid-template-columns: 3fr 2fr;
        gap: 40px;
    }
    
    .contact-section {
        padding: 90px 0;
    }
    
    .contact-section .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .contact-form-container {
        padding: 22px 18px;
    }
    
    .submit-btn {
        font-size: 0.95rem;
    }
}
