/* Fade-in effect */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation ease-in 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* General body and layout styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: #F3E6F7; /* Soft Lavender */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* Smooth transition for the fade-out and zoom-out effect */
}

/* Logo styles */
.logo img {
    width: 200px; /* Original logo size */
    margin-bottom: 40px;
    border-radius: 20px; /* Rounded corners for the logo */
}

/* Container styling for search box */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    padding-top: 28vh !important; /* Lowering the search box by 20% towards the bottom */
}

/* Search box styling */
.search-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Additional margin for spacing */
}

.search-container input[type="text"] {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #FF4B4B; /* Bright Red */
    border-radius: 25px 0 0 25px;
    outline: none;
    box-sizing: border-box;
    background-color: #FFFFFF; /* White for input background */
    color: #505968; /* Charcoal for text */
    font-weight: 300;
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.search-container input[type="text"]:hover {
    box-shadow: 0 0 10px #cc8ad1; /* Dusty Rose shadow on hover */
}

.search-container button {
    padding: 15px 25px;
    background-color: #FF4B4B; /* Bright Red for the button */
    border: 2px solid #FF4B4B;
    border-radius: 0 25px 25px 0;
    font-size: 18px;
    color: #FFFFFF;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: inset -3px -3px 8px #C379C8, inset 3px 3px 8px #CC8AD1; /* Candy-like 3D effect */
}

.search-container button:hover {
    background-color: #E43A3A; /* Slightly darker red on hover */
    border-color: #E43A3A;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FF4B4B;
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #E43A3A;
}

/* Dark Mode */
.dark-mode {
    background-color: #1e1e1e;
    color: #c9d1d9;
}

.dark-mode a {
    color: #58a6ff;
}

.dark-mode .scroll-to-top {
    background-color: #58a6ff;
}

.dark-mode .scroll-to-top:hover {
    background-color: #1e90ff;
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #FF4B4B;
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

.dark-mode-toggle:hover {
    background-color: #E43A3A;
}

/* Page Load Progress Indicator */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #FF4B4B;
    z-index: 9999;
    transition: width 0.5s ease;
}

/* Zoom-out and fade-out class */
.fade-out {
    opacity: 0;
    transform: scale(0.8); /* Zoom-out effect */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Footer styling */
footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    width: 100%;
    background-color: #8E6192; /* Royal Plum */
    color: #FFFFFF; /* White text for footer */
}

footer .disclaimer {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.5;
}

footer a {
    color: #FFFFFF; /* White text for footer links */
    text-decoration: none;
    margin: 0 10px;
    font-weight: 400;
}

footer a:hover {
    text-decoration: underline;
    color: #FFB1E1; /* Blush Pink on hover */
}

#footer-disclaimer {
    font-size: 14px;
    margin-top: 10px;
    color: #FFFFFF;
}
