@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
  }


a{
    text-decoration: none;
    color: #1f2937;
}

img{
    object-fit: cover;
}

.btn{
    border: 2px #1f2937;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.btn:hover{
    color: #1f2937;
    background: #fff;
    border-color: #e5e7eb;
}

.btn--secondary{
    color: #1f2937;
    background: #fff;
    border: 2px solid #e5e7eb;
}

.btn--secondary:hover
.hero__socials a:hover{
    border-color: #1f2937;
    background: #1f2937;
    color: #fff;
    box-shadow: 0 0 12px rgba(31, 41, 55, 0.6);
}

.hero__socials{
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s;
   /* animation: glow 1.5s infinite; */ /* тимчасово вимкнено */
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
    }
    50% {
        text-shadow: 0 0 20px #0ff, 0 0 30px #0ff;
    }
    100% {
        text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
    }
}



.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 60px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    font-weight: 500;
    gap: 8px;
    margin: 0; /* Заміна margin-bottom */
    font-size: 18px;
    line-height: 1; /* Для точного вирівнювання */
}

.navbar__logo i {
    font-size: 22px;
    color: red;
    margin: 0; /* Можна прибрати відступ, бо gap працює */
}

.navbar__menu{
    display: flex;
    gap: 20px;
    justify-content: center; /* Центрування по горизонталі */
}

.navbar__link{
    font-size: 14px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.navbar__link:hover{
    color: #000;
}

.navbar__actions{
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar__location h5{
    font-weight: 500;
    color: #6b7280;
    font-size: 12px;
}

.navbar__location p{
    font-size: 11px;
    font-weight: 600;
}

.navbar__actions .btn{
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
}

.hero{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 0px 30px;
    margin-bottom: 120px; /* або 10px, якщо треба трохи */
    scroll-margin-top: 80px; /* або стільки, скільки висота navbar */
}

.hero__socials{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    right: 30px;
    top: 20%;
}

.hero__socials a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid #e5e7eb;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.skills{
    padding: 60px 20px;
    background-color: #f9f9f9; /* опціонально */
    margin-top: 0px; /* або менше */
    padding-top: 20px; /* якщо є */
    scroll-margin-top: 80px; /* Підлаштуй під висоту навбару */
}

.skills__container {
  max-width: 1200px;
  margin: 0 auto;
}

.training-details {
  padding: 60px 20px;
  background-color: #f9f9f9; /* так само, як .skills */
  margin-top: 20px;
  padding-top: 20px;
  scroll-margin-top: 80px;
}

.training-details .training-extra {
  max-width: 1200px;
  margin: 0 auto;
}


.showcase{
    padding: 80px 60px 100px;
    background: #e5e7eb;
    margin-top: 20px; /* або менше */
    padding-top: 20px; /* якщо є */
}

.showcase__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.showcase__header h3{
    font-size: 28px;
    font-weight: 400;
}

.showcase__header .btn{
    font-size: 13px;
    padding: 5px 16px;
    color: #fff;
    background: #1f2937;
    border-color: #1f2937;
}



.category__header{
    display: flex;
    align-items: center;
}

.category__title,
.category__desc{
    width: 50%;
    display: flex;
    align-items: center;
}

.category__title{
    gap: 12px;
}

.category__title h4{
    font-size: 22px;
    font-weight: 400;
}

.category__title i{
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category__desc{
    gap: 40px;
    justify-content: space-between;
}

.category__desc p{
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.category__desc a{
    font-size: 22px;
}

.category__projects{
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.project-card{
    position: relative;
    width: 25%;
    height: 420px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card__image{
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-position: top center;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.project-card__info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}

.project-card__info h5{
    font-size: 17px;
    font-weight: 500;
}

.project-card__info p{
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.project-card__desc{
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 30px;
}

.project-card .btn{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px 20px;
    border-radius: 16px 0 10px 0;
    border: none;
    color: #fff;
    background: #1f2937;
}

.project-card .btn:hover{
    background: #000;
}

.career{
    padding: 60px 60px 80px;
    display: flex;
    align-items: center;
    gap: 100px;
}

.career__jobs,
.career__awards{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career h3{
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.job,
.award{
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.job i,
.award div i{
    font-size: 20px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.award{
    justify-content: space-between;
}

.award > div{
    display: flex;
    align-items: center;
    gap: 20px;
}

.job__info h5,
.award__info h5{
    font-size: 15px;
    font-weight: 500;
}

.job__info h5 span,
.award__info h5 span{
    font-weight: 600;
}

.job__info p,
.award__info p{
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.award a i{
    font-size: 24px;
}

.contact{
    text-align: center;
    padding: 60px;
}

.contact h5{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.contact h2{
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact .btn{
    padding: 6px 20px;
    border: 2px solid #1f2937;
    color: #fff;
    background: #1f2937;
    margin-bottom: 14px;
}

.contact p{
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.contact p span{
    color: #1f2937;
    font-weight: 600;
    font-size: 13px;
}

.footer {
    padding: 30px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f3f3f3; /* Можеш змінити колір */
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer__brand a.navbar__logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    color: #222;
    text-decoration: none;
    gap: 8px;
}

.footer__brand a.navbar__logo i {
    font-size: 22px;
    color: red;
}

.footer__brand p {
    font-size: 13px;
    color: #000;
    font-weight: 500;
    margin: 0;
}

@media screen and (max-width: 1230px) {


    .category__title{
        width: 40%;
    }

    .category__desc{
        width: 60%;
    }

    .category__projects{
        flex-wrap: wrap;
    }

    .project-card{
        width: 48%;
    }

}

@media screen and (max-width: 992px) {
    
    .navbar{
        padding: 20px 30px;
    }

    .hero{
        padding: 100px 30px 40px;
    }

    .skills{
        flex-direction: column;
        padding: 60px 30px 80px;
    }


    .category__title,
    .category__desc,
    .career__jobs,
    .career__awards{
        width: 100%;
    }

    .showcase{
        padding: 80px 30px 100px;
    }

    .category__header{
        flex-direction: column;
    }

    .category__title{
        margin-bottom: 20px;
    }

    .career{
        padding: 60px 30px 80px;
        flex-direction: column;
        gap: 60px;
    }

    .footer{
        padding: 20px 30px;
    }

}


@media screen and (max-width: 768px) {
    
    .navbar__actions{
        display: none;
    }

    .hero{
        flex-direction: column;
        height: auto;
        padding: 40px 30px 0px;
        gap: 30px;
    }

    .showcase__header h3{
        font-size: 24px;
    }

    .category__title h4{
        font-size: 20px;
    }

    .project-card{
        width: 100%;
        height: 500px;
    }

    .project-card__image{
        height: 300px;
    }

    .career h3{
        font-size: 26px;
    }

    .footer{
        flex-direction: column-reverse;
        gap: 16px;
    }

}




/* Загальні стилі для кнопки */
.signup-btn {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: #ffffff;
    color: #000000;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid #000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    display: inline-block;
}

/* Ефект при наведенні */
.signup-btn:hover {
    background-color: #33ff85;
    transform: translateX(-50%) scale(1.05);
}

/* Щоб navbar був липким */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #f3f4f6; /* або твій фон */
}



.reviews {
  padding: 50px 20px;
  text-align: center;
  margin-top: 20px; /* або менше */
  padding-top: 20px; /* якщо є */
  scroll-margin-top: 100px; /* Підлаштуй під висоту навбару */
}

.reviews__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 40px;
  row-gap: 40px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.review {
  flex: 1 1 30%;  
  max-width: 300px;
  min-height: 350px;
  width: 100%; /* Додаємо для мобільної адаптивності */
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 12px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.review__image {
  width: 180px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.review__image:hover {
  transform: scale(1.05);
}

.review__text {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
  flex-grow: 1; /* вирівнює висоту всіх карток */
}

@media (max-width: 768px) {
    /* Прибрати локацію та дату */
    .navbar__actions {
        display: none;
    }

    /* Зробити header більш компактним */
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    /* Меню лишається в рядок і зменшується розмір */
    .navbar__menu {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .navbar__link {
        font-size: 14px;
        padding: 5px;
    }

    /* Логотип менший */
    .navbar__logo {
        font-size: 18px;
    }
}



.video-section {
  padding: 60px 20px;
  background-color: #f9fafb; /* або #111 для темної теми */
  text-align: center;
}

.skills__video {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-scroll {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.video-scroll:hover {
  transform: scale(1.02);
}

.video-scroll:fullscreen {
  object-fit: contain;
}



.hero__content {
  display: flex;
  gap: 100px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0px; /* або менше */
  padding-top: 0px; /* якщо є */
}

.hero__image {
  width: 100%;
  max-width: 400px; /* або більше, залежно від бажаного розміру */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}


.hero__text {
  flex: 1;
  min-width: 300px;
}

.hero__text h2, .hero__text p {
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
  margin-bottom: 20px;
}



/* Адаптивність */
@media (max-width: 768px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hero__image {
    width: 100%;
    height: auto;
  }

  .hero__text {
    padding: 0 10px;
  }
}

/* Соцмережі */
.hero__socials {
  position: absolute;
  top: 20%;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero__socials {
    position: relative;
    flex-direction: row;
    justify-content: center;
    top: auto;
    right: auto;
    margin-top: 20px;
  }
}

.training-columns {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.training-block {
  flex: 1 1 45%;
  text-align: center;
  margin-bottom: 40px;
}

.training-block h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #111827;
  font-weight: 500;
}


.training-video {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.training-extra {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 200px;
  margin-top: 40px;
}

.training-card {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  font-weight: 500;  
}

.training-card img {
  width: 100%;
  
  
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

.training-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  font-weight: 500;
}

.training-card .custom-img {
  height: auto;
  object-fit: cover;
}





/* Мобільна адаптація */
@media (max-width: 768px) {
  .training-columns {
    flex-direction: column;
  }

  .training-block {
    flex: 1 1 100%;
  }

  .hero {
    padding: 30px 20px 0; /* верх менший */
  }
}


@media screen and (max-width: 600px) {
  .review__image {
    max-width: 140px;
  }
}

@media screen and (max-width: 768px) {
  .training-extra {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .training-card {
    margin-bottom: 40px;
  }

  .training-card:last-child {
    margin-bottom: 0;
  }
}


.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-alert-box {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 90%;
  text-align: center;
}

.custom-alert-box p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}

.custom-alert-box button {
  padding: 8px 20px;
  font-size: 16px;
  border: 2px solid #999; /* сірий контур */
  background-color: #f5f5f5; /* світло-сірий фон */
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-alert-box button:hover {
  background-color: #ddd; /* трохи темніший при наведенні */
}



