:root {
    --page-bg: #cfe4de;
    --page-bg-deep: #8eb7ae;
    --glass-bg: rgba(231, 243, 239, 0.84);
    --glass-border: rgba(244, 252, 249, 0.72);
    --surface-soft: rgba(68, 118, 108, 0.08);
    --title-dark: #18342f;
    --text-muted: #4a6f69;
    --accent-blue: #56a8de;
    --shadow-card: 0 10px 24px rgba(34, 71, 64, 0.12);
}

html {
    min-height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(circle at top, rgba(236, 252, 246, 0.42) 0%, rgba(236, 252, 246, 0) 30%),
        linear-gradient(180deg, #dcece7 0%, #c9dfd9 48%, #b2cec7 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 40px 20px 0;
    color: #333;
}

.container {
    flex: 1 0 auto;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 56px;
}

.header-title {
    font-family: "Cinzel", serif;
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    margin-top: 20px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--title-dark);
}

.division-section {
    margin-bottom: 60px;
    text-align: center;
    padding: 24px 22px 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(230, 246, 241, 0.5) 0%, rgba(195, 224, 216, 0.42) 100%);
    box-shadow: inset 0 1px 0 rgba(244, 252, 249, 0.58);
}

.division-section:last-child {
    margin-bottom: 0;
}

.division-name {
    font-family: "Cinzel", serif;
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--title-dark);
}

.division-role {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.team-grid.team-grid-two {
    grid-template-columns: repeat(2, 1fr);
}

.member-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    background: rgba(237, 248, 244, 0.94);
}

.leader-card {
    min-width: 320px;
}

.member-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #9bbeb6;
}

.member-info {
    text-align: left;
}

.member-name {
    font-weight: 600;
    font-size: 15px;
    display: block;
    color: #18312b;
}

.member-class {
    font-size: 13px;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
    color: white;
}

.badge.web {
    background-color: #4caf50;
}

.badge.mobile {
    background-color: #f44336;
}

.badge.uiux {
    background-color: #ffc107;
    color: #333;
}

.leader-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(74, 111, 105, 0.18);
    margin: 40px 0;
}

.site-footer {
    margin-top: auto;
}

@media (max-width: 900px) {
    .container {
        padding-top: 92px;
    }

    .division-section {
        margin-bottom: 48px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        padding-top: 82px;
    }

    .leader-card {
        min-width: 0;
        width: 100%;
        max-width: 420px;
    }

    .member-card {
        align-items: flex-start;
    }

    .member-img {
        width: 56px;
        height: 56px;
    }

    .member-name {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 24px 12px 0;
    }

    .container {
        padding-top: 88px;
        padding-bottom: 40px;
    }

    .team-grid,
    .team-grid.team-grid-two {
        grid-template-columns: 1fr;
    }

    .member-card {
        padding: 12px;
        gap: 12px;
    }
}
