:root {
    --header-height: 100px;
    --header-height-sm: 60px;
}

* { box-sizing: border-box; }

body { font-family: "Oxygen", sans-serif; font-size: 18px; width: 100%; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: .3s; }
a:hover { transition: .3s; color: #F42420; }

.color-primary { color: #00244A; }
.color-secondary { color: #fff; }

.container--small { max-width: 1000px; margin: 0 auto; padding: 0 15px; }

h1.heading { font-size: 60px; }
h2.heading { font-size: 32px; }
h2.heading span { font-weight: 300; }

/*HEADER*/

main { margin-top: var(--header-height); }
main.scroll { margin-top: var(--header-height-sm); }

.top-bar { background: #F5EBDF; padding: 0 50px; height: var(--header-height); width: 100vw; position: fixed; top: 0;
    left: 0; display: flex; justify-content: space-around; transition: .3s; z-index: 1; }
.scroll.top-bar { height: var(--header-height-sm); }

.top-bar__logo { width: 126px; height: 100%; display: flex; justify-content: flex-end; }
.top-bar__logo a { display: flex; height: 100%; align-items: center; }
.top-bar__logo img { display: block; max-height: 86px; height: 100%; width: auto; }

.top-bar__nav { display: flex; align-items: center; justify-content: center; }

.top-bar__socials { width: 126px; display: flex; align-items: center; justify-content: flex-end; }
.top-bar__socials a { height: 20px;  }
.top-bar__socials svg path { transition: .3s; }
.top-bar__socials a:hover svg path { fill: #F42420; transition: .3s; }

@media (max-width: 970px) {
    main { margin-top: var(--header-height-sm); }
    .top-bar { height: var(--header-height-sm); transition: .3s; padding: 0 15px; justify-content: space-between; }
    .top-bar__logo { width: initial; }
    .top-bar__socials { width: initial; }
    .top-bar__nav { width: calc(100% - 88px - 20px); }
}

/*HEADER*/

/*MENU*/

.menu { padding: 0; margin: 0; display: flex; justify-content: center; }
.menu__item { margin: 0; list-style: none; padding: 0 15px; }
.menu__link { font-size: 16px; font-weight: 700; text-decoration: none; color: inherit; padding: 5px;
    border-bottom: 2px solid transparent; transition: .3s; }
.menu__link:hover,
.menu--active { border-bottom-color: #F42420; transition: .3s; }

@media (max-width: 768px) {
    #nav-icon { width: 32px; height: 25px; position: relative; cursor: pointer; display: block; transform: rotate(0deg);
        transition: .5s ease-in-out; z-index: 4; order: 1; }
    #nav-icon span { display: block; position: absolute; height: 5px; width: 100%; background: #00244A; opacity: 1;
        transform: rotate(0deg); transition: .25s ease-in-out; left: 0;}
    #nav-icon.open span { background: #00244A; }
    #nav-icon span:nth-child(1) { top: 0; }
    #nav-icon span:nth-child(2),
    #nav-icon span:nth-child(3) { top: 10px; }
    #nav-icon span:nth-child(4) { top: 20px; }
    #nav-icon.open span:nth-child(1) { top: 18px; width: 0; left: 50%; }
    #nav-icon.open span:nth-child(2) { transform: rotate(45deg); }
    #nav-icon.open span:nth-child(3) { transform: rotate(-45deg); }
    #nav-icon.open span:nth-child(4) { top: 18px; width: 0; left: 50%; }

    .top-bar__nav { order: 2; width: initial; }
    .top-bar__socials { margin: 0 15px 0 auto; }
    .menu { display: none; background: #F5EBDF; position: fixed; right: 0; top: 0; height: 100vh; padding-top: 100px;
        width: 250px; }
    .menu__link { font-size: 20px; padding: 5px 0; display: block; }
}

/*MENU*/

/*FOOTER*/

.bottom-bar { background: #F5EBDF; padding: 50px 0; }
.bottom-bar__container { display: flex; justify-content: space-between; }
.bottom-bar__info { display: flex; flex-direction: column; }
.bottom-bar__logo { display: flex; align-items: center; }
.bottom-bar__logo span { display: inline-block; width: 2px; height: 50px; background: #00244A; margin: 0 15px;}
.bottom-bar__logo p { font-weight: 700; margin: 0; }

.bottom-bar__social { display: flex; align-items: center; }
.bottom-bar__social span { font-weight: 300; }
.bottom-bar__social a { height: 20px; margin-left: 15px; }
.bottom-bar__social svg path { transition: .3s; }
.bottom-bar__social a:hover svg path { fill: #F42420; transition: .3s; }

@media (max-width: 570px) {
    .bottom-bar__container { flex-wrap: wrap; justify-content: center; }
    .bottom-bar__socials { order: -1; margin-bottom: 50px; }
}

/*FOOTER*/

/*BANNER*/

.front .banner { height: 600px; }
.front .banner__container { background: url("/assets/img/home.webp") no-repeat center /cover; }
.front .banner__text { width: 70%; }
.front .banner__heading { background: #00244ADD; display: inline-block; margin: 0; padding: 10px 50px 10px 20px; }
.front .banner__lead { background: #F42420DD; display: inline-block; margin: 0; padding: 10px 50px 10px 20px;
    font-weight: 700; }

.banner { height: 400px; }
.banner__container { height: 100%; background: no-repeat center /cover; border-bottom-right-radius: 80px; display: flex;
    justify-content: center; align-items: center; }

@media (max-width: 970px) {
    h1.heading { font-size: 48px; }
    h2.heading { font-size: 26px; }
}

@media (max-width: 760px) {
    .front .banner { height: 400px; }
}

@media (max-width: 580px) {
    .front .banner { height: 300px; }
    .banner { height: 300px; }
}

@media (max-width: 480px) {
    h1.heading { font-size: 36px; }
    h2.heading { font-size: 22px; }
}

@media (max-width: 360px) {
    h1.heading { font-size: 30px; }
}

/*BANNER*/

/*RECRUITMENT-INFO*/

.recruitment-info { margin: 50px 0; }
.recruitment-info__container { text-align: center; }
.recruitment-info__heading { margin-bottom: 10px; }
.recruitment-info__lead { font-size: 32px; font-weight: 300; margin-bottom: 20px; margin-top: 0; }

@media (max-width: 970px) {
    .recruitment-info__lead { font-size: 26px; }
}

@media (max-width: 480px) {
    .recruitment-info__lead { font-size: 22px; }
}

/*RECRUITMENT-INFO*/

/*BOXES*/

.boxes { margin: 50px 0; }
.boxes__container { display: flex; gap: 20px; }

.boxes__box { padding: 5px; display: block; }
.box__image { overflow: hidden; border-top-left-radius: 20px; border-top-right-radius: 20px; }
.box__img { width: 100%; height: auto; transition: .3s; display: block; }
.boxes__box:hover .box__img { transform: scale(1.1); transition: .3s; }
.box__text { font-weight: 700; background: #00244A; font-size: 25px; padding: 15px 20px; display: flex;
    justify-content: space-between; align-items: center; border: 1px solid #00244A; transition: .3s; }
.boxes__box:hover .box__text { background: #fff; color: #00244A; transition: .3s; }
.boxes__box:hover .box__text img { animation: moveRight 1s infinite; }

@media (max-width: 650px) {
    .boxes__container { flex-wrap: wrap; }
    .boxes__box { width: 100%; }
}

/*BOXES*/

/*STEPS*/

.steps__container { padding: 0 50px; }
.steps__background { background: linear-gradient(rgba(0, 36, 74, .44), rgba(0, 36, 74, .44)), url("/assets/img/kroki.webp") no-repeat center /cover;
    height: 400px; border-radius: 50px; }
.steps__wrapper { display: flex; align-items: center; margin-top: -220px; flex-direction: column; }
.steps__heading { margin-bottom: 50px; }

.steps__list { display: flex; }
.step { width: calc(970px / 5); height: 200px; padding: 10px 15px; }
.step hr { width: 50px; border: none; height: 2px; background: #fff; margin: 10px 0; }
.step__number { font-size: 24px; font-weight: 700; }
.step__info { font-weight: 700; }

.step--1 { background: #02DD9A; }
.step--2 { background: #0AD496; }
.step--3 { background: #07BC84; }
.step--4 { background: #069C6E; }
.step--5 { background: #027753; }

@media (max-width: 1020px) {
    .step { width: 20%; }
}

@media (max-width: 970px) {
    .steps__container { padding: 0 15px; }
    .step__info { font-size: 16px; }
}

@media (max-width: 800px) {
    .step__info { font-size: 14px; }
}

@media (max-width: 700px) {
    .steps__list { flex-wrap: wrap; justify-content: center; }
    .step { width: 100%; max-width: 300px; height: 150px; }
    .step__info { font-size: 18px; }
}

/*STEPS*/

/*CTA-CONTACT*/

.cta-contact { margin: 50px 0; }
.cta-contact__container { text-align: center; }
.cta-contact__heading { margin-bottom: 0; line-height: 1; }
.cta-contact__lead { margin-bottom: 20px; margin-top: 0; }
.cta-contact__link { background: #00244A; border-radius: 5px; font-size: 21px; font-weight: 700; transition: .3s;
    padding: 10px 15px 10px 20px; display: inline-flex; align-items: center; border: 1px solid #00244A; }
.cta-contact__link:hover { background: #fff; transition: .3s; color: #00244A; }
.cta-contact__link span { display: inline-block; margin-right: 20px; }
.cta-contact__link:hover img { animation: moveRight 1s infinite; }

/*CTA-CONTACT*/

/*TRAITS*/

.traits__container { display: flex; gap: 20px; }
.trait { flex: 1; display: flex; }
.trait__container { background: #E2F0FF; border-radius: 20px; padding: 10px 20px; }
.trait__heading { font-size: 20px; margin-top: 0; }

@media (max-width: 780px) {
    .traits__container { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 580px) {
    .trait { width: 100%; flex: initial; }
}

/*TRAITS*/

/*QUALITIES*/

.qualities { margin: 50px 0; }
.qualities__background { background: #5DEEC1; border-radius: 20px; padding-bottom: 30px; }
.qualities__wrapper { display: flex; }
.qualities--part { padding: 0 20px; }
.qualities__heading { padding: 30px 0; margin: 0; text-align: center; }
.quality { margin-bottom: 20px; }
.qualities__image img { border-radius: 20px; padding-top: 5px; height: auto; }
.quality__heading,
.quality__text { margin: 0; }

@media (max-width: 780px) {
    .qualities__wrapper { flex-wrap: wrap; justify-content: center; }
    .qualities__image { margin-bottom: 20px; }
    .qualities__image img { max-width: 100%; }
}

/*QUALITIES*/

/*STUDY*/

.study__feature { margin-bottom: 20px; }
.study__feature-heading { font-size: 20px; margin: 0; }
.study__feature-text { margin: 0; }

/*STUDY*/

/*OFFER*/

.offer { margin: 50px 0; }
.offer__background { background: #5DEEC1; border-radius: 20px; padding: 30px 0; }
.offer__heading { margin-top: 0; padding: 0 30px; }
.offer__wrapper { display: flex; }
.offer__image img { border-top-left-radius: 20px; border-top-right-radius: 20px; }
.offer--part { padding: 0 30px; }
.offer__point { margin-bottom: 20px; position: relative; }
.offer__point:before { content: url("/assets/img/tick.svg"); width: 16px; height: 16px; position: absolute; display: block; left: -35px; top: 10px; }
.offer__point-heading { margin: 0; font-size: 20px; }
.offer__point-text { margin: 0; }

@media (max-width: 920px) {
    .offer__wrapper { flex-wrap: wrap; justify-content: center; }
    .offer__image { margin-bottom: 20px; }
    .offer__image img { max-width: 100%; height: auto; }
    .offer__list { padding-left: 60px; }
}

/*OFFER*/

/*PANELS*/

.panel { margin-bottom: 20px; }
.panel__background { background: #E2F0FF; padding: 30px; border-radius: 20px; }
.panel__heading { font-size: 22px; margin: 0; }
.panel__text p { margin: 15px 0; font-size: 16px; }

/*PANELS*/

/*DIPLOMA*/

.diploma__container { margin-top: 50px; }
.diploma__background { background: #5DEEC1; padding: 30px; border-radius: 20px; }
.diploma__heading { font-size: 22px; margin: 0; }

/*DIPLOMA*/

/*CONTACT*/

.contact { margin: 50px 0 100px; }
.contact--info { flex: 2; }
.contact--form { flex: 4; }
.contact__container { display: flex; }
.contact__heading { margin: 0; }

.contact__part { padding: 0 20px; }
.contact__info { font-size: 16px; }
.contact__form { display: flex; flex-direction: column; padding-top: 10px; font-size: 14px; }

.contact__field { background: #e5e5e5; border-radius: 10px; margin: 5px 0; padding: 15px 25px; border: none; }
.contact__button { text-align: right; margin-top: 10px; }
.contact__send { display: inline-flex; justify-content: center; background: #00244A; border-radius: 10px;
    cursor: pointer; padding: 15px 100px; align-items: center; font-size: 21px; font-weight: 700; position: relative;
    transition: .3s; border: 1px solid #00244A; }
.contact__send:hover { background: #fff; color: #00244A; transition: .3s; }
.contact__send img { position: absolute; right: 20px; top: calc(50% - 12px)}
.contact__send:hover img { animation: moveRight 1s infinite; }

@media (max-width: 780px) {
    .contact__container { flex-wrap: wrap; justify-content: center; }
    .contact__part { flex: initial; width: 100%; padding: 0; }
}

/*CONTACT*/

/*ANIMATIONS*/

.move-right { animation: moveRight 1s infinite; }

@keyframes moveRight {
    0%, 100% { transform: translateX(0) }
    50% { transform: translateX(10px)  }
}

/*ANIMATIONS*/