/* Standardized Footer Styles - Extracted for Site-Wide Use */

.ultra-footer {
    background: #1a0033;
    color: white;
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 60px;
}

/* Left Side: Logo */
.footer-left {
    flex: 0 0 40%;
    max-width: 40%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 32px;
    /* Fixed height for alignment */
    text-decoration: none;
}

.footer-brand .normal {
    font-weight: 400;
    color: white;
    font-size: 24px;
}

.footer-brand .bold {
    font-weight: 700;
    color: #8f52e7;
    font-size: 24px;
}

.footer-brand img {
    height: 32px;
    filter: brightness(0) invert(1);
}

/* Right Side: Links Grid */
.footer-right-grid {
    flex: 0 0 60%;
    max-width: 60%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-col-new h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 24px 0;
    height: 32px;
    /* Fixed height matching logo */
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-col-new ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.footer-col-new ul li {
    margin-bottom: 12px;
}

.footer-col-new ul li a {
    color: #b3a0cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col-new ul li a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Icons Styling */
.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social-icon:hover {
    background-color: #8f52e7;
}

.footer-social-icon img,
.footer-social-icon svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 60px;
    }

    .footer-left {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-right-grid {
        flex: 0 0 100%;
        max-width: 100%;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right-grid {
        order: 1;
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .footer-left {
        order: 2;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .footer-col-new:nth-child(3) {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* Bottom Bar */
.footer-legal-bar {
    background-color: #1a0033;
    padding: 24px 0;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #ccc;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    flex: 0 0 40%;
    max-width: 40%;
    line-height: 1;
    display: flex;
    align-items: center;
}

.legal-links-new {
    flex: 1;
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 1;
    align-items: center;
}

.legal-links-new a {
    color: #ccc;
    line-height: 1;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.legal-links-new a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

.legal-links-new a:hover {
    color: white;
}

@media (max-width: 600px) {
    .legal-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-bottom: 20px;
    }

    .copyright {
        order: 1;
        max-width: 100%;
        margin-bottom: 8px;
        color: #666;
    }

    .legal-links-new {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 24px;
        white-space: normal;
    }

    .legal-links-new a:not(:last-child)::after {
        display: inline-block;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
    }
}