/* Rounded corners for footer across all pages (all sides) */
.site-footer {
    border-radius: 12px;
    overflow: hidden;
}

.site-footer .footer-bottom {
    border-radius: inherit;
}
/* Updated Footer with Website Theme Colors - Smaller Size */
.site-footer {
    background: linear-gradient(120deg, #f8f9fa, #e9ecef);
    color: #212529;
    padding: 28px 20px 22px;
    font-family: 'Prompt', sans-serif;
    position: relative; /* Use normal document flow so footer doesn't overlap content */
    width: 100%;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 12px rgba(99,102,241,0.08);
    z-index: 10;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.1), transparent);
    z-index: 0;
    animation: pulse 6s infinite;
    grid-column: 1 / -1; /* Span across all columns */
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.footer-column {
        margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 18px; /* Reduced from 24px to 18px */
        padding: 0;
    color: #000000;
    margin-bottom: 15px; /* Reduced from 20px to 15px */
    position: relative;
    text-transform: uppercase;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -3px; /* Reduced from -5px to -3px */
    left: 0;
    width: 45px; /* Reduced from 60px to 45px */
    height: 2px; /* Reduced from 3px to 2px */
    background: #00A651;
}

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

.footer-column ul li {
    margin: 8px 0; /* Reduced from 10px to 8px */
}

.footer-column ul li a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px; /* Reduced from 16px to 14px */
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00A651;
    transform: translateX(5px);
}

.footer-bottom {
    grid-column: 1 / -1; /* Span across all columns */
    margin-top: 30px; /* Reduced from 50px to 30px */
    font-size: 12px; /* Reduced from 14px to 12px */
    color: #6c757d;
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 10px; /* Added bottom padding */
}

.footer-bottom p {
    margin: 0;
}

/* Office location styling */
.office-location {
    margin-bottom: 15px; /* Reduced spacing */
}

.office-location h3 {
    font-size: 16px; /* Smaller size for office headers */
    margin-bottom: 10px;
}

.office-location h3 i {
    margin-right: 8px; /* Reduced from 10px to 8px */
}

.address-content {
    font-size: 13px; /* Smaller font for addresses */
    line-height: 1.4;
}

.address-content span {
    color: #6c757d;
    display: block;
    margin-bottom: 3px; /* Tighter line spacing */
}

.contact-item {
    margin-bottom: 10px; /* Reduced from 15px to 10px */
    font-size: 14px;
}

.contact-item i {
    margin-right: 8px;
    width: 16px; /* Fixed width for icon alignment */
    text-align: center;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 20px 14px 16px;
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 16px; /* Smaller headers on mobile */
    }
    
    .footer-bottom {
        margin-top: 20px;
        font-size: 11px;
        text-align: center;
    }
}

/* Keep footer in normal flow globally to avoid overlap side-effects across pages. */
html, body { overflow-x: hidden; }
body > .site-footer { box-sizing: border-box; max-width: 100%; }