/* Karnoweb content layer on the unchanged index-2 visual system.
   The template owns layout, sliders, image treatments and scroll animation. */
:root { --kw-accent: #146c6d; --kw-section-space: 88px; --kw-section-gap: 40px; }
body, body :not(i) { font-family: vazirmatn, sans-serif !important; }
body h1, body h2, body h3, body h4, body h5, body h6 { font-family: peydawebfanum, vazirmatn, sans-serif !important; font-weight: 700; }
p { line-height: 1.9; }
h1, h2, .sec-title { line-height: 1.4; }
section[id], #products, #primary { scroll-margin-top: 110px; }
.karnoweb-wordmark { color: #0c1e21; }
.footer-karnoweb-wordmark { color: white; }
.tj-primary-btn { background: var(--kw-accent); }
.tj-primary-btn.btn-dark { background: #0c1e21; }
.sub-title { gap: 8px; }
.sub-title i { flex-shrink: 0; font-size: 17px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #56b9b3 !important; outline-offset: 5px; }
.kw-skip-link { position: fixed; top: -100px; right: 20px; z-index: 9999; padding: 12px 20px; background: white; color: #0c1e21; border-radius: 8px; }
.kw-skip-link:focus { top: 16px; }
.banner-content .banner-title { font-size: clamp(38px, 4vw, 64px); line-height: 1.4; }
.banner-content .banner-title span { color: #57bfba; }
.banner-content .banner-desc { line-height: 1.9; }
.banner-content .banner-desc-area { align-items: center; }
.kw-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kw-hero-actions .btn-dark { border: 1px solid #5c7475; }
.banner-right-box .customers-box .customers-number { font-size: 36px; }
.banner-right-box .customers-box .customers-text { font-size: 16px; line-height: 1.9; }
.choose-box { height: 100%; }
.choose-box .choose-icon { width: 64px; height: 64px; font-size: 52px; align-items: center; justify-content: center; margin-bottom: 26px; }
.choose-box .title { font-size: 28px; line-height: 1.4; }
.choose-box .desc { min-height: 86px; margin-bottom: 22px; }
.choose-box .text-btn { display: inline-flex; gap: 12px; align-items: center; font-size: 14px; }
.choose-box:hover .text-btn { color: white; }
.kw-products-heading { padding-top: 30px; }
.kw-products-heading .sec-heading { max-width: 760px; margin-bottom: 0; }
.kw-products-heading p { max-width: 660px; margin: 22px auto 0; }
.kw-product .about-content-area.style-1 { margin-bottom: 0; }
.kw-product .sec-heading { margin-bottom: 22px; }
.kw-product .sec-title { font-size: clamp(32px, 3.4vw, 48px); }
.kw-product .about-img { position: relative; height: clamp(340px, 37vw, 490px); min-height: 0; overflow: hidden; }
.kw-product .about-img img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: cover; object-position: center 35%; }
.kw-product .about-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(5, 27, 30, .48), transparent 58%); }
.kw-product .box-area { position: relative; z-index: 1; }
.kw-product .experience-box { padding: 24px; }
.kw-product .experience-box .customers-number { font-size: 23px; white-space: normal; line-height: 1.5; max-width: 200px; }
.kw-product .experience-box .customers-text { margin-bottom: 0; line-height: 1.6; }
.kw-product-desc { margin-bottom: 26px; }
.kw-product-alt { background: #d8e5e5; }
.kw-product-alt .box-area { background: #d8e5e5; }
.kw-product-alt .box-area::before, .kw-product-alt .box-area::after { display: none; }
.kw-product-alt .about-content-area.style-1 { padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.kw-product-alt .about-img-area { position: relative; padding-bottom: 0; }
.kw-product-alt .about-img { border-radius: 16px; box-shadow: 0 22px 45px rgba(7, 38, 41, .16); }
.kw-product-alt .box-area { position: absolute !important; right: 22px; bottom: 22px; z-index: 2; width: min(250px, calc(100% - 44px)); padding: 0 !important; background: rgba(7, 38, 41, .92) !important; border: 1px solid rgba(165, 231, 226, .35); border-radius: 12px; backdrop-filter: blur(10px); }
.kw-product-alt .experience-box { padding: 19px !important; background: transparent !important; color: #fff; }
.kw-product-alt .experience-box .sub-title { color: #9fe5e0; }
.kw-product-alt .experience-box .customers-number { color: #fff; font-size: 22px; }
.kw-product-alt .experience-box .customers-text { color: #cce7e5; }
.kw-product-alt .kw-flow { margin-top: 18px; }
.kw-feature-list { display: grid; gap: 18px; list-style: none; margin-bottom: 25px; padding: 0; }
.kw-feature-list li { display: flex; align-items: flex-start; gap: 13px; }
.kw-feature-list i { margin-top: 5px; color: var(--kw-accent); font-size: 21px; }
.kw-feature-list h3 { font-size: 18px; line-height: 1.6; margin-bottom: 3px; }
.kw-feature-list p { font-size: 14px; margin: 0; }
.kw-modules { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.kw-modules span { padding: 5px 12px; border: 1px solid #aac6c6; border-radius: 6px; font-size: 13px; color: #24585a; }
.kw-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: 14px; font-weight: 500; }
.kw-flow i { font-size: 13px; color: var(--kw-accent); }
.kw-demo-note { font-size: 13px; margin: 13px 0 0; color: #52686a; }
.kw-product .kw-demo-link { display: inline-flex; margin: 2px 0 0; }
.kw-product .kw-demo-link + .text-btn { display: flex; width: fit-content; align-items: center; gap: 9px; margin-top: 18px; line-height: 1.65; }
.kw-product .kw-demo-note { margin-top: 9px; }
.service-item.style-1 .service-icon { font-size: 36px; }
.service-item.style-1 .service-content .title { font-size: 25px; line-height: 1.5; }
#services .service-item.style-1::before { opacity: .42; }
#services .service-item.style-1:hover::before, #services .service-item.style-1:focus-within::before { opacity: .78; }
.service-item.style-1:focus-within::before { opacity: .7; }
.service-item.style-1:focus-within .service-content { padding-bottom: 95px; }
.service-item.style-1:focus-within .desc { opacity: 1; visibility: visible; height: auto; }
.service-item.style-1:focus-within .text-btn { opacity: 1; visibility: visible; bottom: 35px; }
.service-item.style-1:focus-within .service-icon { transform: scale(0); }
.kw-step-number { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 25px; border: 1px solid #9cbfbd; color: var(--kw-accent); border-radius: 50%; font-size: 27px; font-weight: 700; }
.testimonial-item .desc p { font-size: 19px; line-height: 1.9; }
#testimonials .testimonial-item { min-height: 168px; display: flex; flex-direction: column; }
#testimonials .testimonial-item .desc { margin-top: auto; }
#testimonials .testimonial-item .desc p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.testimonial-item .author-header .title { font-size: 24px; }
.slider-navigation button { display: inline-flex; }
.kw-service-navigation { justify-content: center; margin-top: 24px; }
.kw-service-navigation button { color: white; border-color: #566b6c; }
.slider-navigation .swiper-button-disabled { opacity: .35; cursor: default; }
.swiper-wrapper { align-items: stretch; }
.testimonial-slider .swiper-slide { height: auto; }
.kw-contact-intro { max-width: 520px; }
.kw-contact-intro > .sub-title { display: inline-flex; align-items: center; margin-bottom: 20px; }
.kw-contact-intro h2 { color: white; font-size: clamp(36px, 4vw, 56px); line-height: 1.4; margin-bottom: 22px; }
.kw-contact-intro h2 span { color: #57bfba; }
.kw-contact-intro > p { color: #c1d2d2; }
.kw-contact-options { display: grid; gap: 12px; margin-top: 30px; }
.kw-contact-options button { display: flex; align-items: center; gap: 17px; padding: 18px 20px; width: 100%; border: 1px solid #45595c; border-radius: 10px; color: white; text-align: start; }
.kw-contact-options button:hover, .kw-contact-options button[aria-pressed="true"] { background: #1a4246; border-color: #57bfba; }
.kw-contact-options button > i:first-child { width: 28px; font-size: 25px; color: #57bfba; }
.kw-contact-options button > i:last-child { margin-inline-start: auto; }
.kw-contact-options small { display: block; margin-top: 4px; color: #c1d2d2; font-size: 13px; }
.contact-form label { display: block; color: #d6e3e3; font-size: 14px; margin-bottom: 8px; }
.contact-form .form-input select { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #566b6c; border-radius: 6px; background: #18292c; color: white; }
.contact-form.style-2 .form-input input, .contact-form.style-2 .form-input textarea { border: 1px solid #566b6c; border-radius: 6px; padding: 12px 16px; background: #18292c; color: #fff; color-scheme: dark; }
.contact-form.style-2 .form-input input:focus, .contact-form.style-2 .form-input textarea:focus { background: #20383b; color: #fff; border-color: #57bfba; }
.contact-form.style-2 .form-input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #18292c inset; -webkit-text-fill-color: #fff; caret-color: #fff; }
.contact-form.style-2 .form-input { margin-bottom: 20px; }
.contact-form .sec-title { font-size: 34px; line-height: 1.5; }
.kw-email-note, .kw-form-status { margin: 18px 0 0; color: #c1d2d2; font-size: 14px; line-height: 1.8; }
.kw-email-note a { color: white; text-decoration: underline; text-underline-offset: 4px; }
.kw-form-status:empty { display: none; }
.cta-area .cta-content .title { font-size: clamp(34px, 4vw, 56px); line-height: 1.4; }
.footer-main-area .footer-widget .title { font-size: 20px; }
.tj-copyright-area p { margin-bottom: 0; }
.site-main > .section-gap { padding-block: var(--kw-section-space); }
.site-main > .section-gap-x:not(.tj-banner-section) { margin-block: var(--kw-section-gap); }
.site-main > .tj-cta-section { padding-block: var(--kw-section-space); margin-bottom: 0; }
.kw-products-heading { padding-top: 0; }
.kw-products-heading + .kw-product { padding-top: 48px; }
.site-main > #choose { margin-bottom: 0; }
.site-main > #choose .sec-heading { margin-bottom: 36px; }
#choose .service-item.style-5 .service-content-area { height: 100%; }
#choose .service-item.style-5 .service-content { height: 100%; display: flex; flex-direction: column; }
#choose .service-item.style-5 .tj-primary-btn { margin-top: auto; align-self: flex-start; }
#services .service-item.style-1 .service-img img { width: 100%; height: 100%; object-fit: cover; }
.kw-solutions-grid, .kw-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kw-solutions-grid .choose-content { height: 100%; display: flex; flex-direction: column; }
.kw-solutions-grid .text-btn { margin-top: auto; }
.kw-steps-grid { list-style: none; padding: 0; margin: 0; }
.kw-step-card { padding: 28px; border: 1px solid #c2d6d6; border-radius: 12px; background: #f4f8f8; display: flex; flex-direction: column; }
.kw-step-card h3 { font-size: 22px; line-height: 1.5; margin-bottom: 12px; }
.kw-step-card p { font-size: 15px; margin-bottom: 20px; }
.kw-step-card .kw-step-number { margin-bottom: 18px; }
.kw-step-output { margin-top: auto; padding-top: 15px; border-top: 1px solid #cfdddd; font-size: 13px; color: #146c6d; font-weight: 600; }
.banner-right-box .customers-box .customers-number { font-size: 27px; line-height: 1.4; }
.banner-right-box .customers-box .customers-text { margin: 10px 0 0; font-size: 14px; }
.kw-guide { height: 100%; }
.kw-guide .blog-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.kw-guide .blog-content .title { font-size: 23px; line-height: 1.55; margin-block: 14px; }
.kw-guide .blog-content > p { font-size: 15px; }
.kw-guide-category { color: #146c6d; font-size: 13px; font-weight: 600; }
.kw-guide summary { cursor: pointer; color: #146c6d; padding-block: 12px; font-weight: 600; }
.kw-guide details > p { font-size: 14px; padding-top: 12px; }
.kw-work-grid, .kw-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.kw-work-card { background: #fff; border: 1px solid #d1dede; border-radius: 12px; overflow: hidden; }
.kw-work-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.kw-work-body { padding: 26px; }
.kw-work-body h3 { font-size: 24px; line-height: 1.5; margin-block: 12px; }
.kw-work-body p, .kw-work-body details { font-size: 14px; line-height: 1.9; }
.kw-work-body summary { cursor: pointer; padding-block: 12px; color: #146c6d; font-weight: 600; }
.kw-review { margin: 0; background: #f5f9f9; border-radius: 12px; padding: 30px; display: flex; flex-direction: column; border: 1px solid #c7dcda; min-height: 100%; }
.kw-review > i { color: #146c6d; font-size: 30px; margin-bottom: 20px; }
.kw-review blockquote { font-size: 16px; line-height: 2; margin-bottom: 25px; }
.kw-review figcaption { border-top: 1px solid #cadada; padding-top: 16px; margin-top: auto; font-weight: 600; }
.kw-review figcaption small { display: block; font-weight: 400; margin-top: 5px; color: #52686a; }
@media (min-width: 992px) {
  #choose .service-item.style-5 { min-height: 545px; }
}
.footer-1 { margin-top: 0; padding-top: 0; background: #082527; color: #d6e9e8; }
.footer-1 .footer-main-area { padding: 0; background: #082527; }
.kw-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 42px 0; border-bottom: 1px solid rgba(170, 225, 221, .2); }
.kw-footer-cta h2 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 42px); line-height: 1.4; }
.kw-footer-cta p { margin: 8px 0 0; color: #bad5d3; }
.kw-footer-cta .tj-primary-btn { flex: 0 0 auto; background: #a2e5e0; color: #082527; }
.footer-1 .kw-footer-cta { padding: 24px 0; }
.footer-1 .kw-footer-cta h2 { font-size: 18px; line-height: 1.6; }
.footer-1 .kw-footer-cta p { font-size: 14px; }
.footer-1 .kw-footer-cta .tj-primary-btn { min-height: 42px; }
.footer-1 .kw-footer-cta > a { display: inline-flex; align-items: center; gap: 8px; color: #8de0da; font-weight: 700; }
.footer-1 .kw-footer-cta > a:hover { color: #fff; }
.footer-1 .kw-footer-cta p i { color: #8de0da; margin-left: 8px; }
.kw-footer-grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr .8fr; gap: 40px; padding: 54px 0 46px; }
.kw-footer-brand .footer-karnoweb-wordmark { display: inline-flex; margin-bottom: 17px; color: #fff; font-size: 32px; }
.kw-footer-brand p { max-width: 320px; margin: 0; color: #bad5d3; line-height: 2; }
.kw-footer-grid .footer-widget .title { margin: 4px 0 20px; color: #fff; font-size: 18px; }
.kw-footer-grid .footer-widget ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.kw-footer-grid .footer-widget a { color: #c7dcda; transition: color .2s ease, transform .2s ease; }
.kw-footer-grid .footer-widget a:hover { color: #8de0da; transform: translateX(-3px); }
.kw-enamad-slot { min-height: 132px; max-width: none; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 16px; border: 1px dashed #5f9795; border-radius: 10px; color: #d6e9e8; }
.kw-enamad-slot i { font-size: 30px; color: #8de0da; }
.kw-enamad-slot span { font-size: 14px; }
.kw-enamad-slot small { font-size: 11px; color: #9cbdbc; }
.footer-1 .tj-copyright-area { border-top: 1px solid rgba(170, 225, 221, .15); background: #061d1f; }
.footer-1 .tj-copyright-area p, .footer-1 .tj-copyright-area span { color: #a7c7c5; }
@media (max-width: 991px) {
  :root { --kw-section-space: 64px; --kw-section-gap: 28px; }
  .kw-solutions-grid, .kw-steps-grid, .kw-work-grid, .kw-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kw-footer-grid { grid-template-columns: 1.25fr 1fr; gap: 34px 28px; }
  .kw-product .about-img, .kw-product .about-img img { min-height: 0; max-height: 520px; }
  .kw-product .about-content-area.style-1 { margin-top: 10px; }
  .kw-contact-intro { max-width: none; }
}
@media (min-width: 576px) and (max-width: 991px) {
  #choose .service-item.style-5 { min-height: 0; }
}
@media (max-width: 575px) {
  :root { --kw-section-space: 48px; --kw-section-gap: 24px; }
  .kw-solutions-grid, .kw-steps-grid, .kw-work-grid, .kw-review-grid { grid-template-columns: 1fr; gap: 18px; }
  .kw-product .about-img { height: 320px; }
  .kw-step-card { padding: 24px; }
  .kw-products-heading + .kw-product { padding-top: 32px; }
  .banner-content .banner-title { font-size: 34px; }
  .kw-hero-actions { flex-direction: column; align-items: stretch; }
  .kw-hero-actions .tj-primary-btn { min-height: 48px; justify-content: space-between; }
  .choose-box .desc { min-height: 0; }
  .kw-product .experience-box { padding: 18px; }
  .kw-product .experience-box .customers-number { font-size: 24px; }
  .kw-product .about-img img { max-height: 390px; }
  .kw-flow { font-size: 13px; gap: 8px; }
  .kw-contact-options button { padding: 15px; }
  .contact-form .sec-title { font-size: 28px; }
  .kw-footer-cta { align-items: flex-start; flex-direction: column; padding: 38px 0; }
  .kw-footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 42px 0; }
  .kw-footer-cta .tj-primary-btn { width: 100%; justify-content: center; }
  .kw-product .kw-demo-link { max-width: 100%; }
  .kw-product .kw-demo-link .btn-text { white-space: normal; }
  #choose .service-item.style-5 { min-height: 0; }
}
.service-item.style-1::before { opacity: .86; }
.service-item.style-1 .service-content { padding-bottom: 82px; }
.service-item.style-1 .service-content .desc { opacity: 1; visibility: visible; height: auto; color: #e2f1f0; }
.service-item.style-1 .text-btn { opacity: 1; visibility: visible; bottom: 28px; }
.service-item.style-1 .service-icon { width: 54px; height: 54px; font-size: 30px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
