
:root {
    --bg: #111111;
    --surface: #1B1B1B;
    --surface-light: #242424;

    --white: #F2F2F2;
    --gray: #A5A5A5;
    --line: #3A3A3A;

    --orange: #FF3B18;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.4;

    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
}


.navbar {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}

.logo {
    color: var(--orange);

    font-size: 32px;
    font-weight: bold;
}

.navbar nav {
    display: flex;
    gap: 8px;
}

.navbar a {
    color: var(--white);

    text-decoration: none;

    padding: 8px 18px;

    border: 1px solid var(--line);
    border-radius: 20px;

    font-size: 13px;
}

.navbar a:hover {
    background: var(--orange);
    color: #111111;

    border-color: var(--orange);
}


.profile {
    display: grid;

    grid-template-columns: 350px minmax(0, 1fr);

    gap: 35px;

    margin-top: 35px;

    padding: 30px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: var(--surface);
}

.profile-image {
    width: 350px;
    height: 350px;

    overflow: hidden;

    border-radius: 4px;
}

.profile-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.profile-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.section-label {
    color: var(--gray);

    font-size: 13px;

    margin-bottom: 18px;
}

.profile h1 {
    color: var(--orange);

    font-size: clamp(45px, 6vw, 75px);

    line-height: .9;

    margin-bottom: 25px;
}

.profile h1 strong {
    display: block;
}

.profile p {
    max-width: 700px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.5;
}


.section-title {
    margin-top: 70px;
    margin-bottom: 25px;
}

.section-title span {
    display: block;

    color: var(--orange);

    font-size: 12px;

    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 34px;

    line-height: 1;

    text-transform: uppercase;
}

.section-title h2 strong {
    color: var(--orange);
}


.subjects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.subject-card {
    min-width: 0;

    padding: 24px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: var(--surface);
}

.subject-card.small {
    min-height: auto;
}

.subject-card h3 {
    margin-bottom: 20px;

    font-size: 20px;
}

.subject-card h3 strong {
    color: var(--orange);
}

.subject-card ul {
    padding-left: 18px;
}

.subject-card li {
    margin-bottom: 7px;

    color: var(--gray);

    font-size: 14px;
}

.subject-card li::marker {
    color: var(--orange);
}


.interests-slider {
    display: grid;

    grid-template-columns:
        35px
        repeat(4, minmax(0, 1fr))
        35px;

    gap: 12px;

    align-items: center;
}

.interest-card {
    height: 140px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 15px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: var(--surface);
}

.interest-icon {
    color: var(--orange);

    font-size: 32px;
}

.interest-card span {
    font-size: 12px;

    letter-spacing: 1px;
}

.arrow {
    border: none;

    background: none;

    color: var(--orange);

    font-size: 35px;

    cursor: pointer;
}


.team-grid {
    display: flex;

    justify-content: center;

    gap: 15px;
}

.team-card {
    width: 220px;
    height: 150px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: var(--surface);
}

.team-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 15px;

    border: 1px solid var(--orange);
    border-radius: 50%;

    color: var(--orange);
}

.agenda-content {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(220px, 1fr);

    gap: 30px;

    padding: 30px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: var(--surface);
}

.agenda-tag {
    display: inline-block;

    padding: 5px 12px;

    margin-bottom: 18px;

    border: 1px solid var(--orange);
    border-radius: 15px;

    color: var(--orange);

    font-size: 11px;
}

.agenda p {
    max-width: 650px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.6;
}

.ods {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 12px;

    border-left: 1px solid var(--line);
}

.ods-circle {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    border: 7px solid var(--orange);
    border-radius: 50%;

    color: var(--orange);
}

.ods span {
    color: var(--gray);

    font-size: 11px;

    text-align: center;
}


.institutions {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 14px;
}

.institution-card {
    min-width: 0;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: var(--surface);

    overflow: hidden;
}

.institution-logo {
    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;

    margin-bottom: 18px;
}

.institution-logo img {
    max-width: 100%;
    max-height: 65px;

    width: auto;
    height: auto;

    display: block;
}

.institution-card h3 {
    margin-bottom: 10px;

    font-size: 15px;

    line-height: 1.3;

    overflow-wrap: break-word;
}

.institution-card p {
    color: var(--gray);

    font-size: 12px;

    line-height: 1.6;

    overflow-wrap: break-word;
}


footer {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    margin-top: 45px;
    padding: 25px 0;

    border-top: 1px solid var(--line);
}

footer p {
    max-width: 750px;

    color: #777777;

    font-size: 10px;

    line-height: 1.5;
}

.footer-logo {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--orange);
}

.footer-logo span {
    color: var(--gray);

    font-size: 9px;
}


@media (max-width: 900px) {

    .profile {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .profile-image {
        width: 280px;
        height: 280px;
    }

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

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

    .institution-card:last-child {
        grid-column: span 2;
    }

}


@media (max-width: 650px) {

    .container {
        width: 92%;
    }

    .navbar {
        height: 65px;
    }

    .navbar nav {
        display: none;
    }


    .profile {
        grid-template-columns: 1fr;

        padding: 20px;

        gap: 25px;
    }

    .profile-image {
        width: 100%;
        height: auto;

        aspect-ratio: 1 / 1;
    }

    .profile h1 {
        font-size: 48px;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }


    .interests-slider {
        grid-template-columns:
            30px
            repeat(2, minmax(0, 1fr))
            30px;
    }

    .interest-card:nth-of-type(n+4) {
        display: none;
    }


    .team-grid {
        flex-direction: column;

        align-items: center;
    }


    .agenda-content {
        grid-template-columns: 1fr;

        padding: 22px;
    }

    .ods {
        border-left: none;

        border-top: 1px solid var(--line);

        padding-top: 25px;
    }


    .institutions {
        grid-template-columns: 1fr;
    }

    .institution-card:last-child {
        grid-column: auto;
    }

    footer {
        flex-direction: column;
    }
}