/* ============================================
   PREMIUM FOOTER STYLING - Enhanced Version
   Preserves all original class names
   ============================================ */

/* Footer Base - Premium Gradient & Depth */
.footer {
    background-color: #15573b;
    color: #ffffff !important;
    padding: 70px 0 35px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Subtle Top Accent Border */
.footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg,
            #1f6b4f,
            #4caf50,
            #d32f2f) !important;
}

/* Decorative Background Pattern */
.footer::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 300px !important;
    height: 300px !important;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.08) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

/* Footer Grid Layout Enhancement */
.footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr !important;
    gap: 50px !important;
    margin-bottom: 50px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }
}

/* Footer Logo Section */
.footer-logo h3 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.5px !important;
    background: linear-gradient(135deg, #ffffff, #c8e6d9) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block !important;
}

.footer-logo span {
    font-size: 11px !important;
    color: #6fbf4c !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 600 !important;
    background: rgba(111, 191, 76, 0.15) !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-top: 8px !important;
}

.footer p {
    font-size: 14px !important;
    margin-top: 18px !important;
    line-height: 1.7 !important;
    color: #ffffff !important;
}

/* Column Headers with Underline Effect */
.footer-col h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #6fbf4c !important;
    margin-bottom: 22px !important;
    position: relative !important;
    display: inline-block !important;
    letter-spacing: -0.2px !important;
}

.footer-col h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 35px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #6fbf4c, #2e8b57) !important;
    border-radius: 3px !important;
    transition: width 0.3s ease !important;
}

.footer-col:hover h4::after {
    width: 55px !important;
}

/* List Items with Hover Animation */
.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
}

.footer-col li {
    margin-bottom: 14px !important;
    transition: transform 0.2s ease !important;
}

.footer-col li:hover {
    transform: translateX(6px) !important;
}

.footer-col a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    position: relative !important;
}

.footer-col a:hover {
    color: #6fbf4c !important;
}

/* Contact Items - Premium Style */
.contact-footer-item {
    display: flex !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    align-items: center !important;
    transition: transform 0.2s ease !important;
    padding: 6px 0 !important;
}

.contact-footer-item:hover {
    transform: translateX(5px) !important;
}

.contact-footer-item i {
    width: 28px !important;
    height: 28px !important;
    background: rgba(111, 191, 76, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: #6fbf4c !important;
    font-size: 13px !important;
    transition: all 0.25s ease !important;
}

.contact-footer-item:hover i {
    background: #6fbf4c !important;
    color: #051f16 !important;
    transform: scale(1.05) !important;
}

.contact-footer-item a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.contact-footer-item a:hover {
    color: #6fbf4c !important;
}

/* Copyright Section */
.copyright {
    text-align: center !important;
    font-size: 13px !important;
    border-top: 1px solid rgba(111, 191, 76, 0.2) !important;
    padding-top: 32px !important;
    margin-top: 12px !important;
    position: relative !important;
    z-index: 2 !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
}

/* Optional: Add social media icons styling if present */
.footer .social-links,
.social-icons {
    display: flex !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

.footer .social-links a,
.social-icons a {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
}

.footer .social-links a:hover,
.social-icons a:hover {
    background: #6fbf4c !important;
    color: #051f16 !important;
    transform: translateY(-3px) !important;
}

/* Newsletter input (if exists) */
.footer .newsletter-input {
    display: flex !important;
    margin-top: 15px !important;
}

.footer .newsletter-input input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(111, 191, 76, 0.3) !important;
    padding: 12px 15px !important;
    border-radius: 30px 0 0 30px !important;
    color: white !important;
    font-size: 13px !important;
}

.footer .newsletter-input button {
    background: #6fbf4c !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 0 30px 30px 0 !important;
    color: #051f16 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.footer .newsletter-input button:hover {
    background: #2e8b57 !important;
    color: white !important;
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px !important;
    }

    .footer-logo h3 {
        font-size: 22px !important;
    }

    .footer-col h4 {
        font-size: 16px !important;
        margin-bottom: 18px !important;
    }

    .footer-col a,
    .contact-footer-item {
        font-size: 13px !important;
    }

    .copyright {
        font-size: 11px !important;
        padding-top: 25px !important;
    }

    .footer-logo{
        text-align: center;
    }
}