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

/* =========================================
 *  Змінні CSS
 *  Визначаємо основні кольори і шрифти, що використовуються в проєкті
 = *======================================== */
:root {
    --primary-color: rgb(40, 53, 91);
    /* Глибокий темно-синій */
    --secondary-color: #00a8e8;
    /* Стійкий зелений (за контекстом це був зелений колір, однак залишимо як є) */
    --accent-color: #00a672;
    /* Яскраво-оранжевий (в оригіналі був коментар про оранжевий, але залишимо колір) */
    --dark-gray: #2f3030;
    --light-gray: #f0f0f0;
    --font-family-heading: 'Montserrat', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;
}

/* =========================================
 *  Загальні стилі
 *  Налаштування базових параметрів для всього тіла документа
 = *======================================== */
body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
}

/* =========================================
 *  Шапка (Header)
 *  Стилізація верхньої частини сайту
 = *======================================== */
header {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 3rem 1.25rem;
}

header h1 {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
}

header p {
    font-size: 1rem;
}

/* =========================================
 *  Основний контент (Main)
 *  Контейнер для основного вмісту сторінки
 = *======================================== */
main {
    padding: 1.25rem;
    max-width: 75rem;
    margin: auto;
}

/* -----------------------------------------
 *  Вступ (Intro)
 *  Секція з вступним текстом
 - *---------------------------------------- */
.intro {
    max-width: 850px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: center;
}

/* -----------------------------------------
 *  Секції контенту
 *  Загальні стилі для різних секцій сайту
 - *---------------------------------------- */
.features,
.how-it-works,
.benefits,
.faq,
.reviews,
.call-to-action {
    margin-bottom: 50px;
    text-align: center;
}

.features h2,
.how-it-works h2,
.benefits h2,
.faq h2,
.reviews h2,
.call-to-action h2 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

/* =========================================
 *  Картки (Cards)
 *  Стилі для карток з інформацією
 = *======================================== */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    display: block;
    text-align: center;
}

.card h3 {
    font-family: var(--font-family-heading);
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
}

.card p,
.card ul {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================
 *  Секція "Як це працює?" (How It Works)
 *  Стилізація кроків процесу
 = *======================================== */
.how-it-works ol {
    list-style: none;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.how-it-works li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    text-align: left;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.how-it-works li:nth-child(1) {
    animation-delay: 0.2s;
}

.how-it-works li:nth-child(2) {
    animation-delay: 0.4s;
}

.how-it-works li:nth-child(3) {
    animation-delay: 0.6s;
}

.how-it-works li:nth-child(4) {
    animation-delay: 0.8s;
}

.how-it-works li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent-color);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works h3 {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.how-it-works p {
    font-size: 1rem;
    color: #4a4a4a;
}

/* =========================================
 *  Секція "Переваги" (Benefits)
 *  Стилізація списку переваг
 = *======================================== */
.benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.benefits-list li {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.benefits-list li:nth-child(1) {
    animation-delay: 0.2s;
}

.benefits-list li:nth-child(2) {
    animation-delay: 0.4s;
}

.benefits-list li:nth-child(3) {
    animation-delay: 0.6s;
}

.benefits-list li:nth-child(4) {
    animation-delay: 0.8s;
}

.benefits-list li i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefits-list li h3 {
    font-family: var(--font-family-heading);
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.benefits-list li p {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.6;
}

.benefits-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* =========================================
 *  FAQ
 *  Часті запитання
 = *======================================== */
.faq-item {
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 1s;
}

.faq-item:nth-child(2) {
    animation-delay: 1.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 1.4s;
}

.faq-item:nth-child(4) {
    animation-delay: 1.6s;
}

.faq-item h3 {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.faq-item p {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* =========================================
 *  Відгуки (Reviews)
 *  Стилізація секції з відгуками
 = *======================================== */
.reviews {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
    animation-delay: 1.8s;
}

.review-card {
    background: #f9f9f9;
    margin: 20px auto;
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    max-width: 600px;
    text-align: left;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.review-card:nth-child(1) {
    animation-delay: 2s;
}

.review-card:nth-child(2) {
    animation-delay: 2.2s;
}

.review-card p {
    font-family: var(--font-family-body);
    font-weight: 400;
    margin-bottom: 10px;
}

.review-card span {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-weight: 700;
    font-family: var(--font-family-heading);
}

.review-card span i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* =========================================
 *  Заклик до дії (Call to Action)
 *  Стилізація секції з закликом до дії
 = *======================================== */
.call-to-action ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.call-to-action li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.call-to-action li:nth-child(1) {
    animation-delay: 2.4s;
}

.call-to-action li:nth-child(2) {
    animation-delay: 2.6s;
}

.call-to-action li:nth-child(3) {
    animation-delay: 2.8s;
}

.call-to-action li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.call-to-action li a {
    color: var(--primary-color);
    text-decoration: none;
}

.call-to-action li a:hover {
    text-decoration: underline;
}

.call-to-action p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
    animation-delay: 3s;
}

/* Заключення */
.conclusion h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: var(--font-family-heading);
    font-weight: 700;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================
 *  Адаптивність (Responsive Design)
 *  Медіа-запити для різних розмірів екранів
 = *======================================== */

/* Планшети і пристрої середнього розміру (до 992px) */
@media (max-width: 992px) {
    .card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .benefits-list li {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .how-it-works li {
        padding-left: 60px;
    }

    .how-it-works li::before {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: 0;
    }
}

/* Мобільні пристрої (до 768px) */
@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .benefits-list li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Додаткові налаштування для дуже маленьких екранів (до 576px) */
@media (max-width: 576px) {
    .call-to-action li {
        flex-direction: column;
        align-items: flex-start;
    }

    .call-to-action li i {
        margin-bottom: 5px;
    }
}

/* =========================================
 *  Футер (Footer)
 *  Стилізація нижньої частини сайту
 = *======================================== */
footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 50px;
}

footer a {
    font-family: var(--font-family-heading);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================================
 *  Плавне прокручування (Smooth Scrolling)
 *  Забезпечує плавну анімацію при переході по якорях
 = *======================================== */
html {
    scroll-behavior: smooth;
}

/* =========================================
 *  Стилі для доступності (Accessibility)
 *  Забезпечуємо видимість фокусу для інтерактивних елементів
 = *======================================== */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px dashed var(--accent-color);
    outline-offset: 2px;
}

/* =========================================
 *  Анімації
 *  Додаємо анімацію появи елементів при завантаженні
 = *======================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.col-12.ds-page-title.pb-3 {
    display: none !important;
}
