footer {
    width: 100%;
    background: linear-gradient(180deg, #1a1718, #231f20);
    padding: 100px 0 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38a4a7, #0f3c3d, #38a4a7);
}

footer .footerInner {
    max-width: 1440px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

footer .footerHead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 35px;
    margin-bottom: 70px;
    text-align: center;
}

footer .footerHead h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-family: var(--heading-font);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

footer .footerHead .newsletter {
    max-width: 550px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

footer .footerHead .newsletter h4 {
    font-size: 17px;
    font-family: var(--heading-font);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4em;
    margin: 0;
}

footer .footerHead .newsletter form {
    display: flex;
    gap: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

footer .footerHead .newsletter form:focus-within {
    border-color: #38a4a7;
}

footer .footerHead .newsletter form input {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 0 20px;
    font-size: 15px;
    font-family: var(--heading-font);
    font-weight: 400;
    border: none;
    width: 100%;
    height: 52px;
    outline: none;
}

footer .footerHead .newsletter form input::placeholder {
    color: rgba(255, 255, 255, 0.4)
}

footer .footerHead .newsletter form button {
    background: linear-gradient(135deg, #38a4a7, #0f3c3d);
    color: #fff;
    border: none;
    padding: 0 28px;
    font-size: 15px;
    font-family: var(--heading-font);
    font-weight: 600;
    height: 52px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

footer .footerHead .newsletter form button:hover {
    background: linear-gradient(135deg, #2d8a8d, #0a2d2e);
}

footer .footerRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 0 0;
}

footer .footerRow .footerAbout {
    max-width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

footer .footerRow .footerAbout img {
    max-width: 160px;
}

footer .footerRow .footerCol {
    flex: 1;
}

footer .footerRow .footerAbout p {
    font-size: 18px;
    font-family: var(--aesthetic-font);
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7em;
    margin: 0;
}

.footerSocialIcons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.footerSocialIcons a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footerSocialIcons a:hover {
    background: #38a4a7;
    border-color: #38a4a7;
    color: #fff;
    transform: translateY(-3px);
}

footer .footerRow .footerCol h4 {
    font-size: 18px;
    font-family: var(--heading-font);
    font-weight: 700;
    color: #fff;
    line-height: 1.2em;
    margin: 0 0 28px 0;
    position: relative;
    padding-bottom: 14px;
    text-align: center;
}

footer .footerRow .footerCol h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #38a4a7, transparent);
    border-radius: 2px;
}

[dir="rtl"] footer .footerRow .footerCol h4::after {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, #38a4a7, transparent);
}

footer .footerRow .footerCol ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

footer .footerRow .footerCol ul li {
    list-style: none;
}

footer .footerRow .footerCol ul li a {
    text-decoration: none;
    font-size: 18px;
    font-family: var(--aesthetic-font);
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

footer .footerRow .footerCol ul li a i {
    font-size: 10px;
    color: #38a4a7;
    transition: transform 0.3s ease;
}

footer .footerRow .footerCol ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px) scale(1.05);
}

[dir="rtl"] footer .footerRow .footerCol ul li a:hover {
    transform: translateX(-5px);
}

footer .footerRow .footerCol ul li a:hover i {
    transform: translateX(3px);
}

[dir="rtl"] footer .footerRow .footerCol ul li a:hover i {
    transform: translateX(-3px);
}

.footerBottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    padding: 25px 0;
    text-align: center;
}

.footerBottom p {
    font-size: 14px;
    font-family: var(--heading-font);
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

@media (max-width:992px) {
    footer {
        padding: 70px 0 0 0;
    }

    footer .footerInner {
        padding: 0 20px;
    }

    footer .footerHead,
    footer .footerRow {
        flex-direction: column;
        gap: 40px;
    }

    footer .footerHead h2 {
        font-size: clamp(28px, 8vw, 36px);
        white-space: normal !important;
        word-wrap: break-word;
        padding: 0 15px;
        line-height: 1.25em;
    }

    footer .footerRow .footerAbout,
    footer .footerRow .footerCol {
        width: 100%;
        max-width: 100%;
    }

    footer .footerHead .newsletter {
        max-width: 100%;
    }

    footer .footerHead .newsletter form {
        flex-direction: column;
        border: none;
    }

    footer .footerHead .newsletter form input {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 10px;
    }

    footer .footerHead .newsletter form button {
        width: 100%;
        border-radius: 8px;
    }
}