/* ============================================= */
/*                  FOOTER                       */
/*        Auto-Scaling + Mobile-First Design     */
/* ============================================= */

.footer {
    background: linear-gradient(to right, #ffffff, #f8fafc);
    padding: clamp(2rem, 4vw, 4rem) 0 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-color);
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(2rem, 3vw, 3rem);
}

/* Footer Sections */
.footer-section {
    padding: 0 clamp(0.3rem, 1vw, 1rem);
}

.footer-section h4 {
    color: var(--secondary-color);
    font-size: clamp(.8rem, 1.5vw, 1.2rem);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: clamp(30px, 5vw, 40px);
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

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

.footer-section li {
    margin-bottom: 0;
}


.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ============================================= */
/*               SOCIAL MEDIA ICONS              */
/* ============================================= */

.footer-social {
    display: flex;
    gap: clamp(0.7rem, 2vw, 1rem);
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.footer-social a {
    color: #666;
    text-decoration: none;
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Twitter — X Icon */
.x-twitter-icon {
    font-family: sans-serif !important;
    font-weight: bold;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

.x-twitter-icon::before {
    content: "𝕏";
    color: inherit;
}

/* ============================================= */
/*               CONTACT INFO                    */
/* ============================================= */

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.7rem, 2vw, 1rem);
    color: #666;
    margin-bottom: clamp(0.7rem, 2vw, 1rem);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: clamp(1rem, 2vw, 1.3rem);
}

/* ============================================= */
/*                BOTTOM BAR                     */
/* ============================================= */

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 2vw, 1rem);
}

.footer-copyright {
    color: #666;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
}

.footer-badges {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    flex-wrap: wrap;
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
}

.footer-badges span i {
    color: var(--primary-color);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* ============================================= */
/*             MOBILE ADJUSTMENTS               */
/* ============================================= */

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 1rem;
    }

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

    .footer-badges {
        justify-content: center;
    }
}
