body {
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

#left-slider-trigger {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #a2b4cf;
    width: 20px;
    height: 80px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above the slider */
    opacity: 0.5; /* Subtle appearance when hidden */
    transition: opacity 0.3s ease;
}

#left-slider-trigger:hover {
    opacity: 1;
}

#left-slider {
    position: fixed;
    top: 0;
    left: -80px; /* Initially hidden */
    width: 80px;
    height: 100%;
    background-color: #ffffff;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    padding: 15px 0; /* Slightly reduced top/bottom padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* Enable scrolling if menu is long */
}

#left-slider.open {
    left: 0;
}

#left-slider img {
    width: 50px; /* Slightly smaller logo */
    margin-bottom: 10px; /* Reduced margin */
}

.separator {
    width: 50%; /* Slightly smaller separator */
    height: 1px;
    background-color: #000000;
    margin: 8px 0; /* Reduced margin */
}

.menu-node {
    color: #000000;
    text-decoration: none;
    margin-bottom: 3px; /* Further reduced margin */
    width: 100%;
    font-size: 0.9em; /* Smaller font size for menu items */
}

.parent-node {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0; /* Reduced padding */
    cursor: pointer;
}

.parent-node i {
    font-size: 1.2em; /* Smaller arrow size */
    transition: transform 0.2s ease-in-out; /* For arrow rotation */
}

.parent-node.open i {
    transform: rotate(90deg); /* Rotate arrow when submenu is open */
}

.children-list {
    list-style: none;
    padding-left: 8px; /* Reduced padding */
    margin-bottom: 3px; /* Further reduced margin */
    display: none; /* Initially hidden */
}

.children-list.open {
    display: block;
}

.children-list li a {
    display: block;
    color: #000000;
    text-decoration: none;
    padding: 6px 0; /* Reduced padding */
    font-size: 0.85em; /* Even smaller font size for submenu items */
}

.children-list li a:hover {
    text-decoration: underline;
}
#spotifyModal {
    z-index: 1051;
}

#spotifyPanel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #191414;
    color: #fff;
    padding: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: transform 0.3s ease-in-out; /* Added transition */
  }
#spotifyPanel.show{
    display: flex;
    transform: translateY(0); /* Slide in when shown */
}

#spotifyPanel iframe {
    border-radius: 10px;
}
.spotify-embed-wrapper{
    width: 100%;
}
#spotifyPanelTail {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #191414;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10001;
    border-top-right-radius: 5px;
    display: none; /* Initially hidden */
    transition: opacity 0.2s ease;
  }

  #spotifyPanelTail.show {
    display: block; /* Show the tail */
  }

  #spotifyPanelTail:hover {
    opacity: 0.7;
  }
@media (max-width: 768px) {
#spotifyPanel {
    flex-direction: column;
}
.spotify-embed-wrapper{
    width: 95%;
}
}

/* NEWS */
#newsPanel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    color: #333;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: transform 0.3s ease-in-out;
    
    overflow-y: auto;
    max-height: 80vh;
  }

  #newsPanel.show {
    display: flex;
    transform: translateY(0);
  }

  #newsPanel .news-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
  }

  #newsPanel .news-item:last-child {
    border-bottom: none;
  }

  #newsPanel .news-item:hover {
    background-color: #eee;
  }

  #newsPanel .news-item h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
    color: #0078d7;
  }

  #newsPanel .news-item p {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #333;
  }

  #newsPanel .news-item a {
    color: #0078d7;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
  }

  #newsPanel .news-item a:hover {
    text-decoration: underline;
  }

  .news-embed-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  #newsPanelTail {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10001;
    display: none;
    transition: opacity 0.2s ease;
  }

  #newsPanelTail.show {
    display: block;
  }

  #newsPanelTail:hover {
    opacity: 0.7;
  }

/* Hidden Top Slider Styles */
#top-slider {
    position: fixed;
    top: -42px;
    left: 0;
    width: 40%;
    height: 42px;
    background-color: #1D809F;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: top 0.3s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    #top-slider.show {
        top: 0;
    }

    #top-slider.initial-show {
        top: -38px;
    }

    #top-slider:hover {
        top: 0;
    }

    #top-slider .column {
        display: flex;
        align-items: center;
        height: 100%;
    }

        #top-slider .column:nth-child(1) {
            margin-right: 10px;
        }

        #top-slider .column:nth-child(2) {
            margin-right: 10px;
        }

.circle-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    /* border: 2px solid white; */
}

    .circle-button:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .circle-button img {
        width: 60%;
        height: auto;
    }

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1D809F;
    padding: 5px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
}

    .sub-menu.show {
        display: block;
    }

    .sub-menu li {
        padding: 8px 15px;
        white-space: nowrap;
        cursor: pointer;
        transition: background-color 0.2s ease;
        color: white;
    }

        .sub-menu li:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

.search-container {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    border: 1px solid #ccc;
    height: 30px;
}

.search-input {
    border: none;
    padding: 8px 10px;
    font-size: 14px;
    width: 150px;
    transition: width 0.3s ease;
    outline: none;
    height: 100%;
}

    .search-input:focus {
        width: 250px;
    }

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 100%;
    cursor: pointer;
    background-color: white;
}

    .search-icon i {
        color: #007bff;
    }

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    #top-slider {
        width: 100%;
        border-radius: 0;
    }

    .search-input:focus {
        width: 150px;
    }
}
#contactModalBtn {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 1050;
    cursor: pointer;
    display: flex; /* Use flexbox for centering */
    align-items: center;
    justify-content: center; /* Center the icon horizontally */
    width: 2.5rem; /* Make it square-like */
    height: 2.5rem;
    border-radius: 50%; /* Make it a circle */
    background-color: rgba(13, 110, 253, 0.1); /* Bootstrap's primary subtle, but with alpha */
    border: 1px solid rgba(13, 110, 253, 0.3); /* primary border, with alpha */
    color: #0d6efd; /* Bootstrap's primary color */
    transition: all 0.2s ease-in-out; /* Smooth transition */
  }

  #contactModalBtn:hover {
    filter: brightness(110%); /* Increase brightness on hover */
    box-shadow: 0 0 5px #0d6efd; /* Add a subtle glow */
  }

  #contactModalBtn i {
    margin-right: 0; /* Remove right margin, now centered */
    font-size: 1.2rem; /* Adjust icon size as needed */
  }

  #contactModal .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(100%);
  }

  #contactModal.show .modal-dialog {
    transform: translateY(0);
  }