/* --- FOOTER STYLES --- */

:root {
    --footer-bg: #0A0A0A;
    /* Deep Black */
    --accent-orange: #FF6B00;
    /* The Rocket AI Orange */
    --text-main: #FFFFFF;
    --text-dim: #A0A0A0;
    /* Muted Gray */
    --border-color: #1F1F1F;
    /* Subtle separation lines */
}

.footer-section {
    background-color: var(--footer-bg);
    color: var(--text-main);
    padding: 80px 5% 40px 5%;
    font-family: 'Inter', -apple-system, sans-serif;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}


/* --- TOP SECTION (Logo & Contact) --- */

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 40px;
    /* Adjust based on your logo aspect ratio */
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* Contact Grid */

.contact-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on desktop */
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-box {
    color: var(--accent-orange);
    font-size: 1.2rem;
    padding-top: 3px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-text .label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.contact-text .value {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-main);
}


/* --- BOTTOM BAR (Links, Socials, Copyright) --- */

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Left: Small Logo */

.footer-logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.footer-logo-small img {
    height: 24px;
}

.footer-logo-small span {
    font-size: 0.9rem;
    font-weight: 700;
}


/* Center: Nav Links */

.footer-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}


/* Right: Socials & Copyright */

.bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--text-main);
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-orange);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright a {
    color: var(--text-dim);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.separator {
    color: #333;
}


/* --- MOBILE VIEW (RESPONSIVE) --- */


/* =========================
   FOOTER - MOBILE FIX
   ========================= */


/* TABLETS */

@media (max-width: 1024px) {
    .contact-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .footer-bottom {
        flex-wrap: wrap;
        gap: 30px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    .bottom-right {
        align-items: flex-start;
    }
}


/* MOBILE */

@media (max-width: 768px) {
    .footer-section {
        padding: 60px 20px 30px;
    }
    .footer-info {
        gap: 35px;
    }
    .contact-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-item {
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        text-align: left;
    }
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    .bottom-right {
        align-items: flex-start;
    }
    .social-icons {
        gap: 15px;
    }
}


/* SMALL PHONES */

@media (max-width: 480px) {
    .footer-section {
        padding: 50px 15px 25px;
    }
    .brand-name {
        font-size: 1.2rem;
    }
    .contact-text .value {
        font-size: 0.85rem;
    }
    .footer-links a {
        font-size: 0.85rem;
    }
    .social-icons a {
        font-size: 1rem;
    }
    .copyright {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    .separator {
        display: none;
    }
}