/* Modern Contact Page Styles */

.contact-section {
    padding: 5rem 0;
    background-color: var(--bg-gray-50);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

/* Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 3rem;
    }
}

.contact-form-header {
    margin-bottom: 2.5rem;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.contact-form-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(57, 143, 161, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #9ca3af;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #2d7a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 143, 161, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Info Side */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-header {
    margin-bottom: 1rem;
}

.info-card {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(57, 143, 161, 0.1);
}

.info-icon-box {
    width: 3rem;
    height: 3rem;
    background-color: rgba(57, 143, 161, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon-box {
    background-color: var(--primary-color);
    color: #ffffff;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.map-container {
    margin-top: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 250px;
    position: relative;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.map-container:hover img {
    transform: scale(1.05);
}

/* RTL Support */
body[dir="rtl"] .contact-grid {
    direction: rtl;
}

body[dir="rtl"] .submit-btn i {
    transform: scaleX(-1);
}
