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

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

/* Logo Styles */
header img {
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

/* Logo animation on scroll */
header.scrolled img {
    height: 2.5rem; /* h-10 */
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(30, 58, 138, 0.2), rgb(24, 24, 27), rgba(21, 94, 117, 0.2));
}

.hero-blur {
    position: absolute;
    border-radius: 9999px;
    filter: blur(96px);
    opacity: 0.1;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-blur-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background-color: rgb(59, 130, 246);
}

.hero-blur-2 {
    bottom: 80px;
    right: 40px;
    width: 384px;
    height: 384px;
    background-color: rgb(6, 182, 212);
    animation-delay: 1s;
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(to right, rgb(37, 99, 235), rgb(8, 145, 178));
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid rgb(34, 211, 238);
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(34, 211, 238, 0.1);
}

/* Service Cards */
.service-card {
    padding: 1.5rem;
    background-color: rgb(24, 24, 27);
    border-radius: 0.75rem;
    border: 1px solid rgb(63, 63, 70);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgb(34, 211, 238);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to bottom right, rgb(37, 99, 235), rgb(8, 145, 178));
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background-color: rgb(39, 39, 42);
    border: 1px solid rgb(63, 63, 70);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: rgb(34, 211, 238);
}

.project-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.2), rgba(8, 145, 178, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.stat-card {
    text-align: center;
    padding: 1rem;
    background-color: rgb(24, 24, 27);
    border-radius: 0.5rem;
}

.about-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.3), rgba(8, 145, 178, 0.3));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: rgb(39, 39, 42);
    border-radius: 0.5rem;
    border: 1px solid rgb(63, 63, 70);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgb(39, 39, 42);
    border: 1px solid rgb(63, 63, 70);
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: rgb(34, 211, 238);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(to right, rgb(37, 99, 235), rgb(8, 145, 178));
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-blur-1 {
        width: 200px;
        height: 200px;
    }
    
    .hero-blur-2 {
        width: 250px;
        height: 250px;
    }
}