.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 70vw;
    /* 50% of the viewport width */
    height: 100%;
    /* Height of the hero section */
    background: linear-gradient(to bottom right, #06768D 10%, rgba(0, 0, 0, 0) 90%);
    z-index: 2;
    /* Adjust for cross-browser compatibility */
    background: -webkit-linear-gradient(top left, #06768D 10%, rgba(0, 0, 0, 0) 90%);
    /* For Safari */
}

.section-title {
    font-size: 36px; /* Default font size for small screens */
}

@media (min-width: 576px) {
    .section-title {
        font-size: 48px; /* Font size for small to medium screens */
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 54px; /* Font size for medium screens */
    }
}

@media (min-width: 1200px) {
    .section-title {
        font-size: 72px; /* Font size for extra-large screens */
    }
}

.text-overlay h2 {
    font-family: Helvetica, sans-serif !important;
    font-weight: bold !important;
    color: #FFFAFA !important;
    font-size: 3rem !important;
}

.text-overlay2 {
    position: absolute;
    top: 25%;
    /* Adjust as needed */
    left: 0;
    /* Adjust as needed */
    color: white;
    z-index: 3;
    margin-left: 8%;
    width: 40%;
}

.text-overlay2 h2 {
    font-family: Helvetica, sans-serif !important;
    font-weight: bold !important;
    color: #FFFAFA !important;
    font-size: 4rem !important;
}

.text-overlay2 p {
    font-family: Helvetica, sans-serif !important;
    font-weight: 400 !important;
    color: #FFFAFA !important;
    font-size: 1.15rem !important;
}

.text-overlay2 .highlight {
    font-weight: bold;
    color: #97ebfc;
}


.p-8 {
    padding: 15px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    margin-top: -3px;
    width: 100%;
}

.timeline:first-child {
    margin-top: 3px;
}

.timeline:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline .item {
    position: relative;
    height: 480px;
    width: 33.33%;
}

@media (max-width: 1439.98px) {
    .timeline .item {
        width: 50%;
    }
}

@media (max-width: 767.98px) {
    .timeline .item {
        width: 100%;
    }
}

@media (max-width: 767.98px) {

    .timeline .item h2 {
        font-size: 18px !important;
    }

    .timeline .item p {
        font-size: 16px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .timeline .item h2 {
        font-size: 22px !important;
    }

    .timeline .item p {
        font-size: 18px !important;
    }
}

@media (min-width: 992px) {

    .timeline .item h2 {
        font-size: 25px !important;
    }

    .timeline .item p {
        font-size: 21px !important;
    }
}

.timeline .item::before {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 50%;
    border-top: dashed 2px rgb(131, 131, 131);
    border-bottom: dashed 2px transparent;
    top: 0;
}

.timeline .item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    border-top: dashed 2px rgb(131, 131, 131);
}

.timeline:nth-child(odd) .item:last-child::after {
    border-right: dashed 2px rgb(131, 131, 131);
    border-bottom: dashed 2px rgb(131, 131, 131);
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.timeline:nth-child(even) .item:last-child::before {
    border-left: dashed 2px rgb(131, 131, 131);
    border-bottom: dashed 2px rgb(131, 131, 131);
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline:nth-child(odd) .item:first-child::before {
    border: none;
}

.timeline:nth-child(even) .item:first-child::after {
    border: none;
}

.timeline:last-child:nth-child(odd) .item:last-child::after,
.timeline:last-child:nth-child(even) .item:last-child::before {
    border: none;
}

.timeline .item .subitem {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -35px;
    z-index: 10;
}

.timeline .item .circle {
    height: 80px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    padding: 15px;
    margin-top: 5px;
    position: relative;
    border-radius: 10px;
    height: 210px;
    width: 400px;
    border: transparent 2px solid;
}

@media (max-width: 767.98px) { /* Small screens (sm) */
    .content {
        width: 200px;
        padding: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) { /* Medium screens (md) */
    .content {
        width: 300px;
        padding: 12px;
    }
}

@media (min-width: 992px) { /* Large screens (lg) */
    .content {
        width: 400px;
        padding: 15px;
    }
}

.text-primary {
    color: #008080 !important;
}

.title-offset {
    position: relative;
    display: inline-block;
}

.background-text {
    position: absolute;
    bottom: 0;
    left: 5px;
    font-weight: bold;
    font-size: 4rem;
    color: rgba(6, 118, 141, 0.1);
    z-index: 1;
    text-wrap: nowrap;
}

.foreground-text {
    bottom: 0;
    left: 0;
    position: relative;
    font-weight: bold;
    font-size: 3rem;
    color: #06768D;
    z-index: 2;
}

.container-custom {
    max-width: 90%;
    min-height: 100vh;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    top: 0;
}

.hero .back-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    object-fit: cover;
    /* Make sure this is set to cover */
    object-position: top;
    /* Align the image to the top */
    z-index: -1;

}

.white-section {
    background: #fffafa;
    position: relative;
    z-index: 0;
}

/* Sidebar styling */
.sidebar-wrapper {
    width: 60px;
    height: 100vh;
    background-color: #06768D;
    position: sticky;
    top: 0;
    left: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.5s ease;
    white-space: nowrap;
}

@media (min-width: 992px) { /* Large screens (lg) */
    .sidebar-wrapper:hover {
        width: 250px;
    }
}

.sidebar-nav {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    top: 0;
    left: 0;
}

.sidebar-nav li {
    display: flex;
    align-items: center;
    line-height: 42px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 25px;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

.sidebar-nav .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
}

.sidebar-nav .text {
    flex: 1;
}

.sidebar-nav li a i {
    font-size: 24px;
}

.sidebar-nav li.active,
.sidebar-nav li:hover {
    background: #045a6f;
}

.sidebar-nav li.active a,
.sidebar-nav li:hover a {
    color: white;
}

.hidden {
    display: none;
}

.view-more-container {
    text-align: center;
    /* Center the button horizontally */
    margin-top: 20px;
    /* Optional: add some space above the button */
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

@media only screen and (max-width: 1440px) {

    .hero .text-overlay2 {
        top: 30%;
        width: 40%;
    }

    .text-overlay2 h2 {
        font-size: 2.8rem !important;
    }

    .text-overlay2 .highlight {
        font-size: 3.2rem !important;
    }

    .text-overlay2 p {
        font-size: 1rem !important;
        text-shadow: 2px 2px 4px rgba(46, 46, 46, 0.5); 
    }

    .ndt-card-desc{
        height: 70%;
    }

    .ndt-card-description {
        font-size: 0.9rem !important;
    }

}


@media only screen and (max-width: 900px) {

    .hero {
        height: 70vh;
    }

    .hero .back-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .hero .overlay-gradient {
        background: radial-gradient(circle at top left, #6bbaca, rgba(0, 0, 0, 0) 80%);
        width: 100vw;
        /* 50% of the viewport width */
        height: 100%;
        /* Height of the hero section */
    }

    .hero .text-overlay2 {
        top: 20%;
        width: 70%;
    }

    .text-overlay2 h2 {
        font-size: 2rem !important;
    }

    .text-overlay2 .highlight {
        color: #06768D;
        font-size: 3rem !important;
        text-shadow: 2px 2px 4px #FFFAFA;
    }

    .text-overlay2 p {
        font-size: 0.8rem !important;
        text-shadow: 2px 2px 4px rgba(46, 46, 46, 0.5);
    }

    .title-content h2 {
        font-size: 1.5rem !important;
    }

    
}

@media only screen and (max-width: 500px) {

    .background-text{
        text-wrap: wrap;
    }
}