* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    color: #fff;
    background: #000;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 0px 0px 0 30px;
    background: white;
    z-index: 99;
    width: max-content;
    left: 50%;
    transform: translate(-50%, 0%);
    top: 30px;
    /* margin: auto; */
    position: fixed;
    color: black;
    /* position: relative; */
}
a{
    text-decoration: none;
}
 a{
color: inherit;
}
  .logo {
    font-weight: bold;
    font-size: 20px;
  }
  
  /* .nav {
    position: relative;
  }
   */
  .nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
  }
  
  .nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
  .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .burger span {
    height: 3px;
    width: 25px;
    background: #000;
  }
  
  .phone {
    background: #ffc107;
    padding: 28px 25px;
    border-radius: 0;
    color: #fff;
    font-weight: bold;
}
.hero {
    min-height: 100vh; 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 140px;   
    padding-bottom: 60px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    box-sizing: border-box;
      position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* 0.5 — степень затемнения */
    z-index: 1;
    pointer-events: none; /* чтобы клики проходили сквозь */
}
.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2em;
  font-weight: bold;
  margin: 0;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;    
    background-size: cover;
    background-position: center;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.swiper-slide p {
    max-width: 900px;
    margin: 0 auto;
    display: block;
    font-size: 20px;
    margin-top: 40px;
}

.swiper-slide h1 {
    font-size: 48px;
    color: white;
    position: relative;
  z-index: 2; /* текст поверх затемнения */
}

h1 span {
    background: orange;
    padding: 0 10px;
}
  .container
  {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 15px;
  }
  .features {
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 40px 0;
    text-align: center;
  }
  
  .feature {
    background: #222;
    padding: 20px;
    border-radius: 0px;
    width: 30%;
  }
  .feature{
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .feature i{
    color: #ffc107;
    font-size: 50px;
    position: relative;
  z-index: 2; /* текст поверх затемнения */
  }
  .feature__content h3{
    margin-bottom: 10px;
    text-align: start;
    position: relative;
  z-index: 2; /* текст поверх затемнения */
  }
  .feature__content p{
    font-size: 14px;
    line-height: 150%;
    text-align: start;
    position: relative;
  z-index: 2; /* текст поверх затемнения */
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .burger {
      display: flex;
    }
  .header{
    position: relative;
  }
    .nav-list {
      display: none;
      position: absolute;
      top: 82px;
      right: 0;
      flex-direction: column;
      background: white;
      padding: 20px;
      width: 100%;
    }
  
    .nav-list.active {
      display: flex;
    }
  
    .features {
      flex-direction: column;
      gap: 20px;
      padding: 20px;
    }
  
    .feature {
      width: 100%;
    }
  }
  .popular-courses {
    padding: 60px 20px;
       background: #f3f3f3;
    text-align: center;
  }
  
  .title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 80px;
    position: relative;
    color: #000;
  }
  
  .title::after {
    content: '';
    width: 40px;
    height: 3px;
    background: orange;
    display: block;
    margin: 10px auto 0;
  }
  
  .course__card {
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
  }
  
  .course__card img {
    width: 100%;
    display: block;
    height: 200px;
    object-fit: cover;
  }
  
  .card__content {
    padding: 20px;
  }
  
  .card__content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #222;
  }
  
  .card__content p {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
  }
  
  .author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
  }
  
  .author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .price {
    background: #ffc107;
    padding: 12px 15px;
    border-radius: 0px;
    font-weight: bold;
    color: #000;
}
.register__search {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
  }
  
  .register__block, .search__block {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .register__block {
    background: #ffb400;
    color: #fff;
    text-align: left;
  }
  
  .register__block h1 {
    color: #000;
    margin-top: 10px;
  }
  
  .register__block p {
    margin: 10px 0;
    color: #f9f9f9;
  }
  
  .btn-dark {
    background: #111;
    color: #fff;
    width: fit-content;
    padding: 18px 35px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
  }
  
  .search__block {
   
    color: #000;
    text-align: left;
    position: relative;
  }
  
  .search__block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(127 127 127 / 90%);
  }
  
  .search__block > * {
    position: relative;
    z-index: 1;
  }
  
  .search__block h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  p{
    line-height: 150%;
  }
  .search__block p{
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 20px;
  }
  .search__block form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .search__block input {
    padding: 15px;
    font-size: 16px;
    border: none;
    background: #fff;
  }
  
  .btn-yellow {
    background: #ffb400;
    color: #fff;
    font-weight: bold;
    padding: 15px;
    border: none;
    cursor: pointer;
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .register__search {
      flex-direction: column;
    }
  }
  .services{
    padding: 80px 0;
  }
  .services__items{
    display: grid;
    margin-top: 50px;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
  }
  .services__item i {
    color: #ffb400;
    margin-bottom: 15px;
  }
  .services h2{
    color: #fff;
    position: relative;
    text-align: center;
 
  }
  .testimonials {
   
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
  }
  .testimonials h2{
    color: #fff;
  }
  .testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  
  .testimonialSwiper {
    position: relative;
    z-index: 1;
  }
  

  .testimonial-slide h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
  }
  
  .testimonial-slide .quote

   {
      font-size: 80px;
      color: #ffc107;
      margin: 0;
      line-height: 74px;
  }
  .testimonial-slide .text {
    font-size: 16px;
    margin: 20px auto 30px;
    line-height: 1.6;
  }
  
  .author {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #ffc107;
  }
  
  .author h4 {
    color: #ffc107;
    margin: 5px 0 2px;
  }
  
  .author span {
    font-size: 14px;
    color: #ccc;
  }
  
  .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
  }
  
  .swiper-pagination-bullet-active {
    background: #ffc107;
    opacity: 1;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .testimonial-slide h2 {
      font-size: 24px;
    }
  
    .testimonial-slide .text {
      font-size: 14px;
    }
  }
  .testimonialSwiper{
    width: 100%;
  }
  .testimonial-slide{
    width: 100%;
  }
  .event__date

   {
      width: 131px;
      min-width: 131px;
      display: flex
  ;
      height: 131px;
      border: solid 2px #ffb606;
      margin-bottom: 18px;
      padding: 15px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }
.event__date span:first-child{
    font-size: 48px;
    font-weight: 700;
    color: #ffb606;
    margin-bottom: 1px;
    line-height: 1;
}
.event__date span:last-child{
    font-size: 16px;
    font-weight: 700;
    color: #ffb606;
}
.event{
    padding: 85px 0;
   background-color:  #f9f9f9;
}
.event__content h3{
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
}
.event__content sub{
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 2px;
}
.event__content p{
margin-top: 30px;
font-weight: 500;
color: #a5a5a5;
margin-top: 21px;
margin-bottom: 13px;
}
.event__img img{
   width: 350px;
   object-fit: cover;
   height: 182px;
}
.event__grids
{
display: flex;
flex-direction: column;
gap: 50px;

}
.event__item{
    display: flex;
    gap: 40px;
}
.footer {
  background-color: #111;
  color: #ccc;
  font-family: sans-serif;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}

.footer__column {
  flex: 1 1 200px;
  margin: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo img {
  width: 30px;
  height: auto;
}

.footer__logo h3 {
  color: #fff;
  font-weight: bold;
}

.footer__column h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__column ul li {
  margin-bottom: 10px;
}

.footer__column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer__column ul li a:hover {
  text-decoration: underline;
}

.footer__contact li i {
  color: #ffb400;
  margin-right: 10px;
}

.footer__bottom {
  padding: 20px;
  border-top: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer__bottom a {
  color: #00aaff;
  text-decoration: none;
}

.footer__socials a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
}

.footer__socials a:hover {
  color: #ffb400;
}

/* Responsive */
@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer__socials {
    margin-top: 10px;
  }
}
.footer__column .logo{
  margin-bottom: 20px;
  display: block;
 
}
.footer h4{
   color: #ffb400;
  font-size: 20px;
}
.about {
  padding: 250px 0;

}
.about__items{
  display: flex;
  gap: 55px;
  align-items: center;
}
.about__item{
  flex: 1;
}
.about__item img{
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.about__item h2{
  color: #fff;
  margin-bottom: 40px;
}
.services {
  padding: 131px 0;
}
.services__wraapper{
  display: flex;
  gap: 40px;
  align-items: center;
}
.services__wrap{
  flex: 1;
}
.services__wrap .services__items{
  display: grid
  ;
      margin-top: 50px;
      gap: 23px;
      grid-template-columns: repeat(2, 1fr);
}
.course__cards
{
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}
.blog__section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog__card {
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.blog__card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.blog__info {
  display: flex
;
  padding: 20px;
  gap: 20px;
  background-color: #ffffff1f;
}
.blog__date {
  background: #ffb400;
  color: #fff;
  margin-top: -50px;
  font-weight: bold;
  height: 80px;
  display: block;
  display: flex
;
  padding: 8px;
  text-align: center;
  width: 80px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.blog__date span {
  font-size: 20px;
  display: block;
}

.blog__date small {
  font-size: 12px;
}

.blog__content h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.blog__content p {
  margin: 5px 0;
  font-size: 14px;
  color: #959595;
}

.btn-yellow {
  background: #ffb400;
  color: #fff;
  padding: 8px 14px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .blog__info {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog__date {
    width: auto;
    margin-bottom: 10px;
  }
}
.blog{
  padding: 130px 0;
}
.blog .container{
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.blog h2{
  color: #fff;
}
.single-post {
  max-width: 800px;
  margin: 40px auto;
  padding: 130px 20px;
  font-family: sans-serif;

}

.post__img {
  width: 100%;
  object-fit: cover;
  height: 400px;
  margin-bottom: 20px;
}

.post__meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.date-box {
  background: #ffb400;
  color: #fff;
  text-align: center;
  padding: 10px 12px;
  font-weight: bold;
}

.date-box span {
  font-size: 20px;
  display: block;
}

.date-box small {
  font-size: 12px;
}

.post__content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

blockquote {
  background: #f8f8f8;
  padding: 20px;
  margin: 20px 0;
  border-left: 5px solid #ffb400;
  font-style: italic;
  color: #555;
}

.comments {
  margin-top: 40px;
}

.comment {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.comment img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.comment__body {
  flex: 1;
}

.comment__body strong {
  color: #000;
}

.comment__body span {
  font-size: 12px;
  color: #777;
  margin-left: 10px;
}

.comment__body a {
  font-size: 12px;
  color: #ffb400;
  margin-left: 10px;
  text-decoration: none;
}

.comment__form {
  margin-top: 40px;
}

.comment__form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment__form input,
.comment__form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  width: 100%;
}

.btn-yellow {
  background: #ffb400;
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
}
.comment__form h3{
  margin-bottom: 30px;
}
.contact {
  padding: 60px 20px;
  font-family: sans-serif;
  background-color: #ebebeb;
}

.contact__container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact__form, .contact__info {
  flex: 1;
  min-width: 300px;
}

.contact__form h3,
.contact__info h3 {
  margin-bottom: 20px;
  color: #222;
}

.contact__form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__form input,
.contact__form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  width: 100%;
}

.contact__info ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact__info ul li {
  margin-bottom: 10px;
  color: #333;
}

.contact__info ul li i {
  color: #ffb400;
  margin-right: 10px;
}

.btn-yellow {
  background: #ffb400;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.map-box {
  margin-top: 40px;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .contact__container {
    flex-direction: column;
  }
}
.map-box img{
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.contact p{
  color: #555;
}
.contact h3{
  font-size: 32px;
}
 h1 span{
  padding: 5px 20px;
}
.testimonials__section {
  padding: 60px 20px;
  background: url('assets/testimonial-bg.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
}

.testimonials__section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.testimonials__container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.testimonials__container h2 {
  margin-bottom: 40px;
  font-size: 32px;
}

.swiper-slide {
  padding: 40px 20px;
}

.testimonials__quote {
  font-size: 120px;
  color: #ffb400;
  line-height: 0px;
  text-align: start;

}

.testimonials__text {
  font-size: 16px;
  text-align: start;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonials__author {
  display: flex;
gap: 10px;
  align-items: center;
}

.testimonials__author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ffb400;
  margin-bottom: 10px;
}

.testimonials__author h4 {
  margin: 5px 0 2px;
  color: #ffb400;
}

.testimonials__author span {
  font-size: 14px;
  color: #ddd;
}
.testimonials__items{
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.testimonials__item{
  display: flex;
  gap: 40px;
  align-items: center;
}
.faq__item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq__question {
  background: #ffb400;
  color: #fff;
  padding: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq__question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  color: #000000;
  background: #fafafa;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__answer.open {
  padding: 16px;
  max-height: 500px;
}
.faq{
  padding: 80px 0;
}
.faq h2{
  color: #ffffff;
}

.events__card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  border-radius: 8px;
}

.events__card img {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
}

.events__info {
  flex: 1;
  background-color: #333;
  padding: 20px;
}

.events__date {
  background: #ffb400;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

.events__info h3 {
  margin: 10px 0;
  font-size: 22px;
}

.events__info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-join {
  background: #ffb400;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .events__card {
    flex-direction: column;
  }

  .events__card img {
    width: 100%;
  }
}
.events{
  padding: 90px 0;
}
.events h2,
.events .text{
  text-align: center;
  margin-bottom: 30px;
}
.events__cards{
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);

}
.terms{
  padding: 130px 0;
}
.terms h1,
.terms h2,
.terms h3,
.terms h4,
.terms p,
.terms li{
  margin-bottom: 15px;
}
.terms ul{
  padding-left: 20px;
}
@media screen and (max-width:768px) {
  .container {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 15px;
}
.hero{
  height: 100%;
}
.services__items {
  display: grid
;
  margin-top: 50px;
  gap: 40px;
  grid-template-columns: repeat(1, 1fr);
}
.event__item {
  display: flex
;
  gap: 40px;
  flex-direction: column;
}
.header {
  display: flex
;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 0px;
  padding: 0px 0px 0 10px;
  background: white;
  z-index: 99;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0%);
  top: 0;
  /* margin: auto; */
  position: fixed;
  color: black;
  /* position: relative; */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.about__items {
  display: flex
;
  gap: 25px;
  align-items: center;
  flex-direction: column;
}
.about {
  padding: 111px 0;
}
.services__wraapper {
  display: flex
;
  gap: 40px;
  align-items: center;
  flex-direction: column;
}
.course__cards {
  display: grid
;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}
.events__cards {
  display: grid
;
  gap: 30px;
  grid-template-columns: repeat(1, 1fr);
}
.phone {
  background: #ffc107;
  padding: 28px 15px;
  border-radius: 0;
  color: #fff;
  font-weight: bold;
}
}