/* ========================================
   USA MAP SECTION
   ======================================== */

.usa-map-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.usa-map-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.map-content {
    text-align: left;
    margin-bottom: 0;
    flex: 1.2;
}

.map-badge-wrapper {
    margin-bottom: 18px;
}

.map-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #dc3545;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.map-badge i {
    font-size: 15px;
}

.map-title {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.25;
}

.map-title-highlight {
    color: #dc3545;
}

.map-description {
    font-size: 17px;
    color: #b0b0b0;
    max-width: 650px;
    margin: 0;
    line-height: 1.6;
}

.map-cta-wrapper {
    margin-top: 26px;
}

.usa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d32f2f;
    color: #ffffff !important;
    border: 2px solid #d32f2f;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
    transition: all 0.3s ease;
    margin: 0;
}

.usa-btn:hover {
    background: #b71c1c !important;
    border-color: #b71c1c !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.map-wrapper {
    display: flex;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* SVG Map Styling */
#us-map {
    display: block;
    width: 100%;
    height: auto;
    cursor: default !important;
}

#us-map path {
    stroke: #000;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: #fff;
    transition: all 0.3s ease;
    transform-origin: center center;
    cursor: default !important;
}

#us-map path:hover {
    fill: #ff6b35;
    transform: scale(1.02);
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
    cursor: default !important;
}

@media (min-width: 992px) and (max-width: 1499px) {
    .usa-map-section {
        padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 20px);
    }

    .usa-map-container {
        padding: 0 clamp(8px, 1.5vw, 16px);
        gap: 30px;
    }

    .map-title {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
    }

    .map-description {
        font-size: clamp(15px, 1.3vw, 17px);
    }

    .map-wrapper {
        padding: clamp(20px, 2.5vw, 30px) clamp(10px, 1.5vw, 15px);
    }
}

/* Details Box */
#details-box {
    position: absolute;
    background: rgba(17, 24, 39, 0.95);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
    z-index: 1000;
    white-space: nowrap;
    transform: translateX(-50%);
}

#details-box.show {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .usa-map-container {
        display: block;
        text-align: center;
    }

    .map-content {
        margin-bottom: 0;
        text-align: center;
    }

    .map-description {
        margin: 0 auto;
    }

    .map-cta-wrapper {
        display: flex;
        justify-content: center;
    }

    .map-wrapper,
    #details-box {
        display: none;
    }
}

@media (max-width: 768px) {
    .map-title {
        font-size: 30px;
    }
    
    .map-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .map-title {
        font-size: 26px;
    }
    
    .map-description {
        font-size: 14px;
    }

    .usa-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
}
