
.faq-tabs .tab,
.hero-btn,
.hero-title,
.title {
    font-weight: 700
}

.partner-box:hover img,
.slide img:hover {
    filter: grayscale(0)
}

#tab1:checked~.faq-container #content1,
#tab1:checked~.faq-container .tab-content[data-tab=tab1],
#tab2:checked~.faq-container #content2,
#tab2:checked~.faq-container .tab-content[data-tab=tab2],
#tab3:checked~.faq-container #content3,
#tab3:checked~.faq-container .tab-content[data-tab=tab3],
#tab4:checked~.faq-container #content4,
#tab4:checked~.faq-container .tab-content[data-tab=tab4],
.title::after {
    display: block
}

.faq-section,
.hero-section {
    font-family: var(--font-body);
    direction: rtl
}

.faq-question,
.hero-features li,
.hero-section,
.slider,
.title {
    position: relative
}

.faq-answer,
.faq-item,
.faq-tabs,
.slider {
    overflow: hidden
}

.faq-answer,
.feature-box p,
body {
    line-height: 1.6
}

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

body {
    font-family: var(--font-body);
    color: #333;
    background: #f9f9f9
}

.title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #88e6f5, #00aeb1);
    margin: 10px auto 0;
    border-radius: 3px
}

.title {
    font-family: var(--font-body);
    font-size: 36px;
    color: #505050;
    margin-bottom: 35px;
    display: inline-block
}

.clients-slider .container,
.hero-container {
    max-width: 1300px;
    margin: 0 auto
}

.hero-section {
    /* background: url('https://www.rewaatech.com/hardware/icons/bg.webp') left center no-repeat; */
    padding: 70px 20px;
    z-index: 1
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .6);
    z-index: -1
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap
}

.faq-tabs,
.hero-features,
.hero-title {
    margin-bottom: 25px
}

.hero-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 12px;
    transition: transform .3s
}

.hero-image img:hover {
    transform: scale(1.03)
}

.hero-content {
    flex: 1;
    min-width: 300px
}

.hero-title {
    font-size: 32px;
    color: #1e3a5f
}

.hero-title span {
    color: #00aeb1
}

.hero-features {
    list-style: none;
    columns: 2;
    gap: 15px
}

.hero-features li {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-right: 25px
}

.hero-features .check {
    position: absolute;
    right: 0;
    color: #06b6d4;
    font-size: 18px
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: .3s
}

.hero-btn:hover {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: translateY(-2px)
}

img.svg-icon {
    width: 20px;
    vertical-align: bottom
}

.integration-channels {
    text-align: center;
    padding: 30px 15px;
    background: #fff
}

.logo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px
}

.logo-grid img {
    max-width: 160px!important;
    height: auto;
    border: 1px solid #ddd;
    padding: 19px;
    background: #fff;
    transition: transform .3s, box-shadow .3s;
    border-radius: 10px;
    object-fit: contain
}

.logo-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1)
}

.success-partners {
    text-align: center;
    padding: 50px 15px;
    background: linear-gradient(135deg, #e1e1e1, #fff)
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px
}

.partner-box {
    background: #fff;
    border-radius: 16px 0;
    padding: 25px;
    max-width: 200px;
    max-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    cursor: pointer
}

.partner-box img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    filter: grayscale(40%);
    transition: .3s
}

.partner-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
    border-color: #06b6d4
}

@media (max-width:768px) {
    .hero-container {
        flex-direction: column;
        text-align: center
    }

    .hero-features {
        columns: 1;
        text-align: right;
        /* padding-inline: revert-layer */
    }

    .hero-features li {
        font-size: 18px;
        padding-bottom: 10px;
    }

    .hero-image {
        margin-top: -50px;
    }

    .hero-image img {
        max-width: 320px;
        margin-bottom: 25px
    }

    .logo-grid img,
    .partner-box {
        max-width: 45%
    }
}

@media (max-width:480px) {
    .logo-grid {
        gap: 25px
    }

    .partners-grid {
        gap: 20px
    }

    .partner-box {
        max-width: 65%
    }

    .partners-grid>:nth-child(2) {
        padding: 0 25px;
        height: 100%
    }

    .partners-grid>:last-child img {
        width: 70%
    }
}

.clients-slider {
    text-align: center;
    padding: 40px 15px;
    background: #fff
}

.clients-slider .title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #06b6d4;
    margin: 8px auto 0;
    border-radius: 3px
}

.slider {
    width: 100%
}

.slide-track {
    display: flex;
    width: calc(250px * 12);
    animation: 25s linear infinite scroll
}

.slide {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px
}

.slide img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: .3s
}

.slide img:hover {
    transform: scale(1.05)
}

.slider:hover .slide-track {
    animation-play-state: paused
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.faq-tabs {
    display: flex;
    justify-content: space-between;
    background: #e6f7f6;
    border-radius: 40px;
    padding: 4px
}

.faq-item input[type=checkbox],
.faq-section input[type=radio],
.faq-tabs input[type=radio],
.tab-content {
    display: none
}

.faq-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 12px 15px;
    color: #007f89;
    cursor: pointer;
    transition: .3s;
    border-radius: 30px
}

.faq-question,
.faq-section .tab {
    color: #000;
    cursor: pointer;
    font-weight: 700
}

.faq-tabs input[type=radio]:checked+.tab {
    background: #06b6d4;
    color: #fff
}

label.tab {
    margin-bottom: 10px !important
}

.faq-section {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    padding: 25px;
    text-align: right
}

.features-section,
.footer {
    text-align: center;
    font-family: Tajawal, sans-serif
}

.faq-section .tab {
    display: inline-block;
    background: #e6f7f6;
    padding: 12px 20px;
    margin: 0 3px;
    border-radius: 25px;
    transition: .3s
}

.faq-section input[type=radio]:checked+.tab {
    background: #00aeb1;
    color: #fff
}

.tab-content {
    margin-top: 20px
}

.faq-item {
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0 15px;
    border: 1px solid #eee
}

.faq-question {
    display: block;
    padding: 15px 0;
    font-size: 18px
}

.faq-question::after {
    content: "+";
    position: absolute;
    left: 10px;
    font-size: 20px;
    color: #999;
    transition: transform .3s
}

.faq-item input[type=checkbox]:checked+.faq-question::after {
    content: "-";
    color: #06b6d4
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    transition: .4s;
    color: #555;
    font-size: 16px
}

.faq-answer ul {
    padding: 0 25px;
    margin-top: 10px;
    list-style-type: disc
}

.faq-item input[type=checkbox]:checked~.faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 15px
}

.features-section {
    background: #fff;
    padding: 60px 20px
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px
}

.feature-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px 20px;
    transition: .3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05)
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
    background: #fff
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e6f7f6;
    display: flex;
    align-items: center;
    justify-content: center
}

.icon-circle img {
    max-width: 40px
}

.feature-box h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700
}

.feature-box p {
    font-size: 15px;
    color: #555
}

@media (max-width:768px) {
    .faq-question {
        font-size: 16px
    }

    .faq-answer {
        font-size: 14px
    }

    .title {
        line-height: 1.2;
    }
}

.footer {
    background: linear-gradient(180deg, #004b5a 0, #001c26 100%);
    padding: 40px 15px;
    color: #fff
}

.footer-content {
    max-width: 400px;
    margin: 0 auto
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px
}

.footer .tagline {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #e6f7f6
}

.footer .copyright {
    font-size: 14px;
    opacity: .8
}
