/* ============================================
   PREMIUM FOOTER STYLES - ULTRA MODERN
   ============================================ */

/* Footer Section */
footer.footer {
    background: linear-gradient(180deg,
            #000 0%,
            #0a0a0a 50%,
            #000 100%);
    border-top: none;
    position: relative;
    overflow: hidden;
    padding-top: 4.25rem;
    /* Reduced by 15% */
    padding-bottom: 3.4rem;
    /* Reduced by 15% */
}

/* Animated Top Border */
footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--premium-primary) 20%,
            var(--premium-primary-hover) 40%,
            #fff 50%,
            var(--premium-primary-hover) 60%,
            var(--premium-primary) 80%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* Glow Effect */
footer.footer::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse at center,
            rgba(255, 77, 0, 0.15) 0%,
            rgba(255, 77, 0, 0.05) 40%,
            transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

/* Footer Content Wrapper */
footer .container {
    position: relative;
    z-index: 1;
}

/* Footer Main Heading - Ultra Premium */
footer .heading_h2 {
    font-size: clamp(1.7rem, 5vw, 3.4rem);
    /* Reduced by 15% */
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.7rem;
    /* Reduced by 15% */
    position: relative;
    display: block;
    /* Changed from inline-block */
    animation: fadeInUp 0.8s ease-out both;
    text-align: left;
    /* Align left */
}

/* Remove gradient text, use solid white with glow */
footer .heading_h2,
footer .heading_h2 * {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #fff !important;
    text-shadow: 0 0 40px rgba(255, 77, 0, 0.4),
        0 0 20px rgba(255, 77, 0, 0.2);
}

/* Email Link Enhancement */
.footer_link {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer_link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--premium-primary);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--premium-primary);
}

.footer_link:hover::after {
    width: 100%;
}

.footer_link:hover {
    transform: translateX(10px);
}

.footer_link:hover .heading_h2 {
    text-shadow: 0 0 60px rgba(255, 77, 0, 0.6),
        0 0 30px rgba(255, 77, 0, 0.4),
        0 0 15px rgba(255, 77, 0, 0.2);
}

/* Footer Logo */
footer .logo {
    animation: fadeInUp 0.6s ease-out 0.3s both;
    transition: all 0.3s ease;
    position: relative;
}

footer .logo::before {
    content: '';
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle,
            rgba(255, 77, 0, 0.3) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    filter: blur(25px);
}

footer .logo:hover::before {
    opacity: 1;
}

footer .logo:hover {
    transform: scale(1.1);
}

footer .nav_logo-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 77, 0, 0.4));
}

footer .logo:hover .nav_logo-icon {
    transform: rotate(-15deg);
    filter: drop-shadow(0 0 25px rgba(255, 77, 0, 0.8));
}

/* Footer Brand Name - No gradient, solid white */
footer .paragraph_xlarge[data-brand-name="true"] {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.02rem !important;
    /* Reduced by 15% */
    font-weight: 500;
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

/* Footer Subheading */
footer .subheading {
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 0.6s ease-out 0.4s both;
    line-height: 1.9;
    font-size: 0.98rem;
    /* Reduced by 15% */
    font-weight: 300;
}

/* Footer Grid */
footer .grid_2-col {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Text Links in Footer - Clean Style */
.text-link.is-secondary {
    color: var(--premium-primary);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 0.85rem;
    /* Reduced by 15% */
}

.text-link.is-secondary::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--premium-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.text-link.is-secondary:hover {
    color: var(--premium-primary-hover);
    transform: translateX(5px);
    text-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
}

.text-link.is-secondary:hover::after {
    transform: scaleX(1);
}

/* Footer Bottom Decoration */
footer.footer .container::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 77, 0, 0.5) 50%,
            transparent 100%);
}

/* Responsive Footer */
@media (max-width: 991px) {
    footer .heading_h2 {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    footer.footer {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    footer .paragraph_xlarge[data-brand-name="true"] {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 767px) {
    footer .heading_h2 {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    footer .logo .paragraph_xlarge {
        font-size: 1rem !important;
    }

    footer .subheading {
        font-size: 1rem;
    }

    footer.footer {
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    footer.footer::after {
        width: 400px;
        height: 150px;
    }
}

@media (max-width: 479px) {
    footer.footer {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
        text-align: left;
        /* Ensure left alignment specifically for mobile */
    }

    footer .heading_h2 {
        font-size: clamp(1.5rem, 8vw, 1.8rem);
        /* Optimized for mobile */
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }

    footer .paragraph_xlarge[data-brand-name="true"] {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }

    footer .grid_2-col,
    footer .grid_3-col {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 1.5rem;
    }

    .footer_link {
        display: block;
        margin-bottom: 0.5rem;
    }

    /* Stack buttons/links nicely */
    footer .button-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}