/* ===================================
   FOOTER
=================================== */

.footer {
    background: #059669;
    padding: 70px 20px 30px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col h4,
.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-title {
    font-size: 22px;
    color: #ffffff;
}

.footer-desc {
    max-width: 260px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e8f7ef;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: 0.25s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.3);
    
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom-links a {
    color: #e8f7ef;
    text-decoration: none;
    margin-left: 18px;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.25s ease;
}

/* Sliding underline */
.footer-bottom-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links a:hover::after {
    width: 100%;
    opacity: 1;
}


/* ===================================
   DARK MODE
=================================== */

html.dark .footer {
    background: #1c7e54;
}

html.dark .footer-col ul li a {
    color: #c9f0d7;
}

html.dark .footer-bottom {
    border-color: rgba(255,255,255,0.2);
}a

html.dark .footer-bottom-links a {
    color: #c9f0d7;
}

html.dark .footer-bottom-links a:hover {
    color: #fff;
}
