.header-bottom,
.header.active .header-bottom {
    position: sticky;
    background: var(--navy);
    bottom: auto;
    top: 0;
    width: 100%;
    padding-block: 20px;
    /* box-shadow: 0 10px 50px hsla(237, 71%, 52%, 0.2); */
    animation: slideDown 0.25s ease-in-out forwards;
}

@keyframes slideDown {
    0% {
        position: sticky;
        background: var(--raisin-black-1);
    }

    100% {
        position: sticky;
        background: var(--raisin-black-1);
    }
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    color: var(--prussian-blue);
}



.construction-container {
    margin-inline: auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-top: 10rem;
}



.page-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Flexbox Container */
.construction-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Logic: 3 Columns */
.construction-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    /* Calculate width for 3 columns minus the gaps */
    flex: 1 1 calc(100% - 25px);
    transition: transform 0.3s ease;
}

.construction-card img {
    border: 2px solid var(--prussian-blue);

}

/* Image Styling */
.construction-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text Content Area */
.construction-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.construction-header {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.construction-details {
    font-size: 18px;
    color: var(--black);
    margin-bottom: 20px;
    flex-grow: 1;
}

.construction-details-ul li {
    list-style-type: disc;
    font-size: 18px;
    color: var(--black);
    margin-bottom: 1rem;
}

.construction-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.construction-details-table th,
.construction-details-table td {
    padding: 0.5rem;
    text-align: left;
}


/* --- Responsive Breakpoints --- */

/* Tablet View: 2 Columns */
@media (max-width: 992px) {
    .construction-card {
        flex: 1 1 calc(50% - 25px);
    }
}

/* **************************Main container clips the overflowing images */
.slideshow-container {
    width: 100%;
    max-width: 2000px;
    height: auto;
    max-height: 800px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #000;
    margin: 0 auto;
}

/* The "filmstrip" track that holds all images in a row */
.slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    /* This transition handles the smooth sliding animation */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Each slide takes up exactly 100% of the container's width */
.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}
/* ********************************** */

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Mobile View: 1 Column */
@media (max-width: 600px) {
    .construction-card {
        flex: 1 1 100%;
    }

    #loadingMsg {
        color: white;
        text-align: center;
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        z-index: 5;
    }
}
@media (min-width: 600px) {
    .construction-monthly-container {
        max-width: 550px;
        margin-inline: auto;
    }
}
@media (min-width: 768px) {
    .construction-monthly-container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .construction-monthly-container {
        max-width: 970px;
    }
}
@media (min-width: 1200px) {
    .construction-monthly-container {
        max-width: 1200px;
    }
}
@media (min-width: 1500px) {
    .construction-monthly-container {
        max-width: 1500px;
    }
}
@media (min-width: 2000px) {
    .construction-monthly-container {
        max-width: 2000px;
    }
}
