.section-header {
    margin-bottom: 42px;
    text-align: center;
}

.section-header .header-1 {
    color: var(--dark);
    font-weight: 600;
}

.section-header .header-1::before {
    content: '';
    display: block;
    width: 83px;
    height: 3px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    background-color: var(--primary);
}

/* Header */
.header-background {
    background: url("../../../assets/img/pages/home/bg-header.jpg");
}

.page-header {
    padding-top: 130px;
    padding-bottom: 80px;
    margin-bottom: 56px;
}

.page-header .btn-header-cta {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 500;
    padding: 16px 24px;
    border-radius: 10px;
}

.page-header .header-title {
    font-size: 42px;
    font-weight: 700;
    line-height: calc(42px * 1.5);
    margin-bottom: 16px;
}

.page-header .header-desc {
    margin-bottom: 32px;
}

.page-header .header-image-wrapper .header-img {
    width: 600px;
    height: 500px;
}
/* End Header */

/* Services */
.service-section {
    margin-bottom: 56px;
    background: url("../../../assets/img/pages/home/service-ornament.png");
    background-repeat: no-repeat;
    background-position: center;
}

.service-section .service-card {
    display: flex;
    column-gap: 16px;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 24px;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.service-section .service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 10%);
}

.service-section .service-card:hover .service-name {
    color: var(--primary);
}

.service-section .service-card .service-icon {
    width: 48px;
    height: 48px;
}

.service-section .service-card .service-name {
    color: var(--dark);
    font-weight: 600;
    font-size: 18px;
    line-height: calc(18px * 1.5);
    transition: all 0.2s ease;
}

.service-section .service-card .service-desc {
    color: #666;
}

.service-section .service-row {
    row-gap: 42px;
}
/* Services - end */

/* Advantages */
.advantages {
    background-color: #002C5C;
    padding-top: 56px;
    padding-bottom: 56px;
}

.advantages .section-header {
    position: relative;
    z-index: 1;
}

.advantages .adv-ornament {
    position: absolute;
}

.advantages .adv-ornament.top {
    top: 0;
    right: 0;
}

.advantages .adv-ornament.bottom {
    bottom: 0;
    left: 0;
}

.advantages .container-fluid .section-header .header-1 {
    color: var(--white);
}

.advantages .container-fluid .section-header .header-1::before {
    background-color: var(--white);
}

.advantages .adv-card {
    display: flex;
    column-gap: 16px;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 24px;
    transition: all 0.2s ease;
    background-color: var(--white);
    position: relative;
    height: 100%;
}

.advantages .adv-card .adv-ornament-card {
    position: absolute;
    top: 0;
    right: 0;
}

.advantages .adv-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 10%);
}

.advantages .adv-card:hover .adv-name {
    color: var(--primary);
}

.advantages .adv-card .adv-icon {
    width: 48px;
    height: 48px;
}

.advantages .adv-card .adv-name {
    color: var(--dark);
    font-weight: 600;
    font-size: 18px;
    line-height: calc(18px * 1.5);
    transition: all 0.2s ease;
}

.advantages .adv-card .adv-desc {
    color: #666;
}

.advantages .adv-row {
    row-gap: 42px;
}
/* Advantages - end */

/* project */
.project-section {
    margin-top: 56px;
    margin-bottom: 56px;
    background: url('../../../assets/img/pages/home/project-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

.project-section .project-row {
    row-gap: 42px;
}

.project-section .project-row .card {
    box-shadow: none;
    border: 1px solid #ebebeb;
    width: 100%;
    height: 396px;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 10px;
}
.project-section .project-row .card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 10%);
}

.project-section .project-row .card .project-img {
    height: 100%;
}

.project-section .project-row .card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 70%);
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.project-section .project-row .card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

.project-section .project-row .card .card-overlay .header-3 {
    color: var(--white);
    line-height: calc(20px * 1.5);
}
/* project - end */

/* testimonial */
.testimonial-section {
    background-color: #fafafa;
    padding-top: 56px;
    padding-bottom: 56px;
    margin-bottom: 56px;
}

.testimonial-section .testimonial-carousel-wrapper .card {
    box-shadow: none;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 32px;
    width: 532px;
    margin-left: 24px;
    transition: all 0.2s ease;
}

.testimonial-section .testimonial-carousel-wrapper .card .testimoni-user-wrapper {
    display: flex;
    align-items: center;
    column-gap: 16px;
}

.testimonial-section .testimonial-carousel-wrapper .card .testimoni-user-wrapper .testimoni-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.testimonial-section .testimonial-carousel-wrapper .card .testimoni-user-wrapper .testimoni-profile .testimoni-name {
    color: var(--dark);
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.testimonial-section .testimonial-carousel-wrapper .slick-slide:not(.slick-active) .card {
    opacity: 50%;
}

.testimonial-section .testimonial-carousel-wrapper .slick-slide.slick-active .card {
    border-color: var(--primary);
}

.testimonial-section .testimonial-carousel-wrapper .card .card-body { padding: 0; }

.testimonial-section .testimonial-carousel-wrapper .card .testimonial-messages {
    margin-bottom: 32px;
}

.testimonial-section .section-body .carousel-button {
    position: absolute;
    top: 45%;
    background-color: var(--white);
    width: 50px;
    height: 50px;
    border: 1px solid #ebebeb;
    color: var(--grey-ligth);
    z-index: 1;
    border-radius: 50px;
    transition: all 0.2s ease;
    outline: none;
}

.testimonial-section .section-body .carousel-button:hover {
    background-color: var(--primary);
    border-color: transparent;
    color: var(--white);
}

.testimonial-section .section-body .carousel-button .ri-arrow-left-line,
.testimonial-section .section-body .carousel-button .ri-arrow-right-line {
    font-size: 20px;
}

.testimonial-section .section-body .carousel-button.left { left: 0 }
.testimonial-section .section-body .carousel-button.right { right: 0 }
/* testimonial - end */

/* FAQ */
.faq-section {
    margin-bottom: 56px;
}

.faq-section .accordion .card {
    box-shadow: none;
    border: 1px solid #ebebeb;
    margin-bottom: 32px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.faq-section .accordion .card:last-child {
    margin-bottom: 0;
}

.faq-section .accordion .card.active-card {
    border-color: var(--primary);
}

.faq-section .accordion .card .card-header {
    background-color: var(--white);
    padding: 24px;
}

.faq-section .accordion .card .card-header h2.mb-0 {
    width: 100%;
}

.faq-section .accordion .card .card-header .btn {
    padding: 0;
    color: var(--dark);
    text-decoration: none;
    width: 100%;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-section .accordion .card .card-header .btn .question-icon {
    transition: all 0.2s ease;
    font-size: 20px;
}

.faq-section .accordion .card .card-header .btn .question-icon.rotate-right { transform: rotate(0); }
.faq-section .accordion .card .card-header .btn .question-icon.rotate-down { transform: rotate(90deg); }
/* FAQ - end */

/* CTA */
.cta-section {
    margin-bottom: 56px;
}

.cta-section .cta-wrapper {
    background: url('../../../assets/img/pages/home/cta-bg.jpg');
    background-repeat: no-repeat;
    padding-top: 56px;
    padding-bottom: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 24px;
    border-radius: 10px;
}

.cta-section .cta-wrapper .cta-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-section .cta-wrapper .cta-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: calc(24px * 1.5);
}

.cta-section .cta-wrapper .cta-desc {
    font-size: 20px;
    width: 764px;
    margin-left: auto;
    margin-right: auto;
    line-height: calc(20px * 1.5);
}

.cta-section .cta-wrapper .btn-layout {
    background-color: var(--white);
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 10%);
}
/* CTA - end */

@media (max-width: 767.98px) {
    /* header */
    .header {
        padding-top: 90px;
        padding-bottom: 42px;
    }

    .header .header-title {
        font-size: 28px;
        line-height: calc(28px * 1.5);
    }

    .header .header-desc {
        font-size: 14px;
        line-height: calc(14px * 1.5);
    }

    .header .btn-layout {
        font-size: 14px;
        line-height: calc(14px * 1.5);
    }

    .header .row {
        row-gap: 42px;
    }

    .header .header-img-wrapper .header-img {
        width: 100%;
        height: 300px;
    }
    /* header - end */

    /* service */
    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-card .service-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    /* service - end */

    /* advantages */
    .adv-card {
        flex-direction: column;
        text-align: center;
    }

    .adv-card .adv-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    /* advantages - end */

    /* testimonial */
    .testimonial-section .testimonial-carousel-wrapper .card {
        margin-left: 0;
        width: 100%;
    }

    .testimonial-section .carousel-button {
        display: none;
    }
    /* testimonial - end */

    /* FAQ */
    .faq-section .accordion .card .card-header h2.mb-0 {
        font-size: 12px !important;
    }
    /* FAQ - end */

    /* CTA */
    .cta-section .cta-wrapper {
        padding-top: 24px;
        padding-bottom: 24px;
        border-radius: 10px;
        padding-left: 24px;
        padding-right: 24px;
        background-repeat: unset;
    }

    .cta-section .cta-wrapper .cta-title {
        font-size: 28px;
        line-height: calc(28px * 1.5);
    }

    .cta-section .cta-wrapper .cta-subtitle {
        font-size: 20px;
        line-height: calc(24px * 1.5);
    }

    .cta-section .cta-wrapper .cta-desc {
        font-size: 16px;
        line-height: calc(16px * 1.5);
        width: 100%;
        margin-bottom: 32px;
    }
    /* CTA - end */
}

@media (min-width: 768px) and (max-width: 997.98px) {
    /* header */
    .header {
        padding-top: 90px;
        padding-bottom: 42px;
    }

    .header .header-title {
        font-size: 28px;
        line-height: calc(28px * 1.5);
    }

    .header .header-desc {
        font-size: 14px;
        line-height: calc(14px * 1.5);
    }

    .header .btn-layout {
        font-size: 14px;
        line-height: calc(14px * 1.5);
    }

    .header .row {
        row-gap: 42px;
    }

    .header .header-img-wrapper .header-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    /* header - end */

    /* service */
    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-card .service-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    /* service - end */

    /* advantages */
    .adv-card {
        flex-direction: column;
        text-align: center;
    }

    .adv-card .adv-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    /* advantages - end */

    /* testimonial */
    .testimonial-section .testimonial-carousel-wrapper .card {
        margin-left: 0;
        width: 100%;
    }
    /* testimonial - end */

    /* FAQ */
    .faq-section .accordion .card .card-header h2.mb-0 {
        font-size: 12px !important;
    }
    /* FAQ - end */

    /* CTA */
    .cta-section .cta-wrapper {
        padding-top: 24px;
        padding-bottom: 24px;
        border-radius: 10px;
        padding-left: 24px;
        padding-right: 24px;
        background-repeat: unset;
    }

    .cta-section .cta-wrapper .cta-title {
        font-size: 28px;
        line-height: calc(28px * 1.5);
    }

    .cta-section .cta-wrapper .cta-subtitle {
        font-size: 20px;
        line-height: calc(24px * 1.5);
    }

    .cta-section .cta-wrapper .cta-desc {
        font-size: 16px;
        line-height: calc(16px * 1.5);
        width: 100%;
        margin-bottom: 32px;
    }
    /* CTA - end */
}
