/* =========================================
   FOOTER STRUCTURAL STYLES
   Layout, spacing, and positioning for footer elements
   ========================================= */

/* Footer Layout Structure */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    margin-bottom: 50px; /* Increased margin for special buttons spacing */
}

.footer-logo img {
    height: 56px;
    max-width: 100%;
}

.sitename {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0;
}

.footer-welcome {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Footer Cards Layout */
.useful-links-card,
.services-card,
.contact-us-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.useful-links-card:hover,
.services-card:hover,
.contact-us-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

/* Card Headers */
.useful-links-card h4,
.services-card h4,
.contact-us-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Service Card Content */
.service-card,
.links-card,
.contact-card {
    position: relative;
}

.link-list-item,
.service-item,
.service-list-item,
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.link-list-item:hover,
.service-list-item:hover,
.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.link-list-item i,
.service-item i,
.service-list-item i,
.contact-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Footer Section Links */
.footer-section-link,
.contact-link {
    text-decoration: none;
    font-size: 1em;
    transition: all 0.3s ease;
}

.footer-section-text {
    font-size: 1em;
}

/* Social Media Icons */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 1.4rem;
}

/* Scroll to Top Button Structure */
#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#scroll-top i {
    font-size: 1.5rem;
}

/* Special Buttons Structure */
.footer-special-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 20px 0; /* Added top margin for spacing from cards */
}

.footer-special-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.footer-special-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

.footer-special-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Copyright Section */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

.footer-copyright p {
    margin: 0;
    opacity: 0.8;
}

.footer-design-link {
    text-decoration: none;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-special-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-special-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .sitename {
        font-size: 1.25rem;
    }
}
