@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Regular.ttf') format('truetype'),
        url('./fonts/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Bold.ttf') format('truetype'),
        url('./fonts/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


footer {
    background-color: #fff;
    text-align: center;
}

.footer-container {
    margin: auto;
}

.footer-logo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    position: relative;
    /* Ensure positioning for inner elements */
}

.img1 {
    width: auto;
    height: 100%;
    max-width: none;
}

.img2 {
    width: 59%;
    height: auto;
}

/* Overlay styles */
.imgoverlay {
    position: relative;
    /* Containing the pseudo-element for overlay */
    /* height: 24.375rem; */
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgoverlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 59, 59, 0.83);
    z-index: 1;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: calc((100vw - 1320px + 14px) / 2);
    transform: translate(0, -50%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    z-index: 2;
    text-align: left;
    padding-right: 2rem;
}
.overlaytext1 h4{
    font-size: 2.5rem;
    line-height: 2.75rem;
}

.overlaytext1 h2 {
    font-size: 2.5rem;
    line-height: 1.3em;
}

.overlaytext2 {
    font-size: 1.563rem;
    line-height: 1.5em;
    font-weight: 400;
    margin-top: 1rem;
}

.footerMid{
    background: #f7f7f7;
}
.footer-home {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 0;
    text-align: left;
}

.footer-left {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 13rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer-left {
    gap: 0.625rem;
    /* Space between logo and buttons */
}

.footer-links {
    gap: 1.875rem;
    /* Space between the two columns of links */
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.625rem;
}

.footer-column a {
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1em;
    color: #000;
}
.footer-column a:hover {
    color: #31B5F8;
}

.signup-btn {
    padding: 0.625rem 1.25rem;
    background-color: #31B5F8;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1.25rem;
    border-radius: 1.25rem;
}
.signup-btn:hover {
    background-color: #1a8ecb;
}   

.login-btn {
    padding: 0.625rem 1.25rem;
    background-color: #fff;
    color: #000000;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1.25rem;
    border-radius: 1.25rem;
}
.login-btn:hover {
    background-color: #1a8ecb;
    color: #fff;
}

/* .footer-column ul li a:hover {
    background-color: #31B5F8;
} */

.footer-left img {
    width: 100%;
    height: auto;
    border: none;
    /* background: #fff; */
}

.footer-bottom {
    background-color: #31B5F8;
    padding: 0.01rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3em;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .lightmenus {
    opacity: 0.6;
} */

.img2formobile {
    display: none;
}

@media (max-width: 1319px) {
 .overlay-text{
    left: 1.5rem;
 }
}
@media (max-width: 69.375rem) {

    .footer-home {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 1rem 3rem 2rem 4rem;
        text-align: left;
    }

    .signup-btn {
        font-size: 0.695rem;
    }
}

@media (max-width: 51.25rem) {

    .signup-btn {
        font-size: 0.5rem;
    }

}

@media screen and (max-width: 48rem) {
    footer {
        text-align: center;
        background-color: whitesmoke;
    }

    .footer-container {
        padding: 1.25rem;
    }

    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: relative;
    }

    .img1 {
        width: auto;
        height: 100%;
        display: block;
        position: absolute;
        left: 50%;
        top: 0;
        max-width: none;
        transform: translate(-50%, 0);
    }

    .img2 {
        width: 100%;
        height: auto;
        display: block;
    }

    .imgoverlay {
        position: relative;
        width: 100%;
        height: auto;
    }

    .imgoverlay::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.83);
        z-index: 1;
    }

    .overlay-text {
        position: static;
        top: 50%;
        left: 50%;
        transform: none;
        color: #fff;
        font-size: 1.125rem;
        /* 18px */
        line-height: 1.5;
        z-index: 2;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .overlaytext1 h4 {
        font-size: 1.75rem;
        /* 28px */
        line-height: 2.25rem;
        /* 36px */
        margin-bottom: 0.75rem;
    }

    .overlaytext2 {
        font-size: 1.375rem;
        line-height: 1.5em;
        font-weight: 400;
    }

    .footer-home {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 0;
        gap: 1rem;
    }

    .footer-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-left img {
        width: 18.1875rem;
        height: auto;
        /* contain: initial; */
        object-fit: revert;
        margin-bottom: 1.6rem;
    }

    .signup-btn, .login-btn {
        width: 60%;
        font-size: 1.125rem;
        padding: 0.75rem;
        border-radius: 1.25rem;
    }

    .footer-column {
        width: 100%;
        /* margin-bottom: 1.25rem; */
    }

    .footer-column ul {
        padding-left: 0;
    }

    .footer-column li {
        margin-bottom: 0.625rem;
    }

    .footer-column a {
        font-size: 1rem;
        color: #000;
        text-decoration: none;
    }

    .footer-bottom {
        font-size: 0.875rem;
        height: auto;
        padding: 1rem 0;
    }

    .img2formobile {
        display: block;
    }

    .lightmenus {
        opacity: 0.6;
    }

    .usecase-light {
        opacity: 1;
    }

    .footer-bottom {
        font-size: 1rem;
        height: auto;
        padding: 0.5rem 0;
 
    }

    .img2 {
        display: none;
    }

    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: relative;
    }

    .img2mobile {
        width: 22.5rem;
        padding: 1rem;
    }

    .footer-logo {
        margin-bottom: 0rem;
    }
}