/* Karo landing sections (features, categories, stats, partners, FAQ, CTA, footer) */
:root {
    --karo-navy: #212d61;
    --karo-navy2: #2F324D;
    --karo-blue: #3D4F90;
    --karo-soft: #f4f6fc;
    --karo-text: #5b6077;
}

.karo-section { padding: 70px 0; }
.karo-section--soft { background: var(--karo-soft); }

.karo-title { text-align: center; max-width: 720px; margin: 0 auto 45px; }
.karo-title h3 { font-weight: bold; color: var(--karo-navy); margin-bottom: 12px; font-size: 30px; }
.karo-title h3::after { content: ""; display: block; width: 60px; height: 4px; border-radius: 4px; background: var(--karo-blue); margin: 12px auto 0; }
.karo-title p { color: var(--karo-text); font-size: 16px; line-height: 1.9; margin: 0; }

/* features */
.karo-feature { background: #fff; border-radius: 16px; padding: 30px 26px; height: 100%; box-shadow: 0 8px 30px rgba(33, 45, 97, .06); transition: transform .25s, box-shadow .25s; }
.karo-feature:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(33, 45, 97, .14); }
.karo-feature__icon { width: 62px; height: 62px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--karo-navy2), var(--karo-blue)); color: #fff; font-size: 24px; margin-bottom: 18px; }
.karo-feature h5 { font-weight: bold; color: var(--karo-navy); margin-bottom: 10px; }
.karo-feature p { color: var(--karo-text); line-height: 1.85; margin: 0; font-size: 15px; }

/* categories */
.karo-cat { position: relative; border-radius: 16px; overflow: hidden; height: 210px; box-shadow: 0 8px 24px rgba(33, 45, 97, .12); }
.karo-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.karo-cat:hover img { transform: scale(1.08); }
.karo-cat__body { position: absolute; inset: auto 0 0 0; padding: 50px 16px 14px; background: linear-gradient(transparent, rgba(20, 26, 60, .92)); color: #fff; }
.karo-cat__body h6 { font-weight: bold; margin: 0 0 2px; font-size: 17px; color: #fff; }
.karo-cat__body span { font-size: 13px; opacity: .8; }

/* stats */
.karo-stats { background: linear-gradient(120deg, var(--karo-navy2), var(--karo-blue)); color: #fff; padding: 50px 0; }
.karo-stats i { font-size: 30px; opacity: .85; display: block; margin-bottom: 10px; }
.karo-stats strong { display: block; font-size: 34px; line-height: 1.2; }
.karo-stats span { font-size: 15px; opacity: .85; }

/* partners */
.karo-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.karo-partners__item { background: #fff; border: 1px solid #e8ebf5; border-radius: 14px; width: 220px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 10px; filter: grayscale(.4); transition: filter .25s, box-shadow .25s; }
.karo-partners__item:hover { filter: none; box-shadow: 0 8px 24px rgba(33, 45, 97, .1); }
.karo-partners__item img { max-width: 100%; max-height: 100%; }

/* FAQ */
.karo-faq-tabs { gap: 10px; }
.karo-faq-tabs .nav-link { border-radius: 30px; border: 1px solid #d7dcef; color: var(--karo-navy) !important; padding: 8px 22px; background: #fff; }
.karo-faq-tabs .nav-link.active { background: var(--karo-blue); border-color: var(--karo-blue); color: #fff !important; }
.karo-faq { max-width: 860px; margin: 0 auto; }
.karo-faq__item { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(33, 45, 97, .05); overflow: hidden; }
.karo-faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; padding: 18px 22px; font-weight: bold; color: var(--karo-navy); text-align: start; font-family: inherit; font-size: 16px; }
.karo-faq__q:focus { outline: none; }
.karo-faq__q i { transition: transform .25s; color: var(--karo-blue); }
.karo-faq__q.collapsed i { transform: rotate(-90deg); }
html[lang="ar"] .karo-faq__q.collapsed i { transform: rotate(90deg); }
.karo-faq__a { padding: 0 22px 20px; color: var(--karo-text); line-height: 1.9; }

/* download CTA */
.karo-cta { padding: 40px 0 80px; }
.karo-cta__box { position: relative; background: linear-gradient(120deg, var(--karo-navy), var(--karo-blue)); border-radius: 24px; padding: 50px 50px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; }
.karo-cta__text { max-width: 560px; }
.karo-cta__text h3 { font-weight: bold; color: #fff; font-size: 30px; }
.karo-cta__text p { opacity: .9; line-height: 1.9; margin-bottom: 24px; }
.karo-cta__phone { width: 180px; margin-bottom: -90px; transform: rotate(-6deg); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.karo-cta .app_icon img { height: 46px; }
.karo-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 10px; background: #fff; color: var(--karo-navy) !important; font-weight: bold; text-decoration: none !important; }
.karo-btn:hover { background: #e9edfb; }

/* footer */
footer.karo-footer { margin-top: 0 !important; background: var(--karo-navy2); color: #d9ddef; padding-top: 60px; }
.karo-footer h4 { color: #fff; font-size: 19px; }
.karo-footer .logo_footer { width: 190px; margin-bottom: 18px; }
.karo-footer p { color: #c4c9e2; line-height: 1.9; }
.karo-footer a.default_link, .karo-footer a { color: #d9ddef !important; }
.karo-footer a:hover { color: #fff !important; }
.karo-footer .app_icon img { height: 40px; }
.karo-footer__links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.karo-footer__contact i { width: 18px; color: #8fa0e0; }
.karo-footer .social__links a { background: rgba(255, 255, 255, .08); }
.karo-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 20px; padding: 18px 0; }
.karo-footer__bottom p { margin: 4px 0 !important; color: #aeb4d4; }
.karo-footer__bottom a { font-weight: bold; color: #fff !important; }

@media (max-width: 767px) {
    .karo-section { padding: 50px 0; }
    .karo-cat { height: 160px; }
    .karo-cta__box { flex-direction: column; text-align: center; padding: 36px 22px 0; }
    .karo-cta__box .d-flex { justify-content: center; }
    .karo-cta__phone { margin-bottom: -40px; width: 150px; }
    .karo-footer__bottom .container { justify-content: center !important; text-align: center; }
}
