/* ==========================================================================
   CapryTech brand layer – loaded after nexit.css
   Brand: navy #0B1C45, blue #1765D8, dark blue #0D3E9B
   ========================================================================== */
:root {
  --cpt-navy: #0B1C45;
  --cpt-blue: #1765D8;
  --cpt-blue-dark: #0D3E9B;
  --cpt-blue-soft: #EAF1FD;
  --cpt-border: #E3E8F3;
  --cpt-radius: 16px;
  --cpt-whatsapp: #25D366;
}

/* ---------- Logo ---------- */
.cpt-logo { width: 190px; height: auto; }
.cpt-logo-offcanvas { width: 170px; height: auto; }
.cpt-logo-footer { width: 200px; height: auto; }
@media (max-width: 575px) { .cpt-logo { width: 150px; } }

/* ---------- Generic helpers ---------- */
.cpt-rounded { border-radius: var(--cpt-radius); }
.cpt-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cpt-btn-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cpt-lead { font-size: 18px; line-height: 1.7; max-width: 720px; }
.cpt-h2 { font-size: 30px; line-height: 1.25; color: var(--cpt-navy); }
.cpt-text-light { color: rgba(255,255,255,.8); }
.oit-btn-blue i .fab { font-size: 14px; }

/* Template icon wrappers now hold Font Awesome icons */
.cpt-choose-icon i, .cpt-process-icon i { font-size: 38px; color: var(--cpt-blue); line-height: 1; }
.cpt-process-icon i { font-size: 26px; }
.cpt-feature-check { font-size: 24px; color: var(--cpt-blue); }

/* ---------- Page hero (inner pages) ---------- */
.cpt-page-hero { padding: 200px 0 100px; position: relative; overflow: hidden; }
.cpt-page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; opacity: .07;
  background: url("../img/logo/favicon.svg") no-repeat center / contain; pointer-events: none;
}
.cpt-page-hero h1 { font-size: 56px; line-height: 1.1; }
@media (max-width: 991px) { .cpt-page-hero { padding: 160px 0 80px; } .cpt-page-hero h1 { font-size: 42px; } }
@media (max-width: 575px) { .cpt-page-hero h1 { font-size: 34px; } }
.cpt-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.cpt-breadcrumb a { color: var(--cpt-navy); }
.cpt-breadcrumb a:hover { color: var(--cpt-blue); }
.cpt-breadcrumb i { font-size: 12px; opacity: .6; }
.cpt-breadcrumb span { color: var(--cpt-blue); }

/* ---------- Cards ---------- */
.cpt-service-card {
  display: flex; flex-direction: column; height: calc(100% - 30px); position: relative;
  padding: 36px 30px 30px; background: #fff; border: 1px solid var(--cpt-border); border-radius: var(--cpt-radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; color: inherit;
}
.cpt-service-card:not(.is-static):hover { transform: translateY(-6px); border-color: var(--cpt-blue); box-shadow: 0 20px 40px rgba(11,28,69,.08); }
.cpt-service-card h3 { font-size: 21px; line-height: 1.3; margin-bottom: 12px; color: var(--cpt-navy); }
.cpt-service-card p { flex: 1; }
.cpt-service-num { position: absolute; top: 24px; right: 28px; font-family: var(--oit-ff-heading); font-weight: 700; font-size: 34px; color: var(--cpt-blue-soft); }
.cpt-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cpt-blue); margin-top: 18px; }

.cpt-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 24px;
  font-size: 26px; color: var(--cpt-blue); background: var(--cpt-blue-soft);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); /* hexagon, from the logo */
}

.cpt-mv-card, .cpt-model-card, .cpt-contact-card, .cpt-sidebar-box {
  background: #fff; border: 1px solid var(--cpt-border); border-radius: var(--cpt-radius); padding: 40px 36px; height: 100%;
}
.cpt-mv-card h2, .cpt-model-card h3 { font-size: 26px; color: var(--cpt-navy); margin-bottom: 14px; }
.cpt-contact-card { text-align: center; padding: 34px 24px; height: calc(100% - 30px); }
.cpt-contact-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--cpt-navy); }
.cpt-contact-card a, .cpt-contact-card span { color: var(--oit-text-body); word-break: break-word; }
.cpt-contact-card a:hover { color: var(--cpt-blue); }
.h-100-card { height: calc(100% - 30px); }

/* ---------- Lists & chips ---------- */
.cpt-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.cpt-chips li {
  padding: 9px 18px; border-radius: 40px; background: var(--cpt-blue-soft); color: var(--cpt-navy);
  font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: all .25s ease;
}
.cpt-chips li:hover { border-color: var(--cpt-blue); background: #fff; }

.cpt-check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.cpt-check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 575px) { .cpt-check-list.two-col { grid-template-columns: 1fr; } }
.cpt-check-list li { display: flex; gap: 12px; align-items: flex-start; }
.cpt-check-list i { color: var(--cpt-blue); margin-top: 5px; }

.cpt-role-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.cpt-role-list li { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-weight: 500; }
.cpt-role-list i { color: #5B9BFF; }
@media (max-width: 575px) { .cpt-role-list { grid-template-columns: 1fr; } }
.cpt-team-area { background-size: cover; background-position: center; background-color: var(--cpt-navy); }

/* ---------- Process stages (How we work) ---------- */
.cpt-stage { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 50px 0; border-bottom: 1px solid var(--cpt-border); }
.cpt-stage:last-child { border-bottom: 0; }
.cpt-stage-num { font-family: var(--oit-ff-heading); font-weight: 800; font-size: 96px; line-height: 1; color: var(--cpt-blue-soft); -webkit-text-stroke: 1px var(--cpt-blue); }
.cpt-stage-body h2 { font-size: 40px; color: var(--cpt-navy); margin-bottom: 14px; }
.cpt-stage-body > p { font-size: 18px; max-width: 720px; margin-bottom: 26px; }
@media (max-width: 767px) { .cpt-stage { grid-template-columns: 1fr; gap: 10px; } .cpt-stage-num { font-size: 64px; } }

.cpt-mini-step { padding: 26px 24px; border-radius: var(--cpt-radius); background: var(--oit-gray-1); height: 100%; }
.cpt-mini-step span { font-family: var(--oit-ff-heading); font-weight: 800; color: var(--cpt-blue); font-size: 18px; }
.cpt-mini-step h4 { font-size: 22px; margin: 6px 0 10px; color: var(--cpt-navy); }

/* ---------- Service sidebar ---------- */
.cpt-sidebar { position: sticky; top: 120px; }
.cpt-sidebar-box { padding: 32px 28px; height: auto; }
.cpt-sidebar-box h3 { font-size: 22px; margin-bottom: 18px; color: var(--cpt-navy); }
.cpt-sidebar-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cpt-sidebar-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 10px;
  background: var(--oit-gray-1); color: var(--cpt-navy); font-weight: 500; transition: all .25s ease;
}
.cpt-sidebar-links a:hover, .cpt-sidebar-links a.active { background: var(--cpt-blue); color: #fff; }
.cpt-sidebar-cta { background: var(--cpt-navy) url("../img/shape/cta-bg.png") no-repeat center / cover; border: 0; }
.cpt-sidebar-cta h3, .cpt-sidebar-cta p { color: #fff; }
.cpt-sidebar-cta p { opacity: .85; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.cpt-footer-info { display: grid; gap: 14px; }
.cpt-footer-info a, .cpt-footer-address { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); }
.cpt-footer-info i { width: 18px; color: #5B9BFF; }
.cpt-slogan { margin-left: 8px; opacity: .7; letter-spacing: .5px; }
@media (max-width: 575px) { .cpt-slogan { display: block; margin: 6px 0 0; } }

/* ---------- Offcanvas social ---------- */
.cpt-offcanvas-social { display: flex; gap: 10px; }
.cpt-offcanvas-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cpt-blue-soft); color: var(--cpt-navy); }

/* ---------- Contact form ---------- */
.cpt-form-status { min-height: 1.5em; margin: 0 0 10px; font-weight: 500; }
.cpt-form-status.is-error { color: #D93025; }
.cpt-form-status.is-success { color: #12833B; }
.cpt-contact-form .is-invalid { border-color: #D93025 !important; }

/* ---------- Floating WhatsApp ---------- */
.cpt-whatsapp-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 999; width: 58px; height: 58px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
  background: var(--cpt-whatsapp); box-shadow: 0 10px 25px rgba(37,211,102,.4); transition: transform .25s ease;
}
.cpt-whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Legal ---------- */
.cpt-legal h2 { font-size: 26px; margin: 36px 0 12px; color: var(--cpt-navy); }

/* ---------- 404 ---------- */
.cpt-404 { min-height: 80vh; display: flex; align-items: center; }
.cpt-404-code { display: block; font-family: var(--oit-ff-heading); font-weight: 800; font-size: 160px; line-height: 1; color: var(--cpt-blue); }
@media (max-width: 575px) { .cpt-404-code { font-size: 110px; } }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--cpt-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- Home hero ---------- */
.oit-slider-text p { max-width: 560px; }
@media (max-width: 1199px) {
  .oit-slider-thumb img { object-position: 80% center; }
  .oit-slider-card.slider-overlay::after { background: linear-gradient(90deg, rgba(11,28,69,.92) 0%, rgba(11,28,69,.75) 60%, rgba(11,28,69,.4) 100%); }
}
@media (min-width: 1200px) { .oit-slider-title { font-size: 88px; line-height: 1.05; } }
.oit-btn-blue.cpt-wa-btn > i.cpt-wa-icon svg { position: static; transform: none; opacity: 1; }
.oit-btn-blue.cpt-wa-btn:hover > i.cpt-wa-icon svg { transform: scale(1.12); }

/* ---------- Contact panel ---------- */
.oit-contact-info span { display: block; color: rgba(255,255,255,.85); }
.oit-contact-area + .pb-100 { padding-bottom: 170px; }
.oit-contact-info span { line-height: 1.5; font-size: 15px; }

/* ---------- Home service slider: equal-height cards ---------- */
.oit-service-active .swiper-wrapper { align-items: stretch; }
.oit-service-active .swiper-slide { height: auto; display: flex; }
.oit-service-active .oit-service-item { display: flex; flex-direction: column; width: 100%; height: 100%; }
.oit-service-active .oit-service-content { flex: 1; display: flex; flex-direction: column; }
.oit-service-active .oit-service-content p { flex: 1; }
.oit-service-active .oit-link-btn { align-self: flex-start; }

/* ---------- About fact list ---------- */
.cpt-fact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.cpt-fact-list li { flex: 1 1 140px; padding: 18px 20px; border-radius: 14px; background: var(--cpt-blue-soft); }
.cpt-fact-list strong { display: block; font-family: var(--oit-ff-heading); font-size: 30px; color: var(--cpt-blue); line-height: 1.1; }
.cpt-fact-list span { font-size: 14px; color: var(--cpt-navy); }

/* ---------- Footer spacing ----------
   The template pulls the footer 120px up behind the CTA band and pads it 200px.
   Reduce the padding so the footer content sits closer to the band. */
@media (min-width: 1200px) {
  .oit-footer-wrap .oit-section-wrap { padding-top: 40px; }
}
/* Pages that don't end with a CTA band: keep the footer from covering the last section */
main > section:last-child:not(.oit-cta-area) { margin-bottom: 120px; }
@media (max-width: 1199px) { main > section:last-child:not(.oit-cta-area) { margin-bottom: 0; } }

/* ---------- Header dropdown: one line per item ---------- */
.oit-header-menu nav ul li .submenu:not(.oit-megamenu-wrap) { width: max-content; min-width: 280px; padding-top: 22px; padding-bottom: 22px; }
.oit-header-menu nav ul li .submenu li a { white-space: nowrap; }
.oit-header-menu nav ul li .submenu li a::before { top: 50%; transform: translateY(-50%); }
.oit-header-menu nav ul li .submenu li a:hover, .oit-header-menu nav ul li .submenu li.active a { color: var(--cpt-blue); }
