/* ========================================
   Premium CTA Section
   ======================================== */

.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1762BE 0%, #122A54 50%, #4FC13C 100%);
    overflow: hidden;
    text-align: center;
}

/* Subtle pattern overlay */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid pattern */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Gradient separator at top */
.cta-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* CTA Buttons */
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.cta-btn-primary {
    background: white;
    color: #1762BE;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8fafc5e;
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Premium Footer Section
   ======================================== */

body footer.footer {
    background: linear-gradient(180deg, #122A54 0%, #122A54 100%) !important;
    color: #94a3b8;
    padding: 80px 0 0;
    position: relative;
}

/* Top gradient border */
body footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1762BE, #4FC13C, #1762BE);
}

body footer.footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* Company Info Column */
.js-enabled body footer.footer .footer-col,
body footer.footer .footer-col {
    position: relative;
}

body footer.footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

body footer.footer .footer-logo:hover {
    opacity: 0.9;
}

body footer.footer .footer-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

body footer.footer .footer-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body footer.footer .footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1762BE, #4FC13C);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px -6px rgba(14, 146, 210, 0.4);
}

body footer.footer .footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 12px;
}

body footer.footer .footer-desc {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #94a3b8;
}

/* Social Links - Modern Style */
body footer.footer .social-links {
    display: flex;
    gap: 12px;
}

body footer.footer .social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body footer.footer .social-links a:hover {
    background: linear-gradient(135deg, #1762BE, #4FC13C);
    border-color: transparent;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px -6px rgba(14, 146, 210, 0.4);
}

body footer.footer .social-links a svg {
    width: 20px;
    height: 20px;
}

/* Column Headings */
body footer.footer .footer-col h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

body footer.footer .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #1762BE, #4FC13C);
    border-radius: 2px;
}

/* Footer Links */
body footer.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

body footer.footer .footer-links li {
    margin-bottom: 12px;
}

body footer.footer .footer-links a {
    color: #94a3b8;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body footer.footer .footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1762BE, #4FC13C);
    transition: width 0.3s ease;
}

body footer.footer .footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

body footer.footer .footer-links a:hover::before {
    width: 12px;
}

/* Contact Info */
body footer.footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

body footer.footer .footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

body footer.footer .footer-contact svg {
    color: #1762BE;
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

body footer.footer .footer-contact a {
    color: #94a3b8;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

body footer.footer .footer-contact a:hover {
    color: white;
}

body footer.footer .footer-contact span {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Footer Bottom - Force Visible */
.js-enabled body footer.footer .footer-bottom,
body footer.footer .footer-bottom {
    opacity: 1 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9375rem;
}

body footer.footer .footer-bottom p {
    color: #64748b;
    margin: 0;
}

body footer.footer .footer-bottom-links {
    display: flex;
    gap: 32px;
}

body footer.footer .footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

body footer.footer .footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1762BE, #4FC13C);
    transition: width 0.3s ease;
}

body footer.footer .footer-bottom-links a:hover {
    color: white;
}

body footer.footer .footer-bottom-links a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 2.25rem;
    }
    
    .cta-text {
        font-size: 1.125rem;
    }
    
    body footer.footer {
        padding: 60px 0 0;
    }
    
    body footer.footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 48px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.875rem;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .cta-btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
        width: 100%;
        max-width: 280px;
    }
    
    body footer.footer {
        padding: 48px 0 0;
    }
    
    body footer.footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    body footer.footer .footer-logo {
        justify-content: center;
    }
    
    body footer.footer .social-links {
        justify-content: center;
    }
    
    body footer.footer .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    body footer.footer .footer-links a {
        justify-content: center;
    }
    
    body footer.footer .footer-contact li {
        justify-content: center;
    }
    
    body footer.footer .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px 0;
    }
    
    body footer.footer .footer-bottom-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 48px 0;
    }
    
    .cta-title {
        font-size: 1.625rem;
    }
    
    .cta-text {
        font-size: 0.9375rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
    }
    
    body footer.footer {
        padding: 40px 0 0;
    }
    
    body footer.footer .footer-grid {
        gap: 24px;
    }
    
    body footer.footer .footer-logo {
        font-size: 1.5rem;
    }
    
    body footer.footer .footer-desc {
        font-size: 0.875rem;
    }
    
    body footer.footer .footer-col h4 {
        font-size: 1rem;
    }
    
    body footer.footer .footer-links a,
    body footer.footer .footer-contact span,
    body footer.footer .footer-contact a {
        font-size: 0.875rem;
    }
}
