.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
    color: #fff;
    font-family: "Tenor Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-image: url("assets/bg-office.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}



h1 {
    font-size: 2.5rem;
    margin: 20px 0;
}

header a {
    text-decoration: none;
}

header {
    padding: 0 20px;
    background-color: #1d1f1d;
    height: 50px;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* Left shadow */
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    height: 50px;
    margin: 0 auto;
}

#brand {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
}

#brand a {
    color: lightskyblue;
    transition: 0.3s;
}

#brand a:hover {
    color: rgb(2, 137, 221);
    transform: scale(1.1) translateX(5px);
    transition: 0.3s;
}

#brand img {
    margin-right: 10px;
}

ul {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

ul a {
    color: white
}

ul li {
    padding: 5px;
    margin-left: 10px;
    transition: 0.3s;
}

.desk-menu-item::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: lightskyblue;
    transition: width 0.3s;
}


.desk-menu-item:hover::after {
    width: 100%;
}

#mobile-menu {
    display: none;
}


ul li a:hover {
    /* transform: scale(1.1); */
    transition: 0.3s;
    color: lightskyblue;
}


#signup {
    border-radius: 5px;
    padding: 5px 8px;
    border: 1px solid dodgerblue;
}

#signup:hover {
    background-color: lightskyblue;
    border: 1px solid dodgerblue;
}

#signup a {
    color: dodgerblue;
}

#signup a:hover {
    color: darkslateblue;
}

#hamburger-icon {
    margin: auto 0;
    width: 35px;
    padding-top: 10px;
    display: none;
    cursor: pointer;
    /* background-color: aqua; */
}

#hamburger-icon div {
    width: 25px;
    height: 2px;
    background-color: lightskyblue;
    margin: 5px 0;
    transition: 0.4s;
}



.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 4px);
    transform: rotate(-45deg) translate(-6px, 4px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -4px);
    transform: rotate(45deg) translate(-6px, -4px);
}



/* .mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    width: 100%;

} */

section {
    width: 100%;
    /* Fixes centering issues */
    max-width: 1000px;
    /* Constrains content width */
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* background-color: rgb(240, 240, 240, 0.8); */
    color: #1d1f1d;
    margin: 0 auto;
    /* Centers content */
    padding-top: 50px;
    position: relative;
    /* Keeps it in document flow */
    top: 0;
    /* Removes extra offset */
    z-index: 0;
    transition: transform 0.5s ease-in-out;

}

.hero {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
    transform: translateX(-100vw);
    /* Start from off-screen left */
    transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out;
    /* Add transition for background */
    height: auto;
    background-color: rgb(240, 240, 240, 0.8);
    border-radius: 15px;

}

.hero-heading {
    color: darkslateblue
}

.hero-image img {
    margin-top: 50px;
    width: 80vw;
    max-width: calc(600px);
}

.home-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1d1f1d;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    min-height: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-testimonial p {
    font-size: 1.0rem;
    line-height: 1.4;
    word-wrap: break-word;
    opacity: 0;
    position: absolute;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    white-space: normal;
    /* Ensure wrapping */
}

.blink {
    display: inline-block;
    font-weight: bold;
    color: darkslateblue;
    opacity: 1;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


.home-testimonial a {
    color: darkslateblue;
    text-decoration: none;
    font-style: italic;
}


.cards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Hidden initially */
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    position: relative;
    padding-bottom: 20px;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.what-we-do {
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    text-align: center;
    width: 95vw;
    max-width: 600px;
    min-height: 150px;
    max-height: fit-content;
    background-color: lightskyblue;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* Left shadow */
}

#card1,
#card3,
#card5,
#card7 {
    opacity: 0;
    transform: translateX(100vw);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#card2,
#card4,
#card6,
#card8 {
    background-color: #cca5ff;
    opacity: 0;
    transform: translateX(-100vw);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* .card-image-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 20vw;
} */

#card8 {
    max-height: fit-content;
}

.card-image {
    margin: auto;
    width: 20vw;
    max-width: 128px;
    height: 20vw;
    max-height: 128px;

}

.card-text {
    width: 75vw;
    height: 20vw;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

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

.spacer {
    height: 50px;
    width: 100%;
    margin: -50px 0 50px 0;
    background-image: linear-gradient(rgb(255, 255, 255, 0.0), rgb(217, 255, 235, 0.8));
    /* opacity: 0.8; */
}

.case-studies {
    background-color: rgb(27, 6, 94, 0.7);
    color: lightskyblue;
    flex-direction: column;
    display: flex;
    align-items: center;
    margin: 20px auto;
    min-width: 100vw;
    height: 350px;


}

.home-cases {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    min-height: fit-content;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.home-case {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 150px;
    color: lightskyblue;
}

.home-case img {
    width: 95%;
    max-width: 190px;
    margin: 20px 0;
}

.how-it-works {
    background-color: rgb(217, 255, 235, 0.8);
    color: #1b1091;
    display: flex;
    flex-direction: column;

    align-items: center;
    margin: 20px auto;
    min-width: 100vw;
}

.case-studies h2 {
    width: 80vw;
    max-width: 600px;
    text-align: center;
}

#click-form {
    text-decoration: underline;
}

#click-form:hover {
    color: #e8308c;
    cursor: pointer;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.step-image img {
    width: 80vw;
    max-width: 200px;
    margin: 0;
}

.step-text {
    width: 80vw;
    max-width: 600px;
    text-align: center;
    margin: 0 0 20px 0;
}

#terms {
    min-width: 100vw;
    background-color: rgb(29, 31, 29, 0.95);
}

.terms {
    width: 80%;
    max-width: 800px;
    padding: 20px;
    margin: 20px 0;
    color: lightskyblue;
}

.terms h1 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.terms h2 {
    font-size: 1.2rem;
    margin: 20px 0;
}

.terms p {
    font-size: 1rem;
    margin: 10px 0;
}

#cs-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(29, 31, 29, 0.95);
    color: lightskyblue;
    padding: 20px;
    height: auto;
    min-width: 100vw;
}

#cs-intro h1 {
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 100;
}

#cs-colins h2,
#cs-nlp h2,
#cs-psychlist h2 {
    width: 80vw;
    max-width: 950px;
    margin: 20px 0;
    font-size: 1.2rem;
    font-weight: 100;
    text-align: left;
}

#cs-colins p,
#cs-nlp p,
#cs-psychlist p {
    width: 80vw;
    max-width: 800px;
    margin: 20px 0;
    font-size: 1rem;
    font-weight: 100;
    text-align: left;
}

#cs-colins,
#cs-nlp,
#cs-psychlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(29, 31, 29, 0.95);
    color: lightskyblue;
    padding: 20px;
    height: auto;
    min-width: 100vw;
}

#cs-colins img,
#cs-nlp img,
#cs-psychlist img {
    width: 80vw;
    max-width: 800px;
    margin: 20px 0;
}

.testimonial {
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(135, 206, 250, 0.95);
    color: #1d1f1d;
    padding: 20px;
    height: auto;
    min-width: 100vw;

}

.testimonial h2 {
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 100;
    font-style: normal;
}

.testimonial h3 {
    width: 80vw;
    max-width: 800px;
    font-style: normal;
    text-align: left;
}

.testimonial p {
    width: 80vw;
    margin: 20px 0;
    font-size: 1rem;
    font-weight: 100;
    text-align: left;
    max-width: 800px;
}

video {
    width: 80vw;
    max-width: 800px;
    margin: 20px 0;
}

/* #henrie-testimonial {
    margin-bottom: 30px;
} */

footer {
    position: fixed;
    bottom: 0;
    background-color: #1d1f1d;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    /* Left shadow */
    color: lightskyblue;
    text-align: center;
    text-decoration: none;
}

footer p {
    padding: 2px;
    font-size: 10px;
}

footer a {
    color: lightskyblue;
    text-decoration: none;
}


/* Dimming background when modal opens */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contact Form */
.contact-modal {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 320px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.contact-modal h2 {
    margin-bottom: 10px;
}

.contact-modal input,
.contact-modal textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-modal button {
    background: dodgerblue;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.contact-modal button:hover {
    background: deepskyblue;
}

/* Cancel (X) Button - Proper Styling */
.close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    background: none !important;
    /* Prevents inheriting blue background */
    color: #555 !important;
    /* Prevents inheriting button text color */
    border: none !important;
    /* Removes any inherited border */
    width: auto !important;
    /* Prevents it from being 100% wide */
    padding: 5px;
    /* Small padding for clickability */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: black !important;
}

/* Success Message */
.success-message {
    display: none;
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

/* Show modal */
.show {
    display: flex;
}

@media only screen and (max-width: 768px) {
    header nav {
        display: none;
    }

    #hamburger-icon {
        display: block;
    }

    body {
        background-color: #f1f1f1;
        color: #fff;
        font-family: "Tenor Sans", sans-serif;
        font-weight: 400;
        font-style: normal;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: url("assets/bg-office.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        z-index: -1;
        /* Push it behind all content */
    }


    #mobile-menu {
        background-color: rgba(29, 31, 29, 0.9);
        width: 200px;
        height: 100vh;
        padding: 20px;
        display: flex;
        flex-direction: column;
        /* Ensure it stacks vertically */
        align-items: center;
        justify-content: flex-start;
        /* Keep items at the top */
        position: fixed;
        top: 50px;
        right: -205px;
        transform: translateX(0);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
        /* Left shadow */
        z-index: 999;
        font-family: "Poppins", sans-serif;
        font-weight: 200;
        font-style: normal;
    }

    #mobile-menu.open-menu {
        transform: translateX(-205px);
    }

    /* Explicitly set mobile-list items to block display */
    .mobile-list {
        display: block;
        /* Ensures each div takes full width */
        width: auto;
        text-align: center;
        padding: 5px 0;
    }

    .mobile-list a {
        display: block;
        width: 100%;
        color: lightskyblue;
        text-decoration: none;
        padding: 10px 0;
    }

    .mobile-list a:hover::after {
        width: 100%;
    }

    .mobile-list a::after {
        content: "";
        display: block;
        width: 0;
        height: 2px;
        background: lightskyblue;
        transition: width 0.3s;
    }

    .hero {
        border-radius: 0;
    }

    .terms {
        width: 90%;
    }

}