/* GLOBAL */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #e9ecef;
    color: #222;
}

/* HEADER / HERO */
.hero {
    position: relative;
    background: url('img/mybanner.png') center/cover no-repeat;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 80, 0.55);
    pointer-events: none;
    z-index: 1;
}

.hero h1 {
    position: relative;
    font-size: 42px;
    margin: 0 0 10px 0;
    font-weight: 800;
    letter-spacing: 1px;
}

.lang-switch {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 5; /* above overlay and hero content */
    font-weight: bold;
}

.lang-switch a {
    color: #fff;
    text-decoration: none;
    margin-left: 8px;
}

.lang-switch a:hover {
    text-decoration: underline;
}

/* NAVIGATION */
nav {
    position: relative;
    z-index: 2;
}

nav a {
    color: #fff;
    margin-right: 20px;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

nav a:hover {
    border-bottom: 2px solid #00ff88;
}

/* MAIN CONTENT */
.container {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h2 {
    color: #003366;
    margin-top: 0;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #555;
    margin-top: 40px;
}

/* GROUP GRID */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

/* GROUP CARD */
.group-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border-left: 6px solid #0066cc;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.group-card h3 {
    margin-top: 0;
    color: #003366;
    font-weight: 700;
    text-align: center;
}

/* TEAM LIST */
.group-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-card li {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

.group-card li:last-child {
    border-bottom: none;
}

.group-card img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.group-card span {
    font-size: 15px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.details-table th {
    background: #003366;
    color: white;
    padding: 8px;
}

.details-table td {
    border: 1px solid #ccc;
    padding: 8px;
}
    
form label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 8px;
    box-sizing: border-box;
    margin-top: 4px;
}


