/* ===================================
   PROFESSIONAL FOOTER STYLING
   Clean, Corporate Design
   =================================== */

/* CSS Variables for Consistent Theming */
:root {
    --footer-primary: #1a237e;
    --footer-secondary: #283593;
    --footer-accent: #ffc107;
    --footer-text: #ffffff;
    --footer-text-muted: rgba(255, 255, 255, 0.8);
    --footer-text-light: rgba(255, 255, 255, 0.6);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-hover: #3f51b5;
    --footer-shadow: rgba(0, 0, 0, 0.3);
    --footer-gradient: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
}

/* Footer Container */
.footer-container {
    position: relative;
    margin-top: 0;
    z-index: 10;
}

/* Main Footer Section */
.footer-section {
    background: var(--footer-gradient);
    color: var(--footer-text);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--footer-accent);
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.footer-content {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Footer Columns */
.footer-col {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }

/* Company Info Column */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-info .footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    transition: all 0.3s ease;
}

.company-info .footer-logo img:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.company-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--footer-text);
}

.company-tagline {
    font-size: 0.9rem;
    color: var(--footer-accent);
    font-weight: 500;
    font-style: italic;
}

.company-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--footer-text-muted);
    margin-bottom: 1.5rem;
}

/* Social Media */
.social-media {
    text-align: center;
}

.social-media h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--footer-text);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--footer-border);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-icon.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #e6683c; }

/* Footer Headings */
.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--footer-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--footer-accent);
    border-radius: 2px;
}

.footer-heading i {
    color: var(--footer-accent);
    font-size: 1rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--footer-accent);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.footer-links a:hover i {
    transform: translateX(3px);
    opacity: 1;
}

/* Contact Information */
.contact-info {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--footer-border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: var(--footer-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon i {
    color: #1a237e;
    font-size: 0.9rem;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-link {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.contact-link:hover {
    color: var(--footer-accent);
}

.office-location {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.office-label {
    color: var(--footer-text);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-text {
    color: var(--footer-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-text strong {
    color: var(--footer-text);
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--footer-border);
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright p {
    margin: 0;
    color: var(--footer-text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .company-info .footer-logo {
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        align-items: center;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .office-location {
        text-align: center;
        align-items: center;
    }
}
