/* 
 * Premium Eye-Catching Footer Styles 
 * Project: SkyDreamix Tech Solution
 */

.footer {
    background: #020617;
    padding: 120px 0 0px;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

/* Dynamic Animated Background */
.footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(46, 163, 214, 0.05) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    animation: rotateBg 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes rotateBg {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.footer-logo-flex h5 {
    color: var(--white);
}

/* Decorative Waves */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
}

.footer-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-waves .shape-fill {
    fill: #0f172a;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Footer About Section */
.footer-logo-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo {
    width: 65px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(46, 163, 214, 0.4));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-logo-flex:hover .footer-logo {
    transform: scale(1.1) rotate(5deg);
}

.footer-logo-flex h4 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
    color: #94a3b8;
}

/* Social Icons with Pulse Glow */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social a:hover {
    background: #2ea3d6;
    border-color: #2ea3d6;
    color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px -5px rgba(46, 163, 214, 0.4);
}

.footer-social a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    top: 0;
    left: -100%;
    transform: skewX(-20deg);
    transition: 0.5s;
}

.footer-social a:hover::after {
    left: 100%;
}

/* Link Aesthetics */
.footer h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2ea3d6, #00e5ff);
    border-radius: 2px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 18px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a i {
    font-size: 0.85rem;
    color: #2ea3d6;
    transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: #ffffff;
    padding-left: 12px;
}

.footer-links a:hover i,
.footer-links a.active i {
    transform: translateX(5px);
    color: #00e5ff;
}

/* Contact Info Highlight */
.footer-contact p {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.footer-contact p:hover {
    transform: translateX(5px);
}

.footer-contact p i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 163, 214, 0.1);
    border-radius: 6px;
    color: #2ea3d6;
    font-size: 1.1rem;
}

/* Bottom Footer with Glass effect */
.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.footer-bottom p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.footer-bottom span {
    background: linear-gradient(135deg, #2ea3d6 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.footer-policy {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-policy a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-policy a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2ea3d6;
    transition: width 0.3s ease;
}

.footer-policy a:hover,
.footer-policy a.active {
    color: #2ea3d6;
}

.footer-policy a:hover::after,
.footer-policy a.active::after {
    width: 100%;
}

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

@media (max-width: 768px) {
    .footer {
        padding: 100px 0 0px;
    }

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

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-flex {
        justify-content: center;
    }

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

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

    .footer-contact p {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-policy {
        justify-content: center;
        flex-wrap: wrap;
    }
}