/* Footer component styles */

.footer-area {
    background-image: url(../images/footer-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 6.1rem;
    position: relative;
    z-index: 9;
    overflow: hidden;
}

.footer-area:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/footer-mobile-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    display: none;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-left {
    width: 36.4rem;
    position: relative;
    margin-right: 7.9rem;
    z-index: 9;
}

.footer-left-image>img {
    width: 100%;
}

.footer-left-image-shadow {
    position: absolute;
    width: 78rem;
    top: -13rem;
    right: -10rem;
    z-index: -1;
}

.footer-left-image-shadow img {
    width: 100%;
}

.footer-form {
    width: 35rem;
    margin-right: 26.8rem;
    position: relative;
    z-index: 91;
}

.footer-form h2 {
    color: #E7FF54;
    font-size: 3.4rem;
    font-weight: 700;
    font-style: italic;
    font-family: 'ivy-presto-display';
    margin-bottom: 8px;
}

.footer-form p {
    font-family: var(--third-font);
    color: #CDF6CD;
    font-size: 1.6rem;
    font-weight: 350;
    text-transform: uppercase;
    margin-bottom: 2.7rem;
}

.footer-form form {
    display: flex;
    align-items: center;
    padding: .5rem;
    background: linear-gradient(180deg, rgba(218, 218, 218, 0.25) 0.01%, rgba(255, 255, 255, 0.25) 92.26%);
    border: .1rem solid #5FA08E;
    backdrop-filter: blur(200px);
}

.footer-form form div {
    width: calc(100% - 5rem);
    padding-right: 1rem;
}

.footer-form form div input {
    font-family: var(--secondary-font);
    color: #CDF6CD;
    font-size: 1.8rem;
    font-weight: 500;
    width: 100%;
    background: transparent;
    font-style: italic;
    border: none;
    padding: 0 1rem;
    text-transform: capitalize;
}

.footer-form form div input::placeholder {
    color: #CDF6CD;
}

.footer-form form button {
    width: 5rem;
    flex: 0 0 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: .6rem;
}

.footer-form form button img {
    width: 100%;
}

.footer-right {
    position: relative;
    z-index: 91;
}

.footer-right ul li a {
    font-family: var(--third-font);
    color: #CDF6CD;
    font-size: 1.6rem;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 2.2rem;
}

.footer-right ul li:last-of-type a {
    margin-bottom: 0;
}

.footer-right ul li a:hover {
    color: #E7FF54;
}

/* Footer overrides from end of style.css */
.footer-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin: auto;
}

.footer-text-group {
    display: flex;
    flex-direction: row;
    flex: 1;
    padding-left: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.footer-copyright-text {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-copyright-text p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-copyright-text a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

.footer-form p {
    margin-bottom: 0 !important;
}

/* Responsive styles for Footer */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-content {
        flex-wrap: nowrap;
    }
    .footer-left {
        width: 25rem;
        margin-right: 3rem;
    }
    .footer-form {
        width: 22rem;
        margin-right: 3rem;
    }
    .footer-form h2 {
        font-size: 2.6rem;
    }
    .footer-form p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    .footer-form form div {
        width: calc(100% - 4rem);
    }
    .footer-form form div input {
        font-size: 1.4rem;
        padding: 0 .5rem;
    }
    .footer-form form button {
        width: 4rem;
        height: 4rem;
        flex: 0 0 4rem;
    }
    .footer-right ul li a {
        font-size: 1.4rem;
        margin-bottom: 1.4rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 0 15px;
    }

    .footer-left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .footer-text-group {
        padding-left: 0;
        margin-top: 30px;
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .footer-form {
        width: 100%;
        margin-right: 0;
        margin-bottom: 3rem;
    }

    .footer-right {
        width: 100%;
    }

    .footer-right ul {
        margin: 0 auto 30px;
    }

    .footer-right ul li a {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .footer-copyright-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-left-image-shadow img {
        height: 60rem;
        top: -5rem;
    }

    .m1 {
        margin-top: 0;
    }
}
