/* ==========================================================================
   Template 2 — Footer Styles (Dark Navy & Cyan/Teal Palette)
   ========================================================================== */

.main-footer {
    background-color: var(--navy-darkest, #03142a);
    padding-top: 55px;
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    margin-top: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    clear: both;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 40px;
    padding: 0 24px 50px;
}

.footer-column {
    min-width: 0;
    width: 100%;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 22px;
    letter-spacing: 0.8px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--teal-bright, #00d2d3);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--teal-glow, rgba(0, 210, 211, 0.4));
}

/* About Me Text */
.footer-about-text {
    font-size: 13.5px;
    line-height: 1.8;
    color: #94a3b8;
    text-align: justify;
}

.footer-about-text p,
.contact-item p {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-about-text a,
.contact-item a {
    color: var(--teal-bright, #00d2d3);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-about-text a:hover,
.contact-item a:hover {
    color: #ffffff;
}

.contact-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

/* Categories Links */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: var(--teal-bright, #00d2d3);
    transform: translateX(3px);
}

.footer-column a i {
    font-size: 9px;
    color: var(--teal-bright, #00d2d3);
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-column a:hover i {
    opacity: 1;
}

/* Contact Column */
.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

/* Bottom Bar */
.footer-bottom {
    background-color: var(--navy-darker, #041a38);
    padding: 22px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
}

.footer-bottom .footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    color: #94a3b8;
    font-size: 13px;
}

.copyright strong {
    color: #ffffff;
}

.developer-credit {
    font-size: 12.5px;
    color: #64748b;
}

.developer-credit a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.developer-credit a:hover {
    color: var(--teal-bright, #00d2d3);
}

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

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 576px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
