#map {
    height: 600px;
    width: 100%;
}

/* Glacial Lake Page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.page-header h1 {
    margin: 0;
    font-size: 2.5em;
}

.container {
    flex: 1;
    padding: 20px;
}

.content-section {
    margin-bottom: 40px;
}

.image-frame iframe {
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Slider */
.slider-container {
    position: relative;
    width: 80vw;
    max-width: 800px;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.slider-image {
    display: block;
    width: 100%;
    height: auto;
}

.slider-before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 3px;
    background-color: #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    cursor: ew-resize;
    z-index: 10;
}

/* Styles for the new info labels */
.image-info {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    z-index: 5;
}

.image-info.after {
    left: auto;
    right: 10px;
}

/* About Us */
.bio-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bio-box img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #0d6efd;
    margin-bottom: 15px;
}

.bio-box h5,
.bio-box p {
    margin: 0;
    padding: 0;
}

.bio-box .card-text {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
}

.social-icons a {
    color: #0d6efd;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0a58ca;
}

.social-text-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Map Button */
.recenter-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Button */
#lake-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

#lake-nav .btn {
    margin: 0;
}

/* Styling for the master footer layout */
.footer-master {
    background-color: transparent;
    color: #333;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.footer-section {
    flex-basis: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h5 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.logo-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.dark-line {
    border-top: 2px solid #fff;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.footer-credits {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
}

/* New responsive styles for small screens */
@media (max-width: 767.98px) {
    .social-icons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .social-text-link {
        white-space: normal;
        justify-content: flex-start;
        width: 100%;
        overflow-wrap: anywhere;
        hyphens: auto;
    }
    .social-icons a {
        margin: 0;
    }
    .footer-grid {
        justify-content: center;
        gap: 2rem;
    }
}
