/* Site Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 3rem 0 1rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand Section */
.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: #0b6cff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 108, 255, 0.3);
}

/* Footer Navigation Sections */
.footer-nav h3,
.footer-services h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0b6cff;
    display: inline-block;
}

.footer-nav ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-services a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    font-size: 0.9rem;
    display: block;
    padding: 0.25rem 0;
}

.footer-nav a:hover,
.footer-services a:hover {
    color: #0b6cff;
    padding-left: 0.5rem;
}

/* Footer Contact Section */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #cccccc;
    font-size: 0.8rem;
}

.contact-item i {
    margin-right: 0.75rem;
    color: #0b6cff;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-item a:hover {
    color: #0b6cff;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #999999;
}

.footer-credits a,
.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover,
.footer-legal a:hover {
    color: #0b6cff;
}

.footer-copyright {
    font-weight: 500;
}

/* Enhanced Mobile Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .footer-content {
        padding: 0 1.5rem;
    }
    
    .footer-main {
        gap: 1.8rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .site-footer {
        padding: 2.5rem 0 1rem 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-nav,
    .footer-services,
    .footer-contact {
        text-align: center;
    }
    
    .footer-nav a:hover,
    .footer-services a:hover {
        padding-left: 0; /* Remove left padding on hover for centered layout */
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
        margin-bottom: 0;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-description {
        max-width: 300px;
        margin: 0 auto 1.5rem auto;
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .footer-nav h3,
    .footer-services h3,
    .footer-contact h3 {
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }
    
    .footer-nav a,
    .footer-services a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .contact-item i {
        margin-right: 1rem;
        width: 20px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        font-size: 0.9rem;
        padding-top: 1.5rem;
    }
    
    .footer-credits,
    .footer-copyright,
    .footer-legal {
        width: 100%;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-main {
        gap: 2rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .footer-brand-text {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        max-width: 280px;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-nav h3,
    .footer-services h3,
    .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-nav a,
    .footer-services a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .contact-item {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.3rem;
        width: auto;
    }
    
    .contact-item a {
        word-break: break-word;
        line-height: 1.4;
    }
    
    .footer-bottom {
        gap: 0.8rem;
        font-size: 0.8rem;
        padding-top: 1rem;
    }
    
    .footer-credits span,
    .footer-copyright span,
    .footer-legal span {
        display: block;
        line-height: 1.4;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .footer-content {
        padding: 0 0.8rem;
    }
    
    .footer-description {
        max-width: 250px;
        font-size: 0.8rem;
    }
    
    .footer-brand-text {
        font-size: 1rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-nav h3,
    .footer-services h3,
    .footer-contact h3 {
        font-size: 1rem;
    }
    
    .footer-nav a,
    .footer-services a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
    }
}