﻿body 
{
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Footer */
.main-footer {
    background: url('/images/background.gif') repeat center top;
    background-size: cover;
    color: #fff;
    padding: 4rem 0 0; /* remove bottom padding, give it only to top part */
    position: relative;
    overflow: hidden;
}

/* Animate background (slow parallax scroll) */
@keyframes footerParallax {
    0%

{
    background-position: center top;
}

100% {
    background-position: center bottom;
}

}

.main-footer {
    animation: footerParallax 40s linear infinite;
}

/* Decorative background overlay */
.main-footer::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.main-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 64, 35, 0.75); /* semi-transparent overlay */
    z-index: 0;
}

/* Footer content stays above overlay */
.footer-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px 3rem; /* add space above bottom footer */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}


.footer-col {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-col:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

.footer-logo {
    max-width: 170px;
    margin-bottom: 1.2rem;
}

.footer-desc {
    line-height: 1.6;
    color: #e0f2ff;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #ffcc00;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: #e0f2ff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.9rem;
    color: #ffcc00;
}

.footer-links a:hover {
    color: #ffcc00;
    transform: translateX(6px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: #e0f2ff;
}

.footer-contact i {
    margin-right: 12px;
    color: #ffcc00;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact a {
    color: #e0f2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background: #ffcc00;
    color: #0d4023;
    transform: translateY(-4px);
}

.bottom-footer {
    position: relative;
    background: #0d4023;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #ddd;
    z-index: 2;
    margin-bottom: 20px;
}

.bottom-footer strong {
    color: #ffcc00;
}

.bottom-footer a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-footer a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container

{
    grid-template-columns: 1fr;
    text-align: center;
}

.footer-col {
    padding: 1.5rem; /* smaller padding on mobile */
}

.footer-logo {
    margin: 0 auto 1rem; /* center logo */
}

.footer-contact li {
    justify-content: center;
    text-align: center;
    flex-direction: column; /* stack icon + text */
    align-items: center;
}

.footer-contact i {
    margin-right: 0;
    margin-bottom: 6px;
}

.footer-links a {
    justify-content: center;
}

.social-links {
    justify-content: center;
}

}