/* Additional styles for enhanced landing page */

/* Modern professional color scheme */
:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --accent-blue: #3b82f6;
    --primary-gold: #f59e0b;
    --secondary-gold: #fbbf24;
    --dark-text: #1f2937;
    --gradient-primary: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Enhanced hero section with modern professional theme */
.hero-enhanced {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Floating elements animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float-random 20s infinite linear;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float-random {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Enhanced phone mockup */
.phone-mockup-enhanced {
    position: relative;
}

.phone-mockup-enhanced::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #FF9933, #FFFFFF, #138808);
    border-radius: 50px;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

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

/* Government scheme icons */
.scheme-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

/* Enhanced feature cards with government theme */
.feature-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.feature-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card-enhanced:hover::before {
    opacity: 0.1;
}

/* Statistics section */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* WhatsApp integration showcase */
.whatsapp-showcase {
    background: #25d366;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.whatsapp-demo {
    max-width: 400px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    padding: 20px;
    color: #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.chat-message {
    background: #e3f2fd;
    padding: 12px 16px;
    border-radius: 18px;
    margin: 10px 0;
    text-align: left;
}

.chat-message.user {
    background: #25d366;
    color: white;
    text-align: right;
    margin-left: 40px;
}

.chat-message.ai {
    background: #f5f5f5;
    margin-right: 40px;
}

/* Testimonials section */
.testimonials {
    background: #f8f9fa;
    padding: 100px 0;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

.testimonial-location {
    color: #777;
    font-size: 0.9rem;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .whatsapp-demo {
        margin: 20px;
    }
    
    .chat-message.user {
        margin-left: 20px;
    }
    
    .chat-message.ai {
        margin-right: 20px;
    }
}

/* Loading animation for better UX */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility improvements */
.btn:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

.feature-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Print styles */
@media print {
    .hero, .contact {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        border: 2px solid black !important;
        background: white !important;
        color: black !important;
    }
}
