/* Research Section Styles */
.research-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gradient-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #0070f3, #6b46c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.research-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--start-color), var(--end-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.research-card:hover::before {
    opacity: 1;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.card-description {
    color: #64748b;
    line-height: 1.6;
}

/* Gradient colors for cards */
.blue-gradient {
    --start-color: #0070f3;
    --end-color: #60a5fa;
}

.blue-gradient .card-icon {
    color: #0070f3;
    background: rgba(0, 112, 243, 0.1);
}

.purple-gradient {
    --start-color: #6b46c1;
    --end-color: #9333ea;
}

.purple-gradient .card-icon {
    color: #6b46c1;
    background: rgba(107, 70, 193, 0.1);
}

.indigo-gradient {
    --start-color: #4f46e5;
    --end-color: #6366f1;
}

.indigo-gradient .card-icon {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

.pink-gradient {
    --start-color: #db2777;
    --end-color: #ec4899;
}

.pink-gradient .card-icon {
    color: #db2777;
    background: rgba(219, 39, 119, 0.1);
}

.green-gradient {
    --start-color: #10b981;
    --end-color: #34d399;
}

.green-gradient .card-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.yellow-gradient {
    --start-color: #f59e0b;
    --end-color: #fbbf24;
}

.yellow-gradient .card-icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

/* Animation de l'apparition des cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.research-card {
    animation: fadeInUp 0.6s ease backwards;
}

.research-card:nth-child(1) { animation-delay: 0.1s; }
.research-card:nth-child(2) { animation-delay: 0.2s; }
.research-card:nth-child(3) { animation-delay: 0.3s; }
.research-card:nth-child(4) { animation-delay: 0.4s; }
.research-card:nth-child(5) { animation-delay: 0.5s; }
.research-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .research-section {
        padding: 4rem 0;
    }

    .gradient-title {
        font-size: 2rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .research-section {
        background: #111827;
    }

    .research-card {
        background: #1f2937;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .card-title {
        color: #f3f4f6;
    }

    .card-description {
        color: #9ca3b8;
    }

    .section-subtitle {
        color: #9ca3b8;
    }
}
