/* Basic page setup , everthing start with something... .) */
body, html {
	
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: black;
    color: white;
    font-family: 'Roboto Condensed',sans-serif, Arial;
    overflow-y: hidden;
}

/* Presentation container */
.presentation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slide configuration */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: ''; /* Required for ::before */
    position: absolute; /* Position relative to the slide */
    top: 0; /* Align to the top edge of the slide */
    left: 0; /* Align to the left edge of the slide */
    right: 0; /* Align to the right edge of the slide */
    bottom: 0; /* Align to the bottom edge of the slide */
    background-color: var(--overlay-color); /* Dynamic background color */
    z-index: 1; /* Positioned behind the slide content */

    /* Additional Styles */
    transition: background-color 0.5s ease; /* Smooth transition for color change */
    opacity: 0.7; /* Semi-transparent overlay */
    pointer-events: none; /* Ensure clicks pass through to elements underneath */

    /* Optional: Create a gradient or pattern overlay */
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 75%,
        transparent
    );
    background-size: 50px 50px; /* Size of the pattern */
}


.active {
    opacity: 1;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slide content styling */
.slide-content {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 60%;
    font-size: 20px;
    border: 1px solid white;
    z-index: 2; /* Above the overlay */
}

/* Estilo para pantallas más grandes (escritorio) */
@media screen and (min-width: 768px) {
    .slide-content h1 {
        font-size: 24px;
    }
}



/* Slide indicator */
.timeline-indicator {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #666;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.timeline-dot:hover {
    transform: scale(1.2); /* Enlarges the dot */
}

.timeline-dot.active {
    background-color: rgb(79, 196, 251, 0.91);
    animation: blinking 1.2s infinite;
}

@keyframes blinking {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* Navigation buttons */
.navigator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.navigator button {
    background-color: transparent; /* Making buttons transparent */
    color: white;
    border: 1px solid white; /* Slim white border */
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    font-size: 30px; /* Increase font size for bigger emojis */
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
}

.navigator button:hover {
    transform: scale(1.1); /* Slight increase in size on hover */
    //box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}




/* Dropdown container */
.dropdown-container {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0px solid white;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    z-index: 10000;
    opacity: 90%;
    width: 300px;
}

.dropdown-container select {
    background: transparent;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dropdown-container:after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
}

/* Logo styling */
#logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 225px;
    height: 64px;
    z-index: 15;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease;
}

#logo:hover {
    filter: drop-shadow(2px 2px 8px blue);
}

/* Responsive design adjustments */
@media screen and (max-width: 600px) {
    .slide-content {
        font-size: 14px;
        max-width: 100%;
    }

	.slide-content h1 {
        font-size: 18px;
    }	
	
    .navigator button {
        padding: 15px 30px;
        font-size: 14px;
    }

    #logo {
        width: 150px;
        height: auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
        z-index: 20;
        margin-top: 0;
    }

    .dropdown-container {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 20;
    }

    .timeline-indicator {
        position: absolute;
        top: 130px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    body, html {
        height: 100vh;
    }

    .presentation-container, .slide {
        height: 100vh;
    }

    .slide {
        background-size: cover;
        background-position: center;
    }
}


/* EU Logo */
#euLogo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px; /* Adjust the size as needed */
    height: auto;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

#euLogo:hover {
    transform: rotate(360deg);
    filter: drop-shadow(2px 2px 8px blue);
}

/* Email Emoji */
#emailEmoji {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 48px;
    cursor: pointer;
    z-index: 1000; /* High z-index */
    animation: glow 1.5s infinite alternate;
    transition: transform 0.3s ease;
}

@keyframes glow {
    from {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    }
    to {
        text-shadow: 0 0 18px rgba(255, 255, 255, 1);
    }
}

#emailEmoji:hover {
    transform: scale(1.1);
}

#emailEmoji:active {
    transform: scale(0.9);
    transition: transform 0.1s;
}



/* Style for the dropdown select element */
.dropdown-container select {
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    color: white; /* White text color */
    border: none;
    padding: 10px;
    border-radius: 5px;
    -webkit-appearance: none; /* Removes default styling */
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Style for the dropdown option elements */
.dropdown-container select option {
    background: rgba(0, 0, 0, 0.8); /* Dark background for options */
    color: white; /* White text color for options */
}

/* Custom arrow indicator */
.dropdown-container::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
}

.dropdown-container select {
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    color: white; /* White text color */
    border: 1px solid white; /* Add border to match desktop-menu li */
    padding: 8px; /* Adjust padding */
    border-radius: 4px; /* Rounded corners */
    font-size: 14px; /* Consistent font size */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition */
}

.dropdown-container select option {
    background: rgba(0, 0, 0, 0.8); /* Dark background for options */
    color: white; /* White text color for options */
    padding: 8px; /* Padding for options */
    border-radius: 4px; /* Rounded corners for options */
}

.dropdown-container select:hover {
    background-color: #003366; /* Change background on hover */
    transform: scale(0.95); /* Subtle effect on hover */
}


/* Prevent overscroll behavior and ensure responsiveness */
body, html {
    overscroll-behavior: none; /* Prevents overscroll behavior */
    max-width: 100vw; /* Ensures the body does not exceed the viewport width */
}





/* Ensure images and elements scale properly */
img, .some-element {
    max-width: 100%; /* Prevents elements from exceeding the viewport width */
    height: auto; /* Ensures appropriate scaling */
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 20px 0;
    background-color: transparent;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 14px; /* Adjust font size as needed */
    z-index: 100; /* Ensure it's above other elements */
}

.site-footer a {
    color: white; /* Link color */
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff; /* Color on hover */
}

@media screen and (max-width: 600px) {
    .site-footer {
        font-size: 12px; /* Smaller font size for mobile */
    }
}

/* Adjust z-index for existing elements */
.navigator, #euLogo, #emailEmoji {
    z-index: 200; /* Higher than the footer */
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background */
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 14px; /* Adjust font size as needed */
    z-index: 100; /* Lower than the navigator, EU logo, and email emoji */
}

.site-footer a {
    color: #3687ff; /* Link color */
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff; /* Color on hover */
}

@media screen and (max-width: 600px) {
    .site-footer {
        font-size: 12px; /* Smaller font size for mobile */
    }
}

.modal-content {
    background-color: #1e1e1e;
    /* margin: 15% auto; */
    padding: 20px;
    border: 1px solid #888;
    /* width: 80%; */
    border-radius: 10px;
    color: white;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#modalText {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    background-color: #333;
    color: white;
    border: none;
    margin-top: 20px;
    padding: 10px;
    box-sizing: border-box;
    resize: none; /* User cannot resize the textarea */
}

/* Responsive Modal Style for Mobile */
@media screen and (max-width: 600px) {
    .modal {
        width: 90%; /* Set modal width to 90% of the screen width for mobile devices */
        /* ... */
    }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30000; /* Sit on top */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    width: 80%; /* Full width */
    max-width: 600px; /* Maximum width */
    transform: translate(-50%, -50%); /* Shift the modal to be truly centered */
    background-color: #1e1e1e; /* Dark background color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
    padding: 20px; /* Inner spacing */
    color: #ffffff; /* Text color */
    font-size: 16px; /* Font size */
    line-height: 1.6; /* Line height for better readability */
    overflow-y: auto; /* Scrollable content */
}

/* Responsive adjustments for mobile devices */
@media screen and (max-width: 600px) {
    .modal {
        width: 90%; /* Slightly wider on smaller screens */
        max-width: none; /* Disable max-width on mobile */
    }
}

/* Navigation buttons */
.navigator {
    position: absolute;
    bottom: 10%; /* Position a bit higher from the bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.navigator button {
    background-color: #3687ffd4;
    color: white;
    border: none;
    padding: 15px 25px; /* Slightly larger buttons */
    margin: 5px;
    border-radius: 5px;
    font-size: 20px; /* Larger font size */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
}

.navigator button:hover {
    background-color: #666;
    transform: scale(1.05); /* Slight increase in size */
}

.navigator button:active {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* More pronounced shadow on click */
    transition: box-shadow 0.1s; /* Faster transition for a responsive feel */
}

/* Radial animation loop */
@keyframes radial-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(54, 135, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(54, 135, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(54, 135, 255, 0);
    }
}

.navigator button {
    animation: radial-pulse 2s infinite ease-out;
}


@keyframes panZoom {
    0% {
        background-size: 100%;
        background-position: center;
    }
    25% {
        background-size: 105%;
        background-position: left top;
    }
    50% {
        background-size: 110%;
        background-position: right bottom;
    }
    75% {
        background-size: 105%;
        background-position: left bottom;
    }
    100% {
        background-size: 100%;
        background-position: center;
    }
}

.slide {
    /* ... other styles ... */
    animation: panZoom 60s infinite alternate ease-in-out;
}

:root {
    --overlay-color: rgba(0, 0, 255, 0.4); /* Default color */
}


.code-snippet {
    background-color: #000; /* Black background for terminal style */
    color: #fff; /* White text for contrast */
    padding: 10px;
    border-radius: 5px;
    font-family: 'Consolas', 'Courier New', monospace; /* Monospace font for code */
    font-size: 0.8em; /* Smaller font size */
    line-height: 1.5; /* Spacing for readability */
    overflow-x: auto;
}

.code-snippet pre {
    margin: 0;
    color: #9ef; /* Default light blue color for text */
}

.code-snippet .line {
    display: block; /* Each line as block for individual styling */
}

.code-snippet .line1 { color: #ff5555; } /* Red for function definition */
.code-snippet .line2 { color: #55ff55; } /* Green for console log */
.code-snippet .line3 { color: #ffff55; } /* Yellow for closing brace */
.code-snippet .line4 { color: #55ffff; } /* Cyan for function call */

/* Style for the custom dropdown */
.custom-dropdown {
    position: relative;
    width: 100%;
    padding: 8px;
    background-color: #1e1e1e;
    color: white;
    border: 1px solid #3687ffd4;
    border-radius: 4px;
    cursor: pointer;
}

/* Style for the custom dropdown list */
.custom-dropdown-list {
    position: absolute;
    width: 100%;
    background-color: #2e2e2e;
    border: 1px solid #3687ffd4;
    border-radius: 4px;
    max-height: 200px; /* Adjust as needed */
    overflow-y: auto; /* Scrollable list */
    z-index: 1000; /* Ensure it's on top */
    display: none; /* Hide initially */
}

/* Style for each item in the custom dropdown list */
.custom-dropdown-item {
    padding: 8px;
    color: white;
    cursor: pointer;
}

.custom-dropdown-item:hover {
    background-color: #003366;
}
#iconsContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
	padding:10px;
	padding-bottom:10px;	
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
    gap: 10px; /* Adjusted spacing between icons */
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.icon-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    margin: 10px;
	padding: 10px;
    padding: 10px; /* Adjust padding as needed */
    width: 64px; /* Set a fixed width */
    height: 64px; /* Set a fixed height */
    box-sizing: border-box; /* Include padding and border in the box's size */
    /* Add other styles as required */
}




.icon-title {
    font-size: 50%; /* Adjusted title font size */
    color: white; /* White color for titles */
    text-align: center; /* Center-align the title */
    margin-top: 5px; /* Space between icon and title */
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .icon-title {
     //   display: none; /* Hide title on mobile devices */
    }
}

.icon-wrapper:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    border-radius: 50%; /* Circular border */
    background-color: rgba(0, 123, 255, 0.3); /* Blue, slightly transparent background on hover */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6); /* Dark shadow effect */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE 10+ y Edge */
    user-select: none;         /* Regla estándar */
}


/* Desktop menu styles */
.desktop-menu {
    display: none; /* Hidden by default */
    position: fixed;
    left: 10px; /* Add a 10px left margin */
    top: 50%; /* Align top to the middle of the page */
    transform: translateY(-50%); /* Center vertically */
    padding: 10px; /* Reduced padding for compactness */
    box-sizing: border-box;
    z-index: 1000; /* Ensures it stays on top of other elements */
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    border-right: 3px solid #3687ff; /* Blue right border */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
    border-radius: 10px; /* Apply border-radius */
	width:270px;
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0; /* Remove default margin */
}

.desktop-menu li {
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent black background */
    margin-bottom: 3px; /* Decreased margin for tighter layout */
    border-radius: 4px; /* Adjust border radius */
    padding: 6px; /* Reduced padding for compactness */
    cursor: pointer;
    text-align: left;
    color: white;
    border: 1px solid white;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 14px; /* Reduced font size for compactness */
}

.desktop-menu li:hover {
    background-color: #003366;
    transform: scale(0.95); /* Subtle decrease in size on hover */
}

.desktop-menu li.active {
    background: #3687ffd4;
    color: white;
    border: 1px solid blue;
}

/* Responsive adjustments */
@media screen and (min-width: 768px) {
    .desktop-menu {
        display: block; /* Show on larger screens */
    }
}

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

}
/* Search Container */
.search-container {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 10;
    display: flex;
    align-items: center;
}

/* Search Input */
#searchInput {
    width: calc(100% - 40px); /* Espacio para el botón de limpieza */
    padding: 10px;
    border: 1px solid #555;
    background-color: black;
    color: white;
    border-radius: 5px;
    box-sizing: border-box;
	opacity:0.8;
}

/* Clear Button inside the Search Input */
#clearSearch {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    text-align: center;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    outline: none;
    border-radius: 50%;
}

#clearSearch:hover {
    background-color: #007bff;
    color: white;
}


/* Search Results Container */
.search-results {
    position: absolute;
    top: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #555;
    border-top: none;
    border-radius: 0 0 5px 5px;
    display: none;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    max-height: 200px;
    overflow-y: auto;
}

/* Individual Search Result */
.search-results div {
    padding: 10px;
    border-top: 1px solid #666;
    cursor: pointer;
    background-color: transparent;
}

.search-results div:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Result Title and Extract */
.result-title {
    font-weight: bold;
}

.result-extract {
    font-size: 0.8em;
    color: #666;
}

/* Highlighted Search Term */
.highlight {
    background-color: yellow;
    color: black;
}

/* Search Tags Container */
.search-tags-container {
    position: fixed;
    top: 60px;
    right: 10px;
    display: flex;
    flex-direction: column;
    max-width: 200px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 20;
}

/* Individual Search Tag */
.search-tag {
    display: inline-block;
    background: #444;
    color: white;
    border-radius: 15px;
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-tag:hover {
    background: #555;
}

/* Delete Emoji in Search Tag */
.search-tag .delete-emoji {
    font-size: 0.6em;
    margin-left: 5px;
    color: #ff6b6b;
}

.search-tag .delete-emoji:hover {
    color: #ccc;
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
    .search-tags-container {
        top: 50px;
        right: 5px;
        max-width: 150px;
    }
	
/* Slide content styling */
.slide-content {
    width: 85%;
    font-size: 15px;
}	
	
	
}

@media screen and (max-width: 600px) {
    /* Ajustes para el logo de la UE y el botón del emoji de correo electrónico */
    #euLogo {
        bottom: 80px; /* Espacio desde el fondo */
        width: 60px; /* Tamaño más pequeño para el logo */
        height: auto; /* Mantiene la proporción */
    }

	#emailEmoji {
        bottom: 80px; /* Espacio desde el fondo */
        width: 30px; /* Tamaño más pequeño para el logo */
        height: auto; /* Mantiene la proporción */
		right : 60px;
    }	
	
    /* Ajustes para el contenido del slide */
    .slide-content {
        width: 85%; /* Ancho ajustado */
        font-size: 15px; /* Tamaño de fuente más pequeño para mejor legibilidad */
        padding: 10px; /* Espacio interno para evitar que el texto esté demasiado apretado */
    }

    /* Ajustes para el contenedor de búsqueda */
    .search-container {
        top: 150px; /* Posición más baja */
    }
}

/* Desktop Menu Scrollable Styles */
@media screen and (min-width: 768px) {
    .desktop-menu {
        max-height: 70vh; /* Maximum height of 80% of the viewport height */
        overflow-y: auto; /* Enable vertical scrolling */
    }
}

/* Custom Scrollbar for Desktop Menu */
.desktop-menu::-webkit-scrollbar {
    width: 8px; /* Scrollbar width */
}

.desktop-menu::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

.desktop-menu::-webkit-scrollbar-thumb {
    background: #007bff; /* Thumb color, blue */
    border-radius: 4px; /* Rounded corners for the thumb */
}

.desktop-menu::-webkit-scrollbar-thumb:hover {
    background: #0056b3; /* Darker blue color on hover */
}


/* Animation for spinning in with Gaudí-inspired effect */
@keyframes spinInGaudi {
    0% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
        filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255,255,255,0.75));
    }
    100% {
        transform: translateX(0) rotate(360deg);
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    }
}

.icon-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    margin: 10px;
    padding: 10px 0; /* Add vertical padding */
}

.fa-icon {
    background: transparent;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    /* White transparent circular glow */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.fa-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: sonarEffect 2s infinite;
    opacity: 0;
}

@keyframes sonarEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.icon-title {
    margin-top: 5px; /* Adjust space between icon and title */
    text-align: center;
    color: #FFF; /* Ensure title is visible */
}



/* Enhanced hover effect */
.icon-wrapper:hover .fa-icon {
    animation: spinHover 0.5s ease-in-out;
    box-shadow: 0 0 15px rgba(255,255,255,0.75);
}

/* Animation for spinning on hover */
@keyframes spinHover {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body, .slide-content, .icon-wrapper, .icon-title {
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Non-prefixed version, currently supported by Chrome, Opera, and Firefox */
}

/* Rounded Border and Custom Scrollbar for NewsCarousel */
.news-carousel-container {
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Hide the default scrollbar */
    width: 320px;
    height: 640px;
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-40%);
    background-color: rgba(0, 0, 0, 0.8);
}

/* Hide news-carousel-container on mobile */
@media screen and (max-width: 768px) {
    .news-carousel-container {
        display: none;
    }
}

.news-carousel-inner {
    width: calc(100% + 20px); /* Add extra space for the scrollbar */
    height: 100%;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    overflow-y: scroll; /* Only vertical scrolling */
    padding-right: 20px; /* Prevent content clipping */
}

/* Styling the Scrollbar (for Webkit browsers) */
.news-carousel-inner::-webkit-scrollbar {
    width: 10px; /* Width of the vertical scrollbar */
}

.news-carousel-inner::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 10px;
}

.news-carousel-inner::-webkit-scrollbar-thumb {
    background: #888; /* Handle color */
    border-radius: 10px;
}

.news-carousel-inner::-webkit-scrollbar-thumb:hover {
    background: #555; /* Handle color on hover */
}

/* Hide Scrollbars (for IE, Edge, and Firefox) */
.news-carousel-inner {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Nice Trip! :) */