@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI';

}

header {
    text-align: -webkit-center;
    background-color: #FFD4AD;
    padding: 20px;
}

.header-top {
    max-width: 70rem;
    display: flex;
    justify-content: space-between;
}

.text {
    max-width: 70rem;
    margin: 0 auto;
    place-self: center;
    padding-top: 50px;
    font-size: 1.1rem;
}

header .logo {
    font-weight: bold;
    font-size: 20px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 34px;
    margin-right: 8px;
}

header .link a {
    font-size: 14px;
    display: flex;
    color: #1d1d1f;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
}

.arrow {
    width: 16px;
    padding-left: 5px;
}

.banner-bg {
    display: flex;
    align-items: center;
    flex-direction: row;
    max-width: 70rem;
    width: 70rem;
    margin: 0 auto;
    justify-content: space-between;
}

.banner {
    background-color: #FFD4AD;
    padding: 0px 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}

.contact-mob {
    display: none;
}

.banner-content {
    max-width: 70rem;
    padding-bottom: 50px;
}

.for-detail {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding-top: 50px;
}

.banner h1 {
    font-size: 2.5rem;
    color: #1d1d1f;
    line-height: 3rem;
    margin: 0px;
}

.banner p {
    color: #555;
    padding-bottom: 20px;
}

.banner form {
    display: flex;
    background: white;
    flex-direction: row;
    padding: 7px;
    width: 38rem;
    border-radius: 15px;
    margin-top: 20px;
    gap: 10px;
}

.banner input,
.banner select {
    border: 1px solid #beb8b8;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    width: 11rem;
    appearance: auto;
    -moz-appearance: none;
    background-color: white;
}

.get-started-btn {
    background-color: #ff6b00;
    color: #fff;
    border-radius: 5px;
    border: none;
    padding: 1rem 1.7rem;
    font-size: 16px;
    cursor: pointer;
}

.banner-image img {
    max-height: 35rem;
    padding: 0px;
    width: 30rem;
    margin: 0px 0px -5px 0px;
}

.orange-text {
    color: #F37110;
}

.imgAndText {
    display: flex;
    gap: 5px;
    align-items: center;

}


.benefits-section {
    padding: 60px 20px;
}

.under-text {
    text-align: center;
    padding-bottom: 20px;
}

.container-benefits {
    max-width: 70rem;
    margin: 0 auto;
}

.benefits-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0px;
    color: #000;

}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit {
    background: transparent;
    padding: 10px;
}

.benefit .icon {
    font-size: 24px;
    color: #ff6a00;
    margin-bottom: 10px;
}

.benefit h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0px;
}

.benefit p {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
}

.services-section {
    text-align: center;
    padding: 40px 20px;
    font-family: sans-serif;
    background-color: #fdfdfd;
}

.services-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.services-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 70rem;
    margin: 0 auto;
    justify-content: center;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    color: #333;
    width: 100%;
    display: flex;
    max-width: 16rem;
    box-sizing: border-box;
    text-decoration: none;
    /* <-- змінено */
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
    text-decoration: none;
}

.service-card span {
    font-size: 14px;
    color: #222;
    font-weight: 500;
}

.service-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    filter: invert(43%) sepia(91%) saturate(1036%) hue-rotate(10deg) brightness(102%) contrast(102%);
}

.service-card span {
    font-size: 14px;
    color: #222;
    font-weight: 500;
}


/* reviews start */
.reviews-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 50rem;
    place-self: center;
    width: 100%;
    border-radius: 12px;
}

.reviewsSection {
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-section h2 {
    font-size: 24px;
    font-weight: bold;
}

.reviews-section p.subtitle {
    margin-top: 5px;
    color: #777;
}

.review-slider {
    overflow: hidden;
    height: 100%;
    position: relative;
}

.review-card {
    border-radius: 10px;
    padding: 20px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease;
    box-sizing: border-box;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.review-card.slide-left {
    transform: translateX(-100%);
}

.review-card.slide-right {
    transform: translateX(100%);
}

.review-card img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.review-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: black;
    text-align: left;
}

.review-card .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.logo-partner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 7rem;
    background: white;
    border-radius: 10px;
    padding: 1rem;
}

.review-card p {
    font-size: 15px;
    color: #333;
    text-align: left;
}

.nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none;
}

.nav-buttons button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    pointer-events: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    /* ВАЖЛИВО: обмежує стрілки */
    height: 20rem;
}



.nav-buttons button:hover {
    background: #eee;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.3s;
}

.dot.active {
    background: #F37110;
}

/* reviews end */
.subscribe-content {
    max-width: 70rem;
}

.subscribe {
    text-align: -webkit-center;
    padding-bottom: 50px;
    padding-top: 100px;
}

/* subscribe start  */
.subscribe-container {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: #fff3e6;
    padding: 30px;
    border-radius: 12px;
    max-width: 1100px;
    margin: 50px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.subscribe-text {
    flex: 1;
    max-width: 70rem;
    text-align: center;
}

.subscribe-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0;
}

.subscribe-text p {
    font-size: 16px;
    margin: 10px 0 20px;
    color: #333;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.subscribe-form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    flex: 1;
    max-width: 11rem;
}

.bookACall {
    background-color: #ff7a00;
    color: white;
    border: none;
    width: 12rem;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bookACall:hover {
    background-color: #e56f00;
}

.privacy {
    font-size: 13px !important;
    color: #1A1A1A !important;
    font-weight: 600 !important;
}

.subscribe-image {}

.subscribe-image img {
    max-width: 19rem;
    height: auto;
    bottom: 0rem;
    position: absolute;
    right: 1rem;

}

/* subscribe end */


@media screen and (min-width: 1600px) {
    .header-top {
        max-width: 100rem;
    }

    header .logo img {
        height: 3rem;
    }

    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        max-width: 100rem;
        margin: 0 auto;
        justify-content: center;
    }

    .service-card {
        max-width: 20rem;
    }

    .text {
        max-width: 100rem;
    }

    .benefits-section h2,
    .services-section h2,
    .reviews-section h2 {
        font-size: 2.3rem;
    }

    .reviews-section {
        max-width: 60rem;
    }

    .reviews-section p.subtitle {
        font-size: 1.2rem;
    }

    .slider-wrapper {
        height: 22rem;
    }

    .review-card p {
        font-size: 1.1rem;
    }

    .service-card img {
        width: 4rem;
        height: 4rem;
    }

    .container-benefits,
    .services-grid {
        max-width: 100rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 30px;
    }

    .benefit h3 {
        font-size: 1.5rem;
    }

    .benefit p {
        font-size: 1rem;
    }

    .banner-bg {
        max-width: 100rem;
        width: 100rem;
    }

    .banner-image img {
        max-height: 45rem;
    }

    .banner h1 {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    .banner form {
        width: 46rem;
    }

    .banner input,
    .banner select {
        width: 15rem;
        font-size: 1.2rem;
    }

    .banner p {
        font-size: 1.2rem;
    }

    header .link {
        font-size: 1rem;
    }

    .arrow {
        width: 22px;
    }

    .banner-content {
        max-width: 100rem;
    }

    .subscribe-content {
        max-width: 100rem;
    }

    .subscribe-container {
        max-width: 100rem;
    }

    .subscribe-text h2 {
        font-size: 3rem;
        margin: 0;
    }

    .subscribe-text {
        max-width: 100rem;
    }

    .subscribe-image img {
        max-width: 23rem;
        right: 5rem;
    }

    .subscribe-text p {
        font-size: 1.2rem;
    }

    .subscribe-form input {
        max-width: 17rem;
        font-size: 1.2rem;

    }

    .bookACall {
        width: 17rem;
        font-size: 1.2rem;
    }



}

@media screen and (max-width: 768px) {
    .banner-image {
        max-height: 17rem;
        margin-top: -2rem;
    }

    .banner-image img {
        max-height: 17rem;
        width: auto;
        margin: 0 auto;
    }

    .text {
        width: 100%;
          padding: 20px;
    }

    .banner-bg {
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .banner {
        width: 100%;
        padding: 20px 20px 0px 20px;
    }

    .banner-bg {
        max-width: 100%;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner h1 {
        font-size: 1.6rem;
        line-height: 2rem;
        padding: 40px 20px 0px 20px
    }

    .banner p {
        padding: 0px 20px;
    }

    .banner-content {
        padding-bottom: 20px;
    }

    * {
        box-sizing: border-box;
    }

    .banner form {
        display: flex;
        background: white;
        flex-direction: column;
        width: 90%;
        padding: 20px;
        margin: 5%;
        /* лише вертикальні відступи */
        border-radius: 15px;
        gap: 10px;
    }

    .banner input,
    .banner select {
        width: 100%;
    }

    .get-started-btn {
        padding: 1rem;
        width: 100%;
    }

    .for-detail {
        display: flex;
        flex-direction: column;
        gap: 0px;
        padding-top: 40px;
    }

    .subscribe-image img {
        position: static;
        max-width: 100%;
    }

    .subscribe-container {
        border-radius: 0px;
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
    }

    .contact-pc {
        display: none;
    }

    .contact-mob {
        display: block;
        text-align: center;
        padding: 20px;
    }

    .service-card {
        max-width: 44%;
    }

    .logo-partner {
        margin: 0 auto;
    }

    .slider-wrapper {
        height: 28rem;
    }

    .nav-buttons {
        top: 104%;
        padding: 0% 27%;
    }

    .subscribe-form input {
        max-width: 100%;
    }

    .bookACall {
        width: 100%;
    }

    .subscribe {
        padding-bottom: 0px;
    }
}