.modern-footer {
    background: linear-gradient(135deg, #8C2A00 0%, #00332B 50%, #B71C1C 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: waveFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes waveFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(-20px) translateY(0); }
    75% { transform: translateX(-10px) translateY(5px); }
}

.modern-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 0;
    position: relative;
    z-index: 2;
}

.footer-wave-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-primary);
    clip-path: polygon(0 0, 100% 0, 100% 20px, 0 100%);
}

.footer-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-company {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px var(--shadow-warm);
    position: relative;
    overflow: hidden;
}

.footer-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.footer-company:hover::before {
    transform: translateX(100%);
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 3px;
    background: white;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--empower-orange-light);
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.footer-brand-info h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 3px;
    background: linear-gradient(135deg, var(--text-white), var(--empower-orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-social-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-white);
    position: relative;
    padding-left: 18px;
}

.modern-social-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modern-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.modern-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-sunrise);
    transition: all 0.3s ease;
    z-index: -1;
}

.modern-social-link:hover::before {
    left: 0;
}

.modern-social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px var(--shadow-pink);
    color: var(--text-white);
}

.footer-links-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-sunrise);
    border-radius: 3px;
}

.modern-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer-links li {
    margin-bottom: 12px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.modern-footer-links li:hover {
    transform: translateX(8px);
}

.modern-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: all 0.3s ease;
    position: relative;
}

.modern-footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--empower-orange-light);
    font-weight: bold;
}

.modern-footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.modern-footer-links a:hover {
    color: var(--empower-orange-light);
    padding-left: 5px;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-white);
    text-align: center;
}

.newsletter-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.5;
}

.modern-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-form-group {
    position: relative;
}

.modern-form-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.modern-form-input:focus {
    outline: none;
    border-color: var(--empower-orange-light);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px var(--shadow-warm);
}

.modern-form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.modern-submit-btn {
    padding: 12px 25px;
    background: var(--gradient-sunrise);
    border: none;
    border-radius: 10px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 15px var(--shadow-warm);
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-soft);
    background: linear-gradient(90deg, var(--empower-orange-light) 0%, var(--empower-orange) 100%);
}

.newsletter-btn-icon {
    margin-right: 8px;
}

.modern-footer-bottom {
    width: 100%;
    margin: 0;
    left: auto;
    right: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.08);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1000;
}

.footer-bottom-content {
    max-width: 100%;
    width: 100%;
    padding: 0 30px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.footer-credit-link {
    color: var(--empower-orange-light);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--empower-orange-light);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--empower-orange-light);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-link-tap {
    transform: scale(0.95);
}

.newsletter-response {
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.newsletter-response-success {
    color: var(--empower-orange-light);
}

.newsletter-response-error {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .modern-footer-container {
        padding: 30px 15px 0;
    }

    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-company {
        padding: 20px 15px;
        text-align: center;
    }

    .footer-logo-section {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .modern-social-grid {
        justify-content: center;
        gap: 8px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }
}