/* Custom styles for Mobile Innovations */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Blob animations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #34d399, #10b981);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fde047, #facc15);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #6ee7b7, #34d399);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(6, 78, 59, 0.95) !important;
    backdrop-filter: blur(20px);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form styles */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #d1fae5;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    color: #064e3b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6ee7b7;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success message */
.form-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 2px solid #34d399;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blob {
        opacity: 0.2;
    }
    
    .blob-1 {
        width: 200px;
        height: 200px;
    }
    
    .blob-2 {
        width: 150px;
        height: 150px;
    }
    
    .blob-3 {
        width: 100px;
        height: 100px;
    }
}

/* Print styles */
@media print {
    .blob,
    .fixed {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
