* {
  font-family: 'Geometria';
  src: "/assets/fonts/Geometria-Regular.woff";
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Geometria';
  src: "/assets/fonts/Geometria-Regular.woff";
  
}
.documentation_page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.documentation_page h1 {
  font-size: 48px;
  margin-bottom: 10px;
}



.doc-list {
  list-style-type: disc;
  padding-left: 20px;
}

.doc-list li {
  margin-bottom: 10px;
}

.doc-list li a {
  font-size: 24;
  text-decoration: none;
  color:#134C89;
}

.doc-list li a:hover {
  text-decoration: underline;
}
.container_page {
  width: 90%;
  margin: 0 auto;
}
/* Основний стиль для випадаючого меню */
.dropdown-menu {
  background-color: white; /* Фон меню */
  border: 2px solid #134c89; /* Рамка навколо меню */
  border-radius: 8px; /* Закруглені кути */
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
}

/* Стилі для пунктів випадаючого меню */
.dropdown-item {
  color: #134c89;
  font-size: 1rem;
  padding: 10px 15px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Анімація при наведенні */
.dropdown-item:hover {
  background-color: #134c89;
  color: white;
  border-radius: 5px;
}

/* Анімація при фокусі */
.dropdown-item:focus {
  background-color: #0d3a68;
  color: white;
}

.logo-container {
  display: flex;
  align-items: center;
  align-content: center;
}

.test {
  display: inline-block;
  justify-content: center;
  align-content: center;
}

.logo_nav {
  text-align: left;
 
}

.logo_nav h4 {
  
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size:2rem;
}

.logo_nav p {
  font-size: 1rem;
  font-weight: 500;
}

.navbar {
  transition: background-color 2s ease;
  background-color: #ffffff;
  color: #134c89;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}
.navbar-nav .nav-link {
    color: #134c89;
    font-weight: 500;
    font-size:1.25rem;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 10px;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;

}
.nav-link:hover {
  color: white; /* Змінює колір тексту */
  background-color: #134c89; /* Додає фон */
}
.nav-link.active,
.nav-link:focus {
  color: white;
  background-color: #0d3a68;
}


.navbar-brand {
  font-size: 13px;
  color: #134c89;
  text-transform: uppercase;
}

/* .navbar-brand text{
  width: 30px;
} */

.navbar-logo {
  width: 70px;
  height: auto;
  margin-right: 10px;
}




li {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 350;
  margin: 10px;

}

.navbar-link:last-child {
  margin-right: 0;
}

.donate-button {
  font-family: "Geometria";
  background-color: #134c89 !important;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  text-transform: uppercase;
  height: 90%;
  font-size:1.25rem;
  
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  background: #FFC107;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 15px;
}

.step-text {
  font-size: 1.2em;
}

.button-vstup {
display: block; /* Замість inline-block */
background: #FFC107;
color: black;
padding: 10px 20px;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
text-align: center;

margin: 5% auto; /* Центрування */
width: fit-content; /* Щоб не розтягувалась на всю ширину */
}

.footer-vstup {
  margin-top: 40px;
}
p{
  text-align: justify;
}
.header-line {
  border-top: 2px solid #f4a300;
  position: relative;
  margin-bottom: 30px;
}


.accordion-item {
  margin-bottom: 30px;
}

.accordion-header {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 10px;
}

.arrow {
  transition: transform 0.3s ease;
  font-size: 14px;
  margin-top: 5px;
  flex-shrink: 0;
}

.accordion-header.active .arrow {
  transform: rotate(180deg);
}

.accordion-title-wrapper {
  flex-grow: 1;
}

.accordion-title {
  font-weight: bold;
  font-size: 18px;
  color: #000;
}

.top-line {
  border-bottom: 1px solid #f4a300;
  margin-top: 4px;
}

.accordion-content {
  display: none;
  margin-top: 10px;
  font-size: 16px;
  color: #333;
  padding-left: 24px;
}

.bottom-line {
  border-bottom: 1px solid #f4a300;
  margin-top: 8px;
}

/* Адаптивність */
@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }

  .badge {
    width: 30px;
    height: 30px;
    font-size: 16px;
    top: -15px;
    right: 16px;
  }

  .accordion-title {
    font-size: 16px;
  }

  .accordion-content {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 22px;
  }

  .badge {
    width: 26px;
    height: 26px;
    font-size: 14px;
    top: -13px;
    right: 12px;
  }
}

@media (max-width: 767px) {
  .navbar-collapse {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    background-color: white;
  }

  .navbar-nav {
    width: 100%;
    align-items: center;
  }

  .nav-link {
    padding: 10px;
  }
}


/* @media (max-width: 768px) {
  .navbar-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar-link {
    margin-right: 0;
    margin-bottom: 10px;
  }
} */

.banner {
  position: relative;
  width: 100%;
  text-align: center;

}

.banner img {
  width: 100%;
  height: auto;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.banner-text h1 {
  font-size: 7rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.7rem;
  text-transform: uppercase;
}

.banner-text p {
  font-size: 1.5em;
  /* Розмір тексту за вашим вибором */
  text-align: center;

  margin: 0;
  text-transform: uppercase;
}

/* Адаптивні стилі для підтримки різних екранів */

@media (max-width: 767px) {
  * {
    justify-content: center;
  }

  .banner-text h1 {
    font-size: 4rem;
    letter-spacing: 0.4rem;
  }

  .banner-text p {
    font-size: 1.2em;
  }

  .banner img {
    width: 100%;
  }

 
}

@media (max-width: 576px) {
  .banner-text h1 {
    font-size: 1.5em;
  }

  .banner-text p {
    font-size: 0.8em;
  }
}

.dark {
  background-color: #134C89;
  text-align: center;
}

.dark h3 {
  color: #F3B51B;
  padding-top: 40px;
  text-transform: uppercase;
}

.dark p {
  color: white;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-size: 1.5rem;
  /* text-transform: uppercase; */
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.cont_img {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-left: 1rem;
  margin-right: 1rem;
  gap: 30px;
  margin-top: 3rem;

}

.cont_img img {
  width: 30%;
  max-width: 20%;
  margin-bottom: 35px;
  border-radius: 25px;
  transition: transform .3s;

}

.cont_img img:hover {
  transform: scale(1.2);
}

.cont_img img:last-child {
  margin-right: 0;
}

@media (max-width: 767px) {
  .cont_img {
    /* flex-wrap: wrap; */
    display: block;
    justify-content: center;
  }

  .cont_img img:hover {
    transform: scale(1.8);
  }

}

.two-parts-container {
  display: flex;
  /* width: 80%;*/
  /* justify-content: center; */
}

@media (max-width: 767px) {
  .two-parts-container {
    margin-top: 5%;
    display: block;
    /* flex-wrap: wrap; */
    justify-content: center;
  }
}

.left-part,
.right-part {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-part img {
  max-width: 90%;
  height: auto;
  border-radius: 15px;
  
}

.right-part img {
  max-width: 90%;
  height: auto;
  border-radius: 15px;
}

.right-part {
  text-align: center;
  display: inline-block;
}

.right-part h2 {
  /* font-size: 32px; */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: #134C89;
  letter-spacing: 5px;
}

.right-part p {
  font-size: 1.1rem;
  margin-top: 25px;
  /* text-transform: uppercase; */
  text-align: justify;
  margin-left: 10%;
  margin-right: 10%;
  font-family: 'Montserrat', sans-serif;
}


.left-part {
  text-align: center;
  display: inline-block;
}

.left-part h2 {
  /* font-size: 1.1rem; */
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  color: #134C89;
  letter-spacing: 0.3rem;
}

.left-part p {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  /* text-transform: uppercase; */
  text-align: justify;
  margin-left: 10%;
  margin-right: 10%;
  font-family: 'Montserrat', sans-serif;
}


.horizontal-line {
  border: 0.1rem solid #F3B51B;
  text-align: center;
  width: 60%;
  /* margin-top: 1.5rem; */
  margin-top: 5%;
  margin-bottom: 5%;
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dots-container {
  display: inline-block;

}

.dot {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #F3B51B;
  border-radius: 50%;
  margin: 1.2rem;

}

.left-d,
.right-d {
  margin-top: 1%;
  margin-bottom: 1%;
  flex: 1;
  padding: 1.2rem;
  display: inline;
  justify-content: center;
  align-items: center; 
  align-content: center;
}

.left-d img {
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  /* border: 3px solid #F3B51B; */
  padding: 15px;
}

.right-d p {
  font-size: 1.4rem;
  font-style: italic;
  text-align: justify;
}

.subscription-block h2 {
  color: black;
}

.subscription-block {
  background-color: #F3B51B;
  color: #fff;
  padding: 20px;
  text-align: center;
  width: 50%;
  margin: 50px auto;
  border-radius: 25px;
}

.subscription-block h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.subscription-block p {
  font-size: 16px;
  margin-bottom: 20px;
  color: black;
}

.subscription-block form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subscription-blocklabel {
  font-size: 14px;
  margin-bottom: 10px;
}

.subscription-block input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 25px;
  border-style: none;
  color: black;
}

::placeholder {
  color: #646565;
  text-transform: uppercase;
  font-style: italic;
}

.subscription-block button {
  background-color: #fff;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 25px;
}
.frm{
  display: flexbox;
}
/* .hr_d{
  border: 0.1rem solid #F3B51B;
  text-align: center;
  width: 20%;
  margin-top: 0.5rem;
} */
.photo-container {
  position: relative;
  overflow: hidden;
  /* Забезпечте відсутність витоку затемнення за межі фотографії */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Чорний колір з прозорістю 0.5 (50%) */
  pointer-events: none;
  /* Заборона взаємодії з overlay, щоб не заважав миші та іншим подіям */
}



/* TEAM */
.team h1 {
  margin-top: 3%;

  text-align: center;
  letter-spacing: 0.1rem;
  color: #134C89;
  text-transform: uppercase;
}

.team h3 {
  margin-top: 3%;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #892113;
  text-transform: uppercase;
}

.teacher {
  display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрує всі рядки */
    gap: 30px;
    margin-bottom: 40px;
}
.teacher div{
  width: 30%;
  text-align: center;
}

.teach-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  /* margin-right: 20px; */
}
.teacher div h4{
  margin-top: 5%;
  font-weight: bold;;
}
.teach-text {
  margin-top: 5%;
}

.teach-text h4 {
  font-weight: bold;
}

.teach-text p {
  font-size: 1.3rem;
  text-align: center;
  width: 70%;
}

.vacancies h3 {
  margin-top: 3%;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #134C89;
  text-transform: uppercase;
}

.vacancies h6 {
  margin-top: 3%;
  /* font-size: 20px; */
  margin-left: 10%;
  text-align: left;
  letter-spacing: 0.1rem;
  color: #134C89;
  text-transform: uppercase;
}

.vacancies p {
  margin-top: 1%;
  margin-left: 10%;
  margin-right: 5%;
  text-align: left;
  letter-spacing: 0.02rem;
  color: black;
  font-size: 20px;
}

.teacher_page {
  margin-top: 15%;
}

.teacher_page h1 {
  letter-spacing: 0.7rem;
  text-transform: uppercase;
  color: black;
  text-align: center;
}

.teacher_page p {
  margin-top: 1%;
  margin-left: 10%;
  margin-right: 5%;
  text-align: left;
  letter-spacing: 0.02rem;
  color: black;
  font-size: 20px;
}

.teacher_page h6 {
  margin: 3%;
  margin-left: 10%;
  margin-right: 5%;
  text-align: left;
  letter-spacing: 0.02rem;
  font-size: 20px;
}

.teacher_page ul {
  margin-left: 10%;
  margin-right: 5%;
  text-align: left;

}

.teacher_page li {
  letter-spacing: 0.02rem;
  font-size: 20px;
}

/* .cont p{
text-align: center;
} */
/* DOCUMENTATION */
.documentation_page {
  margin-top: 15%;
}

.documentation_page h1 {
  letter-spacing: 0.7rem;
  text-transform: uppercase;
  color: black;
  text-align: center;
}

.documentation_page p {
  color: #134C89;
  text-align: center;
}
.documentation_page li {
  color: #134C89;
  text-align: left;
}


footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
  padding: 20px 0;
}




.container_footer {
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  text-align: left;

}

.logo-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  height: 217px;
}

.school-info {
  padding-left: 20px;
  font-size: 1.2rem;
  color: #134C89;
}

.footer-links {
  display: flex;
  flex-direction: row;
  font-size: 1.2rem;
  gap: 5px;
  justify-content: space-around;
}

.footer-links a {
  text-decoration: none;
  color: #134C89;
  display: block;
}

.footer-contact {
  text-align: right;
  font-size: 1.2rem;
}

.footer-contact p {
  line-height: 1.5;
}

.footer-icons {
  display: flex;
  justify-content: left;
  gap: 15px;
  margin-top: 5%px;
  margin-left: 5%;
}

.footer-icons i {
  font-size: 54px;
  color: black;
  transition: color 0.3s;
  justify-content: flex-start;
}

.footer-icons i:hover {
  color: #134C89;

}

/* 🔹 АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ */
@media (max-width: 768px) {
  .container_footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-column {
      margin: 5%;
  }

  .logo-section {
      flex-direction: column;
      align-items: center;
      text-align: center;

  }

  .school-info {
      padding-left: 0;
      margin-top: 10px;

  }

  .footer-contact {
      text-align: center;
  }

  .footer-links {
      align-items: center;
      flex-direction: column;
      text-align: center;
  }
  .footer-icons{
    justify-content: center;
  }
}







/* .p_dir{
  margin-top: 1%;
  text-align: right;
} */



/* ABOUT */
/* .about_school{
  width: 100%;
} */
.adg_school {
  text-align: center;
}

.adg_school h2 {
  margin-top: 5%;
  text-transform: uppercase;
  color: #134C89;
  letter-spacing: 0.1rem;
}

.adg_school h5 {
  margin-top: 2%;
  text-align: left;
  letter-spacing: 0.1rem;
  font-family: 'Montserrat', sans-serif;
}

.formula h1 {
  margin-top: 3%;
  margin-bottom: 3%;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #134C89;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.formula h5,
li {
  text-align: left;
  letter-spacing: 0.09rem;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.img_about {
  display: flex;
  justify-content: center;

}

.img_about img {
  margin-top: 3%;
  border-radius: 15px;
}

.head2 {
  margin-top: 5%;
  text-transform: uppercase;
  color: #134C89;
  letter-spacing: 0.1rem;
  text-align: center;
}

.partner {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}

.partner-text {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: flex-start;
}

.section {
  width: calc(33.33% - 20px);
  box-sizing: border-box;
  margin-right: 20px;
}

.section img {
  width: 100%;
  /* Зробити картинку заповненою всією шириною секції */
  max-width: 100%;
  /* Забезпечити, що картинка не виходить за межі секції */
  height: auto;
  /* Автоматично визначити висоту, зберігаючи пропорції */
  display: block;
  margin: 5% auto;
}

.section h6 {
  text-transform: uppercase;
  color: #134C89;
  letter-spacing: 0.1rem;
  text-align: center;
}

.founder h1 {
  margin-top: 3%;
  margin-bottom: 3%;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #134C89;
  text-transform: uppercase;
}

.founder img {
  width: 100%;
  /* Зробити картинку заповненою всією шириною секції */
  max-width: 40%;
  /* Забезпечити, що картинка не виходить за межі секції */
  height: auto;
  /* Автоматично визначити висоту, зберігаючи пропорції */
  display: block;
  margin: 3% auto;
}

.founder h5 {
  text-transform: uppercase;
  color: #134C89;
  letter-spacing: 0.1rem;
  text-align: center;
}

/* .navbar-toggler-icon {
  border: 2px solid #134c89;
  padding: 3px; 
  border-radius: 4px; 
}

.navbar-toggler {
  border: 2px solid #134c89; 
  border-radius: 4px;
} */



.with-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* BLOG */
.cont_news {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
}

.cont_news > div {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cont_news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.cont_news h6 {
  font-size: 18px;
  margin: 10px 0 5px;
  color: #333;
  text-transform: uppercase;
}

.cont_news p {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

/* SUPPORT */
.support_page {
  margin-top: 15%;
  margin-left: 10%;
  text-align: center;
  align-items: center;
}

.support_page h1 {
  letter-spacing: 0.7rem;
  text-transform: uppercase;
  color: black;
  text-align: center;
}

.support_page h5 {
  margin-top: 5%;
}
.support_page p {
  margin-top: 5%;
  text-align: left;
}

.div_from {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.center {
  align-items: center;
}

.support-form {
  width: 100%;
  max-width: 600px;
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  align-items: center;
}

.payment-buttons,
.amount-buttons {
  margin-top: 3%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.payment-button,
.amount-button,
.other-amount-input,
.form-field {

  flex: 1;
  height: 50px;
  font-size: 16px;
  border-radius: 5px;
}

.payment-button,
.amount-button {
  border: 2px solid #ffd700;
  color: #ffd700;
  background-color: transparent;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0 5px;
  text-transform: uppercase;
}

.payment-button:hover,
.payment-button.active,
.amount-button:hover,
.amount-button.active {
  background-color: #ffd700;
  color: #fff;
}

#amountOther.active {
  background-color: #ffd700;
  color: #fff;
}

.amount-header,
.about-me-header {
  font-size: 18px;
  margin-bottom: 20px;
}

.other-amount-container {
  margin-bottom: 20px;
}

.other-amount-input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 2px solid #ffd700;
  border-radius: 5px;
  margin-bottom: 10px;
}
.other-amount-input::placeholder{
  font-style: normal;
}
input::placeholder{
  color: #ffd700;
}

.form-fields {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3%;
  gap: 10px;
  margin-bottom: 30px;
}

.form-field {
  flex: 1;
  border: 2px solid #ffd700;
  color: #ffd700;
  background-color: transparent;
  padding: 10px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 25px;
}

.support-button {
  width: 50%;
  /* Змінено ширину на 50% для центрування */
  margin: 0 auto;
  /* Додано автоматичне центрування */
  height: 50px;
  background-color: #ffd700;
  color: #000;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: bold;
}

.support-button:hover {
  background-color: #ffcc00;
}