/* Enhanced Footer Styling - Advanced Version with Unique Classes */
.footer-main-wrapper {
    position: relative;
    overflow: hidden;
}

.footer-main-container {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 50%, #003d82 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

.footer-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: footer-shimmer 3s infinite;
    pointer-events: none;
    /* Gunakan transform, bukan left — transform tidak memicu layout recalculation */
    transform: translateX(-100%);
}

@keyframes footer-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Logo Section Enhanced */
.footer-logo-section {
    position: relative;
    z-index: 2;
}

.footer-logo-image {
    margin-top: 3rem;
    filter: brightness(1.2) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
    border-radius: 25%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-logo-image:hover {
    filter: brightness(1.3) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.footer-company-title {
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-company-subtitle {
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer Columns Enhanced */
.footer-column {
    position: relative;
    z-index: 2;
    padding: 25px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-section-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-section-title i {
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 10px;
    font-size: 1.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #64b5f6, rgba(255, 255, 255, 0.3));
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    filter: blur(2px);
}

/* Footer Links Enhanced */
.footer-links-list {
    padding: 0;
    margin: 0;
}

.footer-links-item {
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 5px;
}

.footer-links-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #64b5f6);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-links-item:hover::before {
    width: 3px;
}

.footer-links-item:hover {
    transform: translateX(8px);
    padding-left: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.footer-link i {
    transition: all 0.3s ease;
    margin-right: 8px;
    font-size: 0.9em;
}

.footer-link:hover {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.footer-link:hover i {
    color: #64b5f6;
    transform: scale(1.2);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #64b5f6);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-link:hover::after {
    width: 100%;
}

/* Social Media Icons Enhanced */
.footer-social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.footer-social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.footer-social-btn:hover::before {
    width: 100px;
    height: 100px;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Specific social media colors */
.footer-social-btn:hover .fa-facebook-f {
    color: #4267B2;
}

.footer-social-btn:hover .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social-btn:hover .fa-youtube {
    color: #FF0000;
}

/* Contact Section Enhanced */
.footer-contact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.footer-contact-text:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact-text i {
    margin-right: 10px;
    color: #64b5f6;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.footer-contact-text:hover i {
    color: #ffffff;
    transform: scale(1.2);
}

.footer-whatsapp-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 25px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-link:hover {
    color: #25D366 !important;
    background: rgba(37, 211, 102, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Quick Contact Buttons Enhanced */
.footer-quick-contact-btn {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.footer-quick-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.footer-quick-contact-btn:hover::before {
    width: 200px;
    height: 200px;
}

.footer-quick-contact-btn.btn-success {
    color: #ffffff;
    background: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.footer-quick-contact-btn.btn-info {
    color: #ffffff;
    background: #17a2b8;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.footer-quick-contact-btn.btn-warning {
    color: #ffffff;
    background: #cc9b06;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Bottom Section Enhanced */
.footer-bottom-section {
    padding-top: 50px;
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.footer-bottom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-bottom-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.footer-bottom-title i {
    background: linear-gradient(45deg, #ffffff, #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 12px;
}

.footer-map-iframe {
    width: 100%;
    max-width: 600px;
    height: 310px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.footer-map-iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .footer-map-iframe {
        height: 260px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-map-iframe {
        height: 220px;
        border-radius: 10px;
    }
}

/* Address Section Enhanced */
.footer-address-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-address-info:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-address-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* Copyright Section Enhanced */
.footer-copyright-section {
    background: rgba(0, 0, 0, 0.2);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    margin-top: 40px !important;
    backdrop-filter: blur(10px);
}

.footer-copyright-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.footer-copyright-text i {
    color: #ffffff;
}

.footer-copyright-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Responsive Design Enhanced */
@media (max-width: 768px) {
    .footer-column {
        margin-bottom: 35px;
        text-align: center;
        padding: 20px 15px;
    }
    
    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-item:hover {
        transform: translateX(0);
        padding-left: 5px;
    }
    
    .footer-bottom-section .row {
        flex-direction: column-reverse;
    }
    
    .footer-bottom-section .col-lg-6 {
        margin-top: 10px;
        margin-bottom: 25px;
    }
    
    .footer-quick-contact .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-quick-contact-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-social-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin: 0 6px;
    }
    .footer-column {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-image {
        max-height: 60px !important;
    }
    
    .footer-column {
        padding: 15px 10px;
    }
    
    .footer-map-iframe {
        height: 250px;
    }
    
    .footer-company-title {
        font-size: 1.2rem;
    }
    
    .footer-section-title {
        font-size: 1.1rem;
    }
    .footer-address-info {
        max-width: 95vw;
        margin: 0 auto;
        padding: 10px 8px;
        font-size: 1rem;
        line-height: 1.5;
    }
    .footer-address-text {
        word-break: break-word;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .footer-quick-contact .footer-quick-contact-btn {
        width: 100%;
        margin-bottom: 8px;
    }
    .footer-quick-contact .d-flex {
        flex-direction: column !important;
        align-items: center;
    }
}

/* Advanced Animations */
@keyframes footer-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footer-slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes footer-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes footer-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Footer columns use AOS for scroll-triggered animation — no CSS keyframe overrides */

/* Subtle hover lift retained for interactivity */
.footer-column:hover {
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .footer-column,
    .footer-logo-image,
    .footer-links-item,
    .footer-social-btn,
    .footer-address-info {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}