/* ==========================================
   Senura Enterprises - Footer Styles (#231648 Theme)
   ========================================== */

.senura-footer-wrapper {
    background-color: #231648;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0 24px;
    position: relative;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Main Footer Columns Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr 1.4fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    position: relative;
}

/* Col 1: About */
.footer-brand-title {
    margin-bottom: 36px;
}

.footer-logo-img {
    height: 74px;
    width: auto;
    object-fit: contain;
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.6;
    color: #d0d2e0;
    max-width: 290px;
}

/* Col 2: Branches */
.footer-branches-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-branches-list li {
    display: flex;
    flex-direction: column;
    padding-left: 12px;
    border-left: 2px solid var(--home-primary, #ffbb00);
    transition: transform 0.2s ease;
}

.footer-branches-list li:hover {
    transform: translateX(4px);
}

.branch-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.branch-address {
    font-size: 12px;
    color: #a0a4c0;
    margin-top: 2px;
}

/* Col 3: Services / Quick Links */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    font-size: 13px;
    font-weight: 600;
    color: #d0d2e0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--home-primary, #ffbb00);
    transform: translateX(4px);
}

/* Col 4: Contact & Hotlines */
.footer-contact-tagline {
    font-size: 12px;
    font-weight: 700;
    color: #a0a4c0;
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-hotline-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.footer-hotline-box:hover {
    border-color: var(--home-primary, #ffbb00);
}

.hotline-icon {
    font-size: 20px;
    color: var(--home-primary, #ffbb00);
}

.hotline-label {
    font-size: 10px;
    font-weight: 800;
    color: #a0a4c0;
    letter-spacing: 0.8px;
    display: block;
}

.hotline-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hotline-link {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hotline-link:hover {
    color: var(--home-primary, #ffbb00);
}

.phone-sep {
    color: #a0a4c0;
    font-weight: 700;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #d0d2e0;
    margin-bottom: 12px;
}

.contact-icon {
    font-size: 14px;
    color: var(--home-primary, #ffbb00);
    width: 16px;
    text-align: center;
}

.whatsapp-icon {
    color: #25d366;
}

.footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: var(--home-primary, #ffbb00);
}

/* Footer Social Links (Moved inside Column 4) */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background-color: var(--home-primary, #ffbb00);
    color: var(--home-text-dark, #231648);
    border-color: var(--home-primary, #ffbb00);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 187, 0, 0.3);
}

/* Bottom Footer Bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #a0a4c0;
}

.copyright-text strong {
    color: #ffffff;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal-links a {
    color: #a0a4c0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--home-primary, #ffbb00);
}

/* Back To Top Floating Button */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--home-primary, #ffbb00);
    color: var(--home-text-white, #ffffff);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(255, 187, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--home-primary-hover, #e5bb00);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(255, 187, 0, 0.5);
}


/* ==========================================
   MOBILE & TABLET RESPONSIVE BREAKPOINTS
   ========================================== */

/* Large Laptops & Desktops (1200px and below) */
@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: 1.1fr 1.3fr 1fr 1.3fr;
        gap: 28px;
    }

    .footer-logo-img {
        height: 64px;
    }
}

/* Medium Laptops & Tablets (1024px and below) */
@media (max-width: 1024px) {
    .senura-footer-wrapper {
        padding: 40px 0 24px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 28px;
        padding-bottom: 32px;
    }

    .footer-about-text {
        max-width: 100%;
    }

    .footer-brand-title {
        margin-bottom: 24px;
    }

    .footer-logo-img {
        height: 60px;
    }
}

/* Tablets & Small Devices (768px and below) */
@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .footer-col-title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .footer-hotline-box {
        padding: 10px 14px;
    }

    .hotline-link {
        font-size: 14px;
    }
}

/* Mobile Phones (576px and below) */
@media (max-width: 576px) {
    .senura-footer-wrapper {
        padding: 32px 0 20px;
        text-align: center;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand-title {
        margin-bottom: 16px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footer-logo-img {
        height: 52px;
        margin: 0 auto;
    }

    .footer-about-text {
        font-size: 13px;
        line-height: 1.55;
        text-align: center;
        margin: 0 auto;
    }

    .footer-col-title {
        font-size: 13px;
        margin-bottom: 14px;
        text-align: center;
    }

    .footer-branches-list {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-branches-list li {
        border-left: none;
        border-bottom: 2px solid var(--home-primary, #ffbb00);
        padding-left: 0;
        padding-bottom: 8px;
        align-items: center;
        text-align: center;
    }

    .footer-branches-list li:hover {
        transform: translateY(-2px);
    }

    .footer-links-list {
        align-items: center;
        text-align: center;
        width: 100%;
    }

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

    .footer-links-list a:hover {
        transform: translateY(-2px);
    }

    .footer-contact-tagline {
        text-align: center;
    }

    .footer-hotline-box {
        padding: 10px 14px;
        gap: 12px;
        justify-content: center;
        text-align: center;
        max-width: 320px;
        width: 100%;
        margin: 0 auto 16px;
    }

    .hotline-info-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hotline-icon {
        font-size: 18px;
    }

    .hotline-numbers {
        justify-content: center;
        text-align: center;
    }

    .hotline-link {
        font-size: 14px;
    }

    .footer-contact-item {
        font-size: 12px;
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }

    .footer-social-links {
        margin-top: 16px;
        gap: 8px;
        justify-content: center;
        width: 100%;
    }

    .footer-social-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding-top: 20px;
        font-size: 12px;
    }

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

    .footer-legal-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 6px;
    }
}

/* Small Mobile Phones (400px and below) */
@media (max-width: 400px) {
    .footer-main-grid {
        gap: 24px;
    }

    .footer-logo-img {
        height: 46px;
    }

    .hotline-numbers {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .phone-sep {
        display: none;
    }

    .footer-legal-links {
        gap: 10px;
        justify-content: center;
    }
}
