
:root {
    --primary: #FFFFFF;
    --secondary: #326E36;
    --accent: #F68C2E;
    --background: #F8F9FA;
    --text: #212529;
    --secondary-dark: #1a472a;
    --accent-light: #fdf6ec;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.navbar {
    background-color: var(--primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--secondary) !important;
    margin: 0 !important;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    font-weight: 500;
    margin: 0 20px;
    color: var(--text) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e07d28;
    border-color: #e07d28;
    color: white;
    transform: translateY(-2px);
}

.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    position: relative;
}

.section {
    padding: 80px 0;
}

.section-title {
    color: var(--secondary);
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-item {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--secondary);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 20px;
    border-left: 4px solid var(--accent);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--secondary);
}

/* История мамы */
.success-story {
    background-color: var(--accent-light);
    padding: 30px 0;
}
.story-content {
        line-height: 1.2;
        color: var(--text);
}

.story-bold-title {
    font-weight: 900 !important;
    color: var(--secondary-dark);
    margin: 0.5rem 0 0.1rem;
    font-size: 1.2rem;
    font-style: italic;
}

.story-text {
    /* white-space: pre-line; */
    display: block;
    line-height: 1.5;
    font-style: italic;
}
.story-text br {
    content: "";
    display: block;
    margin-top: -0.3em;
    line-height: 0.1;
}

.process-step {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.process-step:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
}

.process-step:after {
    content: '';
    position: absolute;
    left: 9px;
    top: 25px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--secondary);
}

.process-step:last-child:after {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--secondary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(rgba(50, 110, 54, 0.9), rgba(50, 110, 54, 0.9)), url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-title:after {
    background: white;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(246, 140, 46, 0.25);
}

footer {
    background-color: var(--secondary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-title {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.language-switcher {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text);
    font-weight: 500;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--secondary);
    font-weight: 700;
}

.lang-divider {
    height: 20px;
    width: 1px;
    background: #ddd;
    margin: 0 5px;
}

.emergency-call {
    background: var(--accent);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-light);
    color: var(--secondary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23326E36'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23326E36'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
/* Списки */
.fat-dot-list {
    list-style: none;
    /* padding-left: 1.5em; Общий отступ списка */
    margin-bottom: 1rem; /* Аналог mb-3 */
}
.fat-dot-list li {
    position: relative;
    margin-bottom: 0.5rem; /* Аналог mb-2 */
    padding-left: 1em; /* Пространство для точки */
    line-height: 1.5; /* Межстрочный интервал */
}

.fat-dot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em; /* Выравнивание по середине строки */
    transform: translateY(-50%);
    width: 0.5em; /* Размер точки */
    height: 0.5em;
    background-color: currentColor; /* Цвет как у текста */
    border-radius: 50%; /* Идеальный круг */
    display: inline-block;
}
.custom-numbered-list {
    counter-reset: item;
    padding-left: 1.5rem;
    list-style: none;
}
.custom-numbered-list li {
    counter-increment: item;
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.1em; /* Как в fat-dot-list */
    margin-left: 0.5rem; /* Компенсируем смещение */
}
.custom-numbered-list li::before {
    content: counter(item) ".";
    left: 0; /* Было -1.5rem */
    top: 0; /* Добавляем */
    transform: none; /* Добавляем */
    width: 1em; /* Добавляем */
    text-align: right; /* Добавляем */
    position: absolute;
    font-weight: bold;
    color: var(--secondary-dark); /* Используем ваш цвет */
}


/* Контейнер для сертификатов */
.certificates-container {
  width: 100%;
  height: 400px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding: 10px 0;
  position: relative;
}

.certificates-scroller {
  display: inline-block;
  height: 100%;
  padding: 0 20px;
}

/* Стили для изображений сертификатов */
.certificate-img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin-right: 15px;
  cursor: pointer;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.certificate-img:last-child {
  margin-right: 0;
}

.certificate-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Скрываем scrollbar в некоторых браузерах */
.certificates-container::-webkit-scrollbar {
  height: 6px;
}

.certificates-container::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border-radius: 3px;
}

/* Стили для кнопок навигации */
#prevCert, #nextCert {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s;
}

#prevCert:hover, #nextCert:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  #prevCert, #nextCert {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #1a472a;
    border-radius: 50%;
}
/* Кнопка звонка */
.vidualsatun {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: animate_pulse2 2s infinite; 
  border-radius: 100px;
}

/* .vidualsatun {
  position: fixed; 
  bottom: 20px;    
  right: 20px;     
  transform: none; 
  animation: animate_pulse2 2s infinite; 
  border-radius: 100px;
  z-index: 9999;   
} */

.campakesad, .vebusines, .nigkugas {
  position: absolute;
  width: 70px;
  height: 70px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
}
.vebusines {
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}
.campakesad {
  background: #00BD15;
  position: relative;
  transition: .5s;
}
.nigkugas {
  font-size: 28px;
  line-height: 70px;
  animation: phone .9s ease-in-out infinite;
}
.dsacin {
  position: absolute;
  opacity: 0;
  text-transform: uppercase;
  font-weight: 500;
  top: 18px;
  font-size: 12px;
  transform: scaleX(-1);
  transition: .5s ease-in-out;
}
.nigkugas i {
  transition: .5s ease-in-out;
}
.campakesad:hover {
  background: #00BD15;
}
.campakesad:hover i {
  transition: .5s ease-in-out;
  transform: scale(0);
}
.campakesad:hover .dsacin {
  transform: scaleX(1);
  transition: .5s ease-in-out;
  opacity: 1;
}

.campakesad:hover::before,
.campakesad:hover::after {
  content: '';
  position: absolute;
  border: 1px solid green;
  left: -20px;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  animation: pulse 1.8s linear infinite;
  opacity: 0;
}
.campakesad:hover::after {
  animation-delay: .5s;
 
}

@keyframes phone {
  0%, 100% {
  transform: rotate(-20deg);
  }
  50% {
  transform: rotate(21deg);
  }
}
@keyframes pulse {
  0% {
  transform: scale(0.5);
  opacity: 0;
  }
  50% {
  opacity: 1;
  }
  100% {
  transform: scale(1.2);
  opacity: 0;
  }
  
}

@keyframes animate_pulse2 {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 189, 31, 0.67);
	}
	70% {
		box-shadow: 0 0 0 20px rgba(0, 189, 31, 0.27);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 189, 31, 0.17);
	}
};
/* Переход к форме */
body.form-focus {
  position: relative;
  overflow: hidden;
}

.hero-section.form-focus > .container > .row > .col-lg-7::before  {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99;
  backdrop-filter: blur(3px);
  transition: all 0.5s ease;
  pointer-events: none;
}

/* Поднятие формы на передний план */
#callFormSection {
  transition: all 0.5s ease;
}

.hero-section.form-focus #callFormSection {
  position: relative;
  z-index: 100;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

#floatingCallBtn {
  display: block !important; /* Перебивает любые другие стили */
}
/* Футтер */
    .btn-telegram {
        background-color: #0088cc;
        color: white;
        border: none;
        padding: 8px 16px;
    }
    .btn-telegram:hover {
        background-color: #0077b5;
        color: white;
    }
    .social-icon:hover {
        opacity: 0.8;
        transform: translateY(-2px);
        transition: all 0.2s ease;
    }
/* Валидация номеров */
.is-invalid {
    border-color: #dc3545 !important;
}
.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
}
.is-invalid ~ .invalid-feedback {
    display: block;
}
#phone {
    user-select: none;
    -webkit-user-select: none;
}
#phone.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.iti__selected-flag {
    padding: 0 15px 0 10px;
}
/* Стили для выпадающего списка стран */
.iti__flag-container {
    padding: 0 10px;
}

/* Тест */

.site-header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.header-title {
    font-size: 2em;
    margin: 0;
    color: #4CAF50;
}
.skip-link {
    display: block;
    margin: 10px 0;
    color: #007BFF;
    text-decoration: none;
}
.main-content {
    max-width: 800px;
    margin: 120px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.section-title {
    font-size: 1.5em;
    color: #4CAF50;
    margin-bottom: 15px;
}
.quiz-group {
    margin-bottom: 20px;
}
.quiz-question {
    margin-bottom: 10px;
    font-weight: bold;
}
.option-item {
    display: block;
    margin: 5px 0;
}
.radio-input {
    margin-right: 10px;
}
.cta-button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}
.cta-button:hover {
    background-color: #45a049;
}
#results {
    display: none;
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f8ff;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.site-footer {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    color: #666;
}
.footer-text a {
    color: #007BFF;
    text-decoration: none;
}
.emoji {
    font-size: 1.2em;
    margin-right: 5px;
}