#video {
    padding-top: 100px;
    /* Adjust based on nav + subnav height */
}

.services-page .parallax {
    /* display: none; */
    position: relative;
    opacity: 1;
    /* Remove dimming from opacity and use overlay instead */
}

.services-page .parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.35);
    /* adjust to taste */
    z-index: 1;
}



.services-subnav {
    position: sticky;
    top: 80px;
    /* height of your main nav */
    z-index: 999;
    /* background: linear-gradient(135deg, #0e0e0e, #021526, #2c2c2c); */
    background: #a91f23;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: 10px;
}

.services-subnav a {
    color: #F8FAFC;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 8px 30px;
    transition: color 0.3s;
    white-space: nowrap;
}

.content-section {
    scroll-margin-top: 140px;
    /* Adjust based on nav + subnav height */
}

.services-overlay-title {
    /* background: linear-gradient(135deg, #0e0e0e, #021526, #2c2c2c); */
    /* your signature blue gradient */
    text-align: center;
    padding: 10px 0 0px;
    font-family: 'Orbitron', sans-serif;
    color: #F8FAFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    line-height: 1 !important;
    /* 🔧 Crucial */

}

.services-overlay-title h2 {
    font-size: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* === SERVICE CONTENT === */
.services-page .service-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 75px 20px 140px;
    /* includes room for carousel */
    max-width: 1200px;
    margin: 0 auto;
    color: #F8FAFC;
    font-family: 'Orbitron', sans-serif;
}


/* .services-page .service-blurb p {
    background: rgba(15, 20, 30, 0.85);
    border: 4px solid #F8FAFC;
    padding: 20px;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
} */



/* === SERVICE CONTENT SECTION === */

/* === Two-Column Service Blurb === */
.two-column-blurb {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.blurb-left {
    flex: 1 1 300px;
    font-family: 'Orbitron', sans-serif;
    color: #F8FAFC;

    display: flex;
    justify-content: center;
    /* Center the list inside */
}

/* .blurb-right {
    padding: 5%;
    flex: 1 1 300px;
    font-family: 'Orbitron', sans-serif;
    color: #F8FAFC;
} */

.blurb-left,
.blurb-right {
    background: rgba(15, 20, 30, 0.75);
    border: 3px solid #00ff88;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.1);
    padding: 20px;
    flex: 1 1 300px;
    min-height: 240px;
    /* Force both to the same height */
    font-family: 'Orbitron', sans-serif;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    /* Vertically center content */
    justify-content: center;
    text-align: left;
}

/* Make sure the inner bullet list and paragraph don't stretch things */
.blurb-list,
.blurb-right p {
    margin: 0;
    width: 100%;
}



/* Left bullet list */
.blurb-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

.blurb-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.6;
}

.blurb-list li::before {
    content: '\f058';
    /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

/* Right side text */
/* .blurb-right p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
    background: rgba(15, 20, 30, 0.75);
    padding: 16px;
    border-left: 40px solid #00ff88; 
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.1);
} */

/* .service-blurb-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
    align-items: center; 
  } */

/* .service-blurb p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
} */

.image-carousel {
    position: relative;
    /* default or relative works */
    width: 100%;
    height: 120px;
    /* background: rgba(0, 0, 0, 0.7); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    margin-top: 69px;
    border-radius: 8px;
}

.service-icons {
    text-align: center;
    margin-bottom: 20px;
}

/* .service-icons img {
    height: 70px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(1) invert(1);
    opacity: 0.95;
} */

.services-overlay-title .service-icons {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;

}

.services-overlay-title .service-icons img {
    height: 50px;
    max-height: 60px;
    filter: brightness(1) invert(1);
    opacity: 0.95;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
}

.content-section,
.service-icons {
    background-color: transparent !important;
}

.carousel-arrow {
    background: none;
    border: none;
    color: #F8FAFC;
    font-size: 2rem;
    cursor: pointer;
    z-index: 4;
}

.carousel-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(100%);
    transition: opacity 0.2s ease;
}


.carousel-track {
    display: flex;
    overflow-x: auto; /* let it scroll horizontally */
    overflow-y: hidden;
    gap: 10px;
    scroll-behavior: smooth;
    position: relative;
    width: 100%; /* Let it fill container */
    height: 130px;
    scroll-snap-type: x mandatory;
}


.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-image-card {
    flex: 0 0 33%;
    /* shows only one at a time */
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.carousel-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-image-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* === IMAGE MODAL === */


.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal .modal-content {
    display: block;
    margin: auto;
    margin-top: 30px;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover {
    color: #ccc;
}

.servLearn {
    margin-top: 40px;
}









@media (max-width: 768px) {
    /* .services-subnav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 15px 10px;
        height: auto;
    }

    .services-subnav a {
        flex: 1 1 30%;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 5px;
    } */

    .services-subnav {
        background: #a91f23 !important; 
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        padding: 10px;
        height: auto;
        gap: 12px;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE */
    }

    .services-subnav::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .services-subnav a {
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: 0.8rem;
    }


    .carousel-image-card {
        height: 100px;
        max-width: 100%;

    }

    .carousel-arrow {
        font-size: 1.5rem;
    }

    .service-blurb p {
        font-size: 0.95rem;
    }

    .two-column-blurb {
        flex-direction: column;
    }

    .blurb-left,
    .blurb-right {
        flex: 1 1 100%;
    }

    .carousel-track {
        top: 25%;
    }

    /* .image-modal {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .image-modal img#modalImg {
        max-width: 100%;
        max-height: 80vh;
        height: auto;
        width: auto;
        margin: 0 auto;
    } */
}