/* Footer Section - Professional Design */
.footer-section {
    background: linear-gradient(135deg, #0A1E3C 0%, #152642 100%);
    color: #ffffff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(1, 138, 66, 0.5) 50%, 
        transparent 100%);
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer Column */
.footer-col {
    animation: fadeInUp 0.6s ease-out;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

/* Company Info */
.company-info {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #018a42, #0242a4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.logo-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: white;
}

.logo-text p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin: 0;
}

.company-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 25px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: #018a42;
    font-size: 1rem;
    margin-top: 3px;
    min-width: 16px;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 0.9rem;
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #018a42;
}

/* Quick Links & Services Links */
.quick-links h4,
.services-links h4,
.business-hours h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.quick-links h4::after,
.services-links h4::after,
.business-hours h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #018a42, #0242a4);
    border-radius: 2px;
}

.quick-links ul,
.services-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li,
.services-links li {
    margin-bottom: 12px;
}

.quick-links a,
.services-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.quick-links a i,
.services-links a i {
    font-size: 0.8rem;
    color: #018a42;
    transition: transform 0.3s ease;
}

.quick-links a:hover,
.services-links a:hover {
    color: #018a42;
    transform: translateX(5px);
}

.quick-links a:hover i,
.services-links a:hover i {
    transform: translateX(3px);
}

/* Business Hours */
.hours-list {
    margin-bottom: 25px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hour-item:last-child {
    border-bottom: none;
}

.day {
    font-size: 0.9rem;
    color: #CBD5E1;
}

.time {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 500;
}

.certification-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(1, 138, 66, 0.2);
}

.badge i {
    color: #018a42;
    font-size: 0.9rem;
}

.badge span {
    font-size: 0.85rem;
    color: #E2E8F0;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(2, 66, 164, 0.3) 50%, 
        transparent 100%);
    margin: 40px 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #018a42;
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: #018a42;
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #018a42, #0242a4);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #018a42, #0242a4);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(1, 138, 66, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(1, 138, 66, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    animation: float 20s infinite linear;
}

.floating-element:nth-child(2) {
    bottom: 15%;
    right: 8%;
    width: 150px;
    height: 150px;
    animation: float 25s infinite linear reverse;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .company-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 60px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-info {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        gap: 35px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .hour-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== FLOATING WHATSAPP ICON STYLES ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Always visible - no hiding class needed */
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.whatsapp-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp green color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.whatsapp-icon:hover::before {
    transform: translateX(100%);
}

.whatsapp-icon i {
    font-size: 30px;
    color: white;
    transition: all 0.3s ease;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.85);
}

/* Hover Effects */
.whatsapp-link:hover .whatsapp-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #25D366, #1da851);
}

.whatsapp-link:hover .whatsapp-icon i {
    transform: scale(1.1);
}

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Animation */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* Bounce Animation */
@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-float {
    animation: whatsappBounce 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon i {
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on mobile for simplicity */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon i {
        font-size: 25px;
    }
    
    .whatsapp-float {
        animation: whatsappBounce 4s ease-in-out infinite;
    }
}

/* For very small screens */
@media (max-width: 375px) {
    .whatsapp-icon {
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-icon i {
        font-size: 22px;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
    
    .whatsapp-icon {
        animation: none;
    }
    
    .whatsapp-link:hover .whatsapp-icon {
        transform: scale(1.05);
    }
}

/* Remove any hiding styles */
.whatsapp-float.hidden {
    display: none; /* Make sure hidden class actually hides it */
}

/* Optional: Add a notification badge */
.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF3B30;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-icon i {
    font-size: 30px;
    color: white;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon i {
        font-size: 25px;
    }
}