:root {
    --bg-white: #ffffff;
    --spacing: 8px;
    --primary-color: #005596;
    --primary-hover: #003f73;
    --arrows-color: #f5a400;
    --bg-light: #f4f7fa;
    --text-main: #102a43;
    --text-muted: #526476;
    --border-color: #d9e4ec;
    --content-width: 1120px;
    interpolate-size: allow-keywords;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    background: var(--bg-light);
    color: var(--text-main);
    font-family: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

button {
    font: inherit;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(245, 164, 0, 0.65);
    outline-offset: 4px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    align-items: center;
    text-align: center;
    min-height: 88px;
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 30px rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(16px);
}

.logo {
    border-radius: 10px;
    object-fit: contain;
    width: 165px;
    height: 62px;
    padding: 3px;
}

header > div:last-child {
    justify-self: end;
    width: 165px;
}

.top-nav {
    position: relative;
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    justify-self: center;
    max-width: 900px;
    gap: 8px 20px;
    padding: 6px 8px 12px;
}

.top-nav a {
    position: relative;
    z-index: 1;
    color: #637588;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-nav a:hover,
.top-nav a.is-active {
    color: var(--primary-color);
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    border-radius: 999px;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), width 320ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    height: 3px;
    background: var(--arrows-color);
    box-shadow: none;
}

section {
    scroll-margin-top: 110px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    width: 100%;
    padding: clamp(72px, 8vw, 112px) max(24px, calc((100vw - var(--content-width)) / 2));
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background: var(--bg-white);
}

section:nth-of-type(even) {
    background: var(--bg-light);
}

section h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

section h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: var(--arrows-color);
}

section p {
    max-width: 800px;
    margin: auto;
}

section > p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

#hero {
    background: radial-gradient(circle at 83% 22%, rgba(247, 162, 0, 0.16), transparent 24%), radial-gradient(circle at 64% 78%, rgba(0, 73, 136, 0.10), transparent 29%), linear-gradient(135deg, var(--bg-white), var(--bg-light));
    padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
    overflow: hidden;
    text-align: left;
    min-height: calc(100vh - 88px);
}

#hero .hero-eyebrow {
    margin: 0 0 18px;
    color: var(--primary-color);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

#hero h1 {
    max-width: 760px;
    font-size: clamp(2.65rem, 5.3vw, 5rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}

#hero h1 span {
    color: var(--primary-color);
}

#hero .hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: #526476;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.hero-primary {
    padding: 15px 24px;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 73, 136, .22);
}

.hero-primary span {
    display: inline-block;
    margin-left: 8px;
    transition: transform .25s ease;
}

.hero-primary:hover span {
    transform: translateX(4px);
}

.hero-secondary {
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(0, 73, 136, .25);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 36px;
    list-style: none;
    color: #526476;
    font-size: .88rem;
}

.hero-facts li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--arrows-color);
    font-weight: 800;
}

.hero-code-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 22px;
    background: #102a43;
    box-shadow: 0 35px 70px rgba(16,42,67,.24);
    transform: rotate(2deg);
}

.code-card-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 15px 18px;
    background: #183b56;
}

.code-card-bar > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b6b;
}

.code-card-bar > span:nth-child(2) {
    background: #f7a200;
}

.code-card-bar > span:nth-child(3) {
    background: #43c59e;
}

.code-card-bar small {
    margin-left: auto;
    color: #9fb3c8;
    font-family: Consolas, monospace;
}

.code-card-body {
    overflow-x: auto;
    padding: clamp(28px, 4vw, 48px);
}

#hero .code-card-body p {
    margin: 0;
    color: #d9e2ec;
    font-family: Consolas, "Courier New", monospace;
    font-size: clamp(.84rem, 1.35vw, 1.05rem);
    width: max-content;
    min-width: 100%;
    line-height: 2;
    white-space: nowrap;
}

.code-blue {
    color: #7cc4fa;
}

.code-orange {
    color: #ffc35c;
}

.avatars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 780px;
    margin: 48px auto 0;
    gap: 24px;
}

.avatar-card {
    background: var(--bg-white);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 32px 26px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(16, 42, 67, 0.08);
}

.avatar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(16, 42, 67, 0.13);
}

.avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
}

.avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    background: var(--bg-light);
}

.avatar-card h3 {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.2rem;
}

.avatar-card .year {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.avatar-card .description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.event-list {
    list-style: none;
    text-align: left;
}

.requirement-list,
.benefits-list {
    list-style: none;
}

.requirement-list,
.benefits-list,
.event-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin: 44px auto 0;
    gap: 16px;
}

.event-list li {
    position: relative;
}

.event-image {
    border-radius: 20px;
}

.requirement-list li,
.benefits-list li {
    text-align: left;
    position: relative;
}

.requirement-list li,
.benefits-list li,
.event-list li {
    min-height: 78px;
    padding: 20px 22px 20px 56px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-muted);
    line-height: 1.55;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.05);
}

.requirement-list li::before,
.benefits-list li::before {
    content: "✓";
    position: absolute;
    font-weight: 600;
}

.requirement-list li::before,
.benefits-list li::before,
.event-list li::before {
    top: 20px;
    left: 20px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: rgba(245, 164, 0, 0.14);
    color: #bd7900;
    font-size: 0.85rem;
}

#benefits {
    position: relative;
    background:
        linear-gradient(rgba(169, 195, 210, 0.75), rgba(0, 0, 0, 0.75)),
        url("images/benefits-background.png") center / cover no-repeat;
    color: var(--bg-white);
}

.event-list li::before {
    position: absolute;
    content: "•";
}

.event-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

#events .event-list li {
    display: grid;
    grid-template-columns: 168px 1fr;
    min-height: 180px;
    overflow: hidden;
}

#events .event-list li::before {
    display: none;
}

#events .event-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#events .event-text {
    align-self: center;
    padding: 22px 24px;
}

#about {
    position: relative;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("images/about-background.png") center / cover no-repeat;
    color: var(--bg-white);
    text-align: left;
    
    padding: clamp(60px, 8vw, 110px) clamp(32px, 7vw, 140px);
}


#about h2::after {
    margin: 18px 0 0;
}

#about .about-content {
    max-width: 650px;
}

#about .about-content p {
    margin: 0;
}

.faq-items {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    margin-top: 44px;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}

.accordion-button {
    width: 100%;
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    padding: 22px 24px;
    color: var(--text-main);
    font-size: 1.02rem;
}

.accordion-button:hover,
.accordion-button.active {
    background: #f4f8fb;
    color: var(--primary-color);
}

.accordion-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.accordion-button.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    height: auto;
    padding: 18px 18px 18px;
}

.accordion-content p {
    color: var(--text-muted);
    margin: 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 85, 150, 0.18);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 14px 28px rgba(0, 63, 115, 0.24);
    transform: translateY(-2px);
}

.contact-copy {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 820px;
    margin: 44px auto 0;
    padding: 36px;
    gap: 64px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-white);
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.09);
}

.contact-info {
    text-align: left;
}

.contact-info table {
    border-spacing: 0 10px;
}

.contact-info a:not(.btn) {
    font-weight: 600;
}

.contact-label {
    font-weight: 600;
    padding-right: 8px;
}

.contact-image-circle {
    border-radius: 50%;
    overflow: hidden;
    width: 170px;
    height: 170px;
}

.contact-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#anforderungen .requirement-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: var(--content-width);
    gap: 24px;
}

#anforderungen .requirement-list li {
    min-height: 440px;
    padding: 34px 26px 30px;
    border-radius: 24px;
    background: var(--bg-white);
    color: var(--text-main);
    text-align: center;
    box-shadow: 0 12px 35px rgba(16, 42, 67, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#anforderungen .requirement-list li:hover {
    box-shadow: 0 18px 42px rgba(16, 42, 67, 0.13);
    transform: translateY(-6px);
}

#anforderungen .requirement-list li::before {
    display: none;
}

.requirement-icon {
    display: grid;
    width: 116px;
    height: 116px;
    margin: 0 auto 30px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 73, 136, 0.08);
}

.requirement-icon svg {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#anforderungen .requirement-list h3 {
    min-height: 58px;
    color: var(--primary-color);
    font-size: 1.35rem;
    line-height: 1.2;
}

#anforderungen .requirement-list h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin: 20px auto 24px;
    border-radius: 999px;
    background: var(--arrows-color);
}

#anforderungen .requirement-list p {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

footer {
    color: var(--bg-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 34px max(24px, calc((100vw - var(--content-width)) / 2));
    background: #002443;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing) * 3);
}

.footer-links a {
    font-size: 14px;
    color: #d9e2ec;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}
