/* ═══════════════════════════════════════════════
   footer.css — Footer Styles
   ═══════════════════════════════════════════════ */

footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--gold), var(--emerald));
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(200, 151, 58, 0.05) 1px, transparent 0);
    background-size: 36px 36px;
    pointer-events: none;
}

.footer-top {
    padding: 70px 0 50px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

/* Brand column */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
    flex-shrink: 0;
}

.footer-logo-text .acronym {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text .full {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(200, 151, 58, 0.1);
    border: 1px solid rgba(200, 151, 58, 0.25);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* Link columns */
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.52);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--gold);
    opacity: 0;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

/* Info items */
.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-info-icon {
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

.footer-info-text {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.6;
}

/* Divider */
.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

/* Bottom bar */
.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copy strong {
    color: var(--gold-light);
    font-weight: 700;
}

.footer-heart {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-heart span {
    color: #e05c5c;
    animation: heartbeat 1.4s ease infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

/* CTA Banner above footer */
#cta-banner {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 28px 28px;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-banner-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.cta-banner-content p {
    font-size: 1rem;
    color: rgba(28, 28, 28, 0.7);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.btn-dark {
    background: var(--charcoal);
    color: var(--white);
    padding: 15px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-dark:hover {
    background: var(--emerald);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-develop-logo {
    height: 30px;
    width: 30px;
}

.footer-science-icon-img,
.footer-contact-icon-img,
.modal-image-icon {
    height: 25px;
    width: 25px;
}
