#section-worldwide {
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--ocean-blue);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

#section-worldwide .container-ww {
    height: max-content;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    background-color: #ffffff;
    padding: 30px;
    margin: 40px;
    border-radius: var(--border-pt);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.information-ww {
    position: relative;
    max-width: 800px;
    text-align: left;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

.first-phrase p {
    font-family: 'Handlee', 'Cursive', sans-serif;
    color: var(--berry-crush);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.phrase-principal h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    text-transform: none;
    margin-bottom: 15px;
}

.phrase-principal p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
}

.card-body-ww {
    position: relative;
    border-radius: var(--border-pt);
    overflow: hidden;
    height: 400px;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-body-ww img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-body-ww:hover img {
    transform: scale(1.1) rotate(1deg);
}

.overlay-ww {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

.card-body-ww:hover .overlay-ww {
    background: rgba(0, 0, 0, 0.5);
}

.data-card-ww {
    position: absolute;
    z-index: 2;
    padding: 20px;
    width: 90%;
    bottom: 20px;
    transition: opacity 0.6s ease-in-out;
    transform: translateY(35px);
}

.data-card-ww-hover {
    position: absolute;
    z-index: 2;
    padding: 20px;
    width: 90%;
    bottom: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-40px);

    transition: opacity 0.3s ease-in-out, transform 0s;
}

.data-card-ww h4,
.data-card-ww-hover h4 {
    color: #fff;
    font-family: 'DM Serif Text', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.data-card-ww p,
.data-card-ww-hover p {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 300;
}

.btn-ww {
    display: inline-block;
    background-color: var(--berry-crush);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--border-pt);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid transparent;
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

.btn-ww:hover {
    color: var(--black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.2s ease-in-out, transform 0s;
}

.card-body-ww:hover .data-card-ww-hover {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out 0.3s;
}

.card-body-ww:hover .btn-ww {
    opacity: 1;
    transition: opacity 0.3s ease-in-out 0.3s;
}

.card-body-ww:hover .data-card-ww {
    opacity: 0;
}

.svg-ww {
    position: absolute;
    z-index: 99;
    top: 9px;
    width: 300px;
    height: auto;
    left: 146%;
}

.svg-ww img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1280px) {
    #section-worldwide .container-ww {
        max-width: 624px;
    }

    .first-phrase p {

        font-size: 1.2rem;

    }

    .phrase-principal h2 {
        font-size: 2.5rem;

    }

    .phrase-principal p {
        font-size: 1rem;

    }

    .svg-ww {
        position: absolute;
        z-index: 99;
        top: -72px;
        width: 180px;
        height: auto;
        left: 68%;
    }
}

@media (max-width: 1024px) {
    .card-body-ww {
        max-width: 913px;
    }
    #section-worldwide .container-ww {
        max-width: 624px;
    }
}

@media (max-width: 768px) {
    #section-worldwide .container-ww {
        max-width: 625px;
    }

    .svg-ww {
        left: 54%;
    }
}

@media (max-width: 640px) {
    #section-worldwide .container-ww {
        max-width: 336px;
    }

    .svg-ww {
        position: absolute;
        z-index: 99;
        top: -49px;
        width: 120px;
        height: auto;
        left: 54%;
    }
}
