/* ====================================
   Universal Styles
==================================== */
* {
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-family: 'Poppins', sans-serif; /* Set global font family */
}

html, body {
    scroll-behavior: smooth; /* Smooth scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    line-height: 1.6; /* Set line height */
    -ms-overflow-style: scrollbar; /* Show scrollbar for IE and Edge */
    text-align: center; /* Center text alignment */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
}

/* ====================================
   Welcome Section Styles
==================================== */
.welcome-section .section-title, .inicio-welcome-section .section-title{
    color: #000000;
    text-shadow: none;
    
}

.welcome-section {
    color: #2C302E;
    display: flex; /* Flexbox for centering content */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    padding: 2rem;
    text-shadow: none;
    background-color: #AFD7FF;
}

.welcome-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    max-width: 1400px; /* Max width for the content */
    margin: 0 auto;
    background-color: #FFFFFF;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    border-radius: 10px; /* Rounded corners for the entire content */
}

.welcome-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem; /* Gap between the left and right content */
}

.welcome-section .left-content {
    flex: 1;
    padding: 1rem;
    text-align: center; 
}

.welcome-section .left-content p {
    font-size: 1.25rem;
}

/* ====================================
   Section Styles
==================================== */
.section {
    min-height: 100vh; /* Make sections full height */
}

.section-title {
    font-size: 2.5rem;
    margin: 20px 0 30px;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
    line-height: 1.3;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4); /* Text shadow for readability */
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #F7B801;
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 4px;
    background: #AFD7FF;
    transition: width 0.3s ease, left 0.3s ease;
}

.section-title:hover::after {
    width: 50%;
    left: 25%;
}

/* ====================================
   Cover Section Styles
==================================== */
.cover-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.cover-title h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.5s ease;
    z-index: 1;
}

#cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ====================================
   Gallery Section Styles
==================================== */

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px; /* Adjust height */
    margin-top: -20px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.6s ease;
    user-select: none;
    z-index: 3; /* Ensure the buttons are above the images */
    background-color: #495867;
    border-radius: 50%; /* Circular shape */
    display: flex; /* Ensure visibility */
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    text-shadow: none;
    text-decoration: none;
}

.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    opacity: 1;
    background-color: #FE5F55; /* Darken background on hover */
    backdrop-filter: blur(10px); /* Add blur effect on hover */
    transition: opacity 0.6s ease, left 0.6s ease, right 0.6s ease;
}

.slideshow-container:hover .prev {
    left: 10px; /* Slide in from the left */
}

.slideshow-container:hover .next {
    right: 10px; /* Slide in from the right */
}

.prev {
    left: -50px; /* Initially hidden to the left */
}

.next {
    right: -50px; /* Initially hidden to the right */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Status bar styles */
.status-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%; /* Reduce the width to make it less wide */
    height: 4px;
    background: #ffffff; /* Set the background color to white */
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 3;
    transition: width 0.5s ease-in-out;
}

/* ====================================
   Header Styles
==================================== */
.container-fluid {
    height: 80px; /* Set header height */
    width: 100%; /* Full width */
    background-color: rgba(0, 0, 0, 0); /* Transparent background */
    position: fixed; /* Fixed position */
    top: 0; /* Align to top */
    z-index: 999; /* Ensure on top of other elements */
    transition: background-color 0.4s ease, height 0.4s ease; /* Smooth transition for background and height */
    backdrop-filter: blur(0); /* No blur effect */
    -webkit-backdrop-filter: blur(0); /* No blur effect for Webkit browsers */
}

.container-fluid.scrolled, .container-fluid.active {
    background-color: #2c302ef2; /* Dark background */
    backdrop-filter: blur(7px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(7px); /* Apply blur effect for Webkit browsers */
}

.container-fluid.shrink {
    height: 60px; /* Reduced height */
}

.navigation {
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Space between items */
    align-items: center; /* Center items vertically */
    height: 100%; /* Full height */
    padding: 0 20px; /* Padding around navigation */
    transition: padding 0.4s ease; /* Smooth transition for padding */
}

.nav-brand {
    position: relative; /* Position relative */
    z-index: 1000; /* Ensure on top */
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease; /* Smooth transitions */
}

.nav-brand.shrink img {
    max-height: 40px; /* Reduced height */
}

.nav-brand a img {
    max-height: 50px; /* Maximum height */
    width: auto; /* Automatic width */
    vertical-align: middle; /* Middle align */
    transition: max-height 0.4s ease; /* Smooth transition for height */
}

.nav-toggle {
    display: flex; /* Flexbox for layout */
    flex-direction: column; /* Column direction */
    cursor: pointer; /* Pointer cursor */
    position: relative; /* Position relative */
    z-index: 1001; /* Ensure on top */
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
    background-color: transparent;
    border: none;
}

.nav-toggle span {
    background-color: #FFFFFF;
    width: 25px; /* Fixed width */
    height: 3px; /* Fixed height */
    margin: 4px 0; /* Margin around spans */
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg); /* Rotate */
    top: 8px; /* Position relative */
    position: relative; /* Position relative */
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0; /* Hide */
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg); /* Rotate */
    top: -8px; /* Position relative */
    position: relative; /* Position relative */
}

.nav-list-container {
    display: none; /* Hide by default */
    opacity: 0; /* Transparent */
    height: 100vh; /* Full height */
    overflow: hidden; /* Hide overflow */
    flex-direction: column; /* Column direction */
    width: 100%; /* Full width */
    position: fixed; /* Fixed position */
    top: 0; /* Align to top */
    left: 0; /* Align to left */
    z-index: 998; /* Ensure on top */
    padding: 80px 20px; /* Padding around container */
    text-align: left; /* Left-align text */
}

.nav-list-container.show {
    opacity: 1; /* Opaque */
    height: 100vh; /* Full height */
    display: flex; /* Flexbox for layout */
    justify-content: flex-start; /* Start at top */
    align-items: flex-start; /* Start at left */
}

.nav-list {
    list-style: none; /* Remove list style */
    padding: 0; /* Reset padding */
    margin: 0; /* Reset margin */
}

.nav-list li {
    margin: 10px 0; /* Space between items */
}

.nav-link {
    text-decoration: none; /* No text decoration */
    color: #ffffffb9; /* Light text color */
    font-size: 24px; /* Medium font size */
    font-weight: 500; /* Medium font weight */
    opacity: 0; /* Transparent */
    transition: color 0.5s ease, opacity 0.5s ease, transform 0.5s ease; /* Smooth transitions */
    position: relative; /* Position relative for the hover effect */
    padding-bottom: 2px; /* Space below the text */
}

.nav-link.active {
    color: #60AFFF;
    pointer-events: none; /* Make active link non-clickable */
}

.nav-list-container.show .nav-link {
    font-size: 40px; /* Large font size */
}

.nav-link.show {
    opacity: 1; /* Opaque */
    transform: translateY(0); /* Move to position */
}

.nav-link.hide {
    opacity: 0; /* Transparent */
    transform: translateY(-20px); /* Move out of position */
}

/* ====================================
   Scroll to Top Button Styles
==================================== */
.scroll-to-top-btn {
    position: fixed; /* Fixed position */
    bottom: 35px; /* Align to bottom */
    right: 30px; /* Align to right */
    background-color: rgba(44, 48, 46, 0.7); /* Dark background */
    color: #FFFFFF; /* White text color */
    border: none; /* No border */
    border-radius: 10px; /* Rounded corners */
    padding: 15px; /* Padding around button */
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height */
    font-size: 24px; /* Large font size */
    cursor: pointer; /* Pointer cursor */
    z-index: 998; /* Ensure on top */
    backdrop-filter: blur(5px); /* Blur effect */
    -webkit-backdrop-filter: blur(5px); /* Blur effect for Webkit browsers */
    opacity: 0; /* Transparent */
    transition: opacity 0.4s ease, transform 0.4s ease; /* Smooth transitions */
    display: flex; /* Flexbox for layout */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

.scroll-to-top-btn i {
    font-size: 24px; /* Large font size */
}

.scroll-to-top-btn.show {
    opacity: 1; /* Opaque */
    transform: translateY(0); /* Move to position */
}

.scroll-to-top-btn.hide {
    opacity: 0; /* Transparent */
    transform: translateY(10px); /* Move out of position */
}

/* Adjusted Overlay Styles */
.live-overlay {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px; /* Wider overlay */
    height: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    color: #fff; /* White text color */
    border-radius: 10px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99; /* Lower z-index to be below burger menu */
    opacity: 0; /* Initially invisible */
    pointer-events: none; /* Disable interactions */
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
    backdrop-filter: blur(5px); /* Add blur effect */
}

.live-overlay.show {
    opacity: 1; /* Show overlay */
    pointer-events: auto; /* Enable interactions */
}

.live-overlay-content {
    text-align: center;
    position: relative; /* For positioning the close button */
    width: 100%;
}

.live-overlay-content p {
    font-size: 1rem; /* Medium font size */
    font-weight: bold; /* Bold text */
    margin: 0; /* Remove margin between texts */
}

.live-overlay-content .button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px; /* Add margin above buttons */
    justify-content: center; /* Center the buttons */
}

.live-overlay-content button {
    background-color: #fe5f55; /* Red background */
    color: #fff; /* White text */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.live-overlay-content button:hover {
    background-color: #dc3545; /* Darker red on hover */
}

.live-overlay-content .close-button {
    background-color: #6c757d; /* Grey background */
}

.live-overlay-content .close-button:hover {
    background-color: #5a6268; /* Darker grey on hover */
}

/* ====================================
   Footer Styles
==================================== */
footer {
    background-color: #2C302E; /* Dark background */
    color: #fff; /* White text color */
    padding: 20px 0; /* Padding around footer */
    text-align: center; /* Center text alignment */
    font-size: 1rem; /* Base font size */
}

.footer-top {
    display: flex;
    justify-content: start; /* Align items to the start */
    align-items: center; /* Center items vertically */
    padding: 20px;
    border-bottom: 1px solid #444; /* Bottom border for separation */
}

.footer-brand {
    flex: 0 1 auto; /* Ensure the logo doesn't stretch */
    text-align: left; /* Align left */
    display: flex;
    align-items: center; /* Center items vertically */
    margin-right: 15px; /* Space between the logo and separator */
}

.footer-brand img {
    width: 150px;
    margin-right: 20px; /* Space between the logo and the separator */
}

.footer-separator {
    height: 60px;
    width: 1px;
    background-color: #fff; /* White vertical line */
    margin-right: 20px; /* Reduced space around the line */
}

.footer-contact {
    flex: 2; /* Take more space */
    text-align: left; /* Align left */
}

.footer-contact p {
    margin: 5px 0;
}

/* Phone number, email, and address link styles */
.footer-contact a {
    color: #ffffffb9;
    text-decoration: none; /* No underline */
    position: relative; /* Position relative for the hover effect */
    padding-bottom: 2px; /* Space below the text */
    transition: color 0.3s ease; /* Smooth transition for color */
}

.footer-contact a::before {
    content: ''; /* Empty content for the underline */
    position: absolute; /* Position absolute */
    bottom: 0; /* Align to bottom */
    left: 0; /* Align to left */
    width: 100%; /* Full width */
    height: 2px; /* Height of the underline */
    background-color: #60AFFF; /* Light blue color */
    transform: scaleX(0); /* Scale to 0 to hide */
    transform-origin: bottom right; /* Start from the bottom right */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

.footer-contact a:hover {
    color: #FFFFFF; /* Light blue on hover */
}

.footer-contact a:hover::before {
    transform: scaleX(1); /* Scale to 1 to show */
    transform-origin: bottom left; /* End at the bottom left */
}

.footer-social-icons {
    flex: 1; /* Take available space */
    display: flex;
    justify-content: flex-end; /* Align right */
    align-items: center; /* Center items vertically */
    margin-left: 20px; /* Align with other elements */
}

.footer-social-icons a {
    color: #ffffffb9; /* White text color */
    font-size: 1.5rem; /* Large font size */
    margin: 0 10px; /* Space between icons */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transitions */
    display: inline-block; /* Inline-block display */
}

.footer-social-icons a:hover {
    transform: translateY(-5px) rotate(10deg) scale(1.1); /* Transform on hover */
    color: #60AFFF;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.footer-link {
    color: #ffffffb9;
    text-decoration: none; /* No underline */
    position: relative; /* Position relative for the hover effect */
    padding-bottom: 2px; /* Space below the text */
    transition: color 0.3s ease; /* Smooth transition for color */
    margin: 10px;
}

.footer-link::before {
    content: ''; /* Empty content for the underline */
    position: absolute; /* Position absolute */
    bottom: 0; /* Align to bottom */
    left: 0; /* Align to left */
    width: 100%; /* Full width */
    height: 2px; /* Height of the underline */
    background-color: #60AFFF; /* Light blue color */
    transform: scaleX(0); /* Scale to 0 to hide */
    transform-origin: bottom right; /* Start from the bottom right */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}


.footer-link:hover {
    color: #fff; /* White color on hover */
}

.footer-link:hover::before {
    transform: scaleX(1); /* Scale to 1 to show */
    transform-origin: bottom left; /* End at the bottom left */
}

#copyright-text {
    display: inline-block;
}

/* ====================================
   Responsive Styles
==================================== */
@media (min-width: 931px) {
    .nav-toggle {
        display: none; /* Hide on large screens */
    }

    .nav-list-container {
        display: flex; /* Flexbox for layout */
        opacity: 1; /* Opaque */
        height: auto; /* Automatic height */
        position: static; /* Static position */
        flex-direction: row; /* Row direction */
        justify-content: flex-end; /* Align to end */
        align-items: center; /* Center items vertically */
        padding: 0; /* No padding */
    }

    .nav-list {
        display: flex; /* Flexbox for layout */
    }

    .nav-list li {
        margin: 0 15px; /* Space between items */
        position: relative; /* Position relative */
    }

    .nav-link {
        opacity: 1; /* Opaque */
        transform: none; /* No transform */
        font-size: 21px; /* Medium font size */
    }

    .nav-link::before {
        content: ''; /* Empty content for the underline */
        position: absolute; /* Position absolute */
        bottom: 0; /* Align to bottom */
        left: 0; /* Align to left */
        width: 100%; /* Full width */
        height: 2px; /* Height of the underline */
        background-color: #60AFFF; /* Light blue color */
        transform: scaleX(0); /* Scale to 0 to hide */
        transform-origin: bottom right; /* Start from the bottom right */
        transition: transform 0.3s ease; /* Smooth transition for transform */
    }
    
    .nav-link:hover {
        color: #fff; /* White color on hover */
    }
    
    .nav-link:hover::before {
        transform: scaleX(1); /* Scale to 1 to show */
        transform-origin: bottom left; /* End at the bottom left */
    }
}

@media (max-width: 930px) {
    .nav-toggle {
        display: flex; /* Flexbox for layout */
        opacity: 0; /* Transparent */
        transition: opacity 0.5s ease; /* Smooth transition for opacity */
    }

    .nav-list-container {
        display: none; /* Hide by default */
        height: 100vh; /* Full height */
        overflow: hidden; /* Hide overflow */
        flex-direction: column; /* Column direction */
        width: 100%; /* Full width */
        position: fixed; /* Fixed position */
        top: 0; /* Align to top */
        left: 0; /* Align to left */
        z-index: 1000; /* Ensure on top */
        transition: opacity 0.5s ease, height 0.5s ease; /* Smooth transitions */
        background-color: #2C302E; /* Navbar background color */
    }

    .nav-list li {
        width: 100%; /* Full width */
    }

    .nav-list {
        flex-direction: column; /* Column direction */
        text-align: left; /* Left-align text */
        padding-left: 20px; /* Left padding */
    }

    .nav-link {
        opacity: 0; /* Transparent */
        transition: opacity 0.5s ease, color 0.5s ease, transform 0.5s ease; /* Smooth transitions */
        display: block; /* Block display */
        padding-right: 100vb; /* Right padding */
        box-sizing: border-box; /* Include padding in width/height */
    }
    
    .nav-link:hover {
        color: #fff; /* White color on hover */
    }

}
@media (max-width: 780px){

/* ====================================
   Welcome Section Styles
==================================== */
.welcome-content {
    flex-direction: column; /* Stack content vertically */
    text-align: center; /* Center text on small screens */
    padding: 20px 0; /* Add padding to the top and bottom to ensure proper spacing */
}

.welcome-wrapper {
    flex-direction: column; /* Stack content vertically */
    padding: 15;
    gap: 1rem; /* Reduce gap */
    margin-top: 1rem; /* Add margin to the top to prevent cropping */
}

.welcome-section .left-content {
    text-align: center; /* Center text on small screens */
    padding-bottom: 1rem; /* Add padding at the bottom */
}

.welcome-section .right-image {
    width: 100%; /* Full width on mobile */
    height: 300px; /* Adjust height for mobile */
    flex: none;
}

.welcome-section .left-content p {
    font-size: 1rem; /* Adjust font size for mobile */
}

.section-title {
    font-size: 2rem;
}

.cover-title h1 {
    font-size: 2.5rem;
}

.footer-top {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the start */
}

.footer-brand,
.footer-contact,
.footer-social-icons {
    text-align: left; /* Left-align text */
    margin-bottom: 15px; /* Space between sections */
}

.footer-separator {
    display: none; /* Hide separator line on mobile */
}

.footer-social-icons {
    margin-left: 0;
    margin-bottom: 0;
}

.footer-contact p {
    margin: 5px 0; /* Reduce margin */
}

.footer-links,
#copyright-text {
    padding-left: 20px; /* Padding on the left */
    width: 100%;
    text-align: left; /* Left-align text */
}

.footer-links {
    flex-direction: column; /* Stack links vertically */
    align-items: flex-start; /* Align links to the start */
}

.footer-link {
    margin: 5px 0; /* Space between links */
}
}

/* ====================================
   Animations
==================================== */
@keyframes fadeInFromTop {
    0% {
        opacity: 0; /* Transparent */
        transform: translateY(20px); /* Move from top */
    }
    100% {
        opacity: 1; /* Opaque */
        transform: translateY(0); /* Move to position */
    }
}

@keyframes fadeOutBackground {
    0% {
        opacity: 1; /* Opaque */
    }
    100% {
        opacity: 0; /* Transparent */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Transparent */
    }
    to {
        opacity: 1; /* Opaque */
    }
}

@keyframes fadeOut {
    from {
        opacity: 1; /* Opaque */
    }
    to {
        opacity: 0; /* Transparent */
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0; /* Transparent */
        transform: translateY(-20px); /* Move from top */
    }
    100% {
        opacity: 1; /* Opaque */
        transform: translateY(0); /* Move to position */
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0; /* Transparent */
        transform: translateY(20px); /* Move from bottom */
    }
    100% {
        opacity: 1; /* Opaque */
        transform: translateY(0); /* Move to position */
    }
}

@keyframes zoomIn {
    from {
        opacity: 0; /* Transparent */
        transform: scale(0.5); /* Scale from small */
    }
    to {
        opacity: 1; /* Opaque */
        transform: scale(1); /* Scale to normal */
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0; /* Transparent */
        transform: translateX(20px); /* Move from right */
    }
    to {
        opacity: 1; /* Opaque */
        transform: translateX(0); /* Move to position */
    }
}

.nav-list-container.show .nav-link {
    opacity: 0; /* Transparent */
    transform: translateY(-40px); /* Move from top */
    animation: fadeInFromTop 0.6s ease forwards; /* Apply fadeInFromTop animation */
}

.nav-list-container.show .nav-link:nth-child(1) {
    animation-delay: 0.1s; /* Delay for first link */
}

.nav-list-container.show .nav-link:nth-child(2) {
    animation-delay: 0.2s; /* Delay for second link */
}

.nav-list-container.show .nav-link:nth-child(3) {
    animation-delay: 0.3s; /* Delay for third link */
}

.nav-list-container.show .nav-link:nth-child(4) {
    animation-delay: 0.4s; /* Delay for fourth link */
}

.nav-list-container.show .nav-link:nth-child(5) {
    animation-delay: 0.5s; /* Delay for fifth link */
}

.nav-list-container.show .nav-link:nth-child(6) {
    animation-delay: 0.6s; /* Delay for sixth link */
}

.nav-list-container.hide {
    animation: fadeOutBackground 0.6s ease forwards; /* Apply fadeOutBackground animation */
}

.nav-toggle.fade-in {
    animation: fadeIn 0.5s forwards; /* Apply fadeIn animation */
}

.nav-toggle.fade-out {
    animation: fadeOut 0.5s forwards; /* Apply fadeOut animation */
}

/* ====================================
   Text Selection Styles
==================================== */
::selection {
    background-color: #FF8552; /* Light blue background */
    color: #FFFFFF; /* Black text color */
}

/* ====================================
   Scrollbar Styles for Webkit Browsers (Chrome, Safari)
==================================== */
::-webkit-scrollbar {
    width: 9px; /* Width of scrollbar */
}

::-webkit-scrollbar-track {
    background:#2c302e; 
}

::-webkit-scrollbar-thumb {
    background-color: #495867; /* Medium background */
    border-radius: 5px; /* Rounded corners */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #FF8552; 
}

::-webkit-scrollbar-thumb:active {
    background-color: #8F95D3; 
}

/* ====================================
   Scrollbar Styles for Internet Explorer and Edge
==================================== */
body::-webkit-scrollbar-track {
    background:#2c302e;
}

body::-webkit-scrollbar-thumb {
    background-color: #495867; /* Medium background */
    border-radius: 5px; /* Rounded corners */
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #FF8552; 
}

body::-webkit-scrollbar-thumb:active {
    background-color: #8F95D3; 
}