/* Critical Fixes */

/* 1. Fix Hero Section Overlap */
.hero-section {
    padding-bottom: 100px !important;
    margin-bottom: 0 !important;
}

.stats-section {
    margin-top: 0 !important;
    padding-top: 80px !important;
}

/* 2. Service Dropdown Styling */
.contact-form select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236366f1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 12px !important;
    transition: all 0.3s ease !important;
}

.contact-form select:hover {
    border-color: #6366f1 !important;
    background-color: rgba(99, 102, 241, 0.05) !important;
}

.contact-form select:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.contact-form select option {
    background: #1e293b !important;
    color: white !important;
    padding: 12px !important;
}

/* 3. Modern Testimonials Carousel */
.testimonials-slider {
    overflow: hidden !important;
    position: relative !important;
    padding: 40px 0 !important;
}

.testimonials-track {
    display: flex !important;
    gap: 30px !important;
    animation: scroll-testimonials 30s linear infinite !important;
    width: fit-content !important;
}

.testimonials-track:hover {
    animation-play-state: paused !important;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-slide {
    flex: 0 0 350px !important;
    opacity: 1 !important;
    position: relative !important;
    pointer-events: auto !important;
}

.testimonial-content {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 320px !important;
}

/* 4. Better Contact Cards */
.contact-info-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
    margin-top: 50px !important;
}

.contact-info-card {
    flex: 1 1 220px !important;
    max-width: 280px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 32px 24px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.contact-info-card:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: #6366f1 !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2) !important;
}

.contact-icon {
    font-size: 42px !important;
    margin-bottom: 16px !important;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3)) !important;
}

.contact-info-card h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: white !important;
}

.contact-info-card a,
.contact-info-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* 5. Social Media Icons */
.footer-social a {
    width: 45px !important;
    height: 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    font-size: 20px !important;
    text-decoration: none !important;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border-color: #6366f1 !important;
    transform: scale(1.15) rotate(5deg) !important;
}

/* 6. Enhanced Chat Widget */
.chat-message.bot {
    position: relative !important;
}

.chat-message.bot::before {
    content: '🤖' !important;
    position: absolute !important;
    left: -35px !important;
    top: 5px !important;
    font-size: 24px !important;
}

.chat-body {
    padding: 20px 20px 20px 50px !important;
}

.typing-indicator {
    display: flex !important;
    gap: 5px !important;
    padding: 10px 15px !important;
    background: #f1f5f9 !important;
    border-radius: 15px !important;
    width: fit-content !important;
    margin-bottom: 15px !important;
}

.typing-indicator span {
    width: 8px !important;
    height: 8px !important;
    background: #6366f1 !important;
    border-radius: 50% !important;
    animation: typing-bounce 1.4s infinite !important;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s !important;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s !important;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-suggestion {
    display: inline-block !important;
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    margin: 5px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.chat-suggestion:hover {
    border-color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.05) !important;
    transform: scale(1.05) !important;
}

/* 7. Book Consultation Button */
.btn-calendar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.btn-calendar::before {
    content: '📅' !important;
    font-size: 20px !important;
}

/* 8. Responsive Fixes */
@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 300px !important;
    }

    .contact-info-grid {
        flex-direction: column !important;
    }

    .contact-info-card {
        max-width: 100% !important;
    }
}
