/* OTS Premium Footer */

#ots-premium-footer {
    background: #4A5568;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    direction: rtl;
    text-align: right;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

#ots-premium-footer * {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    box-sizing: border-box;
}

.ots-footer-inner {
    max-width: 95%;
    margin: 0 auto;
    padding: 40px 0 24px;
}

/* Top: Logo + Tagline centered */
.ots-footer-top {
    text-align: center;
    margin-bottom: 28px;
}

.ots-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ots-footer-logo-link {
    display: inline-block;
}

.ots-footer-logo {
    max-height: 45px;
    width: auto;
}

.ots-footer-site-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.ots-footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    max-width: 400px;
    line-height: 1.5;
}

/* Navigation Menu - centered grid */
.ots-footer-nav {
    text-align: center;
    margin-bottom: 28px;
}

.ots-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.ots-footer-menu li {
    margin: 0;
    padding: 0;
}

.ots-footer-menu li a {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ots-footer-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Payment Icons */
.ots-footer-payment {
    text-align: center;
}

.ots-footer-payment-icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
}

.ots-footer-payment-icons li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.ots-footer-payment-icons img {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.ots-footer-payment-icons img:hover {
    opacity: 0.8;
}

/* Divider */
.ots-footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

/* Bottom: Copyright + Dev */
.ots-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ots-footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* Developer Credit */
.ots-footer-dev {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.ots-dev-label {
    font-weight: 500;
}

.ots-dev-name {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Icons */
.ots-dev-contact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 4px;
}

.ots-dev-wa,
.ots-dev-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ots-dev-wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.ots-dev-wa:hover {
    background: #25d366;
    color: #fff;
}

.ots-dev-phone {
    background: rgba(0, 163, 224, 0.12);
    color: #00A3E0;
}

.ots-dev-phone:hover {
    background: #00A3E0;
    color: #fff;
}

.ots-dev-wa svg,
.ots-dev-phone svg {
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .ots-footer-inner {
        padding: 30px 0 18px;
    }

    .ots-footer-logo {
        max-height: 35px;
    }

    .ots-footer-menu {
        gap: 5px;
    }

    .ots-footer-menu li a {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 6px;
    }

    .ots-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .ots-footer-payment-icons {
        padding: 8px 14px;
    }

    .ots-footer-payment-icons img {
        height: 20px;
    }

    .ots-footer-dev {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .ots-dev-contact {
        margin-right: 0;
    }
}
