:root {
    --footer-bg: #0f172a;
    --footer-accent: #ff5722;
    --footer-text: #94a3b8;
    --footer-white: #ffffff;
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--footer-white);
}

.footer-logo .dot {
    color: var(--footer-accent);
}

.brand-desc {
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.s-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-white);
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.s-link:hover {
    background: var(--footer-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
    border-color: var(--footer-accent);
}

/* Headings */
.col-title {
    color: var(--footer-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

.col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--footer-accent);
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
    display: block;
}

.footer-links a:hover {
    color: var(--footer-accent);
    padding-left: 8px;
}

/* Contact Info */
.contact-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.c-item i {
    color: var(--footer-accent);
    font-size: 1.1rem;
}

.c-item a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.c-item a:hover {
    color: var(--footer-accent);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 20px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.dev-credits a {
    color: var(--footer-accent);
    text-decoration: none;
    font-weight: 600;
}

/* WhatsApp Floating */
.whatsapp-modern {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-modern:hover {
    transform: scale(1.1) rotate(10deg);
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Brand full width */
    .brand-col {
        grid-column: 1 / -1;
    }

    /* Contact full width (last column) */
    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .bottom-container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .contact-box {
        gap: 10px;
    }

    .brand-desc {
        display: none;
    }

    .footer-logo {
        margin-bottom: 10px;
    }
}