/* Disable page scrolling */
html, body {
    min-height: 100vh;
    background: var(--color-darker);
    color: white;
    overflow-y: scroll;

}

/* Dev Team Section */
.dev-team-section {
    padding: 4rem 2rem;
    padding-top: 0 ;
    background: var(--color-darker);
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

.dev-team-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary), 0 0 30px var(--color-primary);
    animation: floatTitle 3s ease-in-out infinite;
}

/* Title float animation */
@keyframes floatTitle {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Card container layout */
.dev-team-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Individual card style - doubled in size */
.dev-card {
    position: relative;
    width: 600px;
    height: 500px;
    background: var(--color-dark);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

/* Stagger animation for each card */
.dev-card:nth-child(1) {
    animation-delay: 0.2s;
}
.dev-card:nth-child(2) {
    animation-delay: 0.4s;
}

/* Hover Effects for neon glow and scaling */
.dev-card:hover {
    transform: scale(1.1);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary), 0 0 30px var(--color-secondary);
}

/* Card image with zoom effect on hover */
.dev-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.dev-card:hover img {
    transform: scale(1.1);
}

/* Initially hide the card description */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 1rem;
    text-align: left;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show description on hover */
.dev-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
}

/* Title with neon glow inside cards */
.card-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary), 0 0 30px var(--color-primary);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Fade-in Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
