/* ============================================
   ULTRA-PREMIUM FOOTER - 2025 DESIGN
   ============================================ */

/* Footer Container - Modern Gradient Background */
.footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #16213e 50%, #0f1932 75%, #0a0e27 100%) !important;
    padding-top: 100px !important;
    padding-bottom: 30px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

/* Animated Mesh Gradient Background */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(15, 76, 117, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(50, 130, 184, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    33% { 
        transform: translate(30px, -30px) scale(1.1); 
    }
    66% { 
        transform: translate(-30px, 30px) scale(0.9); 
    }
}

/* Floating Particles Effect */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.25), transparent);
    background-size: 200% 200%;
    animation: particleFloat 30s linear infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Footer Content Wrapper */
.footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Columns - Card Style */
.footer .col-lg-4,
.footer .col-lg-2,
.footer .col-lg-3 {
    padding: 25px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.footer .col-lg-4:hover,
.footer .col-lg-2:hover,
.footer .col-lg-3:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(15, 76, 117, 0.3);
}

/* Glowing Border Effect on Hover */
.footer .col-lg-4::before,
.footer .col-lg-2::before,
.footer .col-lg-3::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #0f4c75, #3282b8, #25D366);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer .col-lg-4:hover::before,
.footer .col-lg-2:hover::before,
.footer .col-lg-3:hover::before {
    opacity: 1;
}

/* Footer Logo - Enhanced */
.footer-logo {
    margin-bottom: 25px;
    position: relative;
}

.footer-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #3282b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(50, 130, 184, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover h2 {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 25px rgba(50, 130, 184, 0.6));
}

.footer-logo img {
    max-width: 220px;
    height: auto;
    filter: brightness(1.2) drop-shadow(0 5px 15px rgba(50, 130, 184, 0.4));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover img {
    transform: scale(1.08) rotate(-2deg);
    filter: brightness(1.3) drop-shadow(0 8px 25px rgba(50, 130, 184, 0.6));
}

/* Footer Headings - Glowing Effect */
.footer h6 {
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(50, 130, 184, 0.5);
}

.footer h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0f4c75, #3282b8, transparent);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(50, 130, 184, 0.5);
}

/* Animated Underline Grow Effect */
.footer h6::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #25D366, #FFD700);
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.footer .col-lg-4:hover h6::before,
.footer .col-lg-2:hover h6::before,
.footer .col-lg-3:hover h6::before {
    width: 60px;
}

/* Footer Paragraph Text */
.footer p,
.footer .footer-text {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.9;
    font-size: 0.98rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer Links - Modern Style */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}

.footer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #3282b8, #25D366);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer ul li:hover::before {
    opacity: 1;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 10px rgba(50, 130, 184, 0.8);
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    position: relative;
}

.footer ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3282b8, #25D366);
    transition: width 0.3s ease;
}

.footer ul li a:hover {
    color: #fff !important;
    padding-left: 10px;
    text-shadow: 0 0 10px rgba(50, 130, 184, 0.8);
}

.footer ul li a:hover::after {
    width: 100%;
}

/* Icon Styling with Gradient */
.footer ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    color: #3282b8;
}

.footer ul li a:hover i {
    transform: scale(1.2) rotate(360deg);
    color: #25D366;
}

/* Specific icon colors */
.footer .fa-home { color: #3282b8; }
.footer .fa-info-circle { color: #10b981; }
.footer .fa-compass { color: #f59e0b; }
.footer .fa-envelope { color: #ef4444; }
.footer .fa-phone { color: #8b5cf6; }
.footer .fa-whatsapp { color: #25D366; }

/* Premium WhatsApp Button */
.social-links {
    margin-top: 30px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
    border: 2px solid #25D366;
    border-radius: 50px;
    color: #25D366 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(10px);
}

/* Animated Gradient Background */
.whatsapp-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.whatsapp-link:hover::before {
    left: 100%;
}

.whatsapp-link:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    border-color: #25D366;
}

.whatsapp-link:active {
    transform: translateY(-2px) scale(1.02);
}

.whatsapp-link i {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.whatsapp-link:hover i {
    transform: scale(1.3) rotate(360deg);
}

/* Location Icon - Special Color */
.footer .fa-map-marker-alt {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

/* Footer Divider - Glowing Line */
.footer hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(50, 130, 184, 0.5), transparent);
    margin: 50px 0 35px;
    position: relative;
    box-shadow: 0 0 10px rgba(50, 130, 184, 0.3);
}

.footer hr::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: linear-gradient(90deg, #0f4c75, #3282b8, #0f4c75);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(50, 130, 184, 0.6);
}

/* Copyright Text */
.footer .text-center p {
    margin-bottom: 12px;
}

.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Override Bootstrap */
.footer.text-white * {
    color: inherit;
}

/* Developer Credit - Ultra Premium Glowing Effect */
.developer-credit {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.8px;
    margin-top: 18px;
    font-weight: 500;
}

.credit-link {
    color: #5FA8D3;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    text-shadow: 0 0 15px rgba(95, 168, 211, 0.5);
    letter-spacing: 0.5px;
    padding: 5px 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(95, 168, 211, 0.1), rgba(95, 168, 211, 0.05));
}

/* Holographic Shimmer Effect */
.credit-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(45deg, #5FA8D3, #FFD700, #FF6B9D, #5FA8D3);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: shimmerBorder 3s linear infinite;
}

@keyframes shimmerBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.credit-link:hover::before {
    opacity: 1;
}

.credit-link:hover {
    color: #FFD700;
    text-decoration: none;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer {
        padding-top: 70px;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 45px;
    }
}

@media (max-width: 767px) {
    .footer {
        padding-top: 60px;
    }
    
    .whatsapp-link {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer h6 {
        font-size: 1.05rem;
    }
    
    .developer-credit {
        font-size: 0.88rem;
    }
    
    .footer p,
    .footer ul li a {
        font-size: 0.92rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 50px;
    }
    
    .footer-logo img {
        max-width: 160px;
    }
    
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .footer h6::after,
    .footer h6::before {
        width: 50px;
    }
    
    .whatsapp-link {
        font-size: 0.95rem;
        padding: 13px 24px;
    }
    
    .developer-credit {
        font-size: 0.85rem;
    }
    
    .credit-link {
        display: inline-block;
        margin-top: 5px;
    }
}

/* Scroll to Top Button (Optional Enhancement) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(15, 76, 117, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(15, 76, 117, 0.6);
}
