body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: 'Public Sans', 'Inter', 'Noto Sans', 'Poppins', 'Raleway', 'Sour Gummy', sans-serif;
}

.header {
    margin-top: 20px;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 500;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.header.scrolled-up {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* .header-mobile .scrolled-up {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
} */

/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3d3d3d;
    color: white;
    z-index: 10;
    transition: box-shadow 0.3s ease;
} */

.header-section {
    flex: 1;
}



.header-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

}




.nav-links {
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 550;
    cursor: pointer;

}

.nav-links a:hover {
    color: #2471d2;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    flex: 1;
    text-align: center;

    /* border: 1px solid green; */
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu .line {
    width: 25px;
    height: 3px;
    background-color: #333;
}

.btn {
    padding: 12px 25px;
    border: none;
    height: fit-content;
    cursor: pointer;
    border-radius: 50px;
    font-size: 16px;
    font-family: Public Sans;
}

.btn-primary {
    background-color: #2471d2;
    color: white;
}

.btn-secondary {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    /* color: white; */
}

.btn-outlined {
    background-color: transparent;
    border: 1px solid #2370d1;
    color: #2370d1;
}



.hero {
    padding: 50px;
    background-color: #0f233a;
    display: flex;
    align-items: center;
    margin: 10px 30px;
    border-radius: 20px;
    height: 514px;
    background-image: url('./assets/images/bg-images/truck3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: left 600px center; */
}

.headline {
    color: #2471d2;
    font-size: 35px;
    font-weight: 400;
    margin: 0;

}

.subhead {
    /* width: 500px; */
    color: white;
    font-size: 24px;
    margin-top: 40px;
    font-weight: 300;
}

.trusted-section {
    background-color: #f2f2f6;
    display: flex;
    justify-content: center;

    margin: 30px 30px;
    border-radius: 20px;
    /* height: 20vh; */
    height: 171px;
    font-size: 25px;
    color: #000;
    font-weight: 200;
}

.two-cards-layout {
    background-color: #f2f2f6;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 30px 30px;
    border-radius: 20px;
    /* height: 70vh; */
    height: 599px;
    flex-direction: row;

    /* font-size: 25px;
    color: #000;
    font-weight: 200; */
}

.two-cards-layout-card {
    background-color: #fff;
    flex: 2;
    /* margin-right: 16px; */
    border-radius: 20px;
}

.two-cards-layout-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.two-cards-layout-content-reverse {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
    background-color: #f2f2f6;
    margin-right: 25px;
    border-radius: 20px;
}

.black-headline {
    /* color: #2471d2; */
    font-size: 50px;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    margin-bottom: 8px;
}

.subhead-black {
    /* width: 500px; */
    /* color: white; */
    font-size: 24px;
    /* margin-top: 20px; */
    font-weight: 300;
    margin: 8px;
}

.main-features-section {
    padding: 50px 50px;
    background-color: #0f233a;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    margin: 10px 30px;
    border-radius: 20px;
    /* height: 50vh; */
    /* height: 428.5px; */
    height: 300px;
    justify-content: space-between;
}

.main-features-section-header {
    font-size: 50px;
    color: #fff;
    margin: 0;
}

.features-items-section {
    /* margin-top: 5%; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;

}

.features-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* border: 1px solid #fff; */
    /* border: 1px solid #fff; */
}

/* .features-item p {
    color: #2370d1;
    font-size: 25px;
} */

.features-item-header {
    color: #2370d1;
    font-size: 75px;
    font-weight: bolder;
    margin: 0;
}

.features-item-sub-header {
    color: #2370d1;
    font-size: 25px;
    font-weight: 300;
}

.two-col-one-card-layout {
    background-color: #f2f2f6;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 30px;
    margin: 30px 30px;
    border-radius: 20px;
    /* height: 70vh; */
    height: 599px;
    flex-direction: row;
    color: #0f233a;
}

.two-col-one-card-layout-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    padding-left: 20px;
    padding-top: 80px;

}


.four-cards-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    margin: 30px;
}

.four-cards-layout-header {
    font-size: 45px;
    font-weight: 400;
}

.four-cards-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* height: 50vh; */
    height: 428px;
}

.four-cards-layout-card {

    flex: 1;
    margin-right: 25px;
    background-color: #f2f2f6;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.four-cards-layout-card p {
    color: #0f233a;
    font-size: 25px;
    font-weight: 500;
    text-align: center;
    position: absolute;

    margin: 16px;
}


.four-cards-layout-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background: linear-gradient(to top, rgba(15, 35, 58, 0.8), rgba(15, 35, 58, 0));
    /* Black with 50% opacity */
    opacity: 0;
    border-radius: 20px;
    /* Initially hidden */
    transition: opacity 0.3s ease-in-out;
}

.four-cards-layout-card:hover .four-cards-layout-card-overlay {
    opacity: 1;
}

/* Text inside overlay */
.four-cards-layout-card-overlay p {
    color: white;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 0;
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    margin: 16px;
}

.four-cards-container :nth-child(4) {
    margin-right: 0;
}

.feedback-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px;
}

.feedback-cards-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* height: 32vh; */
    height: 274px;
}

.feedback-card {
    flex: 1;
    margin-right: 25px;
    background-color: #f2f2f6;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    padding: 33px;
}



.feedback-cards-container :nth-child(2) {
    margin-right: 0;
}

.feedback-card-image-container {
    background-color: #d8d8d8;
    border-radius: 20px;
    flex: 1.3;
}

.feedback-card-content-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 30px;
}

.feedback-card-comment {
    font-size: 24px;
    font-weight: 500;
    color: #0f233a;
    margin: 0;
}

.feedback-card-person-name {
    font-size: 20px;
    font-weight: 300;
    color: #0f233a;
    margin-top: 30px;
}

.footer {

    background-color: #0f233a;
    display: flex;
    flex-direction: column;
    margin: 10px 30px;
    border-radius: 20px;
    /* height: 50vh; */
    height: 428px;
    justify-content: center;
    align-items: center;
}

.footer-buttons-container {
    margin-top: 100px;
    display: flex;
    flex-direction: row;

}


#scrollToTopBtn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    font-weight: bolder;
    border: none;
    outline: none;
    background-color: #2471d2;
    color: white;
    cursor: pointer;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.header-mobile {
    display: none;
}

.mobile-nav-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background-color: #f8f9fa;
    padding: 0 20px;
}

/* demo page */
.demo-form-container {
    padding: 30px;
    background-color: #0f233a;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin: 10px 30px;
    border-radius: 20px;

}

.demo-form-features-container {
    flex: 1;
    margin-right: 20px;
}

.demo-form-section {
    flex: 1;
    background-color: #143557;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    width: 100%;

}

.demo-feature-item {
    display: flex;
    flex-direction: row;
    align-items: first baseline;
    gap: 10px;
}

.demo-form-features-header {
    color: #fff;
    font-size: 50px;
    margin: 0;
}

.demo-form-features-subheader {
    color: #A9A9AD;
    font-size: 18px;
    margin-bottom: 50px;


}

.demo-feature-item-icon {
    margin-right: 12px;
}

.demo-feature-description {
    display: flex;
    flex-direction: column;

}

.demo-feature-item-header {
    color: #fff;
    /* font-weight: bold; */
    font-size: 25px;
    margin-bottom: 8px;

}

.demo-feature-item-subheader {
    color: #A9A9AD;
    margin: 0;
    margin-bottom: 8px;
}

/* form */



.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
    flex: 1
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 14px;
    /* border: 2px solid #8e8f9b; */
    border: 1px solid #ffffffb4;
    border-radius: 4px;
    /* background-color: #2a2a2a; */
    background-color: #153557;
    color: #ffffff;

}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.form-group input::placeholder,
.from-group textarea::placeholder {
    color: rgba(245, 245, 245, 0.727);
}

.form-group textarea {
    /* resize: none; */
    height: 80px;
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff6b6b;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-group label {
    font-size: 14px;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 5px;
}

.submit-button {
    width: 60%;
    background-color: #2471d2;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #1b59ab;
}


.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 30px;
}

.option-button {
    background-color: #0f233a;
    /* Gray button background */
    color: white;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-button:hover {
    background-color: #2471d2;
    /* Slightly lighter on hover */
}

.option-button.selected {
    border-color: #4a90e2;
    background-color: #2471d2;
    /* Blue border when selected */
}

.demo-two-col-fields {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/* end of form */



.loader {

    animation: spin 1s linear infinite;
    /* Rotate continuously */
}

/* Keyframes for rotation */
@keyframes spin {
    from {
        transform: rotate(0deg);
        /* Start at 0 degrees */
    }

    to {
        transform: rotate(360deg);
        /* Rotate a full circle */
    }
}




@media screen and (max-width: 904px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        /* width: 100%; */
        overflow-x: hidden;
    }

    .hamburger-menu {
        display: flex;
    }

    .header {
        display: none;
    }

    .header-mobile {
        display: flex;

    }

    .mobile-nav-container.active {
        max-height: 300px;
        opacity: 1;
        padding: 20px 20px;
        border-radius: 10px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-links {
        height: 100%;
        list-style: none;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        align-items: flex-start;
        font-weight: 550;
        cursor: pointer;
        /* gap: 10px; */
    }

    .mobile-nav-links a {
        text-decoration: none;
        margin: 8px 0;
        color: #333;
    }

    .mobile-nav-links a:hover,
    .mobile-nav-links a:visited {
        color: #333;
    }

    .mobile-nav-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        column-gap: 10px;

    }

    .hero {
        padding: 30px;
        background-color: #0f233a;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 10px;
        border-radius: 20px;
        min-height: 250px;
        height: fit-content;
        background-image: url('./assets/images/bg-images/truck3.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .headline {
        color: #2471d2;
        font-size: 23px;
        font-weight: 500;

        margin: 0;

    }

    .subhead {
        width: 100%;
        color: white;
        font-size: 18px;
        margin-top: 40px;
        font-weight: 300;
    }

    .container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .two-cards-layout {
        background-color: #f2f2f6;

        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        /* align-items: center; */

        /* padding: 30px;
        margin: 30px 30px; */
        /* margin: 10px;
        padding: 0; */
        margin: 10px 10px;
        padding: 10px;
        border-radius: 20px;
        height: fit-content;

    }

    .two-cards-layout-card {
        flex: 1;
        margin: 0;
        margin-bottom: 10px;
        background-image: image('./assets/images/bg-images/up.png');
    }

    .two-cards-layout-content {
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 10px;
        /* padding-left: 60px; */
    }

    .trusted-section {
        margin: 20px 10px;
    }

    .main-features-section {
        padding: 50px 50px;
        background-color: #0f233a;
        display: flex;

        flex-direction: column;
        margin: 20px 10px;
        border-radius: 20px;
        height: fit-content;
        justify-content: space-between;
    }

    .main-features-section-header {
        font-size: 40px;
        color: #fff;
        margin: 0;
    }

    .features-items-section {
        /* margin-top: 5%; */
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
        align-items: flex-start;
        margin-top: 20px;
        width: 100%;

    }

    .features-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin: 18px 0;
    }

    .features-item-header {
        color: #2370d1;
        font-size: 40px;
        font-weight: bolder;
        margin: 0;
    }

    .features-item-sub-header {
        color: #2370d1;
        font-size: 24px;
        font-weight: 300;
        margin: 0;
        margin-top: 4px;
    }

    .two-col-one-card-layout {

        display: flex;
        flex-direction: column;
        padding: 30px;
        margin: 30px 10px;
        border-radius: 20px;
        color: #0f233a;
    }

    .two-col-one-card-layout-content {
        padding-left: 10px;
        padding-top: 10px;

    }

    .two-cards-layout-reverse {

        display: flex;
        justify-content: center;
        padding: 30px;
        margin: 30px 10px;
        border-radius: 20px;
        /* height: 599px; */
        flex-direction: column;
    }



    .two-cards-layout-content-reverse {
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
        background-color: #f2f2f6;
        margin-right: 0px;
        margin-bottom: 10px;
        border-radius: 20px;

    }


    .four-cards-layout {
        margin: 10px;
    }

    .four-cards-layout p {
        font-size: 20px;
    }

    .four-cards-container {
        flex-direction: column;
        padding: 0px;
        margin: 0px;
    }

    .four-cards-layout-card {
        margin: 0;
        margin-bottom: 10px;

    }

    .feedback-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10px;
    }

    .feedback-cards-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: fit-content;
        row-gap: 10px;
    }

    .feedback-card {
        flex: 1;
        display: flex;
        flex-direction: row;
        padding: 0px;
        margin: 0;
        height: auto;
        padding: 10px;
        /* border: 1px solid red; */
        /* height: 400px; */
    }

    .feedback-card-image-container {
        background-color: #d8d8d8;
        border-radius: 20px;
        flex: 1;
        /* width: 50px !important;
        /* height: 50px !important; */
        /* border: 1px solid red; */

    }

    .feedback-card-content-container {
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }

    .feedback-card-comment {
        font-size: 18px;
        font-weight: 500;
        color: #0f233a;
        margin: 0;
    }

    .feedback-card-person-name {
        font-size: 16px;
        font-weight: 300;
        color: #0f233a;
        margin-top: 30px;
    }

    .footer {
        height: auto;
        padding: 20px;
        margin: 10px;
    }


    .black-headline {
        font-size: 30px;
    }

    .subhead-black {
        font-size: 20px;
    }

    .four-cards-layout-header {
        font-size: 30px;
    }

    /* demo */
    .demo-form-container {
        padding: 30px;
        padding-bottom: 0;
        background-color: #0f233a;
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: column;
        margin: 10px 10px;
        border-radius: 20px;
        align-items: center;
        justify-content: center;
    }

    .demo-form-section {
        background-color: #143557;
        border-radius: 12px;
        align-self: center;
        margin: 20px 10px;
    }

    .demo-two-col-fields {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }


}