/* ================= FOOTER ================= */

.main-footer {
    background: #0f1c2e;
    color: #cbd5e1;
    padding: 70px 40px 0;
}

/* CONTAINER */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 50px;
}

/* HEADINGS */
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}


/* Footer Logo Image */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    display: block;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
}

/* Make text bold + clean */
.logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
}


.footer-logo span{
        color: #ffffff;
}

.byte{
    color: #00599d;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #94a3b8;
}

.brand-sub {
    font-size: 13px;
    color: #64748b;
}

/* SOCIAL */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    background: #00599d;
    color: #ffffff;
    transform: translateY(-3px);
}

/* BOTTOM STRIP */
.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.footer-links a {
    color: #94a3b8;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ================= POPUP ================= */

.footer-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.popup-content h2 {
    margin-bottom: 20px;
}

.popup-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .main-footer {
        padding: 60px 20px 0;
    }
}