@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Onder';
  src: url('/fonts/Onder-Regular.woff2') format('woff2'),
       url('/fonts/Onder-Regular.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Text';
  src: url('/fonts/FixelText/FixelText-Regular.woff2') format('woff2'),
       url('/fonts/FixelText/FixelText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Text';
  src: url('/fonts/FixelText/FixelText-Medium.woff2') format('woff2'),
       url('/fonts/FixelText/FixelText-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Text';
  src: url('/fonts/FixelText/FixelText-Bold.woff2') format('woff2'),
       url('/fonts/FixelText/FixelText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-praimary-blue: #6044FF;
  --color-button-blue: #2400F1;
  --color-secondary-blue: #9E8DFF;
  --color-hf-grey: #4E4E4E;
  --color-secondary-grey:#343434;
  --color-praimary-black: #000000;
  --color-praimary-white: #FFFFFF;
  --offer-text-black: #3B3B3B;
  --gradient:linear-gradient(90deg, #6044FF 1%, #1E00C6 80%);
  --offer-text1-color:#A195E6;
}

body { margin: 0; }
h3 { font-family: 'Roboto Flex'; }
p {
  font-family: 'Roboto Flex';
  font-size: 24px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0;
}
ul { list-style-type: none; }

.link {
  text-decoration: none;
  color: var(--color-praimary-white);
}
.link:hover { color: var(--color-praimary-blue) }
.link-header { color: var(--color-secondary-gre); }

a { display: inline-block; font-family: 'Roboto Flex'; }

.section-title {
  font-family: 'Oswald';
  font-weight: 300;
  font-size: 96px;
    text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
 
}

.container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
}
.paddingofcontainer {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* lowersection-button */
.lowersection-button {
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  font-family: 'Montserrat';
  border-radius: 40px;
  border: none;
  width: 388px;
  height: 80px;
  color: var(--color-praimary-white);
  background: var(--color-button-blue);
  box-shadow: 0px 0px 8px 0px rgba(96, 68, 255, 1);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: start;
  column-gap: 15px;
  transition: column-gap 0.25s ease;

  justify-self: center;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

.button-div {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.button-circle {
  width: 100%;
  height: 100%;
  display: block;
  transition: width 0.25s ease, height 0.25s ease;
}

.button-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: block;
  color: #6044FF;
  transition: width 0.25s ease, height 0.25s ease;
}

.lowersection-button:hover { background: var(--color-secondary-blue); }
.lowersection-button:hover .button-circle { width: 70px; height: 70px; }
.lowersection-button:hover .button-arrow { width: 35px; height: 35px; color: #9E8DFF; }
.lowersection-button:hover { column-gap: 25px; }

.lowersection-button:active .button-circle { width: 60px; height: 60px; }
.lowersection-button:active .button-arrow { width: 30px; height: 30px; }
.lowersection-button:active { column-gap: 15px; }

/*offer*/
.offer-section {
  background-color: #f0f0f0;
  background-repeat: no-repeat, no-repeat;
  background-position: right center, left 0px bottom 0;

  position: relative;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.offer-container{
  display: flex;
  position: relative;
}

.offer-block1 {
  position: relative;
  z-index: 3;
}

.offer-title {
  display: flex;
  align-items: center;
  height: 163px;
  font-family: 'Oswald';
  font-size: 110px;
  line-height: 100%;
  color: var(--color-praimary-blue);
  margin: 0;
  text-transform: uppercase;
}

.offer-text1 {
  font-family: 'Fixel Text';
  font-weight: 700;
  font-size: 38px;
  width: 855px;
  color: var(--offer-text1-color);
  margin: 0 0 22px 0;
  text-transform: uppercase;
}

.offer-text2 {
  width: 536px;
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 24px;
  color: var(--color-secondary-grey);
  margin: 0;
  align-self: center;
}

.offer-texts {
  width: 775px;
  display: flex;
  flex-direction: column;
  margin-bottom: 98px;
}

.price-block {
  display: flex;
  align-items: center;
  width: 660px;
  padding: 10px;
  gap: 20px;
  background-color: var(--color-praimary-white);
  border-radius: 60px;
}

.price-block p{
  font-family: 'Montserrat';
  font-size: 28px;
  font-weight: 600;
  color: var(--color-secondary-grey);
}

.price-span { color: var(--color-praimary-blue); }

/* decor */
.offer-decor { position: absolute; z-index: 1; }
.decor-1 img{ width: 599px; height: 599px; }
.decor-1 { transform: rotate(-260deg); left: -380px; top: -358px; }

.decor-2 img { width: 539px; height: 311px; }
.decor-2 { transform: rotate(-215deg); top: -179px; left: 1128px; }

.decor-3 { left: 400px; }
.decor-4 { left: -350px; top: 500px; }

/* блюр */
.offer-blur {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(240, 240, 240, 0.06);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
}

/* ✅ holder для фото (в DOM под price-block) */
.offer-photo-holder{
  /* Десктоп: ничего не меняем — фото остаётся absolute как раньше */
}

/* фото на десктопе (как было) */
.offer-photo {
  position: absolute;
  z-index: 3;
  width: 547px;
  height: 592px;
  object-fit: cover;
  border-radius: 40px;
  top: 15px;
  left: 800px;
}

/* offersection-button */
.offersection-button {
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  font-family: 'Montserrat';
  border-radius: 40px;
  border: none;
  width: 388px;
  height: 80px;
  color: var(--color-praimary-white);
  background: var(--color-button-blue);
  box-shadow: 0px 0px 8px 0px rgba(96, 68, 255, 1);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: start;
  column-gap: 15px;
  transition: column-gap 0.25s ease;
  padding: 0;
}

.offersection-button:hover { background: var(--color-secondary-blue); }
.offersection-button:hover .button-circle { width: 70px; height: 70px; }
.offersection-button:hover .button-arrow { width: 35px; height: 35px; color: #9E8DFF; }
.offersection-button:hover { column-gap: 25px; }

.offersection-button:active .button-circle { width: 60px; height: 60px; }
.offersection-button:active .button-arrow{ width: 30px; height: 30px; }
.offersection-button:active { column-gap: 15px; }

@media (max-width:480px){

  .offer-texts {
    width: 360px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    margin-bottom: 350px;
    margin-top: 70px;
  }

  .offer-title {
    font-size: 50px;
    width: 360px;
    height: 70px;
  }

  .offer-text1 {
    font-size: 17px;
    width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .offer-text2 {
    font-size: 16px;
    width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .offersection-button{
    width: 300px;
    height: 80px;
    border-radius: 40px;
    column-gap: 15px;
    margin: 0;
  }

  .offersection-button .button-div{
    width: 60px;
    height: 60px;
    margin-left: 10px;
  }

  .offersection-button .button-arrow{
    width: 28px;
    height: 28px;
  }

  .button-text { font-size: 18px; }

  .offersection-button,
  .offersection-button .button-circle,
  .offersection-button .button-arrow{
    transition: none !important;
  }

  .price-block {
    max-width: 310px;
    flex-direction: column;
    justify-self: center;
    padding: 19px 12px;
    z-index: 20;
    position: relative;
    gap: 15px;
    margin: 0 auto;
  }

  .offer-price  { font-size: 24px; }
  .price-block p{ font-size: 24px; }

  /* ✅ базовое фото (не блюр) */
  .offer-photo{
    position: relative; /* top/left работают */
    top: -450px;        /* 👈 твой сдвиг */
    left: 1px;        /* 👈 твой сдвиг */
    width: 290px;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    z-index: 5;
    object-fit: cover;
  }

  /* ✅ верхнее фото (блюр + маска снизу ~20%) */

   

  .offer-visual { z-index: auto; }
  .offer-block1 { z-index: 10; }

  .of-con1 { height: 700px; }
  .offer-section { border-radius: 0; }
  
  /*декор*/
  .decor-3 {
    left: -300px;
    top: 300px;
    width: 1000px;
  }


 .decor-2{ width: auto; height: auto; } /* не фиксируем контейнер */
.decor-2 img{
  width: 355px;      /* твой нужный размер */
  height: 205px;
  max-width: none;   /* 🔥 отключаем глобальное max-width:100% */
}
   .decor-2 {
    left: 227px;
    top: 195px;
  }

.decor-1{ width: auto; height: auto; } /* не фиксируем контейнер */
.decor-1 img{
  width: 505px;      /* твой нужный размер */
  height: 505px;
  max-width: none;   /* 🔥 отключаем глобальное max-width:100% */
}
  .decor-1 {
      left: -300px;
    top: -240px;
  }
}

/*forwohmcourse-section*/
.forwhomcourse-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.forwhomcourse-list {
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0;
}
.forwhomcourse-item { flex-basis: calc((100%-20px)/4); }
.forwhomcourse-card1 {
  border: 1px solid var(--color-praimary-blue);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: var(--color-praimary-blue);
  width: 280px;
  height: 80px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.forwhomcourse-card2 {
  border: 1px solid var(--color-praimary-blue);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  width: 280px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding-top: 20px;
}
.forwhomcourse-card-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;
  color: var(--color-praimary-white);
  margin: 0;
}
.forwhomcourse-card-title2 { max-width: 150px; }
.forwhomcourse-card-title3 { max-width: 188px; }
.forwohmcourse-text { max-width: 246px; }

/*aftercourse-section*/
.aftercourse-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.aftercourse-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
  margin: 0;
}
.aftercourse-card { display: flex; gap: 10px; }
.aftercourse-texts { width: 340px; height: 140px; }
.aftercourse-card img{ align-self: flex-start; }

/*contentofcourse-section*/
.contentofcourse-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.contentofcourse-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
  margin: 0;
  gap: 32px;
}
.contentofcourse-card1 {
  border: 1px solid var(--color-praimary-blue);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: var(--color-praimary-blue);
  width: 592px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.contentofcourse-card2 {
  border: 1px solid var(--color-praimary-blue);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  width: 592px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 12px;
}
.contentofcourse-card-title {
  color: var(--color-praimary-white);
  font-weight: 500;
  font-size: 32px
}
.contentofcourse-text {
  font-weight: 500;
  font-size: 24px;
  padding: 38px 20px;
}
.contentofcourse-card-title2 { width: 540px; }
.contentofcourse-card-title3 { width: 540px; }
.contentofcourse-item:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
}

/*costofthecourse-section*/
.costofthecourse-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.costofthecourse-list {
  display: grid;
  grid-template-columns: repeat(2, 592px);
  padding: 0;
  margin: 0;
  gap: 32px;
}
.costofthecourse-item {
  width:592px;
  height:325px;
  border:1px solid var(--color-praimary-blue);
  border-radius:40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.description-of-cost { display: flex; }
.costofthecourse-item:nth-child(3) {
  grid-column:1 / span 2;
  width:calc(592px * 2 + 32px);
  height: 210px;
}
.costofthecourse-card {
  margin-top: 32px;
  font-weight: 400;
  font-size: 24px;
  max-width: 415px;
  max-height: 255px;
}
.costofthecourse-card-title {
  font-family: 'Roboto Flex';
  font-size: 36px;
  margin-bottom: 40px;
}
.cost-of-course {
  font-family: 'Roboto Flex';
  margin-bottom: 40px;
  font-size: 64px;
  color: var(--color-praimary-blue);
  margin-top: 0;
}
.costofthecourse-card3 { max-width: 1166px; gap: 32px; }
.description-of-cost:nth-child(1) { margin-bottom: 32px; }
.description-of-cost { gap: 10px; font-size: 24px; }

/*format-section*/
.format-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.format-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
  margin: 0;
}
.format-card {
  display: flex;
  gap: 20px;
  padding: 25px 20px;
  border: 1px solid var(--color-praimary-blue);
  border-radius: 40px;
}
.format-card img { align-self: flex-start; }
.format-card-title {
  margin: 0 0 11px 0;
  font-weight: 500;
  font-size: 32px;
  width: 237px;
}
.format-text { font-weight: 400px; font-size: 24px; }

/*відгуки*/
.reviews-container{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin-top:60px;
  margin-bottom:60px;
}
#reviewsSwiper.swiper{
  position:relative;
  width:100%;
  max-width:560px;
  height:380px;
  border-radius:40px;
}
#reviewsSwiper .swiper-slide{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
}
#reviewsSwiper .swiper-slide img{
  display:block;
  object-fit:contain !important;
  object-position:center !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  transform:none !important;
  backface-visibility:hidden;
}
.swiper-caption{
  margin-top:1px;
  text-align:center;
  font:300 38px/1.35 "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--color-secondary-grey);
}
.swiper-caption::before{
  content:"";
  display:block;
  width:560px;
  height:2px;
  margin:0;
  background:linear-gradient(90deg, #6044FF 0%, rgba(30,0,198,0.8) 100%);
  border-radius:999px;
}
@media (max-width:387px){
  #reviewsSwiper.swiper{ width:340px; height:400px; border-radius:20px; }
  .swiper-caption{ font-size:30px; }
  .swiper-caption::before{ width:340px; height:2px; }
}

/*author-section*/
.author-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.author-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 60px;
  padding: 0;
  margin: 0;
}
.author-list img {
  object-fit: cover;
  width: 570px;
  height: 440px;
  border-radius: 40px;
}
.author-item {
  border: 1px solid var(--color-praimary-blue);
  border-radius: 40px;
  color: var(--color-secondary-grey);
  width: 570px;
  height: 440px;
}
.author-item:nth-child(2) { border: none; }
.author-item:nth-child(3) { background: var(--color-praimary-blue); color: var(--color-praimary-white); }
.author-item:nth-child(5) { grid-column: 1 / -1; justify-self: center; border: none; }
.author-card { padding: 40px; font-weight: 400; font-size: 24px; }
.author-card-title { font-weight: 500; font-size: 36px; margin: 0 0 32px 0; }

/*slider*/
.swiper {
  max-width: 560px;
  width: 100%;
  max-height: 380px;
  height: 100%;
  border-radius: 40px;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*footer*/
footer {
  background-color: var(--color-hf-grey);
  font-weight: 400;
  color: var(--color-praimary-white);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100p;
  font-size: 24px;
}
.footer-nav-list {
  padding: 0;
  margin-top: 40px;
  margin-bottom: 100px;
}
.footer-link { margin-bottom: 20px; }
.address-contact { margin-top: 40px; font-style: normal; }
.contact-box1 { margin-bottom: 20px; }
.contact-img { margin-right: 20px; }
.contact-title { margin-bottom: 10px; }
.address-copyright {
  font-size: 20px;
  margin-bottom: 47px;
}

/* ===== МОБІЛЬНИЙ АДАПТИВ (телефон ≤480 px) ============================== */
@media (max-width:480px){

  .paddingofcontainer1 { padding-top: 0; }
  .offer-container { align-items: center; }
  .offer-section { background-image:none; }

  .offer-container{
    display:flex;
    flex-direction:column;
  }

  .forwhomcourse-container { margin-top: 30px; margin-bottom: 30px; }
  .forwohmcourse-title { font-size: 48px; margin-left: 0px; }

  .forwhomcourse-list{
    display:grid;
    grid-template-columns:repeat(2, calc(50% - 5px));
    gap: 10px;
    padding:0 10px;
    box-sizing:border-box;
  }

  .forwhomcourse-card1,.forwhomcourse-card2{
    width: 100%;
    max-width: 165px;
    box-sizing:border-box;
    padding: 10px;
  }
  .forwhomcourse-card1{
    border-top-right-radius:20px;
    border-top-left-radius:20px;
    height: 55px;
  }
  .forwhomcourse-card2{
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 135px;
  }
  .forwhomcourse-card-title{ font-size: 16px; line-height: 100%; }
  .forwohmcourse-text{
    line-height: 100%;
    height: 100%;
    max-height: 100px;
    width: 100%;
    max-width: 165px;
    font-size:15px;
  }

  .aftercourse-container{ margin-top: 30px; margin-bottom: 30px; }
  .aftercourse-title{ font-size: 48px; margin-left: 0px; }

  .aftercourse_list{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 15px;
    width:100%;
    padding: 0 10px;
  }

  .aftercourse-list{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 15px;
    width:100%;
    padding: 0 10px;
  }

  .aftercourse-card{
    width:100%;
    max-width:340px;
    gap: 5px;
  }
  .aftercourse-card img{ width:35px; height:35px; }
  .aftercourse-texts{ width: 100%; max-width: 320px; height: 70px; }
  .aftercourse-text{ font-size: 15px; }

  .contentofcourse-container{ margin-top: 30px; margin-bottom: 30px; }
  .contentofcourse-title{ font-size: 48px; margin-left: 0px; }

  .contentofcourse-list{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
    width:100%;
    padding: 0 10px;
  }
  .contentofcourse-card1, .contentofcourse-card2{
    width:100%;
    max-width:340px;
  }
  .contentofcourse-card1{
    border-top-right-radius:20px;
    border-top-left-radius:20px;
    height: 85px;
  }
  .contentofcourse-card2{
    height: 250px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .contentofcourse-card-title{
    font-size: 18px;
    width:100%;
    max-width: 300px;
  }
  .contentofcourse-text p{ font-size: 15px; }
  .contentofcourse-text{ padding: 10px; }

  .costofthecourse-container{ margin-top: 30px; margin-bottom: 30px; }
  .costofthecourse-title{ font-size: 48px; margin-left: 0px; }
  .costofthecourse-list{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
    width:100%;
    padding: 0 10px;
  }
  .costofthecourse-item{
    width: 100%;
    max-width:340px;
    height:250px;
    border-radius:20px;
  }
  .costofthecourse-item:nth-child(3){
    height: 200px;
    text-align: start;
  }
  .costofthecourse-card{ width: 100%; max-width: 280px; }
  .costofthecourse-card3{ margin: 27px; }
  .costofthecourse-card-text{ font-size: 15px; }
  .costofthecourse-card-title{ font-size: 20px; }
  .cost-of-course{ font-size: 40px; }

  .description-of-cost p{ font-size: 15px; }
  .description-of-cost img{ width: 40px; height: 40px; }

  .format-container{ margin-top: 30px; margin-bottom: 30px; }
  .format-title{ font-size: 48px; margin-left: 0px; }
  .format-list{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
    width:100%;
    padding: 0 10px;
  }
  .format-item{ max-width: 340px; width: 100%; }
  .format-card{
    height: 100px;
    gap: 5px;
    padding: 15px 10px;
    border-radius:20px;
  }
  .format-card img{ width: 40px; height: 40px; }
  .format-card-title{ font-size: 18px; }
  .format-card-text{ font-size: 15px; }
  .format-card1, .format-card2, .format-card3, .format-card4 { height: 75px; }

  .author-container{ margin-top: 30px; margin-bottom: 30px; }
  .author-title{ font-size: 48px; margin-left: 0px; }

  .author-list{ gap: 10px; padding: 0 10px; }
  .author-list img{
    object-fit: cover;
    width: 200px;
    height: 243px;
    border-radius: 20px;
  }
  .author-card-title{ font-size:18px; margin-bottom: 7px; }
  .author-item{
    width: 100%;
    max-width: 200px;
    height: 240px;
    border-radius: 20px;
  }
  .author-card{ padding: 15px; }
  .author-card p{ font-size: 14px; }

  .address-contact{ margin-top: 45px; }
  .footer-container{ padding: 0 10px; }
  .comunication-box, .socialmedia-box{
    display: flex;
    gap: 10px;
  }
  .socialmedia-box img,.comunication-box img{ margin: 0; }
  .footer-nav-list a{ font-size: 18px; margin-bottom: 10px; }
  .footer-nav-list{ margin-bottom: 60px; }
  .footer-nav p{ font-size: 15px; }
  footer p{ font-size: 18px; }
  footer img{ width: 30px; height: 30px; }

  .section-title{ margin-top: 15px; margin-bottom: 0; }
  body{font-size:20px;}
  img,video,svg{max-width:100%;height:auto;display:block;}
  html,body{max-width:100%;overflow-x:hidden;}

  .swiper{ width: 340px; height: 250px; border-radius: 20px; }
}

@media (max-width:480px){


  .lowersection-button{
    width: 100%;
    max-width: 300px;
    height: 80px;
    font-size: 26px;
        display: flex;       /* у тебя и так flex, но пусть будет явно */
    margin: 0 auto;      /* центр */
  }
  .costofthecourse-item{
    width: 100%;
    max-width:300px;
    height:240px;
  }
  .costofthecourse-card3{ margin: 30px; }
  .author-card p{ font-size: 12px; }
  .swiper{ width: 300px; height: 220px; border-radius: 20px; }
  .comunication-box, .socialmedia-box{ display: flex; gap: 5px; }
}
