body {
    font-family: 'Noto Serif', sans-serif;
}

a {
    text-decoration: none;
    font-style: normal;
    color: #493508;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p {
    margin: 0;
    color: #493508;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}



ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: 'Noto Serif', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #8A4163;
}


/* mobile-styles.css */
/* Загальні стилі залишаються без змін, додаємо блок з reveal-анімацією внизу */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* …далі весь ваш існуючий код mobile-styles.css без змін… */


/* Header */

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #8A4163;
}



/* Hero */

.hero {
    text-align: center;
      position: relative;
    padding: 45px 15px;
    background-image: url("./img/HeroBGPHONE.png");
background-size: cover;
background-position: bottom;
overflow: hidden;
background-repeat: no-repeat;

    width: 100%;
    max-width: 1025px;
}


.heroMainTex {
color: #493508;
text-align: center;
font-family: "Noto Serif";
font-size: 28px;
font-style: normal;
padding-bottom: 10px;
}

.heroTex {
    color: #493508;
margin-left: auto;
margin-right: auto;
font-family: "Noto Serif";
font-size: 20px;
font-style: normal;
width: 100%;
max-width: 320px;
font-weight: 400;
padding-bottom: 30px;
}

.HeroIMG {
    margin-left: auto;
    margin-right: auto;
    width: 240px;
    margin-top: 30px;
      transition: opacity 0.5s ease;
  opacity: 1;
    max-width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  position: relative;
  margin-bottom: 100px;
}

.HeroIMG.fade-out {
  opacity: 0;
}

.heroButton {
    border-radius: 15px;
    border: 2px solid #493508;
    color: #493508;
    font-family: "Noto Serif";
    font-size: 20px;
width: 100%;
max-width: 363px;
height: 56px;
    background-color: transparent;
    margin-top: 10px;
}




/* about */

.about {
  display: block;               /* гарантує, що auto працює */
  width: 100%;                  /* розтягується на всю ширину */
  max-width: 360px;             /* не більше */
  margin: 0 auto 30px auto;     /* по центру + відступ знизу */
  padding: 20px;
  background: #F6D6DE;
  border-radius: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}



.aboutMainTex {
    color: #F6D6DE;
font-family: "Noto Serif";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-align: center;
padding-bottom: 50px;
text-align: center;
}

.aboutList {
    gap: 40px;
}

.aboutListItem {}

.aboutListItemText {
    color: #493508;
font-family: "Noto Serif";
font-size: 21px;
font-style: normal;
font-weight: 500;
line-height: normal;
max-width: 500px;
text-align: center;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    padding-bottom: 10px;
}

.social li {
    cursor: pointer;
}


/* Kurses */



/* Kurses */


.kurses {

}

.KursesListItemSeccButton {
    border-radius: 5px;
  border: 2px solid #493508;
  background: #493508;
  padding: 15px 70px;
  color: #f6e5ff;
  font-family: "Noto Serif";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
    width: 100%;
}

.KursesListItemSeccButton:hover {
  background-color: transparent;
  border: 2px solid #493508;
  color: #493508;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.KursesText {
    color: #F6D6DE;
    text-align: center;
    margin-bottom: 50px;
}


.KursesList {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  padding: 40px 20px;
  list-style: none;
  margin: 0 auto;
  max-width: 1000px;
}

/* Картка */
.KursesListItem {
  background-color: #fddde6;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  padding: 20px;
  padding-bottom: 25px;
  flex-direction: column;
  justify-content: space-between;

    /* Анімація */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.KursesListItemTextP{
  text-align: center;
}

.KursesListItemText{
    color: #493508;
font-family: "Noto Serif";
font-size: 20px;
font-style: normal;
font-weight: 500;
text-align: center;
line-height: normal;
margin-bottom: 15px;
}

.KursesListItemTex{
  margin-bottom: 15px;
  text-align: center;
}

.KursesListItemTextPrice {
    color: #493508;
font-family: "Noto Serif";
text-align: center;
font-size: 15px;
margin-top: 30px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-bottom: 30px;
}

.KursesListItemFisButton {
    border-radius: 5px;
    border: 2px solid #493508;
padding: 15px 70px;
background-color: transparent;
margin-bottom: 15px;
color: #493508;
font-family: "Noto Serif";
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.KursesListItemSecButton {
    border-radius: 5px;
    border: 2px solid #493508;
background: #493508;
padding: 15px 80px;
color: #F6E5FF;
font-family: "Noto Serif";
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
}




.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;            /* прихована за замовчуванням */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.visible {
  display: flex;            /* показуємо, коли є .visible */
}


.modal-window {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* revievs */


.revievsTex {
    color: #F6D6DE;
font-family: "Noto Serif";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-align: center;
margin-bottom: 30px;
}

    .testimonial-slider {
      max-width: 320px;
      margin: auto;
      padding: 40px;
      background-color: #F6D6DE;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      text-align: center;
      position: relative;
      margin-bottom: 100px;
    }

    .testimonial-content {
color: #493508;
text-align: center;
font-family: "Noto Serif";
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
      transition: opacity 0.3s ease;
    }


    .slider-buttons {
      margin-top: 30px;
    }

    .slider-buttons button {
color: #493508;
font-family: "Noto Serif";
font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: normal;
padding: 5px 27px;
border-radius: 5px;
border: 2px solid #493508;
background-color: transparent;
    }


    /* FAQ */



.faq-section {
  max-width: 350px;
  margin: auto;
  background-color: #F6D6DE;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
  overflow: hidden;
}

.faq-section h2 {
  color: #8A4163;
  text-align: center;
  margin-bottom: 25px;
}

.faq-item {
  border-bottom: 1px solid #8A4163;
  padding: 15px 0;
  cursor: pointer;
}

.faq-question {
  font-weight: bold;
  color: #8A4163;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: #333;
  line-height: 1.5;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.faq-toggle {
  font-size: 20px;
  color: #8A4163;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}



    /* footer */


    .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
margin-left: auto;
margin-right: auto;
    padding: 10px;
    background: #F6D6DE;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
}

.footerList {
margin-left: auto;
margin-right: auto;
}


.KursesListItem:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}






/* --- При завантаженні --- */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-on-load {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }


/* --- При прокрутці (reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


  .modal {
    display: none; /* приховано за замовчуванням */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    animation: fadeIn 0.3s ease;
  }

  .modal-content h2 {
    margin-bottom: 20px;
  }

  .contact-btn {
    display: block;
    padding: 12px;
    margin: 10px 0;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    color: white;
    transition: 0.3s;
  }

  .telegram {
    background: #0088cc;
  }
  .telegram:hover {
    background: #0072a1;
  }

  .whatsapp {
    background: #25d366;
  }
  .whatsapp:hover {
    background: #1ca955;
  }

  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;
  }

  @keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
  }