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

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}
/* Global Styles */
:root {
    --primary-color: #2c536e;
    --secondary-color: #1a2241;
    --accent-color: #9d9581;
    --text-color: #333;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content {
    
    transition: transform 0.3s ease-in-out;
}

.content:hover {
    transform: scale(1.05); /* Легкий эффект увеличения при наведении */
}


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


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

/* Анимации */
@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 #9d9581;
}
.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 #9d9581 solid;
    box-shadow: 1px 1px 3px 3px #9d9581;
}

.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: #1a2241;
}

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

.service-card.highlight {
  background: #1a2241;
  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: #1a2241;
  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: #2c536e;
  background-color: #cfcec5;
}

.stat-box strong {
  font-size: 1.3rem;
  color: #2c536e;
  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 300px;
  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;
    max-height: 350px!important;
  }
}

.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: 1100px;
  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: 500px;
  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%;
  }
}

.cookify__container{
  width: 110% !important;
}

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

/* Pricing Page Styles */
.pricing-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), #1a2241);
    color: var(--white);
    text-align: center;
}

.pricing-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.pricing-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-plans {
    padding: 40px 0;
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.plan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.15);
    border-color: var(--primary-color);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-card.popular::before {
    content: "Top-Wahl";
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.plan-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-price span {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin: 10px 0;
    text-align: left;
    padding: 0 5px;
    flex-grow: 1;
}

.plan-features li {
    margin: 15px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    padding-left: 30px;
}

.plan-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.plan-cta {
    margin-top: 40px;
}

.plan-cta .btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.plan-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.plan-cta .btn:hover::before {
    left: 100%;
}

/* Free Plan Specific */
.plan-card:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.plan-card:nth-child(1) .plan-title {
    color: var(--secondary-color);
}

.plan-card:nth-child(1) .plan-price {
    color: var(--secondary-color);
}

/* Pro Plan Specific */
.plan-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.plan-card:nth-child(2) .plan-title {
    color: var(--primary-color);
}

/* Business Plan Specific */
.plan-card:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.plan-card:nth-child(3) .plan-title {
    color: var(--primary-color);
}

@media (max-width: 768px) {
  .plan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    max-width: 95% !important;
  }
  .pricing-grid{
    padding:0;
  }
  .plan-price{
    font-size:25px;
  }
  .container{
    padding-left:5px;
  }
  .plan-features{
    padding:0;
  }

}
/* Базовые стили — desktop по умолчанию уже заданы inline */
@media (max-width: 1024px) {
  .product-features .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-features .section-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .product-features .feature-card {
    padding: 24px;
  }

  .product-features .feature-card h3 {
    font-size: 20px;
  }

  .product-features .feature-card p {
    font-size: 15px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Для планшетов */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Для мобильных */
@media (max-width: 768px) {
  h3{
    font-size: 18px!important;
  }
  .features-grid {
    grid-template-columns: 1fr!important;
  }
}
