/* Footer styling dengan gradasi hijau */
footer {
    background: linear-gradient(180deg, 
        #2d5016 0%,           /* Dark forest green */
        #4a7c59 30%,          /* Medium forest */
        #6aa84f 60%,          /* Forest green */
        #93c47d 85%,          /* Pistachio */
        #b6d7a8 100%          /* Light lime */
    ) !important;
    box-shadow: 0 -4px 20px rgba(45, 80, 22, 0.3);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem !important;
    position: relative;
    overflow: hidden;
}

/* Efek overlay untuk depth */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(45, 80, 22, 0.1) 100%
    );
    pointer-events: none;
}

/* Container styling */
footer .container {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

/* Heading styles */
footer h5 {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e8f5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer h6 {
    color: #e8f5e8 !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Paragraph text styling */
footer p {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

/* Link styling */
footer a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    display: block;
    border-radius: 4px;
    position: relative;
}

footer a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #e8f5e8);
    transition: width 0.3s ease;
}

footer a:hover {
    color: #e8f5e8 !important;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}

footer a:hover::before {
    width: 100%;
}

/* List styling */
footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

footer li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    margin-left: -0.5rem;
}

/* HR styling */
footer hr {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%
    ) !important;
    border: none;
    height: 2px;
    margin: 2rem 0 1.5rem 0;
}

/* Copyright text */
footer .text-center {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 15px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

footer .small {
    font-size: 0.9rem !important;
    color: #e8f5e8 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Responsive design untuk laptop */
@media (min-width: 992px) {
    footer .container {
        padding: 3rem 2rem;
    }
    
    footer h5 {
        font-size: 2rem;
    }
    
    footer h6 {
        font-size: 1.2rem;
    }
    
    footer p {
        font-size: 1rem;
    }
    
    footer .col-md-6,
    footer .col-md-3 {
        padding: 0 1.5rem;
    }
}

/* Responsive design untuk tablet */
@media (max-width: 991px) and (min-width: 768px) {
    footer .container {
        padding: 2rem 1.5rem;
    }
    
    footer h5 {
        font-size: 1.6rem;
    }
    
    footer h6 {
        font-size: 1.1rem;
    }
    
    footer .col-md-6,
    footer .col-md-3 {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Responsive design untuk mobile */
@media (max-width: 767px) {
    footer .container {
        padding: 1.5rem 1rem;
    }
    
    footer h5 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    footer h6 {
        font-size: 1rem;
        text-align: center;
        margin-top: 1.5rem;
    }
    
    footer p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    footer ul {
        text-align: center;
    }
    
    footer li {
        margin-bottom: 0.3rem;
    }
    
    footer .row {
        text-align: center;
    }
    
    footer .col-md-6,
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

/* Animasi smooth */
footer * {
    transition: all 0.3s ease;
}

/* Efek hover untuk footer section */
footer .col-md-6:hover,
footer .col-md-3:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin: -0.5rem;
    transform: translateY(-2px);
}

/* Efek khusus untuk emoji */
footer p:contains('📞'),
footer p:contains('📧'),
footer p:contains('📍') {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tambahan efek visual */
footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #2d5016 0%,
        #6aa84f 25%,
        #93c47d 50%,
        #b6d7a8 75%,
        #e8f5e8 100%
    );
}

/* Utility classes untuk konsistensi */
.footer-gradient-bg {
    background: linear-gradient(135deg, 
        rgba(45, 80, 22, 0.1) 0%,
        rgba(106, 168, 79, 0.1) 50%,
        rgba(182, 215, 168, 0.1) 100%
    );
}

.footer-shadow {
    box-shadow: 0 -2px 10px rgba(45, 80, 22, 0.2);
}

/* Hover effect untuk seluruh footer */
footer:hover {
    box-shadow: 0 -6px 25px rgba(45, 80, 22, 0.4);
}