/* Styles for footer.php. Link this on any page that includes the footer.
   Some pages still carry an inline copy of these rules; they match this file. */
.ai-footer {
    background: #07102a;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.ai-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 212, 255, 0.06) 1px, transparent 1px), radial-gradient(circle, rgba(13, 110, 253, 0.04) 1px, transparent 1px);
    background-size: 40px 40px, 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
}

.ai-footer::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.ai-footer .container {
    position: relative;
    z-index: 2;
}

.footer-brand .brand-logo {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand .brand-logo span {
    color: #0d6efd;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 240px;
}

.brand-accent {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #00d4ff);
    border-radius: 4px;
    margin: 1rem 0 1.2rem;
}

.footer-col h5,
.footer-col .footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h5::after,
.footer-col .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #00d4ff);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-item .ci-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.15);
    border: 1px solid rgba(13, 110, 253, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d9fff;
    font-size: 0.8rem;
    margin-top: 1px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #fff;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.4rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
}

.social-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.x:hover {
    background: #000;
    border-color: #555;
}

.social-btn.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-btn.yt:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-btn.li:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.social-btn.ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
}

.social-btn.tt:hover {
    background: #010101;
    border-color: #69c9d0;
    box-shadow: 0 6px 20px rgba(105, 201, 208, 0.3);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.2s, gap 0.2s;
}

.footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0d6efd;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.footer-links a:hover {
    color: #fff;
    gap: 0.75rem;
}

.footer-links a:hover::before {
    background: #00d4ff;
    transform: scale(1.4);
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0;
}

.footer-bottom {
    padding: 1.25rem 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .footer-bottom p {
        text-align: center;
    }
}
