/* Custom Styles for Buldogroup Website */

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

/* Grid Pattern Background */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Stat Cards */
.stat-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}

/* Service Cards */
.service-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

/* Tech Badges */
.tech-badge {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(14, 165, 233, 0.3) 100%);
    border-color: rgba(37, 99, 235, 0.6);
    transform: scale(1.05);
}

/* Industry Items */
.industry-item {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-left: 3px solid rgba(37, 99, 235, 0.5);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.industry-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-left-color: #2563eb;
    transform: translateX(5px);
}

/* Portfolio Cards */
.portfolio-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

/* Solution Cards */
.solution-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.solution-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2563eb 0%, #0ea5e9 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #38bdf8 100%);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
    
    .service-card,
    .portfolio-card {
        padding: 1.5rem;
    }

    .solution-card {
        padding: 1rem;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Loading Animation for Form Submission */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-gradient-animated {
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}