* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('background.jpg');
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 2rem;
    border: none;
    border-radius: 5px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-content button:hover {
    background: #0056b3;
}

/* Search & Filter Section */
.search-container {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-container input,
.search-container select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 200px;
}

/* Teams Grid */
.teams-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card h2 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.team-card .institution {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.participants {
    margin: 1rem 0;
}

.participant {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
}

.payment-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.paid {
    background: #28a745;
    color: white;
}

.not-paid {
    background: #dc3545;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 2rem;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .search-container {
        flex-direction: column;
        align-items: center;
    }

    .search-container input,
    .search-container select {
        width: 100%;
        max-width: 300px;
    }
}