/* ========================================================================================== */        
/* Philippine Map */
.map-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 500px;
}
/* --- 1. Initial State (Hidden and Off-Screen Left) --- */
.map-container2 img {
    max-width: 100%;
    height: auto;        
    
    /* Key properties for animation */
    transform: translateX(-100%); /* Pushes the element entirely off to the left */
    opacity: 0;                   /* Makes the element invisible initially */
    transition: transform 1.5s ease-out, opacity 1s ease-in; /* Defines a smooth, 1.5-second animation */
}
/* --- 2. Active State (On Screen) --- */
/* The element smoothly transitions to this state when the class is added */
.map-container2 img.animate-in {
    transform: translateX(0); /* Moves the element to its original, on-screen position */
    opacity: 1;               /* Makes the element fully visible */
}        

@media (max-width: 991.98px) { 
    .map-container2 img {
        /* OVERRIDE: Resets the image to its natural, static position */
        transform: translateX(0) !important; 
        opacity: 1 !important; 
        /* Disables the animation to prevent flickering */
        transition: none !important; 
    }

    /* We don't need the .animate-in class on small screens, but we override it just in case */
    .map-container2 img.animate-in {
        transform: translateX(0) !important;
        opacity: 1 !important;
        transition: none !important;
    }
}


.content-wrapper {
    padding: 20px;
}
h1.info-box-title {
    color: #7d965d;
    font-weight: 300;
    text-align: center;
    margin-bottom: 4;
}
.info-box2 {
    color: #7d965d; /* Greenish color from the image */
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center; 
    text-transform: uppercase;
}
.info-box-number {
    display: block;
    font-family: 'Revans Medium', sans-serif;
    font-size: 5rem;
}

/* Small Screen */
@media (max-width: 991.98px) { 

    h1.info-box-title {
        color: #7d965d;
        font-size: 2rem;
        font-weight: 300;
        text-align: center;
        margin-bottom: 4;
    }
    .info-box2{
        color: #7d965d; /* Greenish color from the image */
        font-family: 'Revans Medium', sans-serif;
        font-size: 1.0rem;
        font-weight: 300;
        text-transform: uppercase;
    }
    .info-box-number {
        font-size: 2rem;
    }

    .info-box-text .branch-label {
        font-size: 1rem; /* Smaller size on mobile */
    }

    .map-container2 {
    /* Ensure there is enough vertical space for the image to become visible */
    min-height: 300px; /* Use a value appropriate for mobile */
    padding: 10px; /* Use smaller padding on mobile */
    }
}

/* XS only */
@media (max-width: 575.98px) { 

    h1.info-box-title {    
        font-size: 1.5rem;
    }
    .info-box2{
        font-size: 0.4rem;
        font-weight: 300;
    }
    .info-box-number {
        font-size: 1.5rem;
    }
}