/* Professional Modern Footer Styles */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, var(--footer-bg) 0%, #000d1a 100%);
    color: var(--footer-text);
    margin-top: 6rem;
    overflow: hidden;
}

    .modern-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, #ffd700 50%, var(--accent) 80%, transparent 100%);
        animation: shimmer 3s ease-in-out infinite;
    }

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.footer-wrapper {
    position: relative;
}

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
} */

/* Main Footer Content */
.footer-main {
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Brand Section */
.footer-brand-section {
    position: relative;
}

.brand-container {
    max-width: 350px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--footer-text);
/*    margin-bottom: 1.5rem;*/
    transition: var(--transition);
    position: relative;
}

    .footer-brand:hover {
        color: var(--footer-text);
        transform: translateY(-2px);
    }

.brand-icon-wrapper {
    position: relative;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent) 0%, #ff4444 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 8px 24px rgba(192, 45, 29, 0.3);
    transition: var(--transition);
}

.footer-brand:hover .brand-icon-wrapper {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 12px 32px rgba(192, 45, 29, 0.4);
}

.brand-icon {
    font-size: 1.25rem;
    color: white;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--footer-text) 0%, #b0b8c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Company Details - Compact Version */
.company-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-left: 2px solid transparent;
    padding-left: 0;
}

    .detail-item:hover {
        border-left-color: var(--accent);
        padding-left: 0.75rem;
        transform: translateX(4px);
    }

.detail-icon {
    color: var(--accent);
    font-size: 1rem;
    width: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--footer-text);
    line-height: 1.4;
    font-weight: 400;
}

/* Links Sections */
.footer-links-section {
    position: relative;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--footer-text);
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.01em;
    display: inline-block;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 0;
        width: 2rem;
        height: 2px;
        background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
        border-radius: 1px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .footer-links a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 1rem;
        transition: var(--transition);
        position: relative;
        display: inline-block;
    }

        .footer-links a::before {
            content: '';
            position: absolute;
            left: -1rem;
            top: 50%;
/*            transform: translateY(-50%);*/
            width: 0;
            height: 1px;
            background: var(--accent);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--footer-text);
/*            transform: translateX(1rem);*/
        }

            .footer-links a:hover::before {
                width: 0.75rem;
            }

/* Connect Section - Redesigned */
.footer-connect-section {
    position: relative;
}

.connect-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Newsletter Container */
.newsletter-container {
    margin-bottom: 1rem;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 0.75rem;
}

    .newsletter-input-wrapper:focus-within {
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(192, 45, 29, 0.08);
    }

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.25rem;
    color: var(--footer-text);
    font-size: 1rem;
    outline: none;
    border-radius: 14px 0px 0px 14px;
}

    .newsletter-input::placeholder {
        color: var(--text-muted);
        opacity: 0.6;
    }

.newsletter-submit {
    background: var(--accent);
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

    .newsletter-submit:hover {
        background: #d73527;
/*        transform: scale(1.02);*/
    }

.newsletter-privacy {
    font-size: .9rem;
    color: var(--text-muted);
    opacity: 1;
    margin: 0;
    line-height: 1.3;
}

/* Social Section - Reverted to Compact Icons */
.social-section {
    position: relative;
}

.social-label {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .social-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: var(--transition);
    }

    .social-link:hover::before {
        left: 100%;
    }

    .social-link.facebook:hover {
        background: #1877f2;
        border-color: #1877f2;
        color: white;
    }

    .social-link.twitter:hover {
        background: #1da1f2;
        border-color: #1da1f2;
        color: white;
    }

    .social-link.instagram:hover {
        background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
        border-color: #e1306c;
        color: white;
    }

    .social-link.linkedin:hover {
        background: #0077b5;
        border-color: #0077b5;
        color: white;
    }

    .social-link:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

    .footer-bottom-links a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.85rem;
        transition: var(--transition);
    }

        .footer-bottom-links a:hover {
            color: var(--footer-text);
        }

/* Enhanced Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(1, 25, 54, 0.3);
}

    .scroll-to-top:hover {
        background: var(--accent);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 12px 32px rgba(192, 45, 29, 0.4);
    }

.scroll-btn-inner {
    color: var(--footer-text);
    font-size: 1.25rem;
    z-index: 2;
    position: relative;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    width: 60px;
    height: 60px;
}

.progress-ring-circle {
    stroke: var(--accent);
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 0.1s linear;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-newsletter-section {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .brand-container {
        max-width: none;
    }

    .company-details {
        align-items: center;
    }

    .detail-item {
        justify-content: center;
        text-align: left;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .progress-ring {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .brand-icon-wrapper {
        width: 2.5rem;
        height: 2.5rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
