/* ============================================
   STICKY FOOTER - Modern UI/UX Design
   ============================================ */

.sticky-footer {
    position: relative;
    height: 580px;
    width: 100%;
}

.sticky-footer-fixed {
    position: relative;
    height: 580px;
    width: 100%;
    z-index: 1;
}

.sticky-footer-sticky {
    position: relative;
    height: 100%;
    overflow-y: auto;
}

.sticky-footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    height: 100%;
    width: 100%;
    border-top: 1px solid rgba(237, 27, 47, 0.2);
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to bottom, #0a0e1a 0%, #12182a 50%, #1a1f35 100%);
    color: #ffffff;
}

@media (min-width: 768px) {
    .sticky-footer-content {
        padding: 4.5rem 3rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .sticky-footer-content {
        padding: 5.5rem 4rem 2.5rem;
    }
}

/* Background Effects - Enhanced */
.sticky-footer-bg {
    position: absolute;
    inset: 0;
    isolation: isolate;
    z-index: 0;
    contain: strict;
    pointer-events: none;
    overflow: hidden;
}

.sticky-footer-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.sticky-footer-gradient-1 {
    top: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        rgba(237, 27, 47, 0.25) 0%,
        rgba(237, 27, 47, 0.1) 40%,
        transparent 70%
    );
}

.sticky-footer-gradient-2 {
    top: 100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle at center,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(99, 102, 241, 0.05) 40%,
        transparent 70%
    );
}

.sticky-footer-gradient-3 {
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(
        ellipse at center,
        rgba(237, 27, 47, 0.2) 0%,
        rgba(237, 27, 47, 0.08) 40%,
        transparent 70%
    );
}

/* Main Content */
.sticky-footer-main {
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Grid Layout - Enhanced */
.sticky-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sticky-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .sticky-footer-grid {
        grid-template-columns: 1.5fr repeat(5, 1fr);
        gap: 2rem;
    }
}

/* Brand Section - Enhanced */
.sticky-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sticky-footer-logo-wrapper {
    display: flex;
    align-items: center;
}

.sticky-footer-logo {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(237, 27, 47, 0.3));
    transition: filter 0.3s ease;
}

.sticky-footer-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(237, 27, 47, 0.5));
}

.sticky-footer-brand-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.01em;
    max-width: 400px;
}

/* Social Links - Modern Design */
.sticky-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.sticky-footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sticky-footer-social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(237, 27, 47, 0.2), rgba(237, 27, 47, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sticky-footer-social-btn:hover {
    border-color: rgba(237, 27, 47, 0.6);
    background: rgba(237, 27, 47, 0.1);
    color: #ed1b2f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(237, 27, 47, 0.3);
}

.sticky-footer-social-btn:hover::before {
    opacity: 1;
}

.sticky-footer-social-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.sticky-footer-social-btn svg {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
}

/* Link Groups - Enhanced Typography */
.sticky-footer-links {
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .sticky-footer-links {
        margin-bottom: 0;
    }
}

.sticky-footer-links-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    padding-bottom: 0.5rem;
}

.sticky-footer-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #ed1b2f, transparent);
    border-radius: 2px;
}

.sticky-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sticky-footer-links-list li {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.sticky-footer-links-list a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.sticky-footer-links-list a::before {
    content: '';
    position: absolute;
    left: -16px;
    width: 6px;
    height: 2px;
    background: #ed1b2f;
    opacity: 0;
    transition: all 0.3s ease;
}

.sticky-footer-links-list a:hover {
    color: #ffffff;
    padding-left: 16px;
}

.sticky-footer-links-list a:hover::before {
    opacity: 1;
}

/* Footer Bottom - Modern Design */
.sticky-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.sticky-footer-bottom > p {
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .sticky-footer-bottom {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
}

.sticky-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

@media (min-width: 768px) {
    .sticky-footer-bottom-links {
        justify-content: flex-end;
        gap: 1rem;
    }
}

.sticky-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.sticky-footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ed1b2f;
    transition: width 0.3s ease;
}

.sticky-footer-bottom-links a:hover {
    color: #ed1b2f;
}

.sticky-footer-bottom-links a:hover::after {
    width: 100%;
}

/* Scroll Animations - Enhanced */
.animated-section {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-16px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-section.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.animated-section:nth-child(1) {
    transition-delay: 0s;
}

.animated-section:nth-child(2) {
    transition-delay: 0.1s;
}

.animated-section:nth-child(3) {
    transition-delay: 0.2s;
}

.animated-section:nth-child(4) {
    transition-delay: 0.3s;
}

.animated-section:nth-child(5) {
    transition-delay: 0.4s;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .sticky-footer {
        height: auto;
        min-height: 700px;
    }

    .sticky-footer-fixed {
        position: relative;
        height: auto;
    }

    .sticky-footer-sticky {
        position: relative;
        top: 0;
    }

    .sticky-footer-content {
        padding: 2.5rem 1.5rem;
    }

    .sticky-footer-logo {
        height: 54px;
    }

    .sticky-footer-brand {
        align-items: center;
        text-align: center;
    }

    .sticky-footer-brand-desc {
        font-size: 0.875rem;
    }

    .sticky-footer-social {
        justify-content: center;
    }

    .sticky-footer-social-btn {
        width: 40px;
        height: 40px;
    }

    .sticky-footer-social-btn svg {
        width: 17px;
        height: 17px;
    }

    .sticky-footer-links {
        text-align: center;
    }

    .sticky-footer-links-title {
        font-size: 0.75rem;
    }

    .sticky-footer-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sticky-footer-links-list li {
        font-size: 0.875rem;
    }

    .sticky-footer-bottom {
        font-size: 0.8125rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .animated-section,
    .sticky-footer-social-btn,
    .sticky-footer-links-list a,
    .sticky-footer-bottom-links a {
        transition: none;
    }

    .animated-section {
        opacity: 1;
        filter: none;
        transform: none;
    }
}
