/* =================================================================
   Footer Alignment & Structure
   Ensures footer matches the rest of the page layout
   ================================================================= */

/* Footer container alignment */
.footer {
    background: #0a0e1a;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(0, 245, 255, 0.15);
}

/* Ensure footer container matches page width */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer content grid */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Footer logo section */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo .logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0.95);
}

.footer-logo .logo:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.footer-logo p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    margin-top: 0.5rem;
}

/* Footer links grid */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

/* Footer column styling */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    color: #e1e5e9;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #a0a9b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #00f5ff;
    transform: translateX(3px);
}

/* Social links styling */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #a0a9b8;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(0, 245, 255, 0.1);
    color: #00f5ff;
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer bottom section */
.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #a0a9b8;
    font-size: 0.9rem;
}

/* =================================================================
   Responsive Design
   ================================================================= */

/* Tablet */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer .container {
        padding: 0 1.5rem;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        text-align: center;
        align-items: center;
    }

    .footer-logo p {
        text-align: center;
        max-width: 100%;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column ul li a {
        display: block;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 2rem;
        margin-top: 1.5rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .footer-logo .logo {
        height: 45px;
    }

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

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column ul li a {
        font-size: 0.85rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}
