/*============================
  footer-style-three
============================*/

.footer-style-three {
    position: relative;
    overflow: hidden;
    background-color: #111827;
    color: #ffffff;
}

.footer-style-three a {
    text-decoration: none;
}

.footer-style-three__surface {
    position: relative;
    overflow: hidden;
    background-color: #111827;
}

.footer-style-three .container {
    position: relative;
    z-index: 2;
    max-width: 1320px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .footer-style-three .container {
        max-width: 1140px;
    }
}

.footer-style-three__top {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.footer-style-three__top::before,
.footer-style-three__top::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.footer-style-three__top::before {
    top: 0;
    left: 0;
    background-image: url("../images/bg/footer-bg-01.png");
    background-position: left top;
}

.footer-style-three__top::after {
    right: 0;
    bottom: 0;
    background-image: url("../images/bg/footer-bg-02.png");
    background-position: right bottom;
}

.footer-style-three__footer-bg {
    position: absolute;
    top: 10px;
    left: 3%;
    z-index: -1;
    width: 150px;
    max-width: 18vw;
    height: auto;
    pointer-events: none;
}

.footer-style-three__newsletter {
    margin-bottom: 60px;
}

.footer-style-three__newsletter-card {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 40px;
    border: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.footer-style-three__newsletter-copy h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-style-three__newsletter-copy p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
 
}

.footer-style-three__subscribe-form {
    width: 100%;
}

.footer-style-three__subscribe-shell {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 61px;
    min-height: 61px;
    padding: 8px 10px 8px 16px;
    border-radius: 54px;
    background: #ffffff;
}

.footer-style-three__subscribe-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: #4e5561;
    font-size: 16px;
    line-height: 1;
}

.footer-style-three__subscribe-shell form,
.footer-style-three__subscribe-shell .wpcf7,
.footer-style-three__subscribe-shell .wpcf7 form,
.footer-style-three__subscribe-shell .wpcf7-form,
.footer-style-three__subscribe-shell .wpcf7-form p,
.footer-style-three__subscribe-shell .footer-input,
.footer-style-three__subscribe-shell .input-group {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.footer-style-three__subscribe-shell .input-group {
    flex-wrap: nowrap;
}

.footer-style-three__subscribe-shell .input-group-text {
    flex: 0 0 auto;
    padding: 0 8px 0 0;
    border: 0;
    background: transparent;
    color: #4e5561;
    font-size: 16px;
    line-height: 1;
}

.footer-style-three__subscribe-shell .wpcf7-form-control-wrap,
.footer-style-three__subscribe-shell span[data-name] {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.footer-style-three__subscribe-shell br {
    display: none;
}

.footer-style-three__subscribe-shell input[type="email"],
.footer-style-three__subscribe-shell input[type="text"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    margin: 0 5px 0 0;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #111827;
    font-size: 16px;
    line-height: 46px;
}

.footer-style-three__subscribe-shell input[type="email"]::placeholder,
.footer-style-three__subscribe-shell input[type="text"]::placeholder {
    color: #969aa2;
}

.footer-style-three__subscribe-shell button,
.footer-style-three__subscribe-shell input[type="submit"],
.footer-style-three__subscribe-shell .wpcf7-submit {
    flex: 0 0 auto;
    min-width: 113px;
    height: 45px;
    min-height: 45px;
    padding: 10px 16px;
    border: 0;
    border-radius: 54px !important;
    background: #cf3425;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    transition: background-color 0.25s ease;
}

.footer-style-three__subscribe-shell button:hover,
.footer-style-three__subscribe-shell input[type="submit"]:hover,
.footer-style-three__subscribe-shell .wpcf7-submit:hover {
    background: #b82d20;
}

.footer-style-three__subscribe-shell .wpcf7-spinner {
    flex: 0 0 auto;
    margin: 0 0 0 8px;
}

.footer-style-three__subscribe-shell .wpcf7-not-valid-tip {
    display: none !important;
}

.footer-style-three__subscribe-shell .wpcf7-response-output {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

.footer-style-three__content {
    display: grid;
    grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.footer-style-three__brand {
    max-width: 416px;
    width: 100%;
}

.footer-style-three__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
}

.footer-style-three__logo img {
    max-height: 42px;
    width: auto;
}

.footer-style-three__logo span {
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.footer-style-three__about {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    
}

.footer-style-three__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (min-width: 1200px) {
    .footer-style-three__contacts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: space-between;
        column-gap: 24px;
    }
}

.footer-style-three__contact-card {
    display: flex;
    align-items: center;
    min-width: 0;
}

.footer-style-three__contact-card > div {
    min-width: 0;
}

.footer-style-three__contact-icon {
    flex: 0 0 auto;
    width: 2.813rem;
    height: 2.813rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
    line-height: 2.813rem;
}

.footer-style-three__contact-icon i {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
}

.footer-style-three__contact-icon--support {
    background: #cf3425;
}

.footer-style-three__contact-icon--mail {
    background: #98aa30;
}

.footer-style-three__contact-icon--phone {
    background: #0e9384;
}

.footer-style-three__contact-card p {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.footer-style-three__contact-card > div a,
.footer-style-three__contact-card > div span {
    display: inline-block;
    max-width: 100%;
    color: #E4EBF1;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;  
    overflow-wrap: anywhere;
}

.footer-style-three__contact-card a:hover {
    color: #cf3425;
}

.footer-style-three__middle {
    padding: 40px 0;
    border-top: 1px solid #242b3a;
}

.footer-style-three__utility-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.footer-style-three__quick-links,
.footer-style-three__policy-links,
.footer-style-three__social-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-style-three__quick-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 10px;
}

.footer-style-three__quick-links li:last-child a {
    margin-right: 0;
    padding-right: 0;
}

.footer-style-three__quick-links li:last-child a::after {
    display: none;
}

.footer-style-three__quick-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    padding-right: 20px;
    color: #e4ebf1;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.footer-style-three__quick-links a::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #cf3425;
    transform: translateY(-50%);
}

.footer-style-three__quick-links a:hover,
.footer-style-three__policy-links a:hover,
.footer-style-three__copyright a:hover {
    color: #cf3425;
    text-decoration: underline;
}

.footer-style-three__stores {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.footer-style-three__stores a {
    display: block;
    line-height: 0;
}

.footer-style-three__stores img {
    display: block;
    width: auto;
    max-height: 33px;
}

.footer-style-three__bottom-wrap {
    padding: 24px 0;
    border-top: 1px solid #242b3a;
}

.footer-style-three__bottom {
    display: grid;
    grid-template-columns: minmax(260px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .footer-style-three__content,
    .footer-style-three__utility-row,
    .footer-style-three__bottom {
        width: 100%;
    }

    .footer-style-three__newsletter-card {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-style-three__copyright p,
.footer-style-three__copyright p a {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.footer-style-three__copyright p a {
    font-weight: 500;
}

.footer-style-three__policy-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    min-width: 0;
}

.footer-style-three__policy-links a {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.footer-style-three__social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.footer-style-three__social-links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
}

.footer-style-three__social-links a:hover {
    background-color: #cf3425;
    color: #ffffff;
}

.back-to-top-icon.back-to-top-icon-eight {
    width: 48px;
    height: 48px;
    border-radius: 30px 30px 10px 10px;
    font-size: 24px;
}
@media (max-width: 1199.98px) {
    .footer-style-three__content,
    .footer-style-three__utility-row,
    .footer-style-three__bottom {
        width: calc(100% - 72px);
    }

    .footer-style-three__newsletter-card {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
        width: calc(100% - 72px);
        max-width: none;
        margin-left: 36px;
        margin-right: 36px;
    }

    .footer-style-three__contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
    }
}

@media (max-width: 991.98px) {
    .footer-style-three__top {
        padding: 40px 0;
    }

    .footer-style-three__footer-bg {
        display: block;
        width: 120px;
        max-width: 18vw;
    }

    .footer-style-three__newsletter-card {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-style-three__content {
        grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr);
        align-items: start;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-style-three__contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .footer-style-three__quick-links {
        display: none;
    }

    .footer-style-three__utility-row {
        grid-template-columns: 1fr;
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-style-three__newsletter-card,
    .footer-style-three__content {
        width: 720px;
        max-width: calc(100% - 72px);
        margin-left: auto;
        margin-right: auto;
    }

    .footer-style-three__newsletter-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px;
    }

    .footer-style-three__subscribe-form {
        max-width: 100%;
    }

    .footer-style-three__content {
        grid-template-columns: 5fr 7fr;
        gap: 24px;
    }

    .footer-style-three__brand {
        max-width: 390px;
    }

    .footer-style-three__contacts {
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: space-between;
        gap: 24px;
    }

    .footer-style-three__contact-icon {
        width: 45px;
        height: 45px;
        margin-right: 8px;
        font-size: 16px;
        line-height: 45px;
    }

    .footer-style-three__contact-icon i {
        font-size: 24px;
    }

    .footer-style-three__contact-card p {
        white-space: nowrap;
        font-size: 14px;
    }

    .footer-style-three__contact-card > div a,
    .footer-style-three__contact-card > div span {
        font-size: 16px;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .footer-style-three__utility-row,
    .footer-style-three__bottom {
        width: 720px;
        max-width: calc(100% - 72px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .footer-style-three__newsletter {
        margin-bottom: 36px;
    }

    .footer-style-three__newsletter-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .footer-style-three__newsletter-copy h2 {
        font-size: 28px;
    }

    .footer-style-three__subscribe-shell,
    .footer-style-three__subscribe-shell form,
    .footer-style-three__subscribe-shell .wpcf7-form,
    .footer-style-three__subscribe-shell .wpcf7-form p,
    .footer-style-three__subscribe-shell .footer-input,
    .footer-style-three__subscribe-shell .input-group {
        flex-wrap: nowrap;
    }

    .footer-style-three__subscribe-shell button,
    .footer-style-three__subscribe-shell input[type="submit"],
    .footer-style-three__subscribe-shell .wpcf7-submit {
        width: auto;
        margin-top: 0;
    }

    .footer-style-three__content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-style-three__contacts {
        grid-template-columns: 1fr;
    }

    .footer-style-three__contact-card p,
    .footer-style-three__contact-card > div a,
    .footer-style-three__contact-card > div span {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .footer-style-three__middle {
        padding: 28px 0;
    }

    .footer-style-three__stores {
        justify-content: center;
    }

    .footer-style-three__bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-style-three__social-links {
        justify-content: center;
        margin-top: 2px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .footer-style-three__newsletter-card,
    .footer-style-three__content,
    .footer-style-three__utility-row,
    .footer-style-three__bottom {
        width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
    }

    .footer-style-three__newsletter-card {
        gap: 14px;
        padding: 24px 38px;
    }

    .footer-style-three__subscribe-shell {
        height: 54px;
        min-height: 54px;
        padding: 7px 10px 7px 18px;
    }

    .footer-style-three__subscribe-shell input[type="email"],
    .footer-style-three__subscribe-shell input[type="text"] {
        height: 40px;
        min-height: 40px;
        line-height: 40px;
    }

    .footer-style-three__subscribe-shell button,
    .footer-style-three__subscribe-shell input[type="submit"],
    .footer-style-three__subscribe-shell .wpcf7-submit {
        height: 40px;
        min-height: 40px;
    }

    .footer-style-three__content {
        justify-items: center;
        gap: 34px;
    }

    .footer-style-three__brand {
        max-width: 100%;
        width: 100%;
    }

    .footer-style-three__contacts {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: space-between;
        gap: 18px 24px;
    }

    .footer-style-three__contact-card p,
    .footer-style-three__contact-card > div a,
    .footer-style-three__contact-card > div span {
        white-space: nowrap;
        overflow-wrap: normal;
    }
}

@media (max-width: 575.98px) {
    .footer-style-three__newsletter-card {
        padding: 20px;
    }

    .footer-style-three__subscribe-shell {
        height: 54px;
        min-height: 54px;
        padding: 7px 8px 7px 14px;
    }

    .footer-style-three__subscribe-shell input[type="email"],
    .footer-style-three__subscribe-shell input[type="text"] {
        height: 40px;
        min-height: 40px;
        padding: 0 8px;
        font-size: 14px;
        line-height: 40px;
    }

    .footer-style-three__subscribe-shell button,
    .footer-style-three__subscribe-shell input[type="submit"],
    .footer-style-three__subscribe-shell .wpcf7-submit {
        min-width: 96px;
        height: 40px;
        min-height: 40px;
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 359.98px) {
    .footer-style-three__newsletter-card {
        padding: 16px;
    }

    .footer-style-three__subscribe-shell {
        min-height: 44px;
        padding: 5px 7px 5px 10px;
    }

    .footer-style-three__subscribe-icon {
        display: none;
    }

    .footer-style-three__subscribe-shell input[type="email"],
    .footer-style-three__subscribe-shell input[type="text"] {
        height: 34px;
        min-height: 34px;
        padding: 0 5px;
        font-size: 12px;
        line-height: 34px;
    }

    .footer-style-three__subscribe-shell button,
    .footer-style-three__subscribe-shell input[type="submit"],
    .footer-style-three__subscribe-shell .wpcf7-submit {
        min-width: 76px;
        min-height: 34px;
        padding: 7px 8px;
        font-size: 11px;
    }
}
@media (max-width: 575.98px) {
.footer-style-three__subscribe-shell {
    height: 54px !important;
    min-height: 54px !important;
    padding: 7px 8px 7px 20px !important;
}

.footer-style-three__subscribe-shell input[type="email"],
.footer-style-three__subscribe-shell input[type="text"] {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 15px !important;
    line-height: 40px !important;
}

.footer-style-three__subscribe-shell button,
.footer-style-three__subscribe-shell input[type="submit"],
.footer-style-three__subscribe-shell .wpcf7-submit {
    height: 30px !important;
    min-height: 30px !important;
    min-width: 20px !important;

    font-size: 13.008px !important;
}
.footer-style-three__subscribe-shell .wpcf7 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-style-three__subscribe-shell .wpcf7-form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-style-three__subscribe-shell p {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove any Bootstrap or theme input-group border */
.footer-style-three__subscribe-shell .input-group {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.footer-style-three__subscribe-shell .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
}
