/* ==========================================================================
   EPIK LEADERS - RESEAUX (NETWORKS) PAGE STYLES
   ========================================================================== */

/* ==========================================================================
   AFRICA MAP STYLES
   ========================================================================== */

/* SVG Map Styles */
#africa-map-svg {
    width: 100%;
    max-width: 1200px; /* Max width for the map */
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: #f9fafb; /* Light background for the map area */
}

#africa-map-svg path {
    fill: #9CA3AF; /* Gray for all countries by default */
    stroke: #FFFFFF; /* White border between countries */
    stroke-width: 0.5;
    transition: fill 0.2s ease-in-out;
    cursor: pointer;
}

#africa-map-svg path.highlighted {
    fill: #B5252C; /* Red only for Morocco (countries with EPIK presence) */
}

#africa-map-svg path.active {
    fill: #8B0000; /* Even darker red when active/clicked */
    stroke: #EF4444; /* Stronger border for active */
    stroke-width: 1.5;
}

/* Hover effects - different for countries with and without EPIK */
#africa-map-svg path:not(.highlighted):hover {
    fill: #D1D5DB; /* Light gray hover for countries without EPIK */
}

#africa-map-svg path.highlighted:hover {
    fill: #EF4444; /* Red hover for Morocco */
}

/* ==========================================================================
   COUNTRY INFORMATION SECTION
   ========================================================================== */

/* Country Information Section Styles */
#country-info-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

#country-info-section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Info box for country details */
#country-info-box {
    background-color: #fff;
    border-radius: 0.75rem; /* More rounded corners */
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
    display: none; /* Hidden by default */
    border: 1px solid #E5E7EB; /* Light border */
}

#country-info-box h3 {
    font-size: 2.25rem; /* Larger font for country name */
    font-weight: 800; /* Extra bold */
    color: #1F2937; /* Dark gray */
    margin-bottom: 1rem;
}

#country-info-box p {
    font-size: 1.125rem; /* Slightly larger text */
    color: #4B5563; /* Medium gray */
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

#country-info-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   BOARD MEMBER CARDS
   ========================================================================== */

.board-member-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced card hover effects */
.member-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.member-card:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    transform: translateY(-12px) scale(1.02);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Pulse animation for active countries */
@keyframes countryPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#africa-map-svg path.active {
    animation: countryPulse 2s infinite;
}

/* ==========================================================================
   NATIONAL BOARD SECTION
   ========================================================================== */

/* National Board Section Enhancements */
.border-gradient-to-r {
    background: linear-gradient(to right, #3B82F6, #EF4444);
    border-radius: 50%;
}
