/* Africa Map Styles */
.countries-worked {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.countries-worked h2 {
    margin-bottom: 40px;
    font-size: 3.6rem;
    color: #000000;
}

.africa-map-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

#africa-map {
    width: 60%;
    min-width: 300px;
    max-width: 700px;
    height: 600px;
}

.country-info {
    width: 30%;
    min-width: 250px;
    text-align: left;
}

#country-details {
    margin-bottom: 30px;
    padding: 20px;
    min-height: 150px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#country-details h3 {
    margin-top: 0;
    color: #ff0000;
}

.countries-list {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 20px;
}

.countries-list li {
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    color: #000;
    font-weight: bold;
}

.countries-list li:hover {
    color: #ff0000;
    transform: translateX(5px);
}

/* SVG Styling */
.country {
    fill: #e0e0e0;
    stroke: #ffffff;
    stroke-width: 0.5;
    transition: all 0.3s ease;
}

.country:hover {
    fill: #ff9999;
}

.country.active {
    fill: #ff0000;
}

.country.highlighted {
    fill: #ff6666;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .africa-map-container {
        flex-direction: column;
        align-items: center;
    }
    
    #africa-map {
        width: 100%;
        height: 400px;
    }
    
    .country-info {
        width: 100%;
    }
    
    .countries-list {
        columns: 1;
    }
}

/* Africa Map Section Styles */
.s-africa-map {
    background-color: #ffffff;
    padding: 15rem 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3.6rem;
    color: #000000;
}

.africa-map-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#map-wrapper {
    width: 60%;
    height: 600px;
    position: relative;
}

#africa-map {
    width: 100%;
    height: 100%;
}

.country-list {
    width: 35%;
    padding: 20px;
}

.country-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.country-info h3 {
    margin-top: 0;
    color: #000000;
    font-size: 2rem;
}

.country-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 20px;
}

.country-list li {
    padding: 8px 0;
    cursor: pointer;
    color: #000000;
    transition: color 0.3s ease;
}

.country-list li:hover {
    color: #ff0000;
}

/* Map SVG Styles */
.country {
    fill: #e0e0e0;
    stroke: #ffffff;
    stroke-width: 0.5;
    transition: fill 0.3s ease;
}

.country.highlighted {
    fill: #ff6666;
}

.country.active {
    fill: #ff0000;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .africa-map-container {
        flex-direction: column;
        align-items: center;
    }

    #map-wrapper {
        width: 100%;
        margin-bottom: 40px;
    }

    .country-list {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .s-africa-map {
        padding: 10rem 0;
    }

    #map-wrapper {
        height: 400px;
    }

    .country-list ul {
        columns: 1;
    }
} 