:root {
    --gold: #FFC06A;
    --light-gold: #EFEADF;
    --dark-blue: #64898D;
    --darker-blue: #496467;
    --light-grey: #EEEEEE;
    --light-green: #5EB5BF;
    --team-card-font-size: 0.9rem;
    --font-regular: "LatoRegular";
    --font-bold: "LatoBold";
    --font-black: "LatoBlack";
    --font-light: "LatoLight";
    --font-thin: "LatoThin";
    --font-size-h1: 40px;
    --font-size-h2: 24px;
    --font-size-video: 24px;
    --font-size-text: 20px;
}

@media (min-width: 768px) {
    .centered-content {
        padding-left:100px;
        padding-right: 100px;
    }
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-regular);
    overflow-x: hidden;
}

body .bold {
    font-family: var(--font-bold);
}

h1 {
    font-size: var(--font-size-h1);
    font-family: var(--font-light);
}

h2 {
    font-size: var(--font-size-h2);
    font-family: var(--font-bold);
    padding-bottom: 1vh;
}

.snap-container {
    scroll-snap-type: y mandatory;
    /* Reserve space for header plus some extra space for sneak peeking. */
    scroll-padding-top: 0px;
    overflow-y: scroll;
    height: 100vh;
}

.snap-section {
  /* Snap align start. */
  scroll-snap-align: start;
}

/* Hide scrollbars for specific sections only */
.section--no-scrollbar {
    scrollbar-width: none; /* for Firefox */
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
}
  
/* For Chrome, Safari, and Opera, target the specific sections */
.section--no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* NAVBAR */

@media (min-width: 992px) {
    .navbar .container, .navbar .container-fluid {
        align-items: start;
    }

    ul.navbar-nav {
        display: flex;
        flex-direction: column !important;
    }

    .navbar {
        padding-top: 10vh;
        transition: top 0.3s; /* Smooth transition for the slide in/out effect */
        position: fixed; /* Make the navbar fixed to the top */
        top: 0; /* Initial position */
        width: 100%; /* Ensure full width */
        font-family: var(--font-bold);
        font-size: 1.2rem;
        font-weight: 100;
        padding-left: 17vh;
        padding-right: 17vh;
    }

    .navbar-hidden {
        top: -300px; /* Adjust this value based on the height of your navbar */
    }
}

/* BANNER */

.video-placeholder {
    background-color: white; /* White background */
    width: 100%; /* Full width */
    height: 100vh; /* Full height of the viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black; /* Any text color for contrast, if needed */
}

.header-video video {
    width: 100vw; /* This ensures the video is always full width */
    height: 100vh; /* This ensures the video is always full height */
    object-fit: cover; /* This will cover the entire area without stretching */
    background-color: white; /* This will show a white background before the video loads */
}

header li.nav-item {
    text-align: right;
}
header li.nav-item a {
    padding-top: 0px !important;
}

header li.nav-item .nav-link {
    font-family: var(--font-regular) !important;
    color: black !important;
}
header li.active .nav-link {
    font-family: var(--font-bold) !important;
}

.header-video {
    position: relative;
    line-height: 0px;
}

.overlay-svg {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    /* Additional styling if needed (size, etc.) */
}

@media (max-width: 577px) {
    .header-video {
        height: 100vh;
        display: flex;          /* Enable Flexbox */
        justify-content: center; /* Horizontally center content (if needed) */
        align-items: center;    /* Vertically center content */
        height: 100vh;          /* Fixed height */
        overflow: hidden;       /* Hide overflow */
    }

    .overlay-svg {
        bottom: 40px;
    }
}


/* FIRST TRANSITION SECTION */

#first-transition {
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color: var(--light-grey);
    color: var(--gold);
    /* 
    background-color: var(--gold);
    color: var(--white);
     */
    font-family: var(--font-light);
    line-height: 42px;
    letter-spacing: 1px;
    font-weight: 800;
    font-size: 24px;
}
#first-transition b {
    font-family: var(--font-bold);
    font-weight: 100;
}

#first-transition p {
    margin-bottom: 0px;
}

#first-transition span {
    font-family: var(--font-bold);
}

@media (max-width: 992px) {
    #first-transition {
        font-size: 24px;
    }
}

/* VIDEOS */

#why-us {
    background-color: var(--light-grey);
    font-family: var(--font-light);
    color: var(--dark-blue);
    letter-spacing: 1px;
    font-weight: 800;
    font-size: 24px;
}

#why-us b {
    font-family: var(--font-bold);
}

@media (min-width: 992px) {

    #why-us {
        font-size: 24px;
    }

    #why-us .container {
        padding-top: 0vh;
        padding-bottom: 0vh;
    }

    #why-us .row {
        padding-top: 0vh;
        padding-bottom: 0vh;
        height: 100vh;
        position: relative;
    }

    #why-us video {
        overflow: hidden; /* Hide overflow to prevent scrollbars */
        max-height: 100vh;
    }

    #why-us #video-text-1 {
        position: absolute;
        top: 25%;
        transform: translateY(-50%);
    }
    #why-us #video-text-2 {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    #why-us #video-text-3 {
        margin-top: 75%;
        transform: translateY(-50%);
    }
}

@media (max-width: 992px) {
    #why-us {
        font-size: 24px;
    }

    #why-us .container {
        padding-left: 9vw;
        padding-right: 9vw;
    }

    #why-us .row {
        padding-top: 10vh;
        padding-bottom: 10vh;
        position: relative;
        height: 100vh;
        overflow-y: scroll;
    }
}

@media (max-width: 575.40px) {
    #why-us {
        font-size: 3.2vh;
    }

    #why-us .row {
        padding-top: 9vh;
        padding-bottom: 9vh;
    }
}

#scroll-progress-bar {
    position: fixed;
    left: 4vw; /* Adjust as needed */
    top: 15vh; /* Spacing from the top */
    bottom: 15vh; /* Spacing from the bottom */
    width: 8px; /* Width of the progress bar */
    background-color: transparent; /* Background color */
    border: 1px solid var(--gold); /* Border color (adjust as needed) */
    z-index: 1000;
    visibility: hidden;
}



#scroll-progress-bar-inner {
    position: absolute;
    top: 0; /* Changed from bottom to top */
    left: 0;
    width: 100%;
    height: 0; /* Initially no height */
    background-color: var(--gold); /* Color of the progress indicator */
    transition: height 0.3s ease; /* Smooth transition for height change */
}


/* BENEFITS */

.site-wrapper {
    width: 100%;
    overflow-x: hidden; /* This will hide any horizontal overflow */
  }

#benefits {
    position: relative;
    padding-top: 15vh;
    padding-bottom: 15vh;
    background-color: var(--dark-blue);
    color: white;
    font-family: var(--font-light);
    font-size: var(--font-size-text);
}

#benefits .service-item {
    padding-top: 7vh;
}

.benefits-svg {
    position: absolute;
    right: -5%; /* 100% - 80% */
    top: 15%; /* Center vertically - adjust as needed */
    height: 60%; /* 80% of the parent element's height */
    display: block;
    overflow: hidden; /* Hide overflow to the right */
}

@media (max-width: 992px) {
    .benefits-svg {
        display: none; /* Hide SVG on smaller screens */
    }
}

/* TESTIMONIALS SECTION */

#testimonials {
    padding-top: 10vh;
    padding-bottom: 15vh;
    background-color: white;
}

#testimonials .testimonial-wrapper {
    border-style: solid;
    border-color: var(--dark-blue);
    border-width: 2px;
    color: var(--dark-blue);
    padding: 15px;
    text-align: center;
}

#testimonials h1 {
    color: var(--dark-blue);
    padding-bottom: 8vh;
}

#testimonials .testimonial-wrapper h1 {
    font-size: 1.5rem;
    padding-top: 15px;
    padding-bottom: 0px;
    font-weight: 486;
}

#testimonials .testimonial-wrapper h2 {
    font-size: 1rem;
    font-family: var(--font-bold);
    padding-top: 0px;
    font-weight: 486;
}

#testimonials .testimonial-wrapper .testimonial {
    padding-bottom: 25px;
    font-size: var(--font-size-text);
    font-family: var(--font-light);
    font-weight: 500;
}

.carousel-indicators {
    justify-content: center; /* Centers the elements horizontally */
    list-style: none; /* Removes default list styling */
    padding: 10px; /* Removes default padding */
    height: 10px; /* Height of the bar */
    bottom: -7vh;
}

.carousel-indicators li {
    flex: 1; /* Distributes space evenly among li elements */
    background-color: transparent; /* No fill initially */
    transition: background-color 0.3s; /* Smooth transition for fill */
    border: 1px solid var(--dark-blue); /* Border color (adjust as needed) */
    height: 5px;
}

.carousel-indicators .active {
    background-color: var(--dark-blue); /* Fill color for active section */
    height: 5px;
}

#testimonials .testimonial-wrapper {
    /* Override Bootstrap grid for smaller screens */
    height: 280px;
}

/* CSS for screens with width less than 576px */
@media (max-width: 1150px) {
    #testimonials .testimonial-wrapper {
        /* Override Bootstrap grid for smaller screens */
        flex: 0 0 100%;
        max-width: 100%;
        height: 300px;
    }
}

/* CSS for screens with width less than 576px */
@media (max-width: 830px) {
    #testimonials .testimonial-wrapper {
        /* Override Bootstrap grid for smaller screens */
        flex: 0 0 100%;
        max-width: 100%;
        height: 325px;
    }
}

/* CSS for screens with width less than 576px */
@media (max-width: 575.98px) {
    #testimonials .testimonial-wrapper {
        /* Override Bootstrap grid for smaller screens */
        flex: 0 0 100%;
        max-width: 100%;
        height: 290px;
    }
}

/* CSS for screens with width less than 576px */
@media (max-width: 420px) {
    #testimonials .testimonial-wrapper {
        /* Override Bootstrap grid for smaller screens */
        flex: 0 0 100%;
        max-width: 100%;
        height: 370px;
    }
}


/* SERVICES */

#services {
    position: relative;
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color: var(--light-gold);
    color: var(--dark-blue);
    font-size: var(--font-size-text);
    font-family: var(--font-light);
}

#services .row {
    padding-top: 0vh;
    padding-bottom: 0vh;
}

#services h1 {
    padding-bottom: 8vh;
}

#services p {
    margin-bottom: 0vh;
}

#services .service-item {
    padding-bottom: 5vh;
}

.services-svg-1 {
    position: absolute;
    right: -1%; /* 100% - 80% */
    top: 3%; /* Center vertically - adjust as needed */
    height: 30%; /* 80% of the parent element's height */
    display: block;
    overflow-x: hidden; /* Hide overflow to the right */
}

@media (max-width: 992px) {
    .services-svg-1 {
        display: none; /* Hide SVG on smaller screens */
    }
}

.services-svg-2 {
    position: absolute;
    right: -4%; /* 100% - 80% */
    top: 40%; /* Center vertically - adjust as needed */
    height: 15%; /* 80% of the parent element's height */
    display: block;
    overflow-x: hidden; /* Hide overflow to the right */
}

@media (max-width: 992px) {
    .services-svg-2 {
        display: none; /* Hide SVG on smaller screens */
    }
}

.services-svg-3 {
    position: absolute;
    right: 90%; /* 100% - 80% */
    top: 60%; /* Center vertically - adjust as needed */
    height: 28%; /* 80% of the parent element's height */
    display: block;
    overflow-x: hidden; /* Hide overflow to the right */
}

@media (max-width: 992px) {
    .services-svg-3 {
        display: none; /* Hide SVG on smaller screens */
    }
}

/* TEAM */

@media (max-width: 767.98px) { /* Targets screens smaller than 768px */
    .carousel-control-prev, .carousel-control-next {
      display: none;
    }
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
}

.carousel-control-prev {
    left: -10%;
}

.carousel-control-next {
    right: -10%;
}

/* Adjust the z-index if needed to ensure arrows are clickable and visible */
.carousel-control-prev, .carousel-control-next {
    z-index: 1;
}


#team {
    position: relative;
    padding-top: 15vh;
    padding-bottom: 15vh;
    background-color: var(--dark-blue);
    color: white;
}

#team h1 {
    padding-bottom: 5vh;
}

#team .team-card {
    padding-top: 3vh;
    padding-bottom: 3vh;
}

#team img.icon {
    height: var(--team-card-font-size);
}

.img-thumbnail {
    padding: 0rem !important;
    background-color: #fff;
    border: 0px solid #dee2e6;
}

.social-link {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: var(--team-card-font-size);
}

.social-link:hover, .social-link:focus {
    background: #ddd;
    text-decoration: none;
    color: #555;
}

#team i {
    font-size: 24px;
}

/* CONTACT */

#contact {
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color: white;
    color: var(--dark-blue);
}

#contact .container {
    padding-top: 0vh;
    padding-bottom: 0vh;
}

#contact h1 {
    padding-bottom: 5vh;
}

#contact .row {
    padding-top: 0;
    padding-bottom: 0;
}

#contact .form-group {
    margin-bottom: 0px;
}

#contact .form-input {
    margin-bottom: 1rem;
}

#contact small.form-text, .text-muted {
    color: var(--dark-blue) !important;
}

#contact button {
    background-color: var(--dark-blue) !important;
    border-width: 0px;
}

#contact button:hover {
    background-color: var(--darker-blue) !important;
}

#contact a {
    color: var(--dark-blue);
    font-family: var(--font-bold);
}

footer {
    background-color: white;
    color: var(--dark-blue);
}

footer .row {
    padding-top: 5vh !important;
    padding-bottom: 5vh !important;
}

/* ALERTS */

.alert-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050; /* High z-index to ensure it appears above other content */
    display: flex;
    justify-content: center; /* Center the alert horizontally */
    align-items: center;
    padding: 10px;
}


/* BACKUP */

#swarm-in-numbers .row {
    padding-top: 2vh;
    padding-bottom: 2vh;
}

#swarm-in-numbers h1 {
    font-size: var(--font-size-header) !important;
    font-family: var(--font-family-header);
    font-weight: var(--font-weight-header);
    color: var(--darker-blue);
}

#swarm-in-numbers p.subtitle {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: white;
}

#swarm-in-numbers span.counter, span.plus {
    font-size: 4rem !important;
    font-weight: 900 !important;
    color: white;
}

#swarm-in-numbers p {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    color: white;
}