/* Шрифты (оставь только если используешь свои) */
@font-face {
  font-family: 'Impact Regular';
  src: url('fonts/Impact.woff') format('woff');
}
@font-face {
  font-family: 'LovelaceMediumItalic';
  src: url('fonts/LovelaceMediumItalic.woff');
}
@font-face {
  font-family: 'Roboto Black';
  src: url('fonts/Roboto-Black.woff');
}
@font-face {
  font-family: 'Roboto Thin';
  src: url('fonts/Roboto-Thin.woff');
}

/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  width: 100vw;
  max-width: 100%;
  height: 100%;
  background-color: black;
  font-family: 'Roboto Black', sans-serif;
  overflow-x: hidden;
}

/* Контейнер, подлежащий масштабированию */
#scaler {
  width: 1920px;
}

/* Секция 1 — фон через CSS */
.hero {
  position: relative;
  width: 1920px;
  height: 1080px;
  background-image: url("images/Background-24.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Логотип */
.logo {
  position: absolute;
  top: 0px;
  left: 50px;
  width: 550px;
  opacity: 0.5;
  z-index: 10;
}

/* Навигация */
.navbar {
  position: absolute;
  top: 25px;
  right: 40px;
  z-index: 10;
}
.navbar ul {
  display: flex;
  gap: 50px;
  list-style: none;
}
.navbar a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  opacity: 0.5;
  text-transform: uppercase;
  font-family: 'Roboto Black';
}

/* Контент внутри заставки */
.content {
  position: absolute;
  top: 65%;
  left: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
.title {
  font-family: 'Impact Regular';
  font-size: 100px;
}
.subtitle {
  font-family: 'LovelaceMediumItalic';
  font-size: 40px;
  margin-top: 10px;
}
.button-wrapper {
  margin-top: 40px;
}
.cta-button {
  padding: 15px 30px;
  font-size: 24px;
  background-color: #203e2b;
  color: white;
  text-decoration: none;
  font-family: 'Roboto Black';
  border-radius: 5px;
}

/* Секция 2 */
.section-programme {
  background-color: #113625;
  color: #ffffff;
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 120px 150px 120px;
}

.programme-header h2 {
  font-family: 'Impact Regular', sans-serif;
  font-size: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 60%;
  margin: 0 0 70px 42px;
}

.programme-columns {
  display: flex;
  justify-content: center; 
  gap: 140px;
}
.programme-column {
  flex: 0 0 26%;
}
.module-title {
  font-family: 'Roboto Black', sans-serif;
  font-size: 45px;
  margin-bottom: 10px;
}
.module-line {
  border: none;
  border-top: 2px solid white;
  margin: 10px 0 20px 0;
}
.module-objective {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: justify;
}
.module-description {
  font-family: 'Roboto Thin', sans-serif;
  font-size: 25px;
  line-height: 1.5;
  text-align: justify;
  list-style: disc;
  padding-left: 20px;
}

.slider-section {
  background-color: #202020;
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slider {
  width: 80%;
  height: 80%;
  margin: auto;
  position: relative;
  transition: transform 0.5s ease-in-out;
}


.slide {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: filter 0.5s ease;
}

.slide img:hover {
  filter: grayscale(0%);
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 3%;
  width: 90%;
  font-family: Cambria, serif;
  font-style: italic;
  font-size: 22pt;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
}

.nav.prev {
  left: 80px;
}

.nav.next {
  right: 80px;
}

.nav svg line {
  stroke: white;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.nav:hover svg line {
  stroke: #44ff44;
}

.dots {
  position: absolute;
  bottom: 80px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active,
.dot:hover {
  opacity: 1;
}

/* Секция 4 */
.about-section {
  background-color: #113625;
  height: 1080px;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: 'Roboto', sans-serif;
}

.about-container {
  display: flex;
  width: 90%;
  margin: 0 auto;
  color: white;
}

.about-left {
  width: 50%;
}

.about-title {
  font-family: 'Impact', sans-serif;
  font-size: 52pt;
  text-align: left;
  line-height: 1.4;
  margin-left: 120px;
}

.about-right {
  width: 50%;
  padding-left: 60px;
}

.about-line {
  width: 90%;
  border: none;
  border-top: 1px solid white;
  margin-bottom: 20px;
}

.about-subtitle {
  font-family: 'Impact', sans-serif;
  font-size: 26pt;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 10px;
}

.about-text {
  font-family: 'Roboto Thin', sans-serif;
  font-weight: 100;
  font-size: 18pt;
  text-align: justify;
  opacity: 0.9;
  width: 90%;
  margin-bottom: 30px;
}

/* Секция 6 */
.contact-section {
  display: flex;
  height: 1080px;
  background-color: #113625;
}

.contact-left {
  position: relative;  
  width: 50%;
  display: flex;
  align-items: center;     /* Центровка по вертикали */
  justify-content: flex-end; /* Прижать к правому краю */
  padding-right: 0; /* убираем отступы */
  overflow: hidden;
}

.contact-left::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(32, 32, 32, 0.6);  /* Полупрозрачная маска */
  pointer-events: none;
  z-index: 2;
}
.contact-left img {
  height: 100%;
  width: auto;
  object-fit: cover;
  filter: grayscale(20%);  /* 20% оттенок серого */
  opacity: 1;
  display: block;
  z-index: 1; /* Убедимся, что картинка под маской */
}

.contact-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;    /* Центровка по вертикали */
  align-items: flex-start;    /* Выравнивание всего текста по левому краю */
  color: white;
  padding: 0 220px;           /* Добавим отступы для визуального центрирования */
  box-sizing: border-box;
  margin-top: -70px;
}

.contact-title {
  font-family: 'Impact', sans-serif;
  font-size: 52pt;
  margin-bottom: 20px;
  text-align: left;
}

.contact-line {
  width: 90%;
  border: 0.5px solid white;
  opacity: 0.3;
  margin: 50px 0 70px 0;   /* ↑ больше отступов сверху и снизу */
}


.contact-subtitle {
  font-size: 30pt;
  font-weight: 900;
  font-family: 'Roboto Black', sans-serif;
  margin-bottom: 10px;
}

.contact-email {
  font-size: 21pt;
  font-weight: 100;
  font-family: 'Roboto Thin', sans-serif;
  opacity: 0.85;
  margin-bottom: 40px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 40px; /* увеличенный отступ между иконками */
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  height: 64px;
  width: auto;               /* сохраняет пропорции */
  object-fit: contain;
  opacity: 0.60;
  transition: opacity 0.3s ease;
}

.social-icons img:hover {
  opacity: 1;
}

.social-icons img[alt="Instagram"] {
  height: 76px;
}

.social-icons img[alt="LinkedIn"] {
  height: 52px;
}

.social-icons img[alt="YouTube"] {
  height: 64px; /* или оставь как есть, если уже оптимально */
}

/* Секция FAQ */
.faq-section {
  position: relative;
  background-color: #202020;
  height: 1080px;
  width: 1920px;
  padding:  100px 220px 100px 220px;  /* Верх-право-низ-лево */
  box-sizing: border-box;
  overflow: hidden;
}

/* Фон-изображение и фильтр */
.faq-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/Background-24.jpg') center/cover no-repeat;
  filter: grayscale(70%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.faq-header {
  position: relative;
  margin-bottom: 60px;
  z-index: 2;
}

.faq-title {
  font-family: 'Impact', sans-serif;
  font-size: 52pt;
  color: white;
  text-align: left;
}

.faq-subtitle {
  font-family: 'LovelaceMediumItalic', serif;
  font-size: 30pt;
  color: white;
  text-align: right;
}

.faq-slider {
  display: flex;
  gap: 310px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-left: 20px;    /* Левое поле меньше */
  padding-right: 150px;  /* Правое поле меньше */
}

.faq-slide {
  flex: 0 0 41%;
  scroll-snap-align: start;
  position: relative;
  z-index: 2;
}

.faq-question {
  font-family: 'Impact', sans-serif;
  font-size: 22pt;
  color: white;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: justify;
  width: 100%;
  line-height: 1.5;
}

.faq-answer {
  font-family: 'Roboto Thin', sans-serif;
  font-size: 18pt;
  color: white;
  width: 100%;
  text-align: justify;
  line-height: 1.7;
}

.faq-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  padding-left: 60px;
  padding-right: 150px;
  pointer-events: none; /* Разрешаем клики только на кнопках */
  z-index: 10;
}

.faq-nav button {
  background: white;
  border: none;
  width: 80px; /* Увеличили длину черточек */
  height: 2px;
  pointer-events: auto; /* Включаем клики для кнопок */
  opacity: 0.7;
  transition: opacity 0.3s;
  cursor: pointer;
}

.faq-nav button:hover {
  opacity: 1;
}


/* Убираем странные полоски */
.faq-slider::-webkit-scrollbar {
  display: none;
}

/* Текст авторских прав */
.copyright {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-family: 'Roboto Thin', sans-serif;
  font-size: 21px;
  color: white;
  opacity: 0.7;
}

