/*
 * Baset footer refresh
 * Palette source: Baset Pazhuh Visual Brand Identity Quick Reference Guide.
 * The footer stays intentionally light; green is reserved for brand accents.
 */

#contact.baset-footer {
    --footer-dark-green: #05322B;
    --footer-green: #018374;
    --footer-light-green: #02BC94;
    --footer-gray: #949494;
    --footer-light-gray: #D0D0D0;
    --footer-white: #FFFFFF;

    margin-top: 28px;
    color: var(--footer-dark-green);
    background: var(--footer-white);
    border-top: 1px solid var(--footer-light-gray);
    border-radius: 44px 44px 0 0;
    box-shadow: 0 -22px 60px rgba(5, 50, 43, 0.06);
    isolation: isolate;
    position: relative;
    overflow: hidden;
    line-height: 1.8;
}

#contact.baset-footer,
#contact.baset-footer * {
    box-sizing: border-box;
}

#contact.baset-footer .footer-map-bg,
#contact.baset-footer .footer-overlay {
    display: none;
}

#contact.baset-footer::after {
    top: auto;
    right: auto;
    bottom: 58px;
    left: -75px;
    width: 430px;
    height: 430px;
    z-index: 0;
    background: url('../../uploads/Logo/logo-image-@2x.png') left bottom / contain no-repeat;
    opacity: 0.035;
}

#contact.baset-footer .footer-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 72px 4% 40px;
    position: relative;
    z-index: 2;
}

#contact.baset-footer .footer-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 4%;
    left: 4%;
    height: 5px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(
        90deg,
        var(--footer-light-green) 0 86px,
        rgba(208, 208, 208, 0.72) 86px 100%
    );
}

#contact.baset-footer .footer-grid {
    display: grid;
    grid-template-columns: minmax(265px, 1.55fr) minmax(175px, 0.78fr) minmax(300px, 1.55fr) minmax(150px, 0.62fr);
    align-items: start;
    gap: 30px;
    margin-bottom: 0;
}

#contact.baset-footer .footer-col {
    min-width: 0;
}

#contact.baset-footer .footer-col h4 {
    margin: 0 0 22px;
    padding: 1px 14px 1px 0;
    color: var(--footer-dark-green);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.7;
    border-right: 4px solid var(--footer-light-green);
}

#contact.baset-footer .footer-col h4::after {
    display: none;
}

#contact.baset-footer .footer-about p {
    margin: 0 0 14px;
    color: rgba(5, 50, 43, 0.72);
    font-size: 0.94rem;
    line-height: 2.05;
}

#contact.baset-footer .footer-links {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#contact.baset-footer .footer-links li {
    margin: 0;
    border-bottom: 0;
}

#contact.baset-footer .footer-links li:last-child {
    border-bottom: 0;
}

#contact.baset-footer .footer-links a {
    display: flex;
    align-items: center;
    min-height: 39px;
    padding: 7px 2px;
    gap: 10px;
    color: rgba(5, 50, 43, 0.78);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

#contact.baset-footer .footer-links a i {
    color: var(--footer-green);
    font-size: 0.68rem;
    opacity: 0.72;
}

#contact.baset-footer .footer-links a:hover {
    padding-right: 8px;
    color: var(--footer-green);
    background: transparent;
    transform: none;
}

#contact.baset-footer .footer-links a:hover i {
    color: var(--footer-light-green);
    opacity: 1;
    transform: translateX(-4px);
}

#contact.baset-footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#contact.baset-footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#contact.baset-footer .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    color: var(--footer-green);
    background: rgba(2, 188, 148, 0.1);
    border: 1px solid rgba(2, 188, 148, 0.16);
    border-radius: 13px;
    backdrop-filter: none;
}

#contact.baset-footer .contact-info li:hover .icon-box {
    color: var(--footer-white);
    background: var(--footer-green);
    transform: translateY(-2px);
}

#contact.baset-footer .contact-text {
    color: rgba(5, 50, 43, 0.68);
    font-size: 0.9rem;
    line-height: 1.8;
}

#contact.baset-footer .contact-text strong {
    margin-bottom: 2px;
    color: var(--footer-dark-green);
    font-weight: 800;
}

#contact.baset-footer .contact-text a,
#contact.baset-footer .contact-text span {
    color: rgba(5, 50, 43, 0.72);
}

#contact.baset-footer .contact-text a:hover {
    color: var(--footer-green);
}

#contact.baset-footer .trust-seals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

#contact.baset-footer .trust-seal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 152px);
    aspect-ratio: 1;
    padding: 18px;
    background: var(--footer-white);
    border: 1px solid rgba(208, 208, 208, 0.75);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(5, 50, 43, 0.06);
    backdrop-filter: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

#contact.baset-footer .trust-seal-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 0.82;
}

#contact.baset-footer .trust-seal-item:hover {
    background: var(--footer-white);
    border-color: rgba(1, 131, 116, 0.4);
    box-shadow: 0 16px 34px rgba(5, 50, 43, 0.1);
}

#contact.baset-footer .footer-bottom {
    padding: 18px 0;
    color: var(--footer-white);
    background: var(--footer-dark-green);
    border-top: 0;
    position: relative;
    z-index: 3;
}

#contact.baset-footer .bottom-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

#contact.baset-footer .copyright-text {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

#contact.baset-footer .copyright-text strong {
    color: var(--footer-white);
}

#contact.baset-footer .social-network a {
    width: 40px;
    height: 40px;
    color: var(--footer-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    backdrop-filter: none;
}

#contact.baset-footer .social-network a:hover {
    color: var(--footer-dark-green);
    background: var(--footer-light-green);
    border-color: var(--footer-light-green);
}

html[lang='en'] #contact.baset-footer .footer-col h4 {
    padding-right: 0;
    padding-left: 14px;
    border-right: 0;
    border-left: 4px solid var(--footer-light-green);
}

html[lang='en'] #contact.baset-footer .footer-links a:hover {
    padding-right: 2px;
    padding-left: 8px;
}

html[lang='en'] #contact.baset-footer .footer-links a:hover i {
    transform: translateX(4px) scaleX(-1);
}

@media (max-width: 1180px) {
    #contact.baset-footer .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 36px 28px;
    }

    #contact.baset-footer .footer-col:first-child {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    #contact.baset-footer {
        margin-top: 16px;
        border-radius: 30px 30px 0 0;
    }

    #contact.baset-footer::after {
        bottom: 70px;
        left: -100px;
        width: 310px;
        height: 310px;
    }

    #contact.baset-footer .footer-container {
        padding: 54px 6% 34px;
    }

    #contact.baset-footer .footer-container::before {
        right: 6%;
        left: 6%;
    }

    #contact.baset-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    #contact.baset-footer .footer-col h4 {
        margin-bottom: 17px;
        font-size: 1.05rem;
    }

    #contact.baset-footer .footer-about p {
        text-align: start;
    }

    #contact.baset-footer .trust-seal-item {
        width: 138px;
    }

    #contact.baset-footer .bottom-container {
        padding: 0 6%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    #contact.baset-footer *,
    #contact.baset-footer *::before,
    #contact.baset-footer *::after {
        transition-duration: 0.01ms !important;
    }
}
