/* ----- Page Hero ----- */
.hero-section {
    overflow: visible;
    position: relative;
    padding-bottom: 0;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image:
            linear-gradient(rgba(197, 168, 128, .04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(197, 168, 128, .04) 1px, transparent 1px);
        background-size: 60px 60px;
    }

    & .container {
        grid-template-columns: 1fr 2fr;
        position: relative;
    }

    & .section-title [data-lang="en"] {
        display: inline-block;
        max-width: 23ch;
    }
}

.hero-orb-1 {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: rgba(197, 168, 128, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}


/* === Premium SVG Color & Animation System === */

/* 1. Floating breath on the map container */
@keyframes float-map {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 30px 60px rgba(30, 40, 80, 0.18));
    }

    33% {
        transform: translateY(-10px) rotate(0.3deg);
        filter: drop-shadow(0 50px 80px rgba(30, 40, 80, 0.28));
    }

    66% {
        transform: translateY(-5px) rotate(-0.2deg);
        filter: drop-shadow(0 40px 70px rgba(30, 40, 80, 0.22));
    }
}

/* 2. Africa-map fill breathes between deep navy and dark teal */
@keyframes map-breathe {

    0%,
    100% {
        fill: #0d1b3e;
        fill-opacity: 0.12;
    }

    50% {
        fill: #112244;
        fill-opacity: 0.20;
    }
}

/* 3. Africa-map stroke shimmers (ice-blue → gold) */
@keyframes map-stroke-shimmer {

    0%,
    100% {
        stroke: #c8d8f0;
        stroke-opacity: 0.55;
    }

    50% {
        stroke: #e8c56a;
        stroke-opacity: 0.35;
    }
}

/* 4. Country path color morphing: gold → copper → champagne */
@keyframes region-morph {
    0% {
        fill: #c5a840;
        fill-opacity: 0.55;
        stroke: #e8d080;
        stroke-opacity: 0.5;
    }

    30% {
        fill: #d4854a;
        fill-opacity: 0.65;
        stroke: #f0a060;
        stroke-opacity: 0.6;
    }

    60% {
        fill: #c8b060;
        fill-opacity: 0.72;
        stroke: #e8d898;
        stroke-opacity: 0.65;
    }

    100% {
        fill: #c5a840;
        fill-opacity: 0.55;
        stroke: #e8d080;
        stroke-opacity: 0.5;
    }
}

/* 5. Office pin triple-pulse: scale + glow ring */
@keyframes pin-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 172, 75, 0));
    }

    40% {
        transform: scale(1.18);
        filter: drop-shadow(0 0 18px rgba(212, 172, 75, 0.7));
    }

    55% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 10px rgba(212, 172, 75, 0.45));
    }

    70% {
        transform: scale(1.22);
        filter: drop-shadow(0 0 24px rgba(212, 172, 75, 0.85));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 172, 75, 0));
    }
}

/* 6. Subtle scan-line shimmer for country paths */
@keyframes region-shimmer {
    0% {
        fill-opacity: 0.55;
    }

    50% {
        fill-opacity: 0.85;
    }

    100% {
        fill-opacity: 0.55;
    }
}

.section__contact-head-office {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container__contact-head-office-hero {
    position: relative;
    flex: 1;
    aspect-ratio: 1;
    transition-delay: 0.2s;
    animation: float-map 9s ease-in-out infinite;
    will-change: transform, filter;
}

.contact-head-office-hero {
    position: absolute;
    top: -15%;
    width: 115%;
    transition: transform 1s ease-in-out;
}

.contact-head-office-hero.on-mobile {
    transform: scale(3.6) translate(-1.2%, 12%);
}

.contact-head-office-hero .africa-map {
    transition: fill-opacity 1s ease-in-out;
    transition-delay: 1s;
}

.contact-head-office-hero.on-mobile .africa-map {
    fill-opacity: 0;
    transition: fill-opacity 1s ease-in-out;
    stroke: none;
    transition-delay: 0;
}

.contact-head-office-hero.on-mobile .africa-map:hover {
    fill-opacity: 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

.contact-info-list {
    display: flex;
    list-style: none;
    column-gap: 24px;
    flex-direction: row;
    flex-wrap: wrap;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-list>li>i {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-right: 6px;
    margin-top: 0;
}

.contact-info-list i.ph-phone {
    font-size: 0.95rem;
    color: var(--accent-gold);
    margin-top: 4px;
    vertical-align: middle;
}

.container__contact-head-office-hero svg path {
    stroke-width: 1.5;
    stroke-miterlimit: 8;
    /* Base color - overridden by animation */
    fill: #c5a840;
    fill-opacity: 0.6;
    stroke: #e8d080;
    stroke-opacity: 0.5;
}

.container__contact-head-office-hero svg .africa-map {
    fill: #0d1b3e;
    fill-opacity: 0.12;
    stroke: #c8d8f0;
    stroke-opacity: 0.55;
    animation: map-breathe 8s ease-in-out infinite, map-stroke-shimmer 12s ease-in-out infinite;
}

/* Individual country/region paths */
.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin) {
    animation: region-morph 14s ease-in-out infinite;
    cursor: default;
    transform-origin: center;
    transform-box: fill-box;
    transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stagger each sub-path for a ripple effect */
.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):nth-child(2) {
    animation-delay: -2s;
}

.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):nth-child(3) {
    animation-delay: -4s;
}

.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):nth-child(4) {
    animation-delay: -6s;
}

.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):nth-child(5) {
    animation-delay: -8s;
}

.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):nth-child(6) {
    animation-delay: -10s;
}

.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):nth-child(7) {
    animation-delay: -12s;
}

.container__contact-head-office-hero svg path:not(.africa-map):not(.office-pin):hover {
    animation: region-shimmer 0.8s ease-in-out infinite;
    fill: #f0d080;
    fill-opacity: 1;
    filter: drop-shadow(0 0 22px rgba(240, 200, 80, 0.7)) drop-shadow(0 0 6px rgba(240, 200, 80, 0.4));
    transform: translateY(-3px) scale(1.005);
}

/* Office pins */
.container__contact-head-office-hero svg .office-pin {
    fill: #1a2a5e;
    stroke: #d4ac4b;
    stroke-width: 10;
    stroke-opacity: 0.9;
    animation: pin-pulse 2.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
    cursor: pointer;
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: fill 0.35s ease, stroke 0.35s ease, filter 0.35s ease, transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.container__contact-head-office-hero svg .office-pin:hover {
    animation: none;
    fill: #f0c030;
    stroke: #fff8e0;
    stroke-width: 6;
    transform: scale(1.35) translateY(-8px);
    filter:
        drop-shadow(0 0 20px rgba(240, 190, 40, 0.9)) drop-shadow(0 0 40px rgba(240, 190, 40, 0.4)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* Highlighted contact list item (triggered by pin hover via JS) */
#contactHOInfo .contact-info-list li {
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
}

#contactHOInfo .contact-info-list li.pin-highlighted {
    background-color: rgba(197, 168, 128, 0.13);
    border-radius: 4px;
    padding: 6px 6px 4px 4px;
    color: black;
}

#contactHOInfo .contact-info-list li.pin-highlighted i {
    color: black;
}

#contactHOInfo .contact-info-list a {
    color: inherit;
}

/* === Contact Page specific styles === */
.contact-btn-full {
    width: 100%;
}

.social-header-subtitle {
    margin-top: 8px;
}

.social-grid-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-align: left;
}

.social-item-handle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-section {
    padding-top: 0;
    padding-bottom: 80px;
}

.map-iframe {
    border: 0;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.footer-logo-img {
    height: 48px;
    object-fit: contain;
}