/* Footer Styles - New Design */
.footer {
    background: #3a3a3a;
    color: #ffffff;
    font-family: 'Alexandria', sans-serif;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #BB9659;
    text-align: right;
    direction: rtl;
}

/* Contact Section */
.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffffff;
}

.contact-icon {
    color: #9B7C44;
    width: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1rem;
}

.social-media {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #9B7C44;
    color: #ffffff;
}

.social-icon i {
    font-size: 14px;
}

.social-icon:hover {
    transform: scale(1.1);
    background: #B8860B;
}

.payment-text {
    font-size: 14px;
    color: #9B7C44;
    margin: 0;
    font-weight: 600;
    text-align: center;
}

.bank-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 6px auto 0;
    max-width: 240px;
}

.bank-logo {
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 0 6px;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    min-width: 45px;
}

.bank-image {
    height: 32px;
    width: 238px;
    object-fit: contain;
    border-radius: 2px;
}

.bank-logo.contact {
    background: #0066CC;
    color: #ffffff;
    font-size: 0.6rem;
    letter-spacing: 1px;
}

.bank-logo.aman {
    background: #20B2AA;
    color: #ffffff;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
}

.bank-logo.valu {
    background: #32CD32;
    color: #ffffff;
    font-size: 0.6rem;
}

.bank-logo.nbe,
.bank-logo.nbe2 {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 2px;
}

.bank-logo.qnb {
    background: #0066CC;
    color: #ffffff;
    font-size: 0.6rem;
}

.bank-logo.cib {
    background: #0066CC;
    color: #ffffff;
    font-size: 0.6rem;
}

.bank-logo.fab {
    background: #DC143C;
    color: #ffffff;
    font-size: 0.6rem;
}


/* Branches Section */
.branches-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.branch-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.branch-icon {
    color: #9B7C44;
    width: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.branch-icon i {
    font-size: 1rem;
}

.branch-details {
    flex: 1;
}

.branch-name {
    font-weight: 700;
    font-size: 15px;
    color: #BB9659;
    display: block;
    margin-bottom: 5px;
}

.branch-address {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.4;
    margin: 0;
}

/* Links Section */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links li {
    /* margin-bottom: 12px; */
    width: 100%;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 400;
    line-height: 0.6;
    display: block;
    text-align: right;
    direction: rtl;
}

.footer-links a:hover {
    color: #9B7C44;
}

/* Logo Section */
.footer-logo-section {
    text-align: left;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 280px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-text {
    text-align: left;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #3a3a3a;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #3a3a3a;
    margin: 5px 0 0 0;
    font-weight: 400;
}

.footer-description {
    text-align: right;
    direction: ltr;
}

.footer-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-description p:last-child {
    margin-bottom: 0;
}

/* Footer Bottom */
.footer-bottom {
    background: #9B7C44;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    margin: 0 auto;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-bottom p {
    margin: 0 auto;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    max-width: 1200px;
}

.footer-copyright {
    margin-bottom: 0;
}

.footer-contact-mobile {
    display: none;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

.footer-contact-mobile p {
    margin: 5px auto;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

.footer-contact-mobile i {
    color: #ffffff;
    font-size: 12px;
}

.footer-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-indicator {
    background: #3a3a3a;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.restart-btn {
    background: #3a3a3a;
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.restart-btn:hover {
    background: #2a2a2a;
}

.restart-btn i {
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-logo-section {
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .logo-text {
        text-align: center;
    }

    .footer-description {
        text-align: center;
        direction: ltr;
    }

    .footer-title {
        text-align: center;
        font-size: 1.3rem;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        text-align: center;
        direction: ltr;
    }

    .branch-item {
        justify-content: center;
    }

    .footer {
        padding: 30px 0 0;
    }

    .footer-bottom {
        margin: 0;
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        position: static;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-contact-mobile {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-contact-mobile p {
        margin: 4px auto;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: fit-content;
    }

    .footer-copyright {
        margin-bottom: 8px;
        font-size: 12px;
        text-align: center;
        width: 100%;
    }

    .bank-logos {
        max-width: 200px;
        gap: 3px;
    }

    .bank-logo {
        height: 28px;
        min-width: 50px;
        font-size: 0.6rem;
    }

    .social-media {
        justify-content: center;
        gap: 6px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 0 0;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .contact-item,
    .branch-name,
    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-description p {
        font-size: 0.8rem;
    }

    .logo-name {
        font-size: 1.4rem;
    }

    .footer-logo-img {
        width: 300px;
        height: 70px;
    }

    .bank-logos {
        max-width: 180px;
        gap: 2px;
    }

    .bank-logo {
        height: 25px;
        min-width: 45px;
        font-size: 0.5rem;
        padding: 0 6px;
    }

    .payment-text {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .social-media {
        gap: 5px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        padding: 10px 15px;
        font-size: 12px;
        width: 100%;
        position: static;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        margin: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-contact-mobile {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-contact-mobile p {
        font-size: 12px;
        margin: 3px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: fit-content;
    }

    .footer-copyright {
        margin-bottom: 6px;
        font-size: 10px;
        text-align: center;
        width: 100%;
    }

    .footer-bottom p {
        margin: 0;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}