/* 

--- 01 TYPOGRAPHY SYSTEM ---
    
- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 /18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
    

- FONT WEIGTHS:
DEFAULT: 400
MEDIUM: 500
SEMI-BOLD: 600
BOLD: 700


- FONT HEIGHTS:
DEFAULT: 1
SMALL: 1.05 
MEDIUM: 1.2
PARAGRAPH DEFAULT: 1.6
LARGE: 1.8

- LETTER SPACING
0.5 px
0.75 px


--- 02 COLORS ---
1 color: #247291; 
2 color: #f8da5b; 
3 color: #eef2e2; 
4 color: #f5f9ee; 

-Tints:
-Shades:
-Accents:
-Greys:
#333

--- 05 SHADOWS ---

--- 06 BORDER RADIUS ---

DEFAULT: 9 px
MEDIUM: 11 px

--- 07 WHITE SPACE ---

-  SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 /128
    

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #333;
  overflow-x: hidden;
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

main {
  flex: 1;
}

.footer {
  padding: 20px;
}

/**************************/
/* GENERAL REUSABLE COMPONENTS */
/**************************/

.heading-primary {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #333;
  letter-spacing: 0.5px;
  text-align: left;
  margin-bottom: 3.2rem;
}

.btn:link,
.btn:visited {
  display: inline-block;
  font-size: 3rem;
  text-decoration: none;
  padding: 2rem 19.93rem;
  border-radius: 1rem;
  transition: all 0.3s;
  font-weight: 500;
}

.btn--help:link,
.btn--help:visited {
  background-color: #f8da5b;
  color: #333;
}

.btn--help:hover,
.btn--help:active {
  background-color: #dfc452;
  box-shadow: inset 0 0 0 3px #f8f8f8;
}

.btn--back:link,
.btn--back:visited {
  background-color: #247291;
  color: #f5f9ee;
}

.btn--back:hover,
.btn--back:active {
  background-color: #206783;
  color: #fff;
  box-shadow: inset 0 0 0 3px #f8f8f8;
}

.margin-right-sm {
  margin-right: 1.6rem !important;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  background-color: #f5f9ee;
  padding: 4.8rem 0 18rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hero {
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 130%;
}
/**************************/
/* CARDS SECTION */
/**************************/

.carousel-title {
  text-align: center;
  font-size: 4.2rem;
  margin: 60px 0px 0 0;
  font-weight: bold;
  color: #333;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0px 20px;
  overflow: visible;
}

.splide-wrapper {
  padding: 20px 40px;
  position: relative;
  overflow: visible;
  margin: 0 -20px;
}

.splide {
  border-radius: 0;
  max-width: 100%;
  position: relative;
  overflow: visible;
  padding: 0 20px;
}

.splide__track {
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
}

.splide__list {
  overflow: visible;
  width: 100%;
  padding-left: 10px;
}

.splide__slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding: 20px;
  height: auto; /* Убираем фиксированную высоту */
  margin-right: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.splide__slide p{
  font-size: 2.4rem;
  margin-top: 15px;
  font-weight: 400;
}

.splide__slide img {
  width: 100%;
  height: 200px; /* Фиксированная высота для фото */
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тень снизу */
}

.splide__slide .slide-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  flex-grow: 1;
}

.splide__slide .slide-title {
  font-size: 1rem;
  color: #247291;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  text-align: center;
}

.splide__slide .slide-title:hover {
  color: #1a5873;
}

.splide__slide .btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  background-color: #f8da5b;
  text-decoration: none;
  border-radius: 8px; /* Закругляем углы больше */
  transition: background-color 0.3s ease;
  width: 100%; /* Делаем кнопку во всю ширину */
  text-align: center;
}

.splide__slide .btn:hover {
  background-color: #dfc452;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f8da5b;
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.prev:hover,
.next:hover {
  background-color: #247291;
  color: #f5f9ee;
}

.prev {
  left: 0%;
}

.next {
  right: 0%;
}

/**************************/
/* INFORMATION SECTION */
/**************************/

.information {
  padding: 20px;
  margin: 20px auto;
  display: block;
  max-width: 1050px;
  text-align: center;
  margin-bottom: 6rem;
  margin-top: 8rem;
}

.information h2 {
  color: #333;
  font-size: 4.8rem;
  margin-bottom: 1.5rem;
}

.information p {
  color: #333;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-2 {
  font-weight: 500;
  color: #333;
  margin-bottom: 1.5rem;
}
/**************************/
/* INFORMATION SECTION */
/**************************/

.activity-section {
  background-color: rgb(245, 249, 238);
  padding: 4.8rem 0 0rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.activity-content {
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 5.4rem;
  margin-bottom: 5.4rem;
}

.activity-primary {
  font-size: 4.4rem;
  color: #333;
  margin-bottom: 20px;
}
.activity-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0px;
  position: relative;
}

.activity-content li {
  position: relative;
  left: 0;
  color: #333;
  list-style: none;
  margin: 4px 0;
  border-left: 3px solid #247291;
  padding: 8px;
  padding-left: 12px;
  display: inline-block;
  z-index: 1;
  font-size: 1.8rem;
  line-height: 1.6;
}

.activity-button:link,
.activity-button:visited {
  display: inline-block;
  font-size: 2rem;
  text-decoration: none;
  padding: 1.5rem 2.5rem;
  border-radius: 0.9rem;
  transition: all 0.3s;
  font-weight: 500;
  background-color: #f8da5b;
  color: #333;
  margin: 1.5rem;
}

.activity-button:hover,
.activity-button:active {
  background-color: #dfc452;
  box-shadow: inset 0 0 0 3px #f8f8f8;
}

.activity-image {
  flex: 1;
  text-align: right;
}

.activity-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.activity-content {
  position: relative;
}

/* ---------------------------- */
/* .what-we-do {
  text-align: center;
  padding: 100px 20px;
}

.what-we-do h2 {
  font-size: 4.5rem;
  color: #333;
  margin-bottom: 70px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  height: 400px;
}

.card {
  background: linear-gradient(to bottom, #e0f7fa, #ffffff);
  border-radius: 10px;
  padding: 20px;
  max-width: 420px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 2.4rem;
  color: #333;
  margin: 20px 0;
}

.card p {
  font-size: 2.2rem;
  color: #555;
  margin-bottom: 40px;
}

.wwd-btn {
  background-color: #f8da5b;
  border: none;
  padding: 10px 20px;
  color: #333;
  border-radius: 12px;
  cursor: pointer;
  font-size: 2rem;
  transition: background-color 0.3s;
  text-decoration: none;
  font-weight: 500;
}

.wwd-btn:hover {
  background-color: #ffc107;
} */


/* ------------------------- */

.vol-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.vol-section h2 {
  font-size: 3.5rem;
  color: #333;
  margin: 40px;
}

.vol-splide .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none; /* Убираем задний фон */
}

.vol-slide {
  text-decoration: none;
  text-align: left;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #ffffff;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.vol-slide:hover {
  transform: scale(1.05);
}
.vol-slide img {
  height: 360px;
  object-fit: cover; /* Изображение заполняет элемент, сохраняя пропорции */
  display: block;
  max-width: 100%;
}

.vol-divider {
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}

.vol-content {
  padding: 20px;
  text-align: left;
  flex-grow: 1; /* Растягиваем содержимое, чтобы занять оставшееся пространство */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Распределение пространства между элементами */
}

.vol-slide h3 {
  font-size: 2em;
  color: #333;
  font-weight: 400;
  margin-bottom: 10px;
}

.vol-section .splide__slide {
  box-shadow: none;
}

/* ------------------------- */

.news-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.news-section h2 {
  font-size: 3.5rem;
  color: #333;
  margin: 40px;
}

.news-splide .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none; /* Убираем задний фон */
}

.news-slide {
  text-decoration: none;
  text-align: left;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #ffffff;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-slide:hover {
  transform: scale(1.05);
}
.news-slide img {
  height: 360px;
  object-fit: cover; /* Изображение заполняет элемент, сохраняя пропорции */
  display: block;
  max-width: 100%;
}

.news-divider {
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}

.news-content {
  padding: 20px;
  text-align: left;
  flex-grow: 1; /* Растягиваем содержимое, чтобы занять оставшееся пространство */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Распределение пространства между элементами */
}

.news-slide h3 {
  font-size: 2em;
  color: #333;
  font-weight: 400;
  margin-bottom: 10px;
}

.splide__slide .news-date {
  font-size: 1.4rem;
  color: #333;
  font-weight: 200;
}

.news-section .splide__slide {
  box-shadow: none;
}
/* ------------------------------------- */

/* Responsive styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .intro, .content {
    padding: 1rem;
  }

  footer {
    position: relative;
  }

  .activity-section {
    padding: 3.2rem 0;
  }

  .activity-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.6rem;
  }

  .activity-primary {
    font-size: 3.2rem;
    margin-bottom: 16px;
  }

  .activity-content li {
    padding-left: 8px;
    font-size: 1.6rem;
  }

  .activity-image {
    text-align: center;
  }

  .activity-image img {
    width: 100%;
    height: auto;
  }

  .hero {
    padding: 1rem;
  }

  .hero-title {
    font-size: 3.2rem; /* Уменьшаем размер заголовка */
    text-align: center; /* Выравниваем заголовок по центру */
  }

  .hero-description {
    font-size: 2rem; /* Увеличиваем размер описания */
    line-height: 1.6;
    margin-bottom: 3.2rem;
    text-align: center;
  }

  .btn--help,
  .btn--back {
    padding: 1.2rem 2rem;
    font-size: 1.8rem;
  }

  .information h2 {
    font-size: 3.2rem;
  }

  .information p {
    font-size: 1.6rem;
  }

  .hero-img {
    width: 100%;
    height: auto;
  }

  .collaborations-container {
    flex-direction: column;
    align-items: center;
  }

  .collaboration-item {
    width: 90%;
    margin: 10px 0;
  }

  .collaboration-photo {
    width: calc(100% + 20px); /* Уменьшаем ширину для мобильных устройств */
    margin-left: -10px; /* Уменьшаем отступ слева для мобильных устройств */
    margin-right: -10px; /* Уменьшаем отступ справа для мобильных устройств */
  }

  .hero {
    grid-template-columns: 1fr;
  }
}
