/* Footer Styles */
:root {
    --primary-color: #bae6e6;
    --secondary-color: #a8d0d0;
    --accent-color: #7fb8b8;
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --text-color: #333333;
    --shadow: 0 4px 15px rgba(203, 227, 227, 0.3);
    --shadow-hover: 0 8px 25px rgba(203, 227, 227, 0.5);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Main Container */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: var(--light-color);
    padding: 2rem 0 1rem;
    position: relative;
    margin-top: 2rem;
    border-top: 3px solid var(--primary-color);
}

/* Footer Content Layout */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1.5rem;
}

/* Footer Logo Section */
.footer-logo {
    flex: 0 0 auto;
}

.footer-logo .logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo .logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--primary-color));
}

/* Footer Info Section */
.footer-info {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.footer-info p {
    margin: 0.3rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-info p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Footer Contact Section */
.footer-contact {
    flex: 0 0 auto;
    min-width: 200px;
}

.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.contact-icon {
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-item a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer Links Section */
.footer-links {
    flex: 0 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: var(--border-radius);
    z-index: -1;
}

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

.footer-links a:hover {
    color: var(--dark-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .footer-logo,
    .footer-info,
    .footer-contact {
        flex: none;
        width: 100%;
        min-width: auto;
    }

    .footer-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .contact-item {
        justify-content: center;
        max-width: 250px;
        margin: 0.4rem auto;
    }

    .footer-contact h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }

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

    .footer-links a {
        width: 100%;
        max-width: 200px;
        text-align: center;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .footer-logo .logo {
        height: 40px;
    }

    .footer-info p {
        font-size: 0.85rem;
    }

    .contact-item {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
}