/* =========================================================
   Company Contact - Map Section ("Find Us")
   ملف مستقل تمامًا - أي تعديل هنا مايأثرش على باقي السكاشن
   ========================================================= */

:root {
    --cc-main: #222168;
    --cc-second: #6bbdcd;
    --cc-white: #ffffff;
    --cc-text: #4a4a5a;
    --cc-font: 'Plus Jakarta Sans', sans-serif;
}

.cc-map * {
    box-sizing: border-box;
}

.cc-map {
    direction: ltr;
    font-family: var(--cc-font);
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 40px 24px 130px;
    overflow: hidden;
}

.cc-map__dot {
    position: absolute;
    border-radius: 50%;
}

.cc-map__dot--a {
    top: 20px;
    left: 6%;
    width: 70px;
    height: 70px;
    background: var(--cc-second);
    opacity: 0.15;
}

.cc-map__dot--b {
    bottom: 40px;
    right: 8%;
    width: 90px;
    height: 90px;
    background: var(--cc-main);
    opacity: 0.08;
}

.cc-map__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cc-map.cc-in-view .cc-map__inner {
    opacity: 1;
    transform: translateY(0);
}

.cc-map__intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 560px;
}

.cc-map__heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--cc-main);
    margin: 0;
}

.cc-map__desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--cc-text);
    margin: 0;
}

.cc-map__frame {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 42% 58% 66% 34% / 45% 38% 62% 55%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(34, 33, 104, 0.14);
}

.cc-map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.cc-map__placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(34, 33, 104, 0.05), rgba(34, 33, 104, 0.05)),
        repeating-linear-gradient(0deg, #dfe4f2 0 1px, transparent 1px 30px),
        repeating-linear-gradient(90deg, #dfe4f2 0 1px, transparent 1px 30px),
        #f4f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-map__pin {
    width: 52px;
    height: 52px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--cc-main), var(--cc-second));
    transform: rotate(-45deg);
    box-shadow: 0 14px 28px rgba(34, 33, 104, 0.32);
}

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
    .cc-map {
        padding: 20px 16px 80px;
    }

    .cc-map__heading {
        font-size: 24px;
    }

    .cc-map__frame {
        height: 280px;
        border-radius: 32px;
    }

    .cc-map__dot {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-map__inner {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
