:root {
    --primary-color: #9EB71D;
    --secondary-color: #060402;
    --white-color: #ffffff;
    --button-background-color: #9EB71D;
}

/* --- FOOTER STYLES --- */
.abi-footer-section {
    background-color: var(--white-color);
    padding-top: 50px;
    padding-bottom: 20px;
    /* border-top: 5px solid var(--primary-color); */
    /* Green Top Border */
    color: var(--secondary-color);
    font-family: 'Segoe UI', sans-serif;
}

/* 1. Widgets & Typography */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.text-green {
    color: var(--primary-color);
}

.footer-desc {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: start;
}

/* Small Green Line under Title */
.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 0.8rem;
    transition: margin-right 0.3s ease;
}

/* Link Hover Animation */
.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links a:hover i {
    margin-right: 12px;
    /* Icon moves right */
}

/* 3. Contact Items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-item .icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 15px;
    margin-top: 3px;
}

.footer-contact-item .text a,
.footer-contact-item .text p {
    color: #555;
    text-decoration: none;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: 0.3s;
}

.footer-contact-item .text a:hover {
    color: var(--primary-color);
}

/* --- MIDDLE SECTION: SOCIAL MEDIA (Green Background) --- */
.social-media-row {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 15px 0;
    background-color: var(--primary-color);
    border-radius: 8px;
    border: none;
    text-align: center;
    /* box-shadow: 0 10px 30px rgba(158, 183, 29, 0.3); */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    /* White Border & Icon for Green BG */
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    background-color: transparent;
}

/* Hover Effects: Turns Black on Hover */
.social-link:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
    /* Black BG */
    color: var(--primary-color);
    /* Green Icon */
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Remove individual colors to keep the Uniform Theme */
/* If you want specific colors, remove the comments below */
/* 
.social-link.facebook:hover { background-color: #3b5998; color: white; }
.social-link.whatsapp:hover { background-color: #25D366; color: white; }
.social-link.instagram:hover { background-color: #C13584; color: white; } 
*/


/* --- BOTTOM SECTION: COPYRIGHT (White Background) --- */
.footer-bottom {
    padding-top: 10px;
    /* padding-bottom: 20px; */
    background-color: var(--white-color);
}

.copyright-text {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

.credits-text {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

.credits-text a {
    color: var(--primary-color);
    /* Green Highlight */
    font-weight: 700;
    text-decoration: none;
}

.credits-text a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}