/* ============================================
   Section Improvements for Better Contrast
   ============================================ */

/* Clients/Trust Section Improvements */
.clients-section,
.trust-section,
#clients {
    background: linear-gradient(180deg, #F8FAFB 0%, #F3F5F7 100%) !important;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(37, 115, 209, 0.2) 50%, 
        transparent 100%);
}

.clients-section h2,
.trust-section h2 {
    color: var(--text-primary) !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

/* Client Logos Container */
.clients-logos,
.logo-scroll,
.clients-grid {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(50, 33, 13, 0.08);
    border: 1px solid rgba(37, 115, 209, 0.1);
    position: relative;
}

/* Individual Logo Items */
.client-logo,
.logo-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.client-logo:hover,
.logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 115, 209, 0.15);
    border-color: var(--robo-blue);
    background: linear-gradient(135deg, 
        rgba(37, 115, 209, 0.02) 0%, 
        rgba(255, 255, 255, 1) 100%);
}

.client-logo img,
.logo-item img {
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    max-height: 50px;
    width: auto;
}

.client-logo:hover img,
.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Stats Section Before Clients */
.stats-section {
    background: linear-gradient(135deg, 
        rgba(37, 115, 209, 0.03) 0%, 
        rgba(145, 93, 115, 0.02) 100%);
    border-top: 1px solid rgba(37, 115, 209, 0.1);
    border-bottom: 1px solid rgba(37, 115, 209, 0.1);
}

/* Footer Improvements */
footer,
.footer {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%) !important;
    color: #E5E7EB !important;
    padding: 60px 0 30px;
    position: relative;
    margin-top: 80px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

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

footer h3,
footer .footer-title {
    color: #FFFFFF !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

footer p,
footer .footer-text {
    color: #9CA3AF !important;
    line-height: 1.8;
}

footer a {
    color: #D1D5DB !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer a:hover {
    color: var(--robo-blue) !important;
    transform: translateX(4px);
}

/* Footer Logo */
footer .logo {
    color: #FFFFFF !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer .logo i {
    color: var(--robo-blue) !important;
}

/* Footer Social Icons */
.footer-socials,
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a,
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D1D5DB !important;
    transition: all 0.3s ease;
}

.footer-socials a:hover,
.social-links a:hover {
    background: var(--robo-blue);
    border-color: var(--robo-blue);
    color: #FFFFFF !important;
    transform: translateY(-4px) rotate(360deg);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-copyright {
    color: #6B7280 !important;
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9CA3AF !important;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--robo-blue) !important;
}

/* Contact Info in Footer */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #D1D5DB;
}

.footer-contact-item i {
    color: var(--robo-blue);
    width: 20px;
    text-align: center;
}

/* Footer Columns */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* CTA Section Before Footer */
.cta-section {
    background: linear-gradient(135deg, var(--robo-blue) 0%, #4A90E2 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.cta-section h2 {
    color: #FFFFFF !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-section .btn {
    position: relative;
    background: #FFFFFF !important;
    color: var(--robo-blue) !important;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.video-section {
    background: #F9FAFB;
    padding: 80px 0;
    position: relative;
}

.video-placeholder {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border-radius: 20px;
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--robo-blue);
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: #E5E7EB !important;
    font-size: 1.25rem;
}

/* Ensure Hero Gradient Works Well */
.hero {
    background: var(--brand-gradient) !important;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}