* {
    box-sizing: border-box;
}

.img-comp-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25% !important;
    display: flex;
    justify-content: center;
}

.img-comp-img {
    position: absolute; /* Fix the images within the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .img-comp-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensure the image covers the container without stretching */
        object-position: left;
        pointer-events: none; /* Prevent the image from interacting with mouse events */
    }

/* Container for the slider and grey line */
.img-comp-slider-container {
    position: relative;
    margin: 20px auto; /* Center the container horizontally */
    padding-top: 0.25rem !important;
    display: flex;
    align-items: center;
}

/* Grey line behind the slider */
.img-comp-slider-line {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Start positioning from the middle */
    width: 80%; /* 80% of the container width */
    height: 4px; /* Thickness of the line */
    background-color: #d5d5d5; /* Grey line color */
    transform: translate(-50%, -50%); /* Center the line horizontally and vertically */
    z-index: 1; /* Place it behind the slider */
}

.img-comp-slider {
    position: absolute;
    background-color: #34c2ef;
    cursor: ew-resize;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: white;
    border-radius: 21px;
    padding: 8px 15px;
    z-index: 5; /* On top of the grey line */
    width: auto;
}

    /* Styling for the text and icons */
    .img-comp-slider .slider-text {
        font-size: 12px;
        color: white;
        margin: 0 10px;
        font-weight: bold;
        white-space: nowrap;
    }

    .img-comp-slider .slider-icons {
        font-size: 16px;
        color: white;
    }



.pop-icon {
    z-index: 8;
    position: absolute;
    width: 90%; /* Container width is full screen */
    height: 90%; /* Ensure the container covers the full height */
    display: flex;
    justify-content: center;
}

.icon-img {
    position: absolute;
    top: 50%; /* Vertically centers each image */
    transform: translateY(-50%); /* Centers the image perfectly */
    width: 3vw; /* Set the width relative to the viewport width */
    z-index: 2;
    transition: transform 0.3s ease, width 0.3s ease; /* Smooth transition for width and transform */
}

    .icon-img.expand {
        transform: scale(1.4); /* Scale the image to 1.6 times its original size */
    }

/* Position the images equally across the container */
.icon-heart {
    left: 25%;
    top: 50%;
    transform: translateY(10%);
    transition: transform 0.3s ease-in-out;
}

.icon-speed {
    left: 42%;
    top: 80%;
    transform: translateY(10%);
    transition: transform 0.3s ease-in-out;
}

.icon-ribbon {
    left: 48%;
    top: 35%;
    transform: translateY(10%);
    transition: transform 0.3s ease-in-out;
}

.icon-uri {
    left: 70%;
    top: 30%;
    transform: translateY(10%);
    transition: transform 0.3s ease-in-out;
}

.icon-bone {
    left: 82%;
    top: 45%;
    transform: translateY(20%);
    transition: transform 0.3s ease-in-out;
}

.icon-heart:hover, .icon-speed:hover/*, .icon-ribbon:hover, .icon-uri:hover, .icon-bone:hover*/ {
    animation: heartbeat 1s infinite;
}

.car-title {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12vw;
    z-index: 2;
}

.insta-content {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-text {
    display: none;
    max-width: 500px;
    background-color: rgb(255 255 255 / 80%);
    color: white;
    padding: 15px;
    font-size: 14px;
    border-radius: 30px;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .pop-icon img {
        width: 8vw; /* Increase image width for smaller screens */
    }

    .icon-heart {
        left: 25%;
        top: 45%;
        transform: translateY(0%);
    }

    .icon-speed {
        left: 40%;
        top: 75%;
        transform: translateY(0%);
    }

    .icon-ribbon {
        left: 48%;
        top: 35%;
        transform: translateY(0%);
    }

    .icon-uri {
        left: 70%;
        top: 25%;
        transform: translateY(0%);
    }

    .icon-bone {
        left: 82%;
        top: 45%;
        transform: translateY(0%);
    }

    .car-title {
        width: 20vw !important;
    }

    .icon-img.expand {
        transform: scale(1.2);
    }

    .icon-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-text {
        z-index: 10;
        top: 0;
        transform: none;
        left: auto;
        max-width: 400px;
    }

    .content-heart img {
        width: 80vw;
    }
}

@media screen and (max-width: 480px) {

    .pop-icon img {
        width: 10vw; /* Increase width even further for small screens */
    }

    .icon-heart {
        left: 25%;
        top: 40%;
        transform: translateY(30%);
    }

    .icon-speed {
        left: 40%;
        top: 75%;
        transform: translateY(5%);
    }

    .icon-ribbon {
        left: 45%;
        top: 30%;
        transform: translateY(0%);
    }

    .icon-uri {
        left: 70%;
        top: 25%;
        transform: translateY(0%);
    }

    .icon-bone {
        left: 80%;
        top: 45%;
        transform: translateY(0%);
    }

    .img-comp-slider {
        padding: 6px 10px;
    }

    .img-comp-slider .slider-text {
        font-size: 8px;
        margin: 0 6px;
    }

    .img-comp-slider .slider-icons {
        font-size: 10px;
    }

    .car-title {
        bottom: 0;
        width: 20vw !important;
    }

    .icon-img.expand {
        transform: scale(1.2);
    }

    .icon-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-text {
        z-index: 10;
        top: 0;
        transform: none;
        left: auto;
    }

    .content-heart img {
        width: 80vw;
    }


}

.movember-goals h3 {
    color: #ffffff;
}

.book-btn {
    display: block;
    background: #34c2ef;
    text-align: center;
    width: auto;
    margin-top: 20px;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.25rem;
}

.social-contest .desc {
    font-size: 1.25rem !important;
    text-align: center;
    color: #a7a7a7;
}

.quiz-container {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.question-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgb(93 93 93 / 60%);
    padding: 40px 20px 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin: 30px 0 20px 0;
}

.icon {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    box-shadow: 1px 1px 10px rgb(93 93 93 / 60%);
    padding: 15px;
    z-index: 0;
    width: 90px;
    height: 90px;
}

.icon-front {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    z-index: 2;
}

.icon-front img {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 2;
}

.question-content h2 {
    color: #387dd6;
}

.question-content p {
    color: #a7a7a7;
    margin: 10px 0;
    line-height: 0.75rem;
}

.join-button {
    background-color: #387dd6;
    color: #fff;
    padding: 10px 20px;
    border: none;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.25rem;
}

    .join-button:hover {
        background-color: #0056b3;
    }

.how-to-join .col-lg-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-block: 20px;
}

.how-to-join .desc-small {
    color: #a7a7a7;
    line-height: 0.5rem;
}

.how-to-join strong {
    font-weight: bold;
    color: #387dd6;
}

.how-to-join img {
    margin-bottom: 30px;
}


.car-service .desc {
    font-size: 1.25rem !important;
    line-height: 1.5rem;
}

.container.car-banner {
    max-width: 1000px;
    padding-bottom: 2rem !important;
}

.packages-promotion, .movember .mens-health-status {
    background-color: #fcf5e2;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.2);
    }

    75% {
        transform: scale(1.1);
    }
}