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

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

.hero-section {
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    z-index: 1;
}

.about-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0;

    /* Початкова непрозорість для анімації */
    transition: opacity 0.5s ease;
}

.about-content {
    padding-left: 50px;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.6;
}

.features-section {
    background: linear-gradient(135deg, #007bff, #00bcd4);
    padding-top: 70px;
    padding-bottom: 70px;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-description {
    font-size: 1rem;
    color: #555;
}

.feature-graph {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: #f0f0f0;
    height: 5px;
    border-radius: 5px;
}

.graph-bar {
    background: #007bff;
    border-radius: 5px;
}

.testimonials-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.testimonial-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 15px;
    color: #343a40;
}

/* Custom Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #007bff;

    /* Customize control button color */
    border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1);
}

.pricing-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

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

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}

.faq-section {
    background: #f1f1f1;
    padding-top: 70px;
    padding-bottom: 70px;
}

.accordion-button {
    background-color: var(--bs-secondary);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    padding: 15px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: #f9f9f9;
    padding: 20px;
    font-size: 1rem;
    color: #6c757d;
    border-radius: 5px;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    border: none;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.contact-section {
    padding-top: 70px;
    padding-bottom: 70px;
    background: #343a40;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.lead {
    font-size: 1.2rem;
    color: #ddd;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
}

.contact-form .form-control {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form button {
    background-color: #007bff;
    color: #fff;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
    border: none;
    margin-top: 20px;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.contact-info .info-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info .info-box i {
    color: #007bff;
}

.contact-info .info-box p {
    font-size: 1.1rem;
    color: #343a40;
    font-weight: 500;
}