/* General styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Popup styling */
.popup {
    display: none; /* Hidden initially */
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Darker background */
    z-index: 1000;
    animation: fadeIn 0.5s ease; /* Smooth fade-in */
}

.popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.7); /* Soft shadow */
    transition: transform 0.4s ease-in-out; /* Smooth scaling */
    margin: 0 auto;
    display: block;
}

.popup img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #f8a5c2; /* Soft pink hover effect */
}

/* Collapsed icon */
.popup-icon {
    position: fixed;
    bottom: 15px;
    right: 70px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
}


.popup-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Round icon */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popup-icon img:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.7); /* More intense shadow on hover */
}

/* Animation for popup sliding in */
@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
