/* Footer - Ultra Premium SaaS Style */
.footer {
    background: #ffffff;
    color: #2d3748;
    padding: 60px 20px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 20%, #cbd5e0 50%, #e2e8f0 80%, transparent 100%);
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.95fr 0.95fr 0.95fr 0.95fr 1.2fr;
    gap: 48px;
    margin-bottom: 5px;
    padding: 0 10px;
}

.footer-brand {
    padding-right: 24px;
    margin-left: -20px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo img {
    height: 56px;
    width: auto;
}

.footer-tagline {
    font-size: 15px;
    color: #4a5568;
    font-weight: 400;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.footer-address-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.footer-address-card .location-icon {
    color: #177054;
    font-size: 15px;
    margin-right: 9px;
}

.footer-address-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: #4a5568;
}

.footer-address-card strong {
    font-weight: 600;
    color: #2d3748;
}

.footer h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13.5px;
    font-weight: 400;
    display: inline-block;
    position: relative;
    line-height: 1.4;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #177054, #14b8a6);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #177054;
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #177054;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(23, 112, 84, 0.12);
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-links a:hover {
    background: linear-gradient(135deg, #177054, #14b8a6);
    transform: translateY(-5px) scale(1.05);
    color: white;
    box-shadow: 0 12px 28px rgba(23, 112, 84, 0.3), 0 0 0 4px rgba(23, 112, 84, 0.1);
    border-color: transparent;
}

.footer-contact {
    padding-left: 8px;
    padding-right: 0;
    margin-right: -20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.4;
}

.contact-item i {
    width: 22px;
    margin-right: 11px;
    color: #177054;
    font-size: 15px;
    opacity: 0.8;
}

.contact-item.phone {
    color: #177054;
    font-weight: 700;
    font-size: 14px;
}

.footer-cta {
    display: inline-block;
    background: linear-gradient(135deg, #177054 0%, #14b8a6 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 8px 24px rgba(23, 112, 84, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.footer-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(23, 112, 84, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #14b8a6 0%, #177054 100%);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8fafc;
}

.footer-bottom-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-bottom-left a {
    color: #64748b;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-bottom-left a:hover {
    color: #177054;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 13.5px;
    text-align: center;
    font-weight: 400;
}

.footer-powered {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: white;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 12.5px;
    color: #64748b;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.footer-powered a {
    color: #177054;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease;
}

.footer-powered a:hover {
    color: #14b8a6;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 20px 0;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .footer-bottom-left {
        flex-direction: column;
        gap: 12px;
    }
}
