/* Spinner Background with Gradient */
#spinner {
    background: linear-gradient(135deg, #FF4880, #4D65F9); /* 135-degree gradient angle */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo Animation */
.logo-pop {
    width: 170px;
    height: 170px;
    opacity: 3;
    border-radius: 50%;
    transform: scale(2.5);
    animation: popIn 1.5s forwards; /* Pop-in effect for 1.5 seconds */
    object-fit: cover;
}

/* Pop-in animation */
@keyframes popIn {
    0% {
        opacity: 3;
        transform: scale(0.5);
    }
    100% {
        opacity: 6;
        transform: scale(2);
    }
}

/* Responsive Logo */
.logo-heading {
    margin: 0;
}

.logo-img {
    max-width: 100%;   /* Ensures the logo scales within its container */
    height: auto;      /* Keeps the aspect ratio */
    width: 70px;      /* Sets an initial width for larger screens */
}

/* Adjust logo size based on screen size */
@media (max-width: 1200px) {
    .logo-img {
        width: 70px;
    }
}

@media (max-width: 992px) {
    .logo-img {
        width: 70px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 90px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        width: 70px;
    }
}

/* Ensure each carousel image fits the desired dimensions */
.carousel-img {
    width: 100%;
    height: 450px; /* Fixed height to maintain the aspect ratio */
    object-fit: cover; /* Crop the image to fill the dimensions without distortion */
}

/* Style for the popover */
.popover-image {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
}

.popover-image .popover-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Close button for popover */
.popover-image .close-popover {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Center and style the year overlay */
.image-container {
    position: relative;
}

.year-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
    display: none; /* Initially hidden */
}

/* Show overlay on hover */
.image-container:hover .year-overlay {
    display: block;
}





