/********** Template CSS **********/


:root {
  --primary: #15171f;
  --light: #f7fbff;
  --dark: #15171f;
}

.fw-medium {
  font-weight: 500 !important;
}

.money_for_gold_item_name {
  background-color: #15171f;
  color: #fff;
  padding: 4px 10px;
  font-size: 18px;
  display: inline;
  margin-bottom: 8px;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #c6c6c6;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

.booking {
  position: relative;
  margin-top: -100px !important;
  z-index: 1;
}

/*** Section Title ***/



/*** Service ***/
.service-item {
  /* height: 420px; */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  /* box-shadow: 0 0 45px rgba(0, 0, 0, 0.08); */
  transition: 0.5s;
}

.service-item:hover {
  background: #333333;
}

.service-item .service-icon {
  margin: 0 auto 30px auto;
  width: 65px;
  height: 65px;
  transition: 0.5s;
}

.service-item i,
.service-item h5,
.service-item p {
  transition: 0.5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {}

/*** Youtube Video ***/
.video {
  position: relative;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
    url(../img/video.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video .btn-play img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto;
}

.video .btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 32px solid var(--dark);
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal {
  z-index: 99999;
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Testimonial ***/
.testimonial {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.testimonial-carousel {
  padding-left: 65px;
  padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
  padding: 30px;
}

.testimonial-item img {
  object-fit: cover;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 40px;
  top: calc(50% - 20px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--primary);
  background: #ffffff;
}

/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
  transition: 0.5s;
}

.team-item:hover {
  border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
  background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
  color: var(--secondary) !important;
}


.blog-li {
  /* background-color: #fff; */
}

.team-itemmy {
  /* background: #fff; */
}

/*** Footer ***/
.newsletter {
  position: relative;
  z-index: 1;
}

.footer {
  position: relative;
  /* margin-top: -110px;
    padding-top: 180px; */
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

header i {
  color: #15171f;
  font-size: 32px;
  text-align: center;
}

header h2 {
  /* color: #15171f; */
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #15171f;
  text-decoration: none;
  text-align: center !important;
}

.data p a:hover {
  text-decoration: underline;
}

.buttons {
  padding: 20px 0px;
  text-align: center;
}

.buttons .cookie-button {
  border: 2px solid #15171f;
  color: #fff;
  padding: 8px 0;
  background: #15171f;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 0;
}

.buttons #acceptBtn:hover {
  background-color: transparent;
  color: #15171f;
}

#declineBtn {
  background-color: #fff;
  color: #15171f;
}

#declineBtn:hover {
  background-color: #15171f;
  color: #fff;
}

/* Footer Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  color: white;
  padding: 1rem;
}

.logo {
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 21px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
}

@media (max-width: 578px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #333;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .burger {
    display: flex;
  }

  .nav-active {
    display: flex;
  }
}

hr {
  margin: 1rem 0;
  border: 1px solid #15171f;

}

#service {
  background: #143742;
  color: #fff;
}

#service h2 {
  color: #fff;
}

#service h5 {
  color: #fff;
}

@media (max-width: 768px) {
  .display-3 {
    font-size: 34px;
  }
}

/* #contact {
  background-image: url(../img/blog-5.jpg);
} */


/* new styles  */



/* Секция главного экрана */
#hero {
  position: relative;
  padding: 160px 0;
  background-color: #ECF0F1;
  /* светло-серый для разделения секций */
}

/* Контейнер с контентом */
.hero-content {
  background: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Заголовок */
.hero-content h1 {
  font-size: 2.8rem;
  color: #15171f;
  /* тёмно-синий для заголовков */
  margin-bottom: 20px;
  font-weight: bold;
}

/* Описание */
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Кнопка призыва к действию */
.hero-content .btn-primary {
  background-color: #4254c4;
  /* яркий красный/оранжевый */
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.hero-content .btn-primary:hover {
  background-color: #a3c02b;
}

/* Дополнительная иконка/изображение для оформления */
.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 40%;
  opacity: 0.8;
  z-index: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-image {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}




.advantages-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.advantages-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
}


.advantage-card {
  background-color: #ffffff;
  border-left: 4px solid #4254c4;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(66, 84, 196, 0.15);
}

.advantage-icon {
  font-size: 2.5rem;
  color: #4254c4;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a3990;
}

.advantage-text {
  color: #555;
  line-height: 1.6;
}

.advantages-image-container {
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #4254c4;
  margin-top: 30px;
}

.advantages-image {
  display: block;
  transition: transform 0.5s ease;
}

.advantages-image-container:hover .advantages-image {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .advantage-icon {
    font-size: 2rem;
    min-width: 50px;
  }
  
  .advantage-title {
    font-size: 1.15rem;
  }
}

/* Общие стили для заголовков секций */
.categories-section h2,
.popular-courses-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.categories-section h2:after,
.popular-courses-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

/* Стили для блока "Категории обучения" */
.categories-section {
  background-color: #ffffff;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.category-image-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.category-image {
  height: 100%;
  object-fit: cover;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(66, 84, 196, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.category-overlay i {
  font-size: 3rem;
  color: #ffffff;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.category-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #4254c4;
}

.category-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.category-link {
  color: #4254c4;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.category-link i {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.category-link:hover {
  color: #2a3990;
}

.category-link:hover i {
  transform: translateX(5px);
}

/* Стили для блока "Популярные курсы и уроки" */
.popular-courses-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.course-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.course-image-container {
  position: relative;
  overflow: hidden;
}

.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 0;
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-rating {
  display: flex;
  align-items: center;
}

.rating-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a3990;
  margin-right: 5px;
}

.rating-stars {
  color: #ffc107;
  margin-right: 5px;
}

.rating-label {
  color: #777;
  font-size: 0.9rem;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 10px;
  line-height: 1.4;
  overflow: hidden;
}

.course-description {
  color: #555;
  margin-bottom: 20px;
  height: 4.8em;
  overflow: hidden;
}

.btn-outline-primary {
  color: #4254c4;
  border-color: #4254c4;
}

.btn-outline-primary:hover {
  background-color: #4254c4;
  color: #ffffff;
}

.btn-primary {
  background-color: #4254c4;
  border-color: #4254c4;
}

.btn-primary:hover {
  background-color: #2a3990;
  border-color: #2a3990;
}

@media (max-width: 991px) {
  .course-title {
    height: auto;
  }
  
  .course-description {
    height: auto;
    max-height: 4.8em;
  }
}
/* Общие стили для заголовков секций */
.latest-articles-section h2,
.testimonials-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.latest-articles-section h2:after,
.testimonials-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

/* Стили для блока "Последние статьи" */
.latest-articles-section {
  background-color: #ffffff;
}

.article-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.article-image-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.article-image {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 15px;
  left: 0;
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.article-date {
  color: #777;
  font-size: 0.9rem;
}

.article-date i {
  margin-right: 5px;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
/* 
.article-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #4254c4;
} */

.article-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Стили для блока "Отзывы участников" */
.testimonials-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.testimonial-card {
  background-color: #ffffff;
  border-left: 3px solid #4254c4;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.testimonial-content {
  padding: 25px;
  flex-grow: 1;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 2rem;
  color: rgba(66, 84, 196, 0.1);
}

.testimonial-text {
  color: #555;
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.testimonial-author-icon {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background-color: #4254c4;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 15px;
}

.testimonial-author-info {
  flex-grow: 1;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 2px;
}

.testimonial-author-title {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .article-image-container {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    margin-bottom: 30px;
  }
}



.feedback-section {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  padding: 60px 0;
}

.feedback-section .section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #15171f;
  margin-bottom: 15px;
}

.feedback-section .section-description {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 40px;
  text-align: center;
}

.feedback-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.feedback-form,
.office-map {
  padding: 30px;
}

.feedback-form h3,
.office-map h3 {
  font-size: 1.8rem;
  color: #15171f;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.feedback-form h3 i,
.office-map h3 i {
  margin-right: 10px;
  color: #4254c4;
}

.feedback-form form .form-group {
  margin-bottom: 20px;
}

.feedback-form form .form-control {
  border-radius: 4px;
  border: 1px solid #ccc;
}

.feedback-form form .btn-submit {
  background-color: #4254c4;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.feedback-form form .btn-submit:hover {
  background-color: #a3c02b;
}

/* Стили для блока "Контакты" */
.contacts-section {
  background-color: #ffffff;
}

.contacts-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.contacts-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

.contact-info-container {
  height: 100%;
  background-color: #f8f9fa;
  border-left: 4px solid #4254c4;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.contact-description {
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-item-icon {
  font-size: 1.5rem;
  color: #4254c4;
  margin-right: 15px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 5px;
}

.contact-item-text {
  color: #555;
  margin-bottom: 0;
}

.contact-link {
  color: #4254c4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #2a3990;
  text-decoration: underline;
}

.contact-social-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a3990;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #e9ecef;
  color: #4254c4;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #4254c4;
  color: #ffffff;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-left: 4px solid #4254c4;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

@media (max-width: 991px) {
  .contact-info-container {
    margin-bottom: 30px;
  }
  
  .map-container {
    min-height: 350px;
  }
}

/* Общие стили для заголовков секций */
.about-section h2,
.mission-section h2,
.approach-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.about-section h2:after,
.mission-section h2:after,
.approach-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

/* Стили для блока "О нас" */
.about-section {
  background-color: #ffffff;
}

.about-text {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-image-container {
  position: relative;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
}

.about-image {
  position: relative;
  z-index: 2;
  display: block;
}

.about-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: rgba(66, 84, 196, 0.1);
  z-index: 1;
}

/* Стили для блока "Наша миссия и ценности" */
.mission-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.mission-card {
  background-color: #ffffff;
  border-left: 4px solid #4254c4;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.mission-card-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e9ecef;
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 0;
}

.mission-card-body {
  padding: 30px;
}

.mission-text {
  color: #555;
  line-height: 1.7;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0;
  text-align: center;
}

.values-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a3990;
  position: relative;
  display: inline-block;
}

.values-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #4254c4;
}

.value-card {
  background-color: #ffffff;
  border-top: 3px solid #4254c4;
  padding: 30px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  color: #4254c4;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 15px;
  text-align: center;
}

.value-text {
  color: #555;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 0;
}

/* Стили для блока "Цель проекта и подход к обучению" */
.approach-section {
  background-color: #ffffff;
}

.approach-text {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
}

.approach-image-container {
  position: relative;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-right: 20px;
}

.approach-image {
  position: relative;
  z-index: 2;
  display: block;
}

.approach-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: rgba(66, 84, 196, 0.1);
  z-index: 1;
}

@media (max-width: 991px) {
  .about-image-container,
  .approach-image-container {
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .value-card {
    margin-bottom: 30px;
  }
}

/* Стили для блока "Каталог курсов" */
.catalog-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.catalog-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.catalog-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

.course-catalog-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.course-catalog-header {
  padding: 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}

.course-catalog-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 10px;
  line-height: 1.4;
  height: 4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.course-catalog-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #4254c4;
  color: #ffffff;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-catalog-body {
  padding: 20px;
}

.course-catalog-features {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.course-catalog-features li {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.course-catalog-features li:last-child {
  margin-bottom: 0;
}

.feature-label {
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 3px;
}

.feature-value {
  color: #555;
}

.btn-primary {
  background-color: #4254c4;
  border-color: #4254c4;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2a3990;
  border-color: #2a3990;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 84, 196, 0.2);
}

@media (max-width: 991px) {
  .course-catalog-title {
    height: auto;
    max-height: 4em;
  }
}
/* Стили для блока "Уроки недели" */
.weekly-lessons-section {
  background-color: #ffffff;
}

.weekly-lessons-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.weekly-lessons-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

.lesson-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lesson-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.lesson-image-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.lesson-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lesson-card:hover .lesson-image {
  transform: scale(1.05);
}

.lesson-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 10px;
}

.lesson-category {
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lesson-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lesson-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 10px;
  line-height: 1.4;
}

.lesson-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.lesson-btn {
  align-self: flex-start;
  background-color: #4254c4;
  border-color: #4254c4;
  transition: all 0.3s ease;
}

.lesson-btn:hover {
  background-color: #2a3990;
  border-color: #2a3990;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 84, 196, 0.2);
}

.btn-outline-primary {
  color: #4254c4;
  border-color: #4254c4;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #4254c4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 84, 196, 0.2);
}

@media (max-width: 767px) {
  .lesson-image-container {
    height: 200px;
  }
  
  .lesson-content {
    height: auto;
  }
}
/* Общие стили для заголовков секций */
.learning-articles-section h2,
.news-section h2 {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 40px;
}

.learning-articles-section h2:after,
.news-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4254c4;
}

/* Стили для блока "Статьи по обучению" */
.learning-articles-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.article-row {
  margin-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 30px;
}

.article-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.article-item {
  position: relative;
}

.article-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.article-date i {
  margin-right: 5px;
}

.article-category {
  display: inline-block;
  background-color: #4254c4;
  color: #ffffff;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.article-item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-item-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-read-more {
  color: #4254c4;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.article-read-more i {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.article-read-more:hover {
  color: #2a3990;
}

.article-read-more:hover i {
  transform: translateX(5px);
}

/* Сайдбар со статьями */
.articles-sidebar {
  position: sticky;
  top: 30px;
}

.featured-article {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.featured-article-image {
  position: relative;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.featured-article:hover .featured-article-image img {
  transform: scale(1.05);
}

.featured-article-category {
  position: absolute;
  bottom: 10px;
  left: 0;
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-article-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 10px;
  line-height: 1.4;
}

.featured-article-excerpt {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.categories-block {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.sidebar-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #4254c4;
}

.categories-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 10px;
  border-bottom: 1px dashed #e9ecef;
  padding-bottom: 10px;
}

.categories-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.categories-list li a {
  color: #555;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.categories-list li a:hover {
  color: #4254c4;
}

.categories-list li a span {
  background-color: #f8f9fa;
  padding: 2px 8px;
  border-radius: 0;
  font-size: 0.8rem;
  color: #777;
}

.popular-article {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.popular-article-image {
  position: relative;
  overflow: hidden;
}

.popular-article-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.popular-article:hover .popular-article-image img {
  transform: scale(1.05);
}

.popular-article-badge {
  position: absolute;
  top: 10px;
  right: 0;
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.popular-article-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 10px;
  line-height: 1.4;
}

.popular-article-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.popular-article-meta span {
  color: #777;
  font-size: 0.8rem;
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.popular-article-meta span i {
  margin-right: 5px;
}

/* Стили для блока "Новости" */
.news-section {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
}

.news-image-container {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-image-container:hover .news-image {
  transform: scale(1.05);
}

.news-image-overlay {
  position: absolute;
  top: 20px;
  left: 0;
}

.news-image-overlay span {
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.news-list {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #4254c4;
  color: #ffffff;
  min-width: 70px;
  height: 70px;
  margin-right: 20px;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.news-content {
  flex-grow: 1;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.news-read-more {
  color: #4254c4;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.news-read-more i {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.news-read-more:hover {
  color: #2a3990;
}

.news-read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .news-image-container {
    min-height: 300px;
    margin-bottom: 30px;
  }
  
  .articles-sidebar {
    margin-top: 40px;
  }
}
/* Стили для страниц статей */
.article-detail-section {
  background-color: #ffffff;
}

.article-detail {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e9ecef;
}

.article-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-header {
  margin-bottom: 30px;
}

.article-featured-image-container {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-featured-image {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.article-featured-image-container:hover .article-featured-image {
  transform: scale(1.02);
}

.article-category {
  position: absolute;
  top: 20px;
  left: 0;
  background-color: #4254c4;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.article-meta > div {
  margin-right: 20px;
  margin-bottom: 5px;
  color: #777;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.article-meta > div:last-child {
  margin-right: 0;
}

.article-meta i {
  margin-right: 5px;
}

.article-content {
  margin-bottom: 30px;
}

.article-content p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.article-content strong {
  color: #2a3990;
  font-weight: 600;
}

.article-tags {
  margin-bottom: 30px;
}

.tag-label {
  font-weight: 600;
  color: #2a3990;
  margin-right: 10px;
}

.article-tag {
  display: inline-block;
  background-color: #f8f9fa;
  color: #555;
  padding: 5px 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.article-tag:hover {
  background-color: #4254c4;
  color: #ffffff;
}

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.article-share {
  display: flex;
  align-items: center;
}

.share-label {
  font-weight: 600;
  color: #2a3990;
  margin-right: 10px;
}

.social-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #f8f9fa;
  color: #4254c4;
  margin-right: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-share-link:hover {
  background-color: #4254c4;
  color: #ffffff;
}

.btn-outline-primary {
  color: #4254c4;
  border-color: #4254c4;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #4254c4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 84, 196, 0.2);
}

/* Стили для блока рекомендованных статей */
.related-articles {
  padding-top: 40px;
}

.related-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.related-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #4254c4;
}

.related-article-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(66, 84, 196, 0.1);
}

.related-article-image {
  overflow: hidden;
}

.related-article-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.related-article-card:hover .related-article-image img {
  transform: scale(1.05);
}

.related-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a3990;
  margin-bottom: 15px;
  line-height: 1.4;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-read-more {
  color: #4254c4;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.article-read-more i {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.article-read-more:hover {
  color: #2a3990;
}

.article-read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .article-title {
    font-size: 1.8rem;
  }
  
  .article-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .article-share {
    margin-bottom: 20px;
  }
}