.lang-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
    margin-right: 6px;
    vertical-align: middle;
}

html[dir="rtl"] .lang-flag {
    margin-right: 0;
    margin-left: 6px;
}

.language-switch-menu > a {
    color: #d9a441 !important;
    font-weight: 700;
}

.language-switch-menu ul li a {
    white-space: nowrap;
}

 #map-vector {
    width: 100%;
    height: 600px;
}

.jvectormap-marker {
    cursor: pointer;
}

.jvectormap-marker-label {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
}
.compact-map-section {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}

.map-section .container-fluid {
    max-width: 1680px;
    margin: 0 auto;
}

.map-content-col {
    padding-left: 25px;
    padding-right: 25px;
}

.map-col {
    padding-left: 10px;
    padding-right: 25px;
}

#map-vector {
    width: 100%;
    height: 800px  !important;
}

.map-counters {
    gap: 18px;
}

.map-counters .simple-counter {
    min-width: 110px;
}

.map-counters .counter-wrap {
    margin-bottom: 5px;
}

@media (max-width: 991px) {
    .compact-map-section {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .map-content-col,
    .map-col {
        padding-left: 15px;
        padding-right: 15px;
    }

    #map-vector {
        height: 430px !important;
        margin-top: 30px;
    }
}

.poseidon-right-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.poseidon-lang-dropdown {
    position: relative;
    list-style: none;
}

.poseidon-lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.poseidon-lang-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.poseidon-lang-menu {
    position: absolute;
    top: 48px;
    right: 0;
    min-width: 155px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #ffffff;

    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 9999;
}

.poseidon-lang-dropdown:hover .poseidon-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.poseidon-lang-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    color: #222222 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.poseidon-lang-menu a:hover,
.poseidon-lang-menu a.active {
    background: #f3f5f7;
    color: #0c4a6e;
}

.poseidon-who-section {
    position: relative;
    overflow: hidden;
}

.poseidon-section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #09445a;
}

.poseidon-who-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #303846;
    max-width: 520px;
}

.poseidon-who-card {
    background: #fff;
    padding: 42px 45px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #09445a;
}

.poseidon-who-card p {
    color: #555f6d;
    line-height: 1.85;
    margin-bottom: 18px;
}

.poseidon-who-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.poseidon-who-point {
    padding: 20px 18px;
    border-radius: 14px;
    background: #f6f7f9;
}

.poseidon-who-point span {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #09445a;
}

.poseidon-who-point p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #303846;
}
.poseidon-key-figures .column-video {
    background-image: linear-gradient(rgba(8, 25, 45, 0.88), rgba(8, 25, 45, 0.88)),
    url('../images/services/service3.jpg');
    background-size: cover;
    background-position: center;
}

.poseidon-section-label.light {
    color: #d6a74a;
}

.poseidon-figures-grid {
    min-height: 100%;
}

.poseidon-figure-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.poseidon-figure-card .step-number h3 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.poseidon-figure-card h6 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.poseidon-figure-card p {
    line-height: 1.8;
}

@media (max-width: 991px) {
    .poseidon-figure-card .step-number h3 {
        font-size: 42px;
    }
}
html[dir="rtl"] .poseidon-who-card {
    border-left: 0;
    border-right: 5px solid #09445a;
}


@media (max-width: 991px) {
    .poseidon-who-section .text-lg-left {
        text-align: center !important;
    }

    .poseidon-who-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .poseidon-who-card {
        padding: 30px 24px;
    }

    .poseidon-who-points {
        grid-template-columns: 1fr;
    }
}

.poseidon-sustainability {
    position: relative;
    overflow: hidden;
}

.poseidon-sustainability-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #303846;
    font-weight: 500;
}

.poseidon-sustainability-list {
    margin-top: 28px;
}

.poseidon-sustainability-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.poseidon-sustainability-item span {
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #09445a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.poseidon-sustainability-item p {
    margin: 0;
    line-height: 1.7;
    color: #555f6d;
}


.poseidon-sustainability-main-img img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
}

html[dir="rtl"] .poseidon-sustainability-item {
    flex-direction: row-reverse;
    text-align: right;
}

@media (max-width: 991px) {
    .poseidon-sustainability-main-img img {
        min-height: 320px;
    }

    .poseidon-sustainability-item {
        text-align: left;
    }

    html[dir="rtl"] .poseidon-sustainability-item {
        text-align: right;
    }
}
.poseidon-quick-contact {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(7, 23, 42, 0.92), rgba(7, 23, 42, 0.92)),
    url('../images/gallery/full/03.jpg');
    background-size: cover;
    background-position: center;
}

.poseidon-quick-contact-intro {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.8;
}

.poseidon-contact-card {
    display: block;
    height: 100%;
    padding: 34px 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    transition: all 0.3s ease;
}

.poseidon-contact-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.13);
    text-decoration: none;
}

.poseidon-contact-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #09445a;
    color: #fff;
    font-weight: 800;
}

.poseidon-contact-card h6 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.poseidon-contact-card p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin: 0;
}

html[dir="rtl"] .poseidon-contact-card {
    text-align: right;
}

@media (max-width: 767px) {
    .poseidon-contact-card {
        margin-bottom: 20px;
        padding: 28px 22px;
    }
}
/* ===============================
   POSEIDON HOME RESPONSIVE
================================ */

.home-page section {
    overflow: hidden;
}

.home-page img {
    max-width: 100%;
    height: auto;
}

.poseidon-section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #09445a;
}

.poseidon-section-label.light {
    color: #d6a74a;
}

/* Headings */
.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6 {
    word-break: normal;
}

/* Cards */
.poseidon-who-card,
.poseidon-contact-card,
.poseidon-figure-card {
    overflow-wrap: break-word;
}

/* RTL */
html[dir="rtl"] .home-page {
    text-align: right;
}

html[dir="rtl"] .text-lg-left,
html[dir="rtl"] .text-sm-left {
    text-align: right !important;
}

/* Tablet */
@media (max-width: 991px) {
    .home-page .special-heading {
        text-align: center !important;
    }

    .home-page .divider-line {
        margin-left: auto;
        margin-right: auto;
    }

    .home-page .btn {
        white-space: normal;
    }

    .poseidon-who-card,
    .poseidon-contact-card {
        margin-top: 20px;
    }

    .poseidon-figures-grid {
        display: block;
    }

    .poseidon-figure-card {
        padding: 40px 25px;
        text-align: center;
    }

    .poseidon-sustainability-main-img img {
        min-height: 320px;
        object-fit: cover;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .home-page h1 {
        font-size: 38px !important;
        line-height: 1.15 !important;
    }

    .home-page h2 {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }

    .home-page p {
        font-size: 15px;
        line-height: 1.7;
    }

    .poseidon-who-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .poseidon-who-points {
        grid-template-columns: 1fr;
    }

    .poseidon-contact-card {
        padding: 28px 22px;
        margin-bottom: 18px;
    }

    .poseidon-contact-card h6 {
        font-size: 16px;
    }

    .poseidon-figure-card .step-number h3 {
        font-size: 38px;
    }

    .poseidon-sustainability-item {
        align-items: flex-start;
    }

    .poseidon-sustainability-item span {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .owl-carousel img.rounded {
        border-radius: 12px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .home-page h1 {
        font-size: 32px !important;
    }

    .home-page h2 {
        font-size: 26px !important;
    }

    .big-btn {
        padding: 14px 24px !important;
        font-size: 13px !important;
    }

    .poseidon-section-label {
        font-size: 11px;
        letter-spacing: 1px;
    }
}
.poseidon-footer .logo img {
    max-height: 58px;
    margin-right: 12px;
}

.poseidon-footer-logo {
    margin-bottom: 30px;
}

.poseidon-footer .logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.poseidon-footer .logo-subtext {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.poseidon-footer .widget-title {
    margin-bottom: 28px;
}

.poseidon-footer ul li {
    margin-bottom: 12px;
}

.poseidon-footer ul li a {
    transition: all 0.3s ease;
}

.poseidon-footer ul li a:hover {
    color: #09445a;
}

.poseidon-footer-social {
    margin-top: 22px;
}

.poseidon-footer-social a {
    margin-right: 8px;
}

.poseidon-footer-legal {
    margin: 0;
}

.poseidon-footer-legal a {
    margin: 0 8px;
}

html[dir="rtl"] .poseidon-footer {
    text-align: right;
}

html[dir="rtl"] .poseidon-footer .logo img {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .poseidon-footer-social a {
    margin-right: 0;
    margin-left: 8px;
}

@media (max-width: 767px) {
    .poseidon-footer .widget {
        margin-bottom: 35px;
    }

    .poseidon-footer-logo {
        justify-content: center;
    }

    .poseidon-footer .logo {
        justify-content: center;
    }

    .poseidon-footer-legal {
        margin-top: 8px;
    }
}

.poseidon-profile-box {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-left: 5px solid #09445a;
}

.poseidon-profile-box h6 {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.poseidon-profile-box p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.poseidon-presence-section .column-video {
    background-image: linear-gradient(rgba(7, 23, 42, 0.9), rgba(7, 23, 42, 0.9)),
    url('../images/services/service3.jpg');
    background-size: cover;
    background-position: center;
}

.poseidon-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.poseidon-quick-box {
    display: flex;
    align-items: center;
    min-height: 95px;
    padding: 22px 24px;
    border-radius: 16px;
    background: #f6f7f9;
    color: #303846;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.poseidon-quick-box:hover {
    background: #09445a;
    color: #fff;
    transform: translateY(-5px);
    text-decoration: none;
}

html[dir="rtl"] .poseidon-profile-box {
    border-left: 0;
    border-right: 5px solid #09445a;
    text-align: right;
}

@media (max-width: 767px) {
    .poseidon-quick-grid {
        grid-template-columns: 1fr;
    }

    .poseidon-profile-box {
        margin-top: 20px;
    }
}
.language-dropdown {
    position: relative;
    list-style: none;
}

.language-current {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 30px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-current:hover {
    color: #ffffff;
    background: #0d6efd;
    border-color: #0d6efd;
}

.language-current i {
    font-size: 12px;
    margin-left: 2px;
}

.lang-flag {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    object-fit: cover;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 165px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu li {
    display: block;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    color: #222222;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.language-menu a:hover,
.language-menu a.active {
    color: #ffffff;
    background: #0d6efd;
}

.language-menu a.active {
    font-weight: 700;
}
.poseidon-lang-dropdown {
    position: relative;
    list-style: none;
    margin-left: 15px;
}

.poseidon-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    min-width: 112px;
    height: 48px;
    border-radius: 40px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.poseidon-lang-current:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.28);
}

.poseidon-lang-dot {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: inline-block;
}

.poseidon-lang-arrow {
    margin-left: auto;
    font-size: 18px;
    line-height: 1;
    color: #ffffff;
}

.poseidon-lang-menu {
    position: absolute;
    top: calc(100% + 0px);
    right: 0;
    width: 195px;
    padding: 18px 0;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 99999;
    overflow: hidden;
}
/* Small language dropdown */
.poseidon-lang-dropdown {
    position: relative !important;
    list-style: none !important;
    margin-left: 12px;
    overflow: visible !important;
}

.poseidon-lang-current {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 13px !important;
    min-width: 85px !important;
    height: 38px !important;
    border-radius: 30px;

    color: #333333 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;

    font-size: 13px !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.poseidon-lang-current:hover {
    color: #333333 !important;
    background: #ffffff !important;
}

.poseidon-lang-dot {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border-radius: 50%;
    display: inline-block;
}

.poseidon-lang-arrow {
    margin-left: auto;
    color: #555555 !important;
    font-size: 14px !important;
    line-height: 1;
}

.poseidon-lang-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;

    width: 170px !important;
    padding: 7px 0 !important;
    margin: 0 !important;
    list-style: none !important;

    background: #ffffff !important;
    border-radius: 9px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    z-index: 999999 !important;
    overflow: hidden !important;
    transition: all 0.25s ease;
}

.poseidon-lang-dropdown:hover .poseidon-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) !important;
}

.poseidon-lang-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.poseidon-lang-menu a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    padding: 11px 15px !important;

    color: #222222 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

.poseidon-lang-menu a:hover,
.poseidon-lang-menu a.active {
    background: #f1f2f4 !important;
    color: #222222 !important;
}

/* باش dropdown مايتقطعش */
.header_absolute,
.page_header,
.page_header_wrapper,
.top-includes,
.poseidon-right-header {
    overflow: visible !important;
}
.poseidon-lang-current {
    height: 34px !important;
    min-width: 75px !important;
    padding: 6px 11px !important;
    font-sizeidon-right-header {
    overflow: visible !important;
}
}

.compact-map-section {
    padding: 90px 0;
}

.map-content-col {
    padding-top: 30px;
    padding-bottom: 30px;
}

.map-counters {
    gap: 20px;
}

.map-counters .simple-counter {
    min-width: 105px;
}

.map-note {
    background: #f5f8fa;
    border-left: 4px solid #0b4f71;
    padding: 16px 18px;
    border-radius: 6px;
    font-weight: 600;
    color: #222222;
}

#map-vector {
    position: relative;
    min-height: 520px;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 28%, rgba(11, 79, 113, 0.16), transparent 18%),
        radial-gradient(circle at 60% 40%, rgba(11, 79, 113, 0.12), transparent 20%),
        radial-gradient(circle at 46% 68%, rgba(11, 79, 113, 0.14), transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #eef4f7 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

#map-vector:before,
#map-vector:after {
    content: "";
    position: absolute;
    inset: 35px;
    border: 1px solid rgba(11, 79, 113, 0.10);
    border-radius: 50%;
}

#map-vector:after {
    inset: 95px;
}

.exploration-map-pin {
    position: absolute;
    border: 0;
    background: #ffffff;
    color: #0b4f71;
    padding: 9px 15px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    transition: all 0.25s ease;
    z-index: 3;
}

.exploration-map-pin:before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    background: #0b4f71;
    border-radius: 50%;
    margin-right: 8px;
}

.exploration-map-pin:hover,
.exploration-map-pin.active {
    background: #0b4f71;
    color: #ffffff;
    transform: translateY(-4px);
}

.exploration-map-pin:hover:before,
.exploration-map-pin.active:before {
    background: #ffffff;
}

.pin-azilal {
    top: 24%;
    left: 28%;
}

.pin-meknes {
    top: 34%;
    left: 55%;
}

.pin-ghafsay {
    top: 58%;
    left: 42%;
}

.pin-ouazzane {
    top: 70%;
    left: 66%;
}

.map-vector-label {
    position: absolute;
    left: 35px;
    bottom: 35px;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 700;
    color: #222222;
    z-index: 3;
}

.text-right .map-note,
[dir="rtl"] .map-note {
    border-left: 0;
    border-right: 4px solid #0b4f71;
}

.text-right .exploration-map-pin:before,
[dir="rtl"] .exploration-map-pin:before {
    margin-right: 0;
    margin-left: 8px;
}

@media (max-width: 991px) {
    #map-vector {
        margin-top: 35px;
        min-height: 420px;
    }
}

@media (max-width: 575px) {
    #map-vector {
        min-height: 390px;
    }

    .pin-azilal,
    .pin-meknes,
    .pin-ghafsay,
    .pin-ouazzane {
        left: 25px;
    }

    .pin-azilal { top: 20%; }
    .pin-meknes { top: 35%; }
    .pin-ghafsay { top: 50%; }
    .pin-ouazzane { top: 65%; }

    .map-vector-label {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}