.banner-header-blue {
    color: white;
    background-color: #408d8f;
    width: fit-content;
    padding: 5px;
    margin: 0;
}

.banner-header-mauve {
    color: white;
    background-color: #9b628e;
    width: fit-content;
    padding: 5px;
    margin: 0;
}

a {
    color: black;
}

.aspect-1 {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

button[type="submit"]:disabled {
    display: none;
}

button[type="submit"]:not(:disabled) {
    display: block;
    padding: 20px;
    border-radius: 8px;
    border: 0;
    background: #408d8f;
    color: white;
    font-size: 18px;
    min-width: 150px;
}

.aspect-3 {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: fill;
}

.bg-grey {
    background: #E8E6E6;
}

.service-card {
    width: 100%;
}

.letter-spacing-large {
    letter-spacing: 0.35em;
}

.spaced-heading {
    letter-spacing: 0.08em;
}

.spaced-subheading {
    letter-spacing: 0.05em;
}

.min-height-feature {
    min-height: 680px;
    margin: 0!important;
}

.icon-image {
    max-width: 40px;
    max-height: 40px;
}

.logo {
    max-width: 60px;
    height: 52px;
}
.video-height {
    height: 70vh;
}

.text-sm {
    font-size: 14px!important;
}

.center-heading::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background-color: #4B9B9B;
    margin: 25px auto 0;
}

.Latest-news {
    width: 100%;
    aspect-ratio: 1/1;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end
}

    .Latest-news:hover {
        color: #1d8d97;
    }

    .title-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: white;
        padding: 10px;
        box-sizing: border-box;
        z-index: 10;
        display: flex;
        justify-content: end;
        flex-direction: column;
    }


        .title-container:hover {
            color: #1d8d97;
            cursor: pointer;
        }



    .member-name {
        font-family: 'Didot Italic', sans-serif;
        font-size: 18px;
    }

.linkedIn {
    font-size: 42px; 
    color: #999999;
}

.form-input, .form-textarea {
    background-color: #d9e9e9; 
    border: none; 
    border-radius: 5px; 
    padding: 10px; 
    width: 100%; 
    box-sizing: border-box; 
    font-size: 16px; 
    color: #5d6a6a;
}

.form-textarea {
    height: 100px; 
}

label {
    color: #2b5e5f;
}

.button_one {
    background: white;
    color: black;
    border: 1px solid white;
}

.button-two {
    background: white;
    border: 1px black solid;
    padding: 0;
    display: flex;
    width: fit-content;
    align-items: center;
}

.hover-blue:hover {
    background: #408d8f!important;
}

.hover-mauve:hover {
    background: #9b628e!important;
}

.button-two-text {
    padding: 5px 10px;
    border-right: 1px black solid;
    display: flex
}

.button-three {
    background: #90628e;
    border: 1px white solid;
    padding: 0;
    display: flex;
    width: fit-content;
    align-items: center;
    color: white;
}

.button-three-text {
    padding: 5px 10px;
    border-right: 1px white solid;
    display: flex
}

.button-three:hover {
    background: white;
    color: #90628e;
    border: 1px #90628e solid;
}

.button-icon {
    padding: 5px;
}

.button-two:hover {
    background: black;
    color: white;
    border: 1px solid black;
}

.service-icon {
    max-width: 100px;
}

.button_one:hover {
    color: white;
    background: black;
    border: 1px solid white;
}

@media only screen and (max-width: 768px) {
    .table-scroll {
        overflow-x: scroll;
    }
    .table-padding {
        padding: 10px;
    }
}



@media only screen and (min-width: 768px) {
    .service-card {
        width: calc(50% - 2em);
    }
    .Latest-news {
        width: calc(33% - 25px);
    }

        .Latest-news:first-of-type {
            margin-left: 0;
        }

        .Latest-news:last-of-type {
            margin-right: 0;
        }
    .news-post {
        padding: 60px!important;
    }
}


@media only screen and (min-width: 991px) {
    .logo {
        max-width: 75px;
        height: 64px;
    }

    .video-height {
        height: 120vh;
    }
    .text-overlay {
        position: absolute;
        top: -20px!important;
        left: 300px!important;
        color: white;
        text-align: center;
        opacity: 0;
        animation: slideIn 2s forwards;
        background-color: #83b3b4;
        padding: 40px 30px;
        width: 50%!important;
        border-radius: 20px;
    }
    .news-container {
        border-left: 0;
        padding: 35px 35px 0 35px;
    }
}

@media only screen and (min-width: 1200px) {
    .service-card {
        width: calc(33% - 3em);
    }
    .text-overlay {
        width: 33% !important;
    }

}

@media only screen and (min-width: 1400) {
    .text-overlay {
        width: 26% !important;
    }
}


@media only screen and (min-width: 1600) {
    .service-icon {
        max-width: 125px;
    }
}

.news-post {
    padding: 30px;
}

.news-post h1 {
    color: black;
    width: 80%;
    margin-bottom: 30px;
    padding: 0;
}

.news-post p {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 0;
}

.news-post a {
    text-decoration: none;
    color: #408d8f;
}

.news-post a:hover {
    color: #36777a;
    text-decoration: underline;
}

.news-container {
    border: 1px solid #EEECEC;
    padding: 20px 20px 20px 20px;
}

.blog-post-header {
    background-color: #90628e;
}

.article-border {
    border: 1px solid #EEECEC;
}

tr:hover {
    background-color: #E6E6E6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.label {
    flex: 1;
    font-weight: bold;
}

.value {
    flex: 2;
}

footer {
    width: 100%;
}

/* Logo Slider */

.logo-slider-container {
    padding: 20px 0;
}


.logo-slider {
    position: relative;
    width: 100%;
    height: 125px;
    margin: 0 auto;
}

.logo-slider-content {
    position: relative;
    overflow: hidden;
    transition: width 1s;
    height: 100%;
}

.logo-slider-slide {
    height: 100%;
    background-color: white;
    position: absolute;
    z-index: 1;
    transition: left .4s cubic-bezier(.47,.13,.15,.89);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.logo-wrapper {
    height: 100%;
    width: 100%;
    padding: 1rem;
}

.logo-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    cursor: pointer;
    color: white;
    -webkit-user-select: none;
    transform: translateY(-50%);
}

.nav-left {
    left: 0;
}

.nav-right {
    right: 0
}

.text-overlay {
    position: absolute;
    left: 0;
    top: 50%;
    color: white;
    text-align: center;
    width: 100%;
    background-color: #83b3b4;
    transform: translateY(-50%)
}

.border-grey {
    border-color: #B4B4B4;
}

@keyframes slideIn {
    from {
        transform: translate(-10%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-10%, -5%);
        opacity: 1;
    }
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

blockquote {
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    text-align: left;
}

.error-page {
    display: flex;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--clr-accent-2);
}

.custom-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--clr-accent-1);
    color: var(--clr-white);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 260px;
    font-family: inherit;
    overflow: hidden;
}

.popup-header {
    background: var(--clr-accent-1);
    color: var(--clr-white);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.popup-close {
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.popup-body {
    background: #fff;
    color: var(--clr-dark);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popup-button {
    display: inline-block;
    text-align: center;
    background: var(--clr-accent-1);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
    transition: background 0.2s ease;
}

    .popup-button:hover {
        background: var(--clr-accent-2);
    }