/* Define Variables */
:root {
    --adst-primary: #000000;
    --adst-secondary: #4cbfa2;
    --adst-accent: #37b67a;
    --adst-border: #c2c2c2;
    --adst-bg: #ffffff;
    --adst-bg-alt: #f6f7f8;
    --adst-light-green: #c4ffe7;
    --adst-glass-bg: rgba(255, 255, 255, 0.7);
    --adst-glass-border: rgba(255, 255, 255, 0.5);
    --adst-glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* Custom Footer Styles */
.custom-footer {
    background-color: var(--adst-bg-alt);
    padding-bottom: 0px !important;
    padding-top: 40px;
    padding-inline: 20px;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    box-shadow: 0 -5px 20px 3px #0002;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Right Column (Social & Payment) */
.footer-social-payment {
    background-color: var(--adst-light-green);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--adst-glass-shadow);
}

.footer-social-payment img {
    width: 35px !important;
    height: 35px !important;
    padding: 5px !important;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--adst-primary);
    font-weight: bold;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    min-width: 40px;
    min-height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--adst-primary);
    font-size: 18px;
    text-decoration: none;
    box-shadow: var(--adst-glass-shadow);
    transition: 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--adst-accent) !important;
}

.tax-info {
    margin-top: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tax-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tax-icon {
    background-color: var(--adst-accent);
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
}

/* Center Column (Info) */
.footer-info {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--adst-glass-shadow);
}

.footer-logo .logo {
    max-width: 200px !important;
}

.footer-desc p {
    margin: 15px 0;
    color: var(--adst-primary);
    font-size: 14px;
    line-height: 1.6;
}

.contact-info {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.s-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s-contacts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.s-contacts-item:hover {
    color: var(--adst-accent);
}

.s-contacts-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--adst-accent);
}

.s-contacts-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.unicode {
    font-family: 'Cairo', sans-serif;
    direction: ltr;
}

/* Left Column (Links) */
.footer-links {
    text-align: right;
    background-color: var(--adst-light-green);
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--adst-glass-shadow);
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--adst-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--adst-accent);
    font-weight: bold;
}

/* Copyright Bar */
.footer-copyright {
    background-color: white;
    text-align: center;
    padding-block: 25px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    width: 100%;
    box-shadow: var(--adst-glass-shadow);
}

.footer-copyright p {
    margin-bottom: 0px !important;
}

.footer-copyright a {
    color: var(--adst-primary);
    text-decoration: none;
    font-weight: bold;
}

.footer-copyright a:hover {
    color: var(--adst-accent);
}

/* Hide default GeneratePress Footer */
.site-footer:not(.custom-footer) {
    display: none !important;
}

/* ================================== */
/* ==========<Responsiveness>======== */
/* ================================== */

/* Mobile Screen */
@media (max-width: 576px) {
    .custom-footer {
        padding: 30px 15px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        min-width: 100%;
    }

    .footer-links, .footer-section {
        text-align: center;
    }

    .footer-links ul li {
        margin-bottom: 12px;
    }

    .social-icons, .payment-icons, .contact-info {
        justify-content: center;
    }

    .footer-logo .logo {
        height: auto;
        max-width: 120px !important;
    }
}

/* Small Screens  */
@media (min-width: 577px) and (max-width: 768px) {
    .footer-links, .footer-section {
        text-align: center;
    }

    .social-icons, .payment-icons, .contact-info {
        justify-content: center;
    }

    .footer-logo .logo {
        height: auto;
        max-width: 150px !important;
    }
}

/* Tablet Screen */
@media (min-width: 768px) and (max-width: 920px) {
    .footer-logo .logo {
        height: auto;
        max-width: 180px !important;
    }
}

/* Large Screens */
@media (min-width: 920px) and (max-width: 1280px) {}