/**
 * Footer Styles
 * Professional and modern footer design
 */

 /* Footer */
.footer {
    background: var(--black);
    color: #9ca3af;
    padding: 0 0 var(--space-xl);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: var(--text-lg);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

.social-icons a {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-sm);
    color: #6b7280;
}



/* Footer Base */
.footer {
    background: #0f0f0f;
    color: #b0b0b0;
    margin-top: 0;
    font-size: 14px;
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.newsletter-text h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.highlight-link {
    color: #fff;
    text-decoration: none;
    position: relative;
}

.highlight-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.newsletter-inline-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.newsletter-inline-form input[type="email"] {
    width: 320px;
    padding: 0.75rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-inline-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-inline-form input[type="email"]:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: #fff;
    color: #7c3aed;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Main Footer Content */
.footer-main {
    padding: 4rem 0 2rem;
}

/* Company Info Section */
.footer-top {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.footer-logo img {
    width: 200px;
    filter: brightness(0) invert(1);
}

.footer-logo .accent {
    color: #ec4899;
}

.company-tagline {
    color: #808080;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.certifications {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.certifications img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.certifications a:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column h4 i {
    color: #ec4899;
    font-size: 0.9rem;
}

/* Contact & Location Groups */
.contact-group,
.location-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item,
.location-item {
    text-align: left;
}

.contact-item h5,
.location-item h5,
.service-list h5,
.social-section h5,
.press-contact h5 {
    color: #d0d0d0;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a,
.location-item address,
.footer-column a {
    color: #808080;
    font-size: 0.9rem;
    line-height: 1.6;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover,
.footer-column a:hover {
    color: #ec4899;
}

address {
    font-style: normal;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list ul li {
    margin-bottom: 0.5rem;
}

.service-list ul li a {
    color: #808080;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.service-list ul li a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #ec4899;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.service-list ul li a:hover {
    padding-left: 1.5rem;
}

.service-list ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808080;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ec4899;
    border-color: #ec4899;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.press-contact a {
    margin-bottom: 0.25rem;
}

/* Environmental Section */
.footer-eco {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.eco-badges {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.green-badge img {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.green-badge:hover img {
    opacity: 1;
}

/* Carbon Badge Custom Styles */
.carbon-badge {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carbon-badge:hover {
    opacity: 1;
}

#wcb.carbonbadge {
    --b1: #808080;
    --b2: #00ffbc;
    font-size: 13px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright p {
    color: #606060;
    font-size: 0.85rem;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: #808080;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ec4899;
}

.separator {
    color: #404040;
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-text h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-inline-form {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h4 {
        justify-content: center;
    }
    
    .contact-group,
    .location-group {
        align-items: center;
    }
    
    .contact-item,
    .location-item {
        text-align: center;
    }
    
    .newsletter-inline-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-inline-form input[type="email"] {
        width: 100%;
        max-width: 400px;
    }
    
    .eco-badges {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .certifications {
        flex-direction: column;
        gap: 1rem;
    }
    
    .certifications img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .footer-newsletter {
        padding: 2rem 0;
    }
    
    .newsletter-text h3 {
        font-size: 1.25rem;
    }
    
    .newsletter-text p {
        font-size: 0.95rem;
    }
    
    .footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-logo img {
        width: 110px;
        margin: 0 auto;
    }
    .company-tagline {
        font-size: 0.95rem;
    }
}
