﻿
.contact-page {
    background-color: #f7f7f9;
    color: #333;
}

.contact-hero {
    background: linear-gradient(180deg, #0F0A95 0%, #161823 100%);
    color: #fff;
    text-align: center;
    padding: 109px 16px;
}

.contact-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-hero-subtitle {
    margin: 0 auto;
    font-size: 0.8rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.65);
}


.section-container {
    padding: 50px 110px !important;
}

.contact-cards {
    position: relative;
    background: #fff;
    z-index: 2;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    padding: 28px 16px 22px;
    border: 1px solid #F0F0F0;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--icon-bg, #ec1e63);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

.contact-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2b2b3c;
    margin-bottom: 6px;
}

.contact-card-text {
    font-size: 0.74rem;
    color: #9a9aa5;
    margin: 0;
    direction: rtl;
    unicode-bidi: plaintext; 
}

.contact-main {
    padding: 24px 0 48px;
    background: #fff;
}

.contact-section-title {
    font-size: 18px;
    font-weight: 500;
    color: #171717;
    margin-bottom: 18px;
}

.map-wrapper {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.map-img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.map-overlay-hint {
    position: absolute;
    inset-inline-start: 14px;
    bottom: 14px;
    background: rgba(20, 20, 35, 0.75);
    color: #fff;
    font-size: 0.72rem;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.map-wrapper:hover .map-overlay-hint,
.map-wrapper:focus .map-overlay-hint {
    opacity: 1;
}

.map-overlay-hint svg {
    width: 13px;
    height: 13px;
}

.contact-form .form-label-sm {
    font-size: 14px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 6px;
    display: block;
}

.contact-input {
    background-color: #F8F8F8;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.78rem;
    padding: 9px 14px;
    color: #333;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

    .contact-input::placeholder {
        color: #b3b3bf;
        font-size: 0.72rem;
    }

    .contact-input:focus {
        background-color: #fff;
        border-color: #ec1e63;
    }

.btn-submit-message {
    background-color: #FF025A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

    .btn-submit-message:hover {
        background-color: #cf1252;
        color: #fff;
    }

    .btn-submit-message:active {
        transform: scale(0.97);
    }

    .btn-submit-message svg {
        width: 14px;
        height: 14px;
    }

.faq-section {
    padding: 40px 0 56px;
}

.faq-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #2b2b3c;
    margin-bottom: 22px;
}

.faq-accordion .accordion-item {
    border: 1px solid #E0E0E0;
    border-radius: 8px !important;
    margin-bottom: 12px;
    background: transparent;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-size: 14px;
    font-weight: 700;
    color: #171717;
    background: transparent;
    padding: 14px 18px;
    box-shadow: none;
}

    .faq-accordion .accordion-button:not(.collapsed) {
        background: transparent;
        color: #ec1e63;
    }

    .faq-accordion .accordion-button:focus {
        box-shadow: none;
    }

    .faq-accordion .accordion-button::after {
        margin-right: auto;
        margin-left: 0;
    }

.faq-accordion .accordion-body {
    font-size: 14px;
    line-height: 2;
    color: #000000;
    padding: 0 18px 16px;
}

.accordion-button::after {
    width: 16px !important;
    height: 16px !important;
    background-size: 16px 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23171717' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    transition: transform 0.2s ease-in-out;
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 45px 16px;
    }

    .contact-card {
        padding: 22px 12px 18px;
    }

    .contact-main .col-lg-6 + .col-lg-6 {
        margin-top: 28px;
    }

    .section-container {
        padding: 27px 29px !important;
    }

    .contact-hero {
        text-align: right;
        direction: rtl;
    }

    .contact-hero-title,
    .contact-hero-subtitle {
        text-align: right;
    }


    .btn-submit-message {
        background-color: #FF025A;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 12px 26px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        text-align: center;
        transition: background-color 0.2s ease, transform 0.15s ease;
    }

    .faq-section {
        background: #fff;
    }

    .faq-accordion .accordion-button {
        font-size: 14px;
        font-weight: 700;
        color: #171717;
        background: #f7f7f9;
        padding: 14px 18px;
        box-shadow: none;
    }

    .faq-accordion .accordion-item {
        border: 1px solid #E0E0E0;
        border-radius: 8px !important;
        margin-bottom: 12px;
        background: #f7f7f9;
        overflow: hidden;
    }
}
