/* Contact Page Specific Styles */
.contact-hero {
    background-image: url(../assets/images/contact-us-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    padding: 226px 0px 120px 0px;
    height: 80vh !important;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    clip-path: polygon(
        0% 100%,
        0% 0%,
        2% 0%,
        2% 100%,
        4% 100%,
        4% 0%,
        6% 0%,
        6% 100%,
        8% 100%,
        8% 0%,
        10% 0%,
        10% 100%,
        12% 100%,
        12% 0%,
        14% 0%,
        14% 100%,
        16% 100%,
        16% 0%,
        18% 0%,
        18% 100%,
        20% 100%,
        20% 0%,
        22% 0%,
        22% 100%,
        24% 100%,
        24% 0%,
        26% 0%,
        26% 100%,
        28% 100%,
        28% 0%,
        30% 0%,
        30% 100%,
        32% 100%,
        32% 0%,
        34% 0%,
        34% 100%,
        36% 100%,
        36% 0%,
        38% 0%,
        38% 100%,
        40% 100%,
        40% 0%,
        42% 0%,
        42% 100%,
        44% 100%,
        44% 0%,
        46% 0%,
        46% 100%,
        48% 100%,
        48% 0%,
        50% 0%,
        50% 100%,
        52% 100%,
        52% 0%,
        54% 0%,
        54% 100%,
        56% 100%,
        56% 0%,
        58% 0%,
        58% 100%,
        60% 100%,
        60% 0%,
        62% 0%,
        62% 100%,
        64% 100%,
        64% 0%,
        66% 0%,
        66% 100%,
        68% 100%,
        68% 0%,
        70% 0%,
        70% 100%,
        72% 100%,
        72% 0%,
        74% 0%,
        74% 100%,
        76% 100%,
        76% 0%,
        78% 0%,
        78% 100%,
        80% 100%,
        80% 0%,
        82% 0%,
        82% 100%,
        84% 100%,
        84% 0%,
        86% 0%,
        86% 100%,
        88% 100%,
        88% 0%,
        90% 0%,
        90% 100%,
        92% 100%,
        92% 0%,
        94% 0%,
        94% 100%,
        96% 100%,
        96% 0%,
        98% 0%,
        98% 100%,
        100% 100%,
        100% 0%
    );
    transform: translateY(50%);
}

.contact-hero .container {
    position: relative;
    z-index: 3;
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #378b36, #4de780);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #378b36;
    box-shadow: 0 0 0 0.2rem rgba(55, 139, 54, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #378b36, #4de780);
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 139, 54, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 20px;
    display: none;
    color: #6c757d;
    line-height: 1.6;
}

.faq-answer.show {
    display: block;
}

.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* Arabic RTL Support - Center Everything */
[dir="rtl"] .contact-hero,
[dir="rtl"] .contact-info-card,
[dir="rtl"] .contact-form,
[dir="rtl"] .faq-item,
[dir="rtl"] .cta-section {
    text-align: center;
}

[dir="rtl"] .contact-info-card h5,
[dir="rtl"] .contact-info-card p,
[dir="rtl"] .contact-form h3,
[dir="rtl"] .contact-form p,
[dir="rtl"] .faq-question,
[dir="rtl"] .faq-answer,
[dir="rtl"] .cta-section h2,
[dir="rtl"] .cta-section p {
    text-align: center;
}

[dir="rtl"] .contact-info-icon {
    margin: 0 auto 20px auto;
}

[dir="rtl"] .form-control {
    text-align: center;
}

[dir="rtl"] .form-control::placeholder {
    text-align: center;
}

[dir="rtl"] .btn-primary {
    margin: 0 auto;
    display: block;
}

[dir="rtl"] .faq-question i {
    float: none !important;
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .row {
    justify-content: center;
}

[dir="rtl"] .col-lg-4,
[dir="rtl"] .col-md-6 {
    display: flex;
    justify-content: center;
}

[dir="rtl"] .contact-info-card {
    width: 100%;
    max-width: 400px;
}
