/* --- FOOTER STYLES --- */

#site-footer {
    font-family: 'Inter', sans-serif;
    width: 100%;
    position: relative;
    background-color: #0f172a; 
    color: #e2e8f0; 
    box-sizing: border-box;
    margin-top: 120px; 
}

#site-footer * {
    box-sizing: border-box;
}

/* 1. CTA CARD (Floating) */
.cta-wrapper {
    position: relative;
    /* UPDATED: Increased width from 1200px to 1440px */
    max-width: 1500px; 
    margin: 0 auto;
    top: -120px; 
    padding: 0 1.5rem;
    margin-bottom: -40px; 
}

.cta-card {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    border-radius: 2rem;
    padding: 4rem; /* UPDATED: Slightly more padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4); 
    overflow: hidden;
    position: relative;
}

/* Decorative circles */
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.cta-content {
    flex: 1;
    max-width: 700px; /* UPDATED: Wider text area */
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    /* UPDATED: Increased from 3rem to 3.5rem */
    font-size: 3.5rem; 
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.cta-text {
    /* UPDATED: Increased from 1.125rem to 1.3rem */
    font-size: 1.3rem; 
    color: #e0e7ff; 
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: white;
    color: #2563eb;
    padding: 1.2rem 3rem; /* UPDATED: Larger button */
    border-radius: 9999px;
    font-weight: 700;
    /* UPDATED: Larger button text */
    font-size: 1.1rem; 
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-image-box {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.cta-img {
    /* UPDATED: Slightly larger image max-width */
    max-width: 450px; 
    width: 100%;
    border-radius: 1.5rem;
    transform: rotate(3deg); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.1);
}

/* 2. MAIN FOOTER CONTENT */
.footer-container {
    /* UPDATED: Increased width from 1200px to 1440px */
    max-width: 1500px; 
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem 1.5rem; /* UPDATED: More vertical padding */
}

.footer-grid {
    display: grid;
    /* UPDATED: Adjusted ratio to give brand column more space */
    grid-template-columns: 2.5fr 1fr 1fr 1fr; 
    gap: 5rem; /* UPDATED: Wider gap between columns */
    padding-bottom: 5rem;
    border-bottom: 1px solid #1e293b; 
}

/* Brand Column */
.footer-brand h3 {
    font-family: 'Outfit', sans-serif;
    /* UPDATED: Increased from 2rem to 2.5rem */
    font-size: 2.5rem; 
    font-weight: 800;
    color: white;
    margin: 0 0 1.5rem 0;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    /* UPDATED: Increased font size and max-width */
    font-size: 1.15rem; 
    max-width: 400px; 
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    /* UPDATED: Larger icons */
    width: 48px; 
    height: 48px; 
    font-size: 1.2rem;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #2563eb;
}

/* Links Columns */
.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    color: white;
    /* UPDATED: Increased from 1.1rem to 1.35rem */
    font-size: 1.35rem; 
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 1rem; /* UPDATED: More spacing between links */
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    /* UPDATED: Increased link text size */
    font-size: 1.1rem; 
}

.footer-col a:hover {
    color: white;
}

/* Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    /* UPDATED: Increased from 0.9rem to 1rem */
    font-size: 1rem; 
}

.legal-links {
    display: flex;
    gap: 2rem; /* UPDATED: Wider gap */
}

.legal-links a {
    color: #64748b;
    text-decoration: none;
}

.legal-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) { /* UPDATED breakpoint */
    .cta-card { flex-direction: column; text-align: center; padding: 4rem 2rem; }
    .cta-image-box { margin-top: 3rem; justify-content: center; }
    .cta-img { width: 100%; max-width: 350px; transform: rotate(0); }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: span 2; text-align: center; }
    .footer-desc { margin: 0 auto 2rem auto; }
    .social-links { justify-content: center; }
}

@media (max-width: 600px) {
    .cta-title { font-size: 2.25rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .legal-links { flex-direction: column; gap: 1rem; }
}