 :root {
	/* === Фирменные цвета бренда === */
	--brand-dark: #1F3F32;   /* глубокий зелёный из логотипа */
	--brand-lime: #8AE502;   /* фирменный лайм */

	/* === Премиальная светлая тема === */
	--ui-bg: #F6FBF8;        /* фон меню и светлые блоки */
	--ui-border: #DDE9E3;    /* тонкие бордеры, разделители */
	--ui-text: #2E4F41;      /* мягкий тёмно-зелёный текст */
	--light-bg: #fafefc;

	/* === Ссылки и интерактив === */
	--link-color: #4FCB7A;   /* мятный акцент */
	--link-hover: #A6F03A;   /* мягкий премиальный лайм */
	--active-underline: #8AE502; /* активный пункт меню */
  
	--color: #598f2f;        /* основной цвет */
	--hover: rgb(80 128 42);        /* цвет заливки при ховере */
	--btn-gradient: 90deg, #4fb76c, #57cc95, #3bb8ce;
	--gradient-main: linear-gradient(90deg, #8AE502, #4FCB7A, #1F3F32);
	--gradient-donate: linear-gradient(90deg, #8AE502, #4FCB7A, #3BB8CE);
	--active-gradient: linear-gradient(90deg, #8AE502, #4FCB7A, #1F3F32);
	--red-gradient: linear-gradient(90deg, #ffa602,#ff168d,#8227ff)
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
	background-color: #f4f6f7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gradient-bold {
  background: var(--active-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container p {
	text-align: justify;
}

.btn, .navbar-nav .nav-link, .charity-btn {
    font-weight: 500;
}
nav.navbar {
    padding: 0;
}
nav.navbar a.nav-link{
	padding: 17px 0;
}

/* Шапка */
.bg-light {
    background-color: #ffffff !important;
}
.border-bottom {
    border-bottom-color: var(--active-underline) !important;
    border-width: 3px !important;
}
.brand img {
    max-height: 70px;
}
.top-phone {
    font-size: 1.2rem;
    font-weight: bold;
}
.top-time {
    font-size: 0.9rem;
}
.charity-btn {
    background-color: #598f2f;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    text-decoration: none;
}
.charity-btn:hover {
    background-color: #3f6b1f;
    color: white;
}
img.logo {
    vertical-align: top;
}

/* Меню (зелёный фон) */
.navbar {
	background: var(--ui-bg);
	border-bottom: 1px solid var(--ui-border);
	backdrop-filter: blur(6px);
	position: relative;
	z-index: 1000;
}
.navbar .nav-link {
	color: var(--ui-text);
	font-weight: 500;
	transition: 0.25s;
}

.navbar .nav-link:hover {
	color: var(--link-hover);
}
.navbar-nav .nav-item.active > .nav-link {
  color: var(--ui-text) !important;
  border-bottom: 2px solid var(--active-underline);
}

.navbar-nav .nav-item.active > .nav-link {
  border-bottom: 3px solid transparent;
  border-image: var(--active-gradient) 1;
  border-image-slice: 1;
  color: var(--ui-text) !important;
}
.navbar .nav-link:hover {
  border-bottom: 3px solid transparent;
  border-image: var(--active-gradient) 1;
  border-image-slice: 1;
  opacity: 0.6;
}
.dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 0 0 8px 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--ui-text);
  transition: 0.25s;
}

.dropdown-item:hover {
  background: var(--ui-bg);
  color: var(--link-hover);
}

/* Подменю (dropdown-submenu) */
.dropdown-submenu .dropdown-menu {
  margin-left: 0.5rem;
  margin-top: -0.5rem;
}

/* === MOBILE TOGGLER === */
.navbar-light .navbar-toggler {
  border-color: var(--ui-border);
}

.navbar-light .navbar-toggler-icon {
  filter: brightness(0.4);
}
@media (max-width: 992px) {
    .dropdown-submenu .dropdown-menu {
        left: 0;
        top: auto;
        margin-top: 0;
    }
}

/* Футер */
footer img {
    opacity: 0.7;
    transition: opacity 0.2s;
}
footer img:hover {
    opacity: 1;
}
/* Подменю в Bootstrap 5 */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0.1rem;
}
@media (max-width: 992px) {
    .dropdown-submenu .dropdown-menu {
        left: 0;
        top: auto;
        margin-top: 0;
        position: static;
        float: none;
    }
    .dropdown-submenu .dropdown-menu.show {
        display: block;
    }
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > .dropdown-toggle:active {
    pointer-events: none;
}

/* Стили для главной страницы */
/* Для параллакса */
.parallax-bg {
    background-size: cover;
    background-attachment: fixed;
}

.parallax-bg li {
	padding: 15px 0;
}

/* Для карточек */
.card {
    border-radius: 0;
}
.card-body {
    padding: 1.5rem;
}
/* Цвет кнопок */
.btn-success {
	background: var(--gradient-main);
	border: none;
	border-radius: 30px;
    padding: 15px 30px;
}

.btn-success:hover, .btn-donate:hover {
	transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.text-success {
    color: #598f2f !important;
}

.btn-donate {
	background: var(--gradient-donate);
}

.btn-outline-green {  
  color: var(--color);
  border-color: var(--color);
  background: none;
  transition: 0.25s;
  position: relative;
  z-index: 1;
}

.btn-outline-green:hover,
.btn-outline-green:focus {
  color: #fff;
  border-color: var(--hover);
  box-shadow: inset 0 0 0 2em var(--hover);   
}


.greenline {
	background-color: #80C471;
	padding: 4rem 0;
}
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.375rem;
    justify-content: center;
    gap: 0.25rem;
}
.pagination li {
    display: inline-block;
}
.pagination li a, 
.pagination li span {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #598f2f;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
}
.pagination li:first-child a,
.pagination li:first-child span {
    margin-left: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}
.pagination li:last-child a,
.pagination li:last-child span {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.pagination li.active span,
.pagination li.active a {
    z-index: 1;
    color: #fff;
    background-color: #598f2f;
    border-color: #598f2f;
}
.pagination li.disabled a,
.pagination li.disabled span {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}
.pagination li a:hover:not(.disabled) {
    z-index: 2;
    color: #3f6b1f;
    background-color: #e9ecef;
    border-color: #dee2e6;
}


/* Фон */
.steril-block {
    background: var(light-bg);
}

/* Картинка */
.img-scale-effect {
    transition: transform .4s ease;
}
.img-scale-effect:hover {
    transform: scale(1.03);
}

/* Градиентные тексты */
.gradient-main-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-donate-text {
    background: var(--gradient-donate);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-red-text {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*как проходит на главной*/
/* Анимация появления */
.step-anim {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
	padding: 0;
}
.step-anim:nth-child(1) { animation-delay: 0.1s; }
.step-anim:nth-child(2) { animation-delay: 0.25s; }
.step-anim:nth-child(3) { animation-delay: 0.4s; }
.step-anim:nth-child(4) { animation-delay: 0.55s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Контейнер для линии и точек */
.timeline-center {
    position: relative;
    height: 40px; /* фиксируем высоту зоны точки */
}

/* Линия — всегда по центру зоны */
.timeline-center::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #dcdcdc;
    transform: translateY(-50%);
    z-index: 1;
    animation: lineGlow 3s ease-in-out infinite;
}

/* Лёгкое свечение линии */
@keyframes lineGlow {
    0%   { background: #dcdcdc; box-shadow: none; }
    50%  { background: #c8ff66; box-shadow: 0 0 12px rgba(153,255,0,0.45); }
    100% { background: #dcdcdc; box-shadow: none; }
}

/* Точка — по центру зоны */
.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--brand-lime);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: heartbeat 2.4s ease-in-out infinite;
}

/* Асинхронность */
.step-wrapper:nth-child(1) .timeline-dot { animation-delay: 0s; }
.step-wrapper:nth-child(2) .timeline-dot { animation-delay: 0.4s; }
.step-wrapper:nth-child(3) .timeline-dot { animation-delay: 0.8s; }
.step-wrapper:nth-child(4) .timeline-dot { animation-delay: 1.2s; }

.timeline-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand-lime);
    opacity: 0.35;
    transform: translate(-50%, -50%);
    animation: heartbeat-ring 2.4s ease-in-out infinite;
}

.step-wrapper:nth-child(1) .timeline-dot::after { animation-delay: 0s; }
.step-wrapper:nth-child(2) .timeline-dot::after { animation-delay: 0.4s; }
.step-wrapper:nth-child(3) .timeline-dot::after { animation-delay: 0.8s; }
.step-wrapper:nth-child(4) .timeline-dot::after { animation-delay: 1.2s; }

/* Heartbeat-пульсация точки */
@keyframes heartbeat {
    0%   { transform: translate(-50%, -50%) scale(1); }
    10%  { transform: translate(-50%, -50%) scale(1.35); }
    20%  { transform: translate(-50%, -50%) scale(1); }
    30%  { transform: translate(-50%, -50%) scale(1.25); }
    40%  { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Heartbeat ореол */
@keyframes heartbeat-ring {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
    10%  { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
    20%  { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
    30%  { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
    40%  { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
}

/* Потоковая линия */
@keyframes flow {
    0%   { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

.timeline-center::before {
    background: linear-gradient(
        90deg,
        #dcdcdc 0%,
        #c8ff66 50%,
        #dcdcdc 100%
    );
    background-size: 200% 100%;
    animation: flow 3s linear infinite, lineGlow 3s ease-in-out infinite;
}

/* Иконки */
.step-icon {
    padding: 14px;
    border-radius: 12px;
    background: rgba(153, 255, 0, 0.12);
    display: inline-block;
    transition: 0.3s ease;
}
.step-icon:hover {
    background: rgba(153, 255, 0, 0.22);
    transform: translateY(-4px);
}

/* Подписи */
.timeline-label {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .timeline-center::before {
        display: none;
    }
    .step-wrapper {
        margin-bottom: 40px;
    }
}
/*как проходит на главной*/