/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-main) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.footer-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
}

.decoration-shape {
    position: absolute;
    background: white;
    border-radius: 50%;
}

.decoration-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.decoration-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -25px;
    animation: float 8s ease-in-out infinite reverse;
}

.decoration-shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 10s ease-in-out infinite;
}

/* Main Footer */
.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-content-row {
    align-items: flex-start;
}

.footer-section {
    height: 100%;
}

/* Company Section */
.footer-company {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease-out;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    animation: fadeInUp 0.6s ease-out;
}

.footer-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(87, 186, 163, 0.4);
    color: white;
}

.social-tooltip {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-dark);
}

.social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 55px;
}

/* Footer Titles */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.title-text {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.title-underline {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-light));
    margin-top: 10px;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.6s both;
}

/* Footer Links */
.footer-links {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 8px;
    height: 2px;
    background: var(--accent-green);
    transition: all 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.footer-menu a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-menu a:hover::before {
    transform: scaleX(1);
}

/* Contact Info */
.footer-contact {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-lighter);
    font-size: 16px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content {
    flex: 1;
    min-width: 0;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-link, .contact-text {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-green);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.brand-name {
    color: var(--accent-green);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--accent-green);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 50px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-company {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 50px 0 25px;
    }
    
    .footer-brand {
        font-size: 24px;
    }
    
    .footer-title {
        font-size: 18px;
    }
    
    .contact-item {
        gap: 12px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Widget Styling */
.footer-widget .widget {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.footer-widget .widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    color: white;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-light));
    border-radius: 2px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--accent-green);
}