/* Базовий CSS reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ----------- */


/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@700&display=swap');
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --color-bg: #F3F4F6;
  --color-text: #1F2937;
  --color-primary: #3B82F6;
  --color-secondary: #10B981;
  --color-accent: #F59E0B;
  --color-muted: #6B7280;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Додаткові глобальні налаштування */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 0 0 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-accent);
}

/* Utility-класи */
.u-text-center { text-align: center; }
.u-mt-0 { margin-top: 0; }
.u-mb-1 { margin-bottom: 1rem; }

/* style.css */

/* Хедер */
.header {
  background-color: var(--color-bg);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.header__logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}
.header__logo:hover {
  color: var(--color-secondary);
}
.header__logo:hover::after {
  width: 100%;
}

.header__nav {
  /* без бургер-меню, просто гнучкий ряд */
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.nav-list__item { }
.nav-list__link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.nav-list__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}
.nav-list__link:hover {
  color: var(--color-primary);
}
.nav-list__link:hover::after {
  width: 100%;
}

/* Адаптивність */
@media (max-width: 768px) {
  .header__container {
    padding: 1rem;
  }
  .nav-list {
    gap: 1rem;
    overflow-x: auto;
  }
  .nav-list__link {
    white-space: nowrap;
  }
}
/* style.css */

/* Футер */
.footer {
  background-color: var(--color-text);
  color: #ffffff;
  padding: 2rem 1rem;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Колонка 1: Логотип */
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__logo:hover {
  color: var(--color-accent);
}

/* Колонка 2: Навігація */
.footer__nav-list,
.footer__info-list,
.footer__contacts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__nav-list-item {
  margin-bottom: 0.5rem;
}
.footer__nav-list-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__nav-list-link:hover {
  color: var(--color-accent);
}

/* Колонка 3: Інформація */
.footer__info-list-item {
  margin-bottom: 0.5rem;
}
.footer__info-list-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__info-list-item a:hover {
  color: var(--color-accent);
}

/* Колонка 4: Контакти */
.footer__contacts-list-item {
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.footer__contacts-list-item a {
  color: #ffffff;
  text-decoration: none;
}
/* style.css */

/* -------------------------------- */
/* Hero-блок                        */
/* -------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__image {
    order: -1;
  }
}

.hero__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text);
  animation: fadeIn 0.8s ease-out;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.hero__btn-icon {
  font-size: 1rem;
}

.hero__image {
  display: flex;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.hero__img {
  max-width: 100%;
  border-radius: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

/* Анімації */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* style.css */

/* -------------------------------- */
/* Блок про IT-технології           */
/* -------------------------------- */
.tech {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.tech__container {
  max-width: 1200px;
  margin: 0 auto;
}
.tech__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.tech__card {
  background-color: var(--color-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.tech__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.tech__icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.tech__card:hover .tech__icon {
  color: var(--color-secondary);
}
.tech__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.tech__card-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Адаптив */
@media (max-width: 768px) {
  .tech {
    padding: 3rem 1rem;
  }
  .tech__title {
    font-size: 1.75rem;
  }
}
/* style.css */

/* -------------------------------- */
/* Блок «Преимущества»              */
/* -------------------------------- */
.advantages {
  padding: 4rem 2rem;
  background-color: var(--color-bg);
}
.advantages__container {
  max-width: 1200px;
  margin: 0 auto;
}
.advantages__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.advantages__card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.advantages__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.advantages__icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.advantages__card:hover .advantages__icon {
  color: var(--color-secondary);
}
.advantages__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.advantages__card-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Адаптив */
@media (max-width: 768px) {
  .advantages {
    padding: 3rem 1rem;
  }
  .advantages__title {
    font-size: 1.75rem;
  }
}
/* style.css */

/* -------------------------------- */
/* Блок «Программы курсов»          */
/* -------------------------------- */
.programs {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.programs__container {
  max-width: 800px;
  margin: 0 auto;
}
.programs__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.programs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.programs__item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: background-color 0.3s;
}
.programs__item:last-child {
  border-bottom: none;
}
.programs__item:hover {
  background-color: rgba(59,130,246,0.05);
}
.programs__icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-right: 1rem;
  flex-shrink: 0;
  transition: color 0.3s, transform 0.3s;
}
.programs__item:hover .programs__icon {
  color: var(--color-secondary);
  transform: scale(1.1);
}
.programs__details {
  flex: 1;
}
.programs__subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
  transition: color 0.3s;
}
.programs__item:hover .programs__subtitle {
  color: var(--color-secondary);
}
.programs__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
  .programs {
    padding: 3rem 1rem;
  }
  .programs__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .programs__icon {
    margin-bottom: 0.5rem;
  }
  .programs__details {
    width: 100%;
  }
}
/* -------------------------------- */
/* CTA-блок                         */
/* -------------------------------- */
.cta {
  background-color: var(--color-primary);
  padding: 4rem 2rem;
  border-radius: 0.75rem;
  margin: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__container {
  max-width: 800px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.cta__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.cta__btn {
  background-color: #ffffff;
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: transform 0.3s, background 0.3s;
}
.cta__btn:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* -------------------------------- */
/* FAQ-блок                         */
/* -------------------------------- */
.faq {
  padding: 4rem 2rem;
  background-color: var(--color-bg);
}
.faq__container {
  max-width: 800px;
  margin: 0 auto;
}
.faq__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.faq__list {
  display: grid;
  gap: 1rem;
}
.faq__item {
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.faq__question {
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq__question::marker {
  display: none;
}
.faq__question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.25rem;
  transition: transform 0.3s;
}
.faq__item[open] .faq__question::after {
  content: '–';
  transform: rotate(0deg);
}
.faq__answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
  animation: fadeIn 0.3s ease-out;
}

/* Адаптив */
@media (max-width: 768px) {
  .cta {
    margin: 2rem 1rem;
    padding: 3rem 1rem;
  }
  .faq {
    padding: 3rem 1rem;
  }
}
/* -------------------------------- */
/* Cookie-попап                     */
/* -------------------------------- */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(31, 41, 55, 0.95); /* темный фон */
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 200;
}
.cookie-popup--visible {
  transform: translateY(0);
}
.cookie-popup__message {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.cookie-popup__link {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.2s;
}
.cookie-popup__link:hover {
  color: var(--color-accent);
}
.cookie-popup__button {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.cookie-popup__button:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

/* Адаптив для узких экранов */
@media (max-width: 480px) {
  .cookie-popup {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .cookie-popup__message {
    font-size: 0.85rem;
  }
  .cookie-popup__button {
    width: 100%;
  }
}
/* -------------------------------- */
/* Общий стиль для страниц политики */
/* -------------------------------- */
.pages {
  background-color: #ffffff;
  padding: 3rem 2rem;
}

.pages .container {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  color: var(--color-text);
}

/* Заголовки */
.pages h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

/* Параграфы и списки */
.pages p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.pages ul {
  list-style: disc inside;
  margin: 1rem 0;
  padding: 0;
}

.pages li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

/* Выделенный текст */
.pages li strong {
  font-weight: 600;
  color: var(--color-text);
}

/* Ссылки */
.pages a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
.pages a:hover {
  color: var(--color-accent);
}

/* Отступы между разделами для читаемости */
.pages h2 + p,
.pages h2 + ul {
  margin-top: 0.5rem;
}

/* Адаптив */
@media (max-width: 768px) {
  .pages {
    padding: 2rem 1rem;
  }
  .pages h1 {
    font-size: 1.75rem;
  }
  .pages h2 {
    font-size: 1.25rem;
  }
}

/* style.css */

/* -------------------------------- */
/* Стили для страницы «О нас»       */
/* -------------------------------- */

/* ----- About Hero ----- */
.about-hero {
  background-color: var(--color-bg);
  padding: 6rem 2rem 4rem;
  text-align: center;
}
.about-hero__content {
  max-width: 800px;
  margin: 0 auto;
}
.about-hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeIn 0.8s ease-out;
}
.about-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0;
  animation: fadeIn 1s ease-out 0.2s forwards;
  opacity: 0;
}
.about-hero__subtitle[style] {
  opacity: 1;
}


/* ----- About Story (Timeline) ----- */
.about-story {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.about-story__container {
  max-width: 700px;
  margin: 0 auto;
}
.about-story__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.about-story__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.about-story__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 4px;
  background: var(--color-secondary);
}
.about-story__event {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  margin-bottom: 1rem;
}
.about-story__event:last-child {
  margin-bottom: 0;
}
.about-story__event time {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}
.about-story__event p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}
.about-story__event::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--color-primary);
  border-radius: 50%;
}


/* ----- About Mission ----- */
.about-mission {
  padding: 4rem 2rem;
  background-color: var(--color-bg);
  text-align: center;
}
.about-mission__container {
  max-width: 700px;
  margin: 0 auto;
}
.about-mission__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.about-mission__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}


/* ----- About Values ----- */
.about-values {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.about-values__container {
  max-width: 1000px;
  margin: 0 auto;
}
.about-values__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.about-values__item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 0.75rem;
  background-color: var(--color-bg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-values__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.about-values__icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.about-values__item:hover .about-values__icon {
  color: var(--color-secondary);
}
.about-values__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.about-values__desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.4;
}


/* ----- About Team ----- */
.about-team {
  padding: 4rem 2rem;
  background-color: var(--color-bg);
}
.about-team__container {
  max-width: 1000px;
  margin: 0 auto;
}
.about-team__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.about-team__member {
  text-align: center;
  background: #ffffff;
  padding: 2rem 1rem;
  border-radius: 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-team__member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.about-team__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.about-team__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--color-text);
}
.about-team__role {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}


/* ----- About Testimonials ----- */
.about-testimonials {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.about-testimonials__container {
  max-width: 800px;
  margin: 0 auto;
}
.about-testimonials__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}
.about-testimonials__list {
  display: grid;
  gap: 1.5rem;
}
.about-testimonials__item {
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem 1rem;
  border-radius: 0.5rem;
  font-style: italic;
  position: relative;
}
.about-testimonials__item cite {
  display: block;
  margin-top: 1rem;
  text-align: right;
  font-style: normal;
  font-weight: 600;
  color: var(--color-secondary);
}


/* Адаптив */
@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 1rem 2rem;
  }
  .about-hero__title {
    font-size: 2rem;
  }
  .about-hero__subtitle {
    font-size: 1rem;
  }

  .about-story,
  .about-mission,
  .about-values,
  .about-team,
  .about-testimonials {
    padding: 3rem 1rem;
  }
  .about-story__title,
  .about-mission__title,
  .about-values__title,
  .about-team__title,
  .about-testimonials__title {
    font-size: 1.5rem;
  }
}
/* -------------------------------- */
/* Стили для страницы «Курсы»       */
/* -------------------------------- */

/* ----- Courses Hero ----- */
.courses-hero {
  background-color: var(--color-bg);
  padding: 6rem 2rem 4rem;
  text-align: center;
}
.courses-hero__container {
  max-width: 800px;
  margin: 0 auto;
}
.courses-hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeIn 0.8s ease-out;
}
.courses-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.2s forwards;
}

/* ----- Courses Catalog ----- */
.courses-catalog {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.courses-catalog__container {
  max-width: 1200px;
  margin: 0 auto;
}
.courses-catalog__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}
.courses-catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.courses-catalog__card {
  background-color: var(--color-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.courses-catalog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.courses-catalog__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.courses-catalog__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
  margin: 1rem;
}
.courses-catalog__meta {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 1rem 0.5rem;
}
.courses-catalog__desc {
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0 1rem 1.5rem;
}
.courses-catalog__btn {
  align-self: start;
  margin: 0 1rem 1rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}
.courses-catalog__btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 768px) {
  .courses-hero {
    padding: 4rem 1rem 2rem;
  }
  .courses-hero__title {
    font-size: 2rem;
  }
  .courses-hero__subtitle {
    font-size: 1rem;
  }

  .courses-catalog {
    padding: 3rem 1rem;
  }
  .courses-catalog__title {
    font-size: 1.75rem;
  }
}
/* style.css */

/* -------------------------------- */
/* Стили для страницы «Связаться»    */
/* -------------------------------- */

/* Общий контейнер */
.contact,
.contact-info {
  padding: 4rem 2rem;
  background-color: var(--color-bg);
}
.contact__container,
.contact-info__container {
  max-width: 700px;
  margin: 0 auto;
}

/* Заголовки и текст */
.contact__title,
.contact-info__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1rem;
}
.contact__text {
  font-size: 1rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
}

/* Форма */
.contact-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}
.contact-form__group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.contact-form__label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}
.contact-form__input,
.contact-form__textarea,
.captcha__input {
  padding: 0.75rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.contact-form__input:focus,
.contact-form__textarea:focus,
.captcha__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Капча */
.captcha {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.captcha__question {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
}
.captcha__input {
  width: 100px;
}

/* Кнопка формы */
.contact-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.contact-form__btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

/* Сообщение об успехе */
.contact-form__success {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.contact-form__success--visible {
  opacity: 1;
}

/* Контактная информация */
.contact-info__title {
  margin-top: 3rem;
}
.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.contact-info__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.contact-info__list a {
  color: var(--color-primary);
  text-decoration: none;
}
.contact-info__list a:hover {
  color: var(--color-accent);
}

/* Адаптив */
@media (max-width: 768px) {
  .contact,
  .contact-info {
    padding: 3rem 1rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .captcha {
    flex-direction: column;
    align-items: flex-start;
  }
  .captcha__input {
    width: 100%;
    max-width: 200px;
  }
}
