/* ==================== CONTACT PAGE STYLES ==================== */

/* --- Page Header Customization --- */
.contact-header-content {
    position: absolute;
    bottom: 40px;
    /* Text aligned to bottom */
    width: 100%;
    z-index: 2;
    padding-bottom: 20px;
}

.contact-page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    text-align: center;
}

/* --- Support/Intro Section --- */
.contact-intro-section {
    padding: 60px 0 40px;
    /* text-align: center; Removed to allow default RTL alignment */
    background-color: #f9f9f9;
}

.contact-badge {
    background-color: #e6f0fa;
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.contact-intro-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.text-blue {
    color: var(--primary-blue);
}

.contact-intro-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* --- Form Section --- */
.contact-form-section {
    padding: 0 0 60px;
    background-color: #f9f9f9;
}

.contact-form-container {
    background-color: transparent;
    /* Or white if card look desired, but design looks blend */
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Increased from 20px */
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* Rounded inputs */
    font-family: var(--font-main);
    font-size: 14px;
    background-color: var(--white);
    transition: border-color 0.3s;
    text-align: right;
    /* Default Arabic Alignment relative to page dir, but explicit is safer with placeholders */
    direction: rtl;
    /* Ensure RTL direction for Arabic */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Select2/IntlTelInput overrides if needed */
.iti {
    width: 100%;
}

/* Submit Button */
.submit-btn-wrapper {
    text-align: right;
    /* Button aligned right for RTL */
    margin-top: 10px;
}

/* Use existing .btn-large styled in investors.css or redefine here if unique */
.btn-submit {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #094a8f;
    transform: translateY(-2px);
}



.btn-submit .btn-icon-circle {
    width: 28px;
    height: 28px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 14px;
    transition: transform 0.3s;
}

.btn-submit:hover .btn-icon-circle {
    transform: rotate(45deg);
}


/* --- Contact Info Cards --- */
.contact-info-cards {
    padding: 30px 0;
    /* Further reduced from 40px */
    background-color: #f9f9f9;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* Reduced from 25px */
}

.info-card {
    border-radius: 20px;
    padding: 25px 15px;
    /* Further reduced from 30px 20px */
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* Card Specific Colors */
.card-address {
    background-color: #dbeafe;
    /* Pale Blue */
}

.card-hotline {
    background-color: #fce7e7;
    /* Pale Peach/Red */
}

.card-email {
    background-color: #eaddf5;
    /* Pale Purple */
}

.card-icon {
    width: 45px;
    /* Further reduced from 50px */
    height: 45px;
    /* Further reduced from 50px */
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    /* Reduced from 15px */
    font-size: 18px;
    /* Reduced from 20px */
    color: var(--white);
}

/* Specific icon BGs */
.card-address .card-icon {
    background-color: #0d5ba8;
    /* Primary Blue Box */
    /* Icon is map-marker */
}

.card-hotline .card-icon {
    background-color: #e04f44;
    /* Reddish Orange */
}

.card-email .card-icon {
    background-color: #7d2ae8;
    /* Purple */
}

.card-title {
    font-size: 18px;
    /* Reduced from 20px */
    font-weight: 700;
    color: var(--primary-blue);
    /* Title color seems blue/purple depending on card? Screenshot: "العنوان" looks blue. "الخط الساخن" looks red. "البريد" looks purple. */
    margin-bottom: 10px;
    /* Reduced from 15px */
}

.card-address .card-title {
    color: #0d5ba8;
}

.card-hotline .card-title {
    color: #e04f44;
}

.card-email .card-title {
    color: #7d2ae8;
}

.card-text {
    font-size: 14px;
    /* Reduced from 15px */
    color: var(--text-light);
    /* Or darker text */
    line-height: 1.5;
    /* Tightened from 1.6 */
}

.card-text strong {
    display: block;
    margin-bottom: 5px;
}

/* --- Map Section --- */
.map-section {
    padding: 0 0 40px;
    text-align: center;
}

.map-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 30px;
}

.map-title .text-blue {
    color: var(--primary-blue);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}