/* Main Footer */
.main-footer {
    background-color: #1d1d1d;
    color: #fff;
    padding: 60px 0 0 0;
    position: relative;
}

/* Top row with logo and social media */
.footer-top {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
}

.footer-logo {
    margin-left: 15px;
    max-width: 140px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-logo-area h5 {
    margin: 0;
    color: #b19777;
    font-size: 16px;
    font-weight: 400;
}

.social-icons-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-icons-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons-footer a:hover {
    background-color: #b19777;
}

/* Main content box with border */
.footer-content-box {
    position: relative;
    padding: 40px;
    margin-bottom: 40px;
    border-top: 1px solid #b19777;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid #b19777;
}

/* Promotional area */
.promotional-area {
    padding-right: 20px;
}

.promotional-text {
    margin-bottom: 40px;
}

.promotional-text h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    text-align: right;
}

.promotional-text p {
    color: #b19777;
    margin-bottom: 20px;
    text-align: right;
}

.contact-link {
    display: inline-block;
    color: #b19777;
    text-decoration: none;
    border-bottom: 1px solid #b19777;
    transition: all 0.3s;
    float: right;
}

.contact-link:hover {
    color: #b19777;
}

/* Contact cards */
.contact-info-cards {
    margin-top: 75px;
}

.contact-card {
    background-color: #252525;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    height: 100%;
    margin-bottom: 20px;
}

.contact-card h6 {
    color: #b19777;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-card p {
    margin: 0;
}

.contact-card p a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-card p a:hover {
    color: #b19777;
}



.download-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 30px;
    border: 1px solid #b19777;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
}

.download-profile i {
    margin-right: 10px;
}

.download-profile a {
    border-radius: 30px;
    border-color: #b19777;
    border-width: 1px;
    text-decoration: none;
}

.download-profile p a {
    color: #fff;
}


/* Useful links section */
.useful-links-section {
    padding-right: 20px;
}

.links-heading {
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
    font-size: 18px;
    text-align: right;
}

.links-heading:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #b19777;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: #b19777;
}

/* Sub-footer with copyright */
.sub-footer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sub-footer p {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.modern-footer {
    background: #1a1a1a;
    color: #fff;
}


.modern-footer .butn.butn-bord-thin {
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.butn.butn-bord-thin:hover {
    background: #1a1a1a;
    color: #fff;
}
.butn.butn-bord-thin {
    border-color: rgba(0, 0, 0, 0.12);
    background: transparent;
    color: #1a1a1a;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
.butn.butn-md {
    padding: 14px 35px;
}
.radius-30 {
    border-radius: 30px !important;
}
.butn {
    border: 1px solid transparent;
}

.subscribe-minimal .fa-cloud-download-alt {
    color: #b19777 !important;
    font-size: 1rem;
    margin-inline-start: 0.5rem;
}
.modern-footer .bord-thin-top,
.modern-footer .bord-thin-left,
.modern-footer .bord-thin-right,
.modern-footer .bord-thin-bottom {
    border-color: rgba(255, 255, 255, 0.1);
}

.bord-thin-bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.modern-footer .bord-left {
    position: relative;
}

.modern-footer .bord-left:after {
    content: "";
    position: absolute;
    top: -80px;
    bottom: -80px;
    left: -80px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-footer .sub-bg {
    background: #1d1d1d !important;
}

[dir="rtl"] .custom-sub-title-footer {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

[dir="ltr"] .custom-sub-title-footer {
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo-area, .social-icons-footer {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .social-icons-footer {
        justify-content: center;
    }
    
    .footer-content-box {
        padding: 30px 15px;
    }
    
    .promotional-text h3, .promotional-text p, .contact-link, .links-heading {
        text-align: center;
    }
    
    .contact-link {
        float: none;
    }
    
    .links-heading:after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-links ul {
        text-align: center;
    }
    
    .promotional-area {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .useful-links-section {
        padding-right: 0;
    }
    .modern-footer .bord-left:after {
        display: none;
    }
}

/* RTL specific adjustments */
html[dir="rtl"] .social-icons-footer a {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .download-profile i {
    margin-right: 0;
    margin-left: 10px;
}