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

/* Змінні */
: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 {
    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 {
    padding: 1.25rem;
    max-width: 75rem;
    margin: auto;
}

/* Вступ */
.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,
.reviews,
.cta,
.contact-form,
.advantages,
.better-than-competitors {
    margin-bottom: 50px;
    text-align: center;
}

.features h2,
.reviews h2,
.cta h2,
.contact-form h2,
.advantages h2,
.better-than-competitors h2 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Картки */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    max-width: 350px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

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

.card p {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Секція "Наші переваги у якості продукції" */
.advantages {
    margin-bottom: 50px;
    text-align: center;
}

.advantages h2 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

.advantages-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.advantage-card {
    flex: 1 1 calc(25% - 20px);
    min-width: 250px;
    max-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

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

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

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 168, 232, 0.2), transparent);
    transform: skewX(-45deg);
}

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

.advantage-card:hover::before {
    left: 100%;
    transition: all 0.5s ease;
}

@media (max-width: 992px) {
    .advantage-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .advantage-card {
        flex: 1 1 100%;
    }
}


/* Секція "Що робить нас кращими за конкурентів?" */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.step {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
    max-width: 400px;
    background: #fff;
    padding: 30px 20px 20px 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: var(--accent-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.step h3 {
    font-family: var(--font-family-heading);
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Відгуки */
.reviews {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-card {
    background: #f9f9f9;
    margin: 20px auto;
    padding: 15px;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    max-width: 500px;
    text-align: left;
}

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

.review-card span {
    display: flex;
    align-items: center;
    margin-top: 10px;
    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);
}

/* Призов до дії */
.cta {
    background: linear-gradient(135deg, var(--accent-color), #00a8e8);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.cta h2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta h2 i {
    margin-right: 0.5rem;
    color: #fff;
}

.cta-button {
    background: var(--primary-color);
    font-family: var(--font-family-heading);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.cta-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Форма зворотного зв’язку */
.contact-form form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form label {
    font-family: var(--font-family-heading);
    font-weight: 600;
    margin-top: 10px;
    text-align: left;
    display: flex;
    align-items: center;
}

.contact-form label i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family-body);
    font-size: 1rem;
}

.contact-form button {
    margin-top: 20px;
    padding: 15px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-family-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form button i {
    margin-right: 0.5rem;
}

.contact-form button:hover {
    background: #00a8e8;
}

/* Футер */
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;
}

/* Адаптивний дизайн */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .card-container,
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .card,
    .step {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .cta-button {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .cta {
        padding: 30px;
    }

    .cta-button {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

/* Стилі для доступності */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px dashed var(--accent-color);
    outline-offset: 2px;
}

/* Плавна прокрутка */
html {
    scroll-behavior: smooth;
}

/* Анімації */
.card,
.review-card,
.cta,
.contact-form,
.step,
.timeline-item,
.advantages-list li {
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.card:nth-child(1),
.step:nth-child(1),
.timeline-item:nth-child(1),
.advantages-list li:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2),
.step:nth-child(2),
.timeline-item:nth-child(2),
.advantages-list li:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3),
.step:nth-child(3),
.timeline-item:nth-child(3),
.advantages-list li:nth-child(3) {
    animation-delay: 0.6s;
}

.step:nth-child(4),
.timeline-item:nth-child(4),
.advantages-list li:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Атрибути доступності для іконок */
.fa-screwdriver-wrench,
.fa-certificate,
.fa-lightbulb,
.fa-comments,
.fa-user,
.fa-circle-check,
.fa-envelope,
.fa-envelope-open-text,
.fa-paper-plane,
.fa-check,
.fa-hourglass-half,
.fa-cogs,
.fa-thumbs-up,
.fa-comment {
    aria-hidden: true;
    focusable: false;
}
.col-12.ds-page-title.pb-3 {
    display: none !important;
}
