/* Modern Clean Footer Styles */

/* Footer Top Section */
.footer-top {
    padding: 80px 0 50px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef6603, #ff8a3d, #0066cc, #ef6603);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

/* Footer Logo Section */
.footer-about {
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 30px;
    gap: 20px;
    align-items: flex-start;
}

.footer-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.12);
}

.footer-logo-text .sitename {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-family: 'Raleway', sans-serif;
}

.footer-tagline {
    color: #ef6603;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.footer-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Social Links */
.social-links {
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, #ef6603, #ff8a3d);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(239, 102, 3, 0.4);
    border-color: transparent;
}

.social-link i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Footer Links Sections */
.footer-links h4.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
}

.footer-links h4.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #ef6603, #ff8a3d);
    border-radius: 1px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 14px;
    position: relative;
}

.footer-links-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 6px 0;
    border-radius: 6px;
    position: relative;
}

.footer-links-list li a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background: #ef6603;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-list li a:hover {
    color: #ffffff;
    background: rgba(239, 102, 3, 0.1);
    transform: translateX(8px);
    padding-left: 10px;
}

.footer-links-list li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-links-list li a:hover i {
    color: #ef6603;
    transform: translateX(3px);
}

.footer-links-list li a i {
    font-size: 0.8rem;
    color: #64748b;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Contact Info Section */
.footer-contact h4.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
}

.footer-contact h4.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #ef6603, #ff8a3d);
    border-radius: 1px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(239, 102, 3, 0.3);
    transform: translateY(-2px);
}

.contact-item i {
    color: #ef6603;
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
    background: rgba(239, 102, 3, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-family: 'Raleway', sans-serif;
}

.contact-details p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

/* Footer Bottom Section */
.footer-bottom {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 102, 3, 0.3), transparent);
}

.copyright {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ef6603;
    transition: width 0.3s ease;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .footer-top {
        padding: 60px 0 40px;
    }
    
    .footer-about {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
    }
    
    .footer-logo-text .sitename {
        font-size: 1.3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-contact {
        margin-bottom: 40px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .contact-item {
        gap: 15px;
        padding: 20px;
    }
    
    .contact-item i {
        align-self: center;
    }
    
    .footer-links h4.footer-heading::after {
        left: 10%;
        transform: translateX(-50%);
    }
    
    .footer-contact h4.footer-heading::after {
        left: 10%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .footer-logo-text .sitename {
        font-size: 1.2rem;
    }
    
    .footer-tagline {
        font-size: 0.75rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-links h4.footer-heading {
        font-size: 1rem;
    }
    
    .footer-links-list li a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-details h5 {
        font-size: 0.9rem;
    }
    
    .contact-details p {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
    
    .footer-bottom {
        padding: 25px 0;
    }
}

/* Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .footer-top {
        background: linear-gradient(135deg, #0a0e1a 0%, #151b2d 100%);
    }
    
    .footer-bottom {
        background: rgba(10, 14, 26, 0.95);
    }
}

/* Accessibility improvements */
.social-link:focus,
.footer-links-list li a:focus,
.footer-bottom-links a:focus {
    outline: 2px solid #ef6603;
    outline-offset: 3px;
}

/* Print styles */
@media print {
    .footer-top,
    .footer-bottom {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .social-links,
    .footer-bottom-links {
        display: none !important;
    }
    
    .footer-logo-text .sitename,
    .footer-links h4.footer-heading,
    .contact-details h5 {
        color: #000000 !important;
    }
    
    .footer-description,
    .footer-links-list li a,
    .contact-details p,
    .copyright {
        color: #333333 !important;
    }
    
    .contact-item {
        background: transparent !important;
        border: none !important;
    }
}

/* Performance optimizations */
.footer-top,
.footer-bottom {
    contain: layout style;
}

.social-link,
.footer-links-list li a,
.contact-item {
    will-change: transform;
}

/* Smooth scrolling for footer links */
.footer-links-list li a,
.footer-bottom-links a {
    scroll-behavior: smooth;
}
