/*--------------------------------------------------------------
# tarassol polish layer (loaded after main.css and rtl.css)
--------------------------------------------------------------*/
:root {
  --default-color: #2b3a4d;
  --soft-bg: #f1f5fb;
  --card-shadow: 0 6px 22px rgba(1, 41, 112, .08);
  --card-radius: 16px;
}

body { line-height: 1.8; }

/* ---------- Header: always readable, solid once scrolled / on inner pages ---------- */
.header { box-shadow: 0 2px 14px rgba(1, 41, 112, .06); }
.index-page .header { --background-color: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.index-page.scrolled .header { --background-color: #ffffff; box-shadow: 0 4px 22px rgba(1, 41, 112, .12); }
.header .btn-getstarted { border-radius: 999px; padding: 9px 26px; font-weight: 700; box-shadow: 0 6px 16px rgba(65, 84, 241, .3); }
@media (min-width: 1200px) {
  .navmenu a, .navmenu a:focus { font-weight: 600; font-size: 15px; }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus { color: var(--accent-color); }
}

/* ---------- Breadcrumb bar ---------- */
.page-title nav { background: var(--soft-bg); border-bottom: 1px solid rgba(1, 41, 112, .08); }
.page-title nav ol { padding: 0; margin: 0; }
.page-title nav ol li + li { padding-left: 0; padding-inline-start: 10px; }
.page-title nav ol li + li::before { padding-right: 0; padding-inline-end: 10px; }
.page-title nav ol a { color: var(--accent-color); }
.page-title nav ol li.current { color: var(--heading-color); }

/* ---------- Sections: less white, clearer text ---------- */
.section.light-background, .light-background { --background-color: var(--soft-bg); }
.section-title p { color: #44566b; }

/* ---------- Blog list ---------- */
.blog-posts article {
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  border: 1px solid rgba(1, 41, 112, .06); transition: transform .25s, box-shadow .25s;
}
.blog-posts article:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(1, 41, 112, .14); }
.blog-posts .post-img img { border-radius: 12px; width: 100%; }
.blog-posts .title { line-height: 1.5; }
.blog-posts .content p { color: var(--default-color); }
.blog-posts .content .read-more a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 24px; border-radius: 999px; font-weight: 700;
  background: var(--accent-color); color: #fff;
  box-shadow: 0 6px 16px rgba(65, 84, 241, .28);
}
.blog-posts .content .read-more a:hover { background: #2f3fd0; color: #fff; }

/* ---------- Pagination (library emits div.pagination > a / span) ---------- */
.blog-pagination { padding: 10px 0 0; }
.blog-pagination div.pagination, .blog-pagination .pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0;
}
.blog-pagination .pagination a, .blog-pagination .pagination span {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-weight: 700; font-size: 15px;
  background: #fff; color: var(--heading-color);
  border: 1px solid #cfd9ea; box-shadow: 0 3px 10px rgba(1, 41, 112, .06);
  transition: background .2s, color .2s, transform .2s;
}
.blog-pagination .pagination a:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; transform: translateY(-2px); }
.blog-pagination .pagination span.current { background: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.blog-pagination .pagination span.disabled { opacity: .45; box-shadow: none; }
.blog-pagination .pagination a.next, .blog-pagination .pagination a.prev { background: var(--heading-color); border-color: var(--heading-color); color: #fff; }

/* ---------- Article page ---------- */
.blog-details .article {
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  border: 1px solid rgba(1, 41, 112, .06); padding: 32px;
}
.blog-details .post-img img { width: 100%; border-radius: 12px; }
.blog-details .title { font-weight: 800; line-height: 1.5; }
.blog-details .content { font-size: 17.5px; line-height: 2; color: var(--default-color); }
.blog-details .content p { margin-bottom: 1.2em; }
.blog-details .content img { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 575px) { .blog-details .article { padding: 20px; } }

.sidebar .widget-item {
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  border: 1px solid rgba(1, 41, 112, .06);
}
.sidebar .widget-title { font-weight: 800; }
.sidebar .recent-posts-widget .post-item img { border-radius: 10px; object-fit: cover; }
.sidebar .tags-widget ul li a { background: #e8eefb; color: var(--heading-color); border-radius: 999px; padding: 5px 14px; }
.sidebar .tags-widget ul li a:hover { background: var(--accent-color); color: #fff; }

/* ---------- Contact page ---------- */
.contact .info-item {
  height: 100%; background: #fff; border-radius: var(--card-radius);
  padding: 26px 22px; box-shadow: var(--card-shadow);
  border: 1px solid rgba(1, 41, 112, .06); text-align: center;
}
.contact .info-item i { font-size: 28px; color: var(--accent-color); }
.contact .info-item h3 { font-size: 18px; font-weight: 800; margin: 10px 0 6px; }
.contact .info-item p, .contact .info-item div { color: var(--default-color); margin: 0; }

.contact .contact-form {
  background: #fff; border-radius: var(--card-radius); padding: 30px;
  box-shadow: var(--card-shadow); border: 1px solid rgba(1, 41, 112, .06);
}
.contact .contact-form .form-control {
  border-radius: 12px; padding: 12px 16px; background: #f4f7fc; border: 1px solid #d3dcee;
}
.contact .contact-form .form-control:focus { background: #fff; border-color: var(--accent-color); box-shadow: 0 0 0 .2rem rgba(65, 84, 241, .15); }
.contact .contact-form button[type="submit"] {
  border: 0; border-radius: 999px; padding: 12px 38px; font-weight: 700; font-size: 16px;
  background: var(--accent-color); color: #fff; box-shadow: 0 8px 20px rgba(65, 84, 241, .3);
  transition: background .2s, transform .2s; cursor: pointer;
}
.contact .contact-form button[type="submit"]:hover { background: #2f3fd0; transform: translateY(-2px); }
.contact .contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.contact-alert { display: none; padding: 13px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; text-align: start; }
.contact-alert.ok { display: block; background: #dff5ea; color: #0e6b44; }
.contact-alert.err { display: block; background: #fde4e4; color: #a12626; }

/* ---------- Pricing / FAQ small polish ---------- */
.pricing .pricing-item, .faq .faq-container .faq-item { border-radius: var(--card-radius); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ====================================================================
   v2: softer background, white footer logo, language support, About page
   ==================================================================== */
:root {
  --background-color: #eaf0f8;
  --soft-bg: #dfe8f4;
  --muted: #3f5167;
  --brand: #4154f1;
  --brand-deep: #012970;
  --cta: #FAB237;
  --shadow-sm: 0 6px 22px rgba(1, 41, 112, .08);
  --shadow-md: 0 14px 34px rgba(1, 41, 112, .14);
  --radius: 16px;
}
.light-background, .section.light-background { --background-color: #dfe8f4; }
.dark-background { --background-color: #012970; }
.header { --background-color: #ffffff; }
.index-page .header { --background-color: rgba(255, 255, 255, .94); }
.index-page.scrolled .header { --background-color: #ffffff; }
.section-title p, .hero p, .about .content p, .values .card p, .services .service-item p, .icon-box p { color: var(--default-color); }
.values .card, .stats .stats-item, .services .service-item, .alt-features .icon-box, .pricing .pricing-item, .faq .faq-container .faq-item, .features .feature-box {
  background-color: #fff;
}

/* white footer logo */
.footer .footer-about img,
.footer a.d-flex img { filter: brightness(0) invert(1); max-height: 56px; }

/* language toggle */
@media (min-width: 1200px) {
  .navmenu .nav-lang a { border: 1px solid rgba(1, 41, 112, .25); border-radius: 999px; padding: 6px 14px; margin-inline-start: 8px; font-size: 13px; }
  .navmenu .nav-lang a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
}
.navmenu .nav-lang a i { margin-inline-end: 5px; }

/* English / LTR */
html[lang="en"] { --default-font: "Roboto", system-ui, sans-serif; --heading-font: "Nunito", sans-serif; --nav-font: "Poppins", sans-serif; }
html[dir="ltr"] .footer .footer-links ul i { margin-left: 0; margin-right: 3px; }
html[dir="ltr"] .faq .faq-container .faq-item .faq-toggle { right: 20px; left: auto; }

/* About page */
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 999px;
  background: var(--cta); color: #1b2b3d; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 22px rgba(250, 178, 55, .38); transition: transform .2s, background .2s;
}
.btn-cta:hover { background: #e89a14; color: #1b2b3d; transform: translateY(-2px); }
.about-page .section { padding: 72px 0; }
.eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(65, 84, 241, .12); color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.about-heading { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.4; margin-bottom: 18px; }
.about-intro .lead-text { font-size: 18px; color: #1b2b3d; }
.about-intro p { color: var(--muted); }
.about-intro .btn-cta { margin-top: 12px; }
.about-visual { position: relative; padding: 28px; background: linear-gradient(135deg, #dfe8ff, #fff1d6); border-radius: 30px; }
.about-visual img { border-radius: 20px; width: 100%; }
.float-chip { position: absolute; background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-md); display: flex; gap: 8px; align-items: center; color: var(--brand-deep); }
.float-chip i { color: var(--brand); }
.chip-a { top: 14px; inset-inline-start: -8px; }
.chip-b { bottom: 18px; inset-inline-end: -8px; }
.story-box { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.why-card, .uc-card, .mv-card, .val-card { height: 100%; background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(1, 41, 112, .06); transition: transform .25s, box-shadow .25s; }
.why-card:hover, .uc-card:hover, .mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card, .uc-card { text-align: center; }
.why-card > i, .uc-card > i { font-size: 36px; color: var(--brand); display: block; margin-bottom: 12px; }
.why-card h4, .uc-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.why-card p, .uc-card p, .mv-card p { color: var(--muted); margin: 0; }
.mv-card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--brand), #6f7dff); margin-bottom: 16px; }
.mv-card h3 { font-weight: 800; }
.values-band { background: linear-gradient(135deg, #012970, #2a3fcf); color: #fff; }
.values-band .section-title h2 { color: #fff; }
.val-card { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); box-shadow: none; text-align: center; }
.val-card > i { font-size: 34px; color: var(--cta); display: block; margin-bottom: 10px; }
.val-card h4 { color: #fff; font-weight: 800; }
.val-card p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band { background: linear-gradient(135deg, #012970, #2a3fcf); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 18px; margin-bottom: 24px; }

/* ---------- FAQ accordion (v3) ---------- */
.faq .faq-container { display: flex; flex-direction: column; gap: 14px; }
.faq .faq-container .faq-item {
  background: #fff; border: 1px solid rgba(1, 41, 112, .08); border-radius: 16px;
  padding: 0; overflow: hidden; box-shadow: 0 4px 16px rgba(1, 41, 112, .06);
  transition: box-shadow .25s, border-color .25s;
}
.faq .faq-container .faq-item:hover { box-shadow: 0 10px 26px rgba(1, 41, 112, .12); }
.faq .faq-container .faq-item h3 {
  margin: 0; padding: 18px 64px 18px 20px; gap: 14px;
  font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--heading-color);
  display: flex; align-items: center; cursor: pointer;
}
html[dir="rtl"] .faq .faq-container .faq-item h3 { padding: 18px 20px 18px 64px; }
.faq .faq-container .faq-item .q-ico {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; font-size: 18px;
  color: var(--accent-color); background: rgba(65, 84, 241, .1);
}
.faq .faq-container .faq-item .faq-content { padding: 0 20px; }
.faq .faq-container .faq-item .faq-content .faq-answer {
  margin: 0; padding: 0 0 0 50px; color: var(--default-color); font-size: 16px; line-height: 1.9;
}
html[dir="rtl"] .faq .faq-container .faq-item .faq-content .faq-answer { padding: 0 50px 0 0; }
.faq .faq-container .faq-active { border-color: var(--accent-color); }
.faq .faq-container .faq-active .faq-content { padding-top: 0; padding-bottom: 20px; }
.faq .faq-container .faq-active h3 { color: var(--accent-color); }
.faq .faq-container .faq-active .q-ico { background: var(--accent-color); color: #fff; }
.faq .faq-container .faq-item .faq-toggle {
  position: absolute; top: 18px; inset-inline-end: 18px; right: auto; left: auto;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #eef2fb; color: var(--heading-color); font-size: 15px; line-height: 1;
  transition: transform .3s, background .3s, color .3s;
}
html[dir="rtl"] .faq .faq-container .faq-item .faq-toggle { right: auto; left: auto; inset-inline-end: 18px; }
.faq .faq-container .faq-active .faq-toggle { transform: rotate(180deg); background: var(--accent-color); color: #fff; }
.faq-more { margin-top: 36px; }
.faq-more p { font-weight: 700; color: var(--heading-color); margin-bottom: 12px; }
@media (max-width: 575px) {
  .faq .faq-container .faq-item h3 { font-size: 15.5px; padding-inline-end: 56px; }
  .faq .faq-container .faq-item .faq-content .faq-answer { padding: 0 !important; }
}

/* ---------- FAQ two columns (v4) ---------- */
.faq .faq-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; align-items: start; }
@media (max-width: 991px) { .faq .faq-container { grid-template-columns: 1fr; } }

/* ---------- Language switch button (v4) ---------- */
.navmenu li.nav-lang > a {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: var(--brand-deep); font-size: 14px; font-weight: 700; line-height: 1;
  border: 1.5px solid var(--accent-color);
  box-shadow: 0 3px 10px rgba(65, 84, 241, .15);
  transition: background .2s, color .2s, transform .2s;
}
.navmenu li.nav-lang > a i { margin: 0; font-size: 16px; color: var(--accent-color); line-height: 1; }
.navmenu li.nav-lang > a:hover { background: var(--accent-color); color: #fff; transform: translateY(-1px); }
.navmenu li.nav-lang > a:hover i { color: #fff; }
@media (min-width: 1200px) { .navmenu li.nav-lang { margin-inline: 10px; } }
@media (max-width: 1199px) { .navmenu li.nav-lang { padding: 8px 20px; } .navmenu li.nav-lang > a { width: fit-content; } }

/* ---------- FAQ collapse fix (v5): answer wrapper must be a single grid child ---------- */
.faq .faq-container .faq-item .faq-content { display: grid; grid-template-rows: 0fr; padding-top: 0; padding-bottom: 0; }
.faq .faq-container .faq-item .faq-content > .faq-answer { min-height: 0; overflow: hidden; }
.faq .faq-container .faq-item .faq-content .faq-answer p,
.faq .faq-container .faq-item .faq-content .faq-answer div { margin: 0 0 .7em; padding: 0; }
.faq .faq-container .faq-item .faq-content .faq-answer > :last-child { margin-bottom: 0; }
.faq .faq-container .faq-active .faq-content { grid-template-rows: 1fr; }
.faq .faq-container .faq-item:not(.faq-active) .faq-content { visibility: hidden; opacity: 0; height: 0; }
