/* footer.css */
:root {
    --primary-blue: #38bdf8;
    --secondary-blue: #0ea5e9;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-text: #f8fafc;
    --gray-text: #cbd5e1;
    --card-bg: #1e293b;
    --transition: all 0.3s ease;
}

/* Footer Styles */
.sticky-footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    margin-top: auto;
    font-size: 0.9rem;
}

.footer-top {
    background: var(--dark-bg);
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-title {
    color: var(--light-text) !important;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--gray-text) !important;
    text-decoration: none;
    padding: 0.3rem 0;
    transition: var(--transition);
    position: relative;
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-link:hover {
    color: var(--primary-blue) !important;
    transform: translateX(3px);
}

.footer-link::before {
    content: "›";
    position: absolute;
    left: -12px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-blue);
}

.footer-link:hover::before {
    opacity: 1;
    left: -8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-contact-item {
    color: var(--gray-text);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
    font-size: 0.85rem;
}

.footer-contact-item i {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.footer-contact-item span {
    flex: 1;
}

.inline-link {
    display: inline;
    padding: 0;
    margin: 0;
}

.inline-link:hover::before {
    display: none;
}

.footer-map {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.1);
    max-width: 100%;
}

.footer-map iframe {
    border-radius: 6px;
    width: 100%;
    height: 120px;
    border: none;
}

.footer-bottom {
    background: var(--darker-bg);
    border-top: 1px solid rgba(56, 189, 248, 0.05);
    padding: 1rem 0;
}

.footer-copyright {
    color: var(--gray-text);
    font-size: 0.8rem;
    text-align: center;
}

.footer-org-name {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Hover Effects */
.footer-contact-item {
    transition: var(--transition);
    padding: 0.2rem 0.3rem;
    border-radius: 3px;
}

.footer-contact-item:hover {
    background: rgba(56, 189, 248, 0.05);
}

/* Container max-width adjustment */
.footer-top .container,
.footer-bottom .container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-top .col-lg-3 {
    animation: fadeInUp 0.5s ease-out;
}

.footer-top .col-lg-3:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-top .col-lg-3:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-top .col-lg-3:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-top .col-lg-3:nth-child(4) {
    animation-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 2rem 0 1rem;
    }

    .footer-top .col-lg-3 {
        margin-bottom: 1.5rem;
    }

    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .footer-link {
        font-size: 0.82rem;
    }

    .footer-contact-item {
        font-size: 0.82rem;
    }

    .footer-map iframe {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 1.5rem 0 1rem;
    }

    .footer-top .row {
        gap: 1rem;
    }

    .footer-map iframe {
        height: 90px;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 1rem 0 0.5rem;
    }

    .footer-title {
        font-size: 0.9rem;
    }

    .footer-link,
    .footer-contact-item {
        font-size: 0.8rem;
    }

    .footer-map iframe {
        height: 80px;
    }
}

/* Ensure proper spacing and compact layout */
.footer-top .container {
    padding: 0 15px;
}

.footer-links .footer-link,
.footer-contact .footer-contact-item {
    margin-bottom: 0.3rem;
}
