/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #0B1D3A 0%, #050E1D 100%);
    color: #F1F5F9;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00A1E9, transparent);
}

.footer-main {
    position: relative;
    z-index: 2;
}

/* Brand Section */
.brand-section .logo {
    position: relative;
    transition: transform 0.3s ease;
}

.brand-section .logo:hover {
    transform: translateY(-3px);
}

.brand-section .logo img {
    filter: brightness(1.1) contrast(1.1);
    border-radius: 8px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
}

.brand-description {
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 380px;
    margin-top: 20px;
    padding-left: 10px;
    border-left: 3px solid #00A1E9;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Footer Navigation */
.nav-column {
    margin-bottom: 30px;
}

.nav-column h6 {
    color: #00A1E9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.nav-column h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00A1E9, transparent);
    border-radius: 2px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
    display: inline-block;
    width: fit-content;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #00A1E9;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #00A1E9;
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    width: 100%;
}

/* Contact Info in Connect Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #CBD5E1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item i {
    color: #00A1E9;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item span {
    flex: 1;
}

/* Social Links */
.social-links {
    
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00A1E9, #0077B6);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover i {
    transform: scale(1.1);
}

/* Specific social colors on hover */
.social-links a.twitter:hover { background: #000000; }
.social-links a.facebook:hover { background: #1877f2; }
.social-links a.instagram:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links a.linkedin:hover { background: #0a66c2; }

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00A1E9, transparent);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

.copyright .sitename {
    color: #00A1E9;
    font-weight: 600;
}

.legal-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.legal-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
    padding: 4px 0;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #00A1E9;
    transition: width 0.3s ease;
}

.legal-links a:hover {
    color: #00A1E9;
}

.legal-links a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer {
        padding-top: 40px;
    }
    
    .brand-section {
        padding-left: 0 !important;
        text-align: center;
    }
    
    .brand-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border-left: none;
        padding-top: 10px;
        border-top: 2px solid #00A1E9;
    }
    
    .nav-column {
        text-align: center;
    }
    
    .nav-column h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav a {
        margin: 0 auto;
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 10px;
    }
    
    .legal-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .footer-main .row > div {
        margin-bottom: 30px;
    }
    
    .nav-column h6 {
        font-size: 1rem;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Animation for AOS */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Hover effects for entire footer */
.footer:hover .brand-section .logo img {
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Gradient overlay for visual depth */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 161, 233, 0.1), transparent);
    pointer-events: none;
}

/* Loading animation for social icons */
.social-links a {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.social-links a:nth-child(1) { animation-delay: 0.1s; }
.social-links a:nth-child(2) { animation-delay: 0.2s; }
.social-links a:nth-child(3) { animation-delay: 0.3s; }
.social-links a:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
