/* =====================================================
   CONSOLIDATED FOOTER STYLES - DESINSECT13000
   All footer-related styles in one file
   ===================================================== */

/* ===========================================
   FOOTER BASE STYLES
   =========================================== */
.site-footer {
    background: linear-gradient(135deg, #5cb85c 0%, #52d3aa 100%);
    color: #ffffff;
    border-top: none;
    margin-top: 4rem;
    position: relative;
}

.site-footer::before {
    display: none; /* Remove the top border since we have gradient background */
}

/* ===========================================
   FOOTER CONTENT LAYOUT
   =========================================== */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column {
    color: #ffffff;
}

.footer-column h3,
.footer-column h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after,
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #28a745;
}

.footer-column p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===========================================
   FOOTER LOGO & BRANDING
   =========================================== */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #ffffff;
}

.footer-logo:hover {
    text-decoration: none;
}

.footer-logo-icon {
    font-size: 2rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.company-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #ffffff;
}

/* Certification badge */
.certification-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid #ff6b00;
    margin-top: 10px;
}

/* ===========================================
   FOOTER LINKS
   =========================================== */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #f0f0f0;
    text-decoration: underline;
    transform: translateX(5px);
}

/* Footer contact links */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-contact-item span {
    color: #ffffff;
}

/* CRITICAL: Footer phone links MUST be transparent */
.site-footer a[href^="tel:"],
footer a[href^="tel:"],
.footer-contact-item a[href^="tel:"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #28a745 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a[href^="tel:"]:hover,
footer a[href^="tel:"]:hover,
.footer-contact-item a[href^="tel:"]:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #20c997 !important;
    text-decoration: underline;
}

/* Email links */
.footer-contact-item a[href^="mailto:"] {
    color: #ffffff;
    text-decoration: none;
}

.footer-contact-item a[href^="mailto:"]:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* ===========================================
   FOOTER SOCIAL LINKS
   =========================================== */
.footer-social {
    margin-top: 2rem;
}

.footer-social-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #28a745;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* ===========================================
   FOOTER NEWSLETTER
   =========================================== */
.footer-newsletter {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.newsletter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    outline: none;
}

.newsletter-input:focus {
    border-color: #28a745;
}

.newsletter-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* ===========================================
   FOOTER BOTTOM SECTION
   =========================================== */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #ffffff;
}

.footer-copyright {
    color: #ffffff;
    margin: 0;
}

/* Legal menu */
.legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.legal-menu li {
    display: inline;
}

.legal-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-menu a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* ===========================================
   FOOTER BADGES & CERTIFICATIONS
   =========================================== */
.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-badge img {
    height: 30px;
    width: auto;
}

/* ===========================================
   SCROLL TO TOP BUTTON
   =========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff6b00;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #20c997;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.scroll-to-top i::before {
    content: "↑";
    font-size: 24px;
    font-weight: bold;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-column h3::after,
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-menu {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 3rem 15px 1.5rem;
    }
    
    .footer-column h3,
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .company-name {
        font-size: 1.3rem;
    }
    
    .legal-menu {
        flex-direction: column;
        gap: 10px;
    }
}