/* ================================
   FOOTER BASE
================================ */
#footer {
    background: #fff;
    font-size: 14px;
    color: #444;
}

#footer .footer-top {
    padding: 70px 0 30px;
    border-top: 1px solid #dedede;
}

/* ================================
   FOOTER WIDGET
================================ */
.footer-widget {
    margin-bottom: 25px;
}

.footer-widget h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 18px;
    position: relative;
}

.footer-widget h4::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--tts-buttton-bg);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-widget ul li span {
    font-weight: 500;
    color: #000;
}

.footer-widget ul li a {
    color: #444;
    text-decoration: none;
    transition: 0.3s;
}

.footer-widget ul li a:hover {
    color: var(--tts-buttton-bg);
}

/* ================================
   LOGO + TEXT
================================ */
.footer-widget .logo img {
    max-height: 55px;
}

.footer-widget .description {
    margin-top: 10px;
    color: #666;
    line-height: 1.6;
}

/* ================================
   SOCIAL ICONS
================================ */
.footer-widget .social-default {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.footer-widget .social-default li {
    list-style: none;
}

.footer-widget .social-default li a {
    width: 38px;
    height: 38px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: 0.3s;
}

.footer-widget .social-default li a:hover {
    background: var(--tts-buttton-bg);
    color: #fff;
}

/* ================================
   NEWSLETTER
================================ */
.footer-newsletter {
    position: relative;
    z-index: 2;
}

.footer-newsletter-bottom {
    margin-bottom: -50px;
    padding: 25px;
    border-radius: 10px;
    background: var(--tts-buttton-bg);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter-title {
    font-size: 22px;
    margin-bottom: 5px;
}

/* FORM (FIXED PROPERLY) */
.newsletter-form {
    display: flex;
    align-items: center;
}

.newsletter-form .form-control {
    height: 45px;
    border: none;
    padding: 0 12px;
    min-width: 200px;
    border-radius: 4px 0 0 4px;
}

.SUBCRIBE_BTN {
    height: 45px;
    padding: 0 16px;
    border: none;
    background: var(--tts-buttton-bg1);
    color: #fff;
    font-size: 14px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.SUBCRIBE_BTN:hover {
    background: #000;
}

/* ================================
   FOOTER IMAGES
================================ */
.footer-images-container {
    display: flex;
    gap: 10px;
    margin: 15px 0 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-img {
    object-fit: contain;
}

.footer-images-container .footer-img:nth-child(1) {
    max-width: 130px;
}

.footer-images-container .footer-img:nth-child(2),
.footer-images-container .footer-img:nth-child(3) {
    height: 54px;
}

/* ================================
   FOOTER BOTTOM
================================ */
.footer-bottom {
    background: var(--tts-buttton-bg);
    text-align: center;
}

.footer-bottom .copyright {
    font-size: 13px;
    color: #fff;
    padding: 10px 0;
}

/* ================================
   BACK TOP (IMPROVED UX)
================================ */
.back-top {
    position: fixed;
    right: 0px;
    top: 40%;
    z-index: 99999;
    width: auto;
    height: auto;
    border-radius: 4px;
    transform: translateY(-40%) rotate(-90deg);
    transform-origin: right bottom;
    transition: all 200ms linear;
}

.back-top ul {
    margin: 0;
    padding: 0;
}

.back-top li {
    list-style: none;
    display: inline-block;
}

.back-top li a {
    display: block;
    padding: 10px 30px;
    color: #fff;
    border-radius: 20px 20px 0px 0px;
    text-align: center;
    transition: 0.3s;
}

.back-top .quickicons {
    background: var(--tts-buttton-bg);
}

.back-top .quickicons:hover {
    background: #000;
}

.back-top .whatsappicons {
    background: #25d366;
}

.back-top .whatsappicons:hover {
    background: #16a34a;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {

    .footer-newsletter-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        gap: 10px;
    }

    .newsletter-form .form-control,
    .SUBCRIBE_BTN {
        border-radius: 4px;
        padding: 0 10px;
    }

    .social-default {
        justify-content: center;
    }
}

@media (max-width: 576px) {

    .newsletter-title {
        font-size: 18px;
    }

    .footer-widget h4 {
        font-size: 15px;
    }

    .footer-widget ul li {
        font-size: 13px;
    }
}


/* ===== MODAL BACKDROP ===== */
.qe-modal {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.qe-modal__content {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: qeFadeIn 0.35s ease;
}


@keyframes qeFadeIn {
    from {
        transform: scale(0.95) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}




.qe-modal__close {
    border-radius: 50%;
    padding: 8px;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    backdrop-filter: blur(4px);
}


.qe-modal__visual {
    background: linear-gradient(135deg, var(--tts-buttton-bg), var(--tts-buttton-bg1));
    color: #fff;
}


.qe-visual {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.qe-visual__img {
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.carousel-item:hover .qe-visual__img {
    transform: scale(1.06);
}


.qe-visual__trust {
    margin-top: 15px;
}

.qe-visual__title,
.qe-contact__title,
.qe-form__title {
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}


.qe-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


.qe-trust__item {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    transition: all 0.25s ease;
}

.qe-trust__item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
}

.qe-trust__icon {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
    color: #f3923d;
}

.qe-contact {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
}

.qe-contact__subtitle {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.qe-contact__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.qe-contact__item {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.qe-contact__icon {
    color: #f3923d;
}

.qe-modal__formWrap {
    background: #ffffff;
}


.qe-form {
    padding: 30px;
    width: 100%;
}


.qe-field {
    margin-bottom: 12px;
}

.qe-field__label {
    font-size: 13px;
    color: #666;
    margin-bottom: 3px;
    display: block;
}

.qe-field__input {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0 10px;
    transition: all 0.25s ease;
}

.qe-field__input:focus {
    border-color: var(--tts-buttton-bg);
    box-shadow: 0 0 8px rgba(255, 122, 24, 0.2);
    outline: none;
}


.qe-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--tts-buttton-bg), var(--tts-buttton-bg1));
    transition: all 0.25s ease;
}

.qe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 122, 24, 0.4);
}


.qe-form__note {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--tts-buttton-bg);
    animation: qeBlink 1.5s infinite;
}


@keyframes qeBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}


@media (max-width: 768px) {

    .qe-form {
        padding: 20px;
    }

    .qe-visual__img {
        height: 160px;
    }

    .qe-trust {
        grid-template-columns: repeat(2, 1fr);
    }

    .qe-contact__info {
        grid-template-columns: 1fr;
    }


}

