@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

.content{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.3s ease;
  border-radius:5px;
}

.content-price{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.3s ease;
  border-radius:5px;
  
}

.red-box{
  width:150px;
}


@media (max-width:390px) {
  div.content-price{
    width:350px;
    margin-left:5%;
}

@media (max-width:680px) {
  div.content-price{
    width:650px;
    margin-left:5%;
}

@media (max-width:680px) {
  .red-box{
  width:100%;
  }
  .white-box{
    width:300px;
  }
}



.content-block {
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  transition: transform 0.3s ease-in-out;
}

.content-block:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: scale(1.05);
}


strong {
    font-weight: bold;
    color: #b84300; /* Подсветка названия школы */
}


/* Заголовок */
h1, h2, h3, h4, h5 {
    animation: fadeInUp 1s ease-out;
    color: #b84300;
}

/* Анимации */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}
@media (max-width:680px) {
    body.poster {
        margin-top: 0;
    }
    .main-img{
        height:5vh;
    }
}
.price-block{
    width:100%;
}

.content-box{
    position: relative;
    border-radius:5px;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Легкая тень блока */
  transition: all 0.3s ease;  /* Анимация при наведении */
  box-shadow: 1px 1px 3px 3px #87bbd0;
}
.content-box:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Более сильная тень */
  transform: translateY(-6px);  /* Легкий сдвиг блока вверх */
}

/* Анимация появления */
.content-box {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

/* Ключевые кадры для анимации */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.image-info{
    border-radius:3px;
    border:2px #87bbd0 solid;
    box-shadow: 1px 1px 3px 3px #87bbd0;
}

.block-border{
    border-radius:3px;
}
.services {
  background: #fff;
  padding: 40px 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  height: auto;
  display: block;
}

.service-text {
  padding: 20px;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #013F4E;
}

.service-card p {
  font-size: 1rem;
  color: #333;
  margin-top: 8px;
  line-height: 1.5;
}

.service-card.highlight {
  background: #013F4E;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card.highlight h3 {
  color: white;
  font-size: 1.5rem;
}

.service-card.highlight p {
  color: #e0e0e0;
  font-size: 1rem;
  margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 900px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .service-card {
    margin-bottom: 20px;
  }
}

.about {
  padding: 40px 20px;
  background-color: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1 1 500px;
  border-radius: 20px;
  overflow: hidden;
}

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

.about-content {
  flex: 1 1 500px;
}

.about-content h2 {
  font-size: 2rem;
  color: #013F4E;
  margin-bottom: 20px;
  font-weight: 800;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-box {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 16px;
  text-align: left;
  background-color: #f9f9f9;
  transition: border-color 0.3s, background-color 0.3s;
}

.stat-box:hover {
  border-color: #0BA5BE;
  background-color: #f0fdff;
}

.stat-box strong {
  font-size: 1.3rem;
  color: #013F4E;
  display: block;
  margin-bottom: 5px;
}

.stat-box span {
  font-size: 1rem;
  color: #444;
}

/* Адаптив */
@media (max-width: 900px) {
  .about-container {
    display: flex;
  flex-wrap: wrap;
  gap: 40px; /* ← может дать большой вертикальный пробел */
  }

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

  .about-content {
    text-align: center;
  }

  .stat-box {
    text-align: center;
  }
}

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

.process-container {
  max-width: 1100px;
  margin: 0 auto;
}

.process-title {
  font-size: 2.2rem;
  color: #013F4E;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 50px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.process-step {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 30px 20px;
  flex: 1 1 200px;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.process-step:hover {
  border-color: #1565c0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-5px);
}

.step-number {
  font-size: 3rem;
  font-weight: bold;
  color: rgba(1, 63, 78, 0.07);
  position: absolute;
  top: 20px;
  right: 20px;
  transition: color 0.3s ease;
}

.process-step:hover .step-number {
  color: #0BA5BE;
}

.process-step h3 {
  font-size: 1.2rem;
  color: #013F4E;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }

  .step-number {
    position: static;
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-align: center;
  }

  .process-step {
    text-align: center;
  }
}

.testimonials {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-title {
  font-size: 2.2rem;
  color: #013F4E;
  margin-bottom: 50px;
  font-weight: 800;
}

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 550px;
  padding: 30px;
  text-align: left;
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0BA5BE;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.testimonial-card footer {
  margin-top: 10px;
  font-weight: 600;
  color: #013F4E;
}

/* Адаптив */
@media (max-width: 768px) {
  .testimonials-title {
    font-size: 1.8rem;
  }

  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .cookiejar__container {
    max-width: 95% !important;
  }
}