/* Custom NeuraCreations Design Elements - Handcrafted Touches */

/* Unique Kenya-inspired color accents */
:root {
    --kenya-green: #006600;
    --kenya-red: #cc0000;
    --nairobi-sunset: #ff6b35;
    --custom-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
}

/* Custom floating animation for hero elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Unique hero visual enhancements */
.simple-feature {
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-feature:nth-child(1) { animation-delay: 0s; }
.simple-feature:nth-child(2) { animation-delay: 1s; }
.simple-feature:nth-child(3) { animation-delay: 2s; }

/* Custom button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Unique card tilt effect */
.app-card, .example-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover, .example-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-2px);
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Unique loading animation for images */
.logo-img {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Custom text selection colors */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Unique footer enhancement */
.footer-bottom {
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--kenya-green), var(--kenya-red));
    border-radius: 1px;
}

/* Custom focus states for accessibility */
.btn:focus, input:focus, textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Unique mobile menu animation */
.nav-menu.active {
    animation: slideDown 0.3s ease-out;
}

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

/* Custom gradient text for headings */
.hero-content h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Unique contact form enhancements */
.contact-form input, .contact-form textarea {
    border-left: 3px solid transparent;
    transition: border-left-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-left-color: var(--primary-color);
}

/* Custom Kenya flag inspired accent */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--kenya-green) 33%, white 33% 66%, var(--kenya-red) 66%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Unique typing animation for hero subtitle */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end) 1s both;
}

/* Custom parallax effect for sections */
@media (min-width: 768px) {
    .hero {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}
