/* ========================================
   COLORFUL DESIGN ENHANCEMENTS
   ======================================== */

/* Enhanced Color Palette */
:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-orange: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
}

/* Hero Section Enhancement */
.hero {
    background: var(--gradient-primary) !important;
    color: white !important;
}

.hero h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-button {
    background: var(--gradient-secondary) !important;
    color: white !important;
    border: none;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.3);
}

.cta-button:hover {
    background: var(--gradient-warm) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.4);
}

/* Stats Section Colors */
.stats {
    background: var(--gradient-cool) !important;
}

.stat-item h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
}

/* Service Icons with Colors */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Individual service colors */
.services-grid .card:nth-child(1) .service-icon {
    background: var(--gradient-primary);
}

.services-grid .card:nth-child(2) .service-icon {
    background: var(--gradient-secondary);
}

.services-grid .card:nth-child(3) .service-icon {
    background: var(--gradient-success);
}

.services-grid .card:nth-child(4) .service-icon {
    background: var(--gradient-warm);
}

.services-grid .card:nth-child(5) .service-icon {
    background: var(--gradient-orange);
}

.services-grid .card:nth-child(6) .service-icon {
    background: var(--gradient-cool);
}

/* Enhanced Cards */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    position: relative;
}

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

.services-grid .card:nth-child(1)::before {
    background: var(--gradient-primary);
}

.services-grid .card:nth-child(2)::before {
    background: var(--gradient-secondary);
}

.services-grid .card:nth-child(3)::before {
    background: var(--gradient-success);
}

.services-grid .card:nth-child(4)::before {
    background: var(--gradient-warm);
}

.services-grid .card:nth-child(5)::before {
    background: var(--gradient-orange);
}

.services-grid .card:nth-child(6)::before {
    background: var(--gradient-cool);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Section Alternating Backgrounds */
.section-alt {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%) !important;
}

/* Why Choose Us Section - Colorful Cards */
.section .grid-2 .card:nth-child(1) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid var(--accent-purple);
}

.section .grid-2 .card:nth-child(2) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid var(--accent-blue);
}

.section .grid-2 .card:nth-child(3) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-left: 4px solid var(--accent-pink);
}

.section .grid-2 .card:nth-child(4) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid var(--accent-green);
}

/* Enhanced Navigation */
header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-links a:hover {
    color: var(--accent-purple) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* About Section Enhancement */
.about-content .about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border: 3px solid;
    border-image: var(--gradient-primary) 1;
}

/* Contact Section (if exists) */
#contact {
    background: var(--gradient-cool);
}

/* Enhanced Buttons */
.btn, button {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn:hover, button:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

/* Animated Background Elements */
.hero::after {
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

/* Enhanced Typography */
h1, h2, h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Make hero titles white since they're on colored background */
.hero h1 {
    background: none !important;
    -webkit-text-fill-color: white !important;
    color: white !important;
}

/* Floating Animation for Service Icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-icon {
    animation: float 3s ease-in-out infinite;
}

.services-grid .card:nth-child(1) .service-icon {
    animation-delay: 0s;
}

.services-grid .card:nth-child(2) .service-icon {
    animation-delay: 0.5s;
}

.services-grid .card:nth-child(3) .service-icon {
    animation-delay: 1s;
}

.services-grid .card:nth-child(4) .service-icon {
    animation-delay: 1.5s;
}

.services-grid .card:nth-child(5) .service-icon {
    animation-delay: 2s;
}

.services-grid .card:nth-child(6) .service-icon {
    animation-delay: 2.5s;
}

/* Enhanced Footer */
footer {
    background: var(--gradient-primary) !important;
    color: white;
}

footer h3 {
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fee140 !important;
}

/* Footer Copyright Text - White */
.footer-bottom p,
.footer-bottom a {
    color: white !important;
}

.footer-bottom a:hover {
    color: #fee140 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    h1, h2, h3 {
        background-size: 200% 200%;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}