.line_head {
    clear: both;
    width: 100%;
    height: 5px;
    background: #191e2c;
    background: linear-gradient(top, #191e2c 60%, #191e2c 100%);
    border-top: 1px dashed #333333;
    border-bottom: 1px dashed #333333;
    position: relative;
}

.footer_head {
    padding: 0px 28px 0 0;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
    height: 100px;
    margin: auto;
    overflow: visible;
    background: radial-gradient(50% 80%, circle, #0077ff, #003f86);
    background: -moz-radial-gradient(50% 80%, circle, #0077ff, #003f86);
    background: -webkit-radial-gradient(50% 80%, circle, #0077ff, #003f86);
    color: #ffffff;
    position: relative;
    animation: colIn .5s .04s cubic-bezier(.22, 1, .36, 1) forwards;
}

.footer_head .right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--tx-dark);
    overflow: visible;
    font-size: 50px;
}

.footer_head .right i {
    font-size: 70px;
    position: absolute;
    top: -30px;
    left: 40px;
    z-index: 99;
    color: rgb(255, 255, 255);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    animation: planeDrift 3s ease-in-out infinite;
    transition: transform var(--tr), filter var(--tr);
}

.footer_head .right i:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.9));
}

@keyframes planeDrift {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.footer_head p {
    margin: 0 0 0 15px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.3px;
    line-height: 1.2;
    color: var(--bg-white);
}

.footer_head .right p::after {
    content: attr(data-sub);
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--bg-white);
    letter-spacing: .5px;
    margin-top: 2px;
}

.footer_head .left {
    flex: 1;
    min-width: 280px;
}

.footer_head .left form {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .35);
    border: 2px solid var(--bg-white);
    border-radius: 5px;
    overflow: hidden;
    transition: border-color var(--tr), box-shadow var(--tr);
}

.footer_head .left form:focus-within {
    border-color: var(--cta);
    box-shadow: 0 0 0 4px rgba(255, 153, 0, .1), 0 8px 32px rgba(255, 153, 0, .12);
}

.footer_head .left form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: var(--tx-dark);
    font-size: 14px;

}

.footer_head .left form input::placeholder {
    color: var(--tx-muted);
}

.footer_head .left .submit {
    display: flex;
    align-items: center;
    gap: 0px;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0px;
    width: 94px;
    color: var(--navy);
    font-size: 13.5px;
    font-weight: 800;

    cursor: pointer;
    white-space: nowrap;
    transition: all var(--tr);
    letter-spacing: .3px;
}

.footer_head .left .submit:hover {
    background: linear-gradient(135deg, var(--tx-dark) 0%, var(--cta) 100%);
    box-shadow: 0 0 24px rgba(255, 153, 0, .45);
}

.footer_head .left .submit .icon {
    font-size: 80px;
    line-height: 0;
    margin-top: 0px;
}

.footer {
    background: #FFFFFF;
}

.footer .col-lg-3 {
    padding: 28px 24px !important;
    border-inline-end: 1px solid var(--bd);
    transition: background var(--tr);
}

.footer .col-lg-3:last-child {
    border-inline-end: none;
}

.footer .col-lg-3:hover {
    background: rgba(227, 227, 227, 0.379);
}

.footer h4 {
    color: var(--tx-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer h4::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, var(--tx-dark), var(--tx-dark));
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 153, 0, .4);
}

.footer ul.list-unstyled {
    margin: 0;
}

.footer ul.list-unstyled li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bd);
    font-size: 13.5px;
    color: var(--tx-dark);
    transition: color var(--tr);
}

.footer ul.list-unstyled li:last-child {
    border-bottom: none;
}

.footer ul.list-unstyled li:hover {
    color: var(--tx-dark);
}

.footer ul.list-unstyled li i {
    width: 32px;
    height: 32px;
    background: var(--tx-dark);
    border: 1px solid rgba(255, 153, 0, .2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--cta);
    flex-shrink: 0;
    transition: all var(--tr);
}

.footer ul.list-unstyled li:hover i {
    background: rgba(255, 153, 0, .2);
    box-shadow: 0 0 12px rgba(255, 153, 0, .25);
    transform: scale(1.08);
}

.footer .social_icon {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer .social_icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--bd);
    color: var(--tx-muted);
    font-size: 16px;
    text-decoration: none;
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
    position: relative;
    overflow: hidden;
}

.footer .social_icon a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: opacity var(--tr);
}

.footer .social_icon a:hover {
    transform: translateY(-4px) scale(1.15);
    color: var(--tx-dark);
}

.footer .social_icon a.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 6px 20px rgba(29, 161, 242, .35);
}

.footer .social_icon a.facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
    box-shadow: 0 6px 20px rgba(66, 103, 178, .35);
}

.footer .social_icon a.instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e1306c;
    box-shadow: 0 6px 20px rgba(225, 48, 108, .35);
}

.footer .social_icon a.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 6px 20px rgba(10, 102, 194, .35);
}

.footer .social_icon a.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, .35);
}

.footer .link {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 9px 0;
    color: var(--tx-muted);
    text-decoration: none;
    font-size: 13.5px;
    border-bottom: 1px solid transparent;
    transition: all var(--tr);
    position: relative;
    overflow: hidden;
}

.footer .link::before {
    content: '→';
    font-size: 14px;
    color: var(--cta);
    opacity: 0;
    transform: translateX(-6px);
    transition: all var(--tr);
    margin-inline-end: 0;
    display: inline-block;
    line-height: 1;
    flex-shrink: 0;
    width: 0;
    overflow: hidden;
}

.footer .link:hover::before {
    opacity: 1;
    transform: translateX(0);
    width: 18px;
    margin-inline-end: 6px;
}


.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.footer-tags a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--navy);
    border-radius: var(--rad);
    color: var(--tx-muted);
    font-size: 12px;
    text-decoration: none;
    transition: all .28s cubic-bezier(.34, 1.2, .64, 1);
    position: relative;
    overflow: hidden;
}

.footer-tags a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 153, 0, .1), rgba(254, 189, 105, .05));
    transition: opacity var(--tr);
}

.footer-tags a i {
    font-size: 9px;
    color: var(--cta);
}

.footer-tags a:hover {
    color: var(--tx-dark);
    border-color: rgba(255, 153, 0, .3);
    box-shadow: 0 6px 18px rgba(255, 153, 0, .14), 0 0 0 1px rgba(255, 153, 0, .15);
}

.footer-tags a:hover::before {
    opacity: 1;
}

.foot {
    background: var(--nav);
    border-top: 1px solid var(--bd);
    padding: 20px 28px;
    backdrop-filter: blur(4px);
    position: relative;
}

.foot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 0, .2), transparent);
}

.foot .row {
    align-items: center;
}

.foot [class*="col"] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--tx-muted);
    font-size: 12.5px;
    text-align: center;
}

.foot [class*="col"]> :first-child {
    color: var(--tx-muted);
    font-size: 12.5px;
}

.foot .payment {
    height: 22px;
    object-fit: contain;
    opacity: .55;
    filter: grayscale(30%) brightness(1.1);
    transition: opacity var(--tr), filter var(--tr), transform var(--tr);
}

.foot .payment:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

.footer .col-lg-3 {
    animation: colIn .55s cubic-bezier(.22, 1, .36, 1) forwards;
}

.footer .col-lg-3:nth-child(1) {
    animation-delay: .05s;
}

.footer .col-lg-3:nth-child(2) {
    animation-delay: .14s;
}

.footer .col-lg-3:nth-child(3) {
    animation-delay: .23s;
}

.footer .col-lg-3:nth-child(4) {
    animation-delay: .32s;
}


/* =====================================================================
   RTL Fixes
======================================================================== */
[dir="rtl"] .footer_head {
    padding: 0 0 0 28px;
    /* عكس الـ padding */
}

[dir="rtl"] .footer_head p {
    margin: 0 15px 0 0;
    /* عكس الـ margin */
}

/* أيقونة الطائرة — تنقل من left إلى right */
[dir="rtl"] .footer_head .right i {
    left: auto;
    right: 40px;
    transform: scaleX(-1);
    /* عكس اتجاه الطائرة */
}

/* إصلاح animation الطائرة في RTL */
[dir="rtl"] .footer_head .right i:hover {
    transform: scaleX(-1) scale(1.1);
}

/* زر الـ submit — عكس border-radius */
[dir="rtl"] .footer_head .left .submit {
    border-radius: 5px 0 0 5px;
}

/* ---- إصلاح روابط الـ footer ---- */
[dir="rtl"] .footer .link {
    flex-direction: row-reverse;
    /* نص يمين، سهم يسار */
    justify-content: flex-end;
}

[dir="rtl"] .footer .link::before {
    content: '←';
    /* سهم عكسي */
    transform: translateX(6px);
    /* يبدأ من اليمين شوية */
}

[dir="rtl"] .footer .link:hover::before {
    transform: translateX(0);
    margin-inline-end: 0;
    margin-inline-start: 6px;
}

[dir="rtl"] .footer .link:hover {
    padding-inline-start: 0;
    padding-inline-end: 4px;
}

/* ---- footer-tags إذا فيها أيقونات ---- */
[dir="rtl"] .footer-tags a {
    flex-direction: row-reverse;
}

/* ---- الخط العلوي لـ foot ---- */
[dir="rtl"] .foot::before {
    background: linear-gradient(270deg,
            transparent,
            rgba(255, 153, 0, .2),
            transparent);
}

/* =====================================================================
   ≤ 360px
======================================================================== */
@media screen and (max-width: 600px) {
    .footer_head p {
        display: none;
    }
}