/* ==========================================================================
   JP Web Solutions - Home page layout
   Component styles come from theme.css. This file holds the page layout,
   section spacing and the few component tweaks used on this page.
   Breakpoint overrides live in responsive.css.
   ========================================================================== */

:root {
  --jp-primary: #d3ed31;
  --jp-secondary: #eaebe6;
  --jp-text: #494a46;
  --jp-accent: #f6f7f7;
  --jp-dark: #050505;
  --jp-dark-2: #191a18;
  --jp-border: #e0e0dc;
  --jp-white: #ffffff;
  --jp-radius: 16px;
}

/* ---------- Base ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}
address {
  margin: 0;
  font-style: normal;
}
.site_logo .logo {
  display: block;
  width: 120px;
}
.site_logo .logo img,
.hamburger_logo img {
  width: 100%;
  height: auto;
}
.hamburger_logo .logo {
  display: block;
  width: 120px;
}

/* Theme heading sizes, kept when tags change for a correct outline */
.client-content .sec-title {
  font-size: 18px;
}
.search_popup .search_input .title {
  font-size: 24px;
}
.hamburger-title {
  font-size: 18px;
}
/* Card titles use h3 for the outline but keep the theme h4/h5/h6 sizes */
.choose-box .title,
.service-item .title,
.project-item .title,
.process-item .title,
.blog-item .title {
  font-size: 24px;
  line-height: 1.333;
}
.tech-item .title,
.footer-widget .title,
.jp-faq-contact > .title {
  font-size: 20px;
  line-height: 1.4;
}
.jp-contact-infos .contact-item .title {
  font-size: 16px;
  line-height: 1.444;
}
.jp-accordion-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* ---------- Bootstrap 4 compatibility ----------
   The CMS runs Bootstrap 4.6.2. These cover the few Bootstrap 5 helpers the
   layout uses and undo Bootstrap 4 defaults that clash with the design. */
a:hover,
a:focus {
  text-decoration: none;
}
label {
  margin-bottom: 0;
}
.gy-3 {
  row-gap: 1rem;
}
.row > .col {
  overflow: visible;
}
@media (min-width: 1400px) {
  .col-xxl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ---------- Header ---------- */
/* Keyboard users: open a dropdown while focus is inside it */
.mainmenu ul > li.jp-focus > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
  pointer-events: inherit;
}
/* Pages without a banner: the header sits in the normal flow */
.jp-header-static {
  position: relative;
  padding-bottom: 30px;
}

/* ---------- Layout helpers ---------- */
.container.jp-boxed {
  width: 100%;
  max-width: 1350px;
  padding-left: 15px;
  padding-right: 15px;
}
.jp-sec-gap {
  padding: 0 15px;
}
.jp-top-space {
  padding-top: 15px;
}
.jp-heading-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.jp-heading-550 {
  max-width: 550px;
}
.jp-heading-500 {
  max-width: 500px;
}
.jp-heading-row .sec-heading,
.jp-heading-row .sec-heading .sec-title {
  margin: 0;
}
.jp-w-250 {
  width: 250px;
  max-width: 250px;
  flex: 0 0 auto;
}
.jp-w-270 {
  width: 270px;
  max-width: 270px;
  flex: 0 0 auto;
}
.jp-show-sm {
  display: none;
}
.jp-why .jp-show-sm {
  margin-top: 10px;
}

/* ---------- Hero ---------- */
.jp-hero .hero-bg {
  background-color: var(--jp-secondary);
  background-image: url("../images/hero-bg.webp");
}
.jp-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: url("../images/section-bg.webp") no-repeat center / cover;
  opacity: 0.1;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.jp-footer-main .jp-bg-img {
  opacity: 0.15;
}
.banner-img-area .banner-img {
  width: 100%;
  max-width: -webkit-fill-available;
  max-width: stretch;
  overflow: hidden;
  border-radius: var(--jp-radius);
  -webkit-mask-image: none;
  mask-image: none;
}
.service-item .desc {
  min-height: 85px;
}
.tech-item {
  max-width: 470px;
}
.project-item .title {
  max-width: 275px;
}

/* ---------- Clients ---------- */
.jp-clients {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 120px;
}
.jp-clients-slider {
  overflow: hidden;
}

/* ---------- Why ---------- */
.jp-why {
  padding: 120px 0;
}
.jp-why .jp-boxed {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.jp-why .choose-box .title {
  font-size: 20px;
}

/* ---------- About ---------- */
.jp-about {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 120px 0;
  border-radius: var(--jp-radius);
  background-color: var(--jp-secondary);
}
.jp-about-grid {
  position: relative;
  z-index: 3;
}
.jp-about-media {
  display: flex;
}
.jp-about-content {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 55px 70px 64px 45px;
  border-radius: var(--jp-radius);
}
.about-el-content {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.about-el-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--jp-accent);
  -webkit-mask-image: url("../images/shape-shape-1.svg");
  mask-image: url("../images/shape-shape-1.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: bottom right;
  mask-position: bottom right;
}
.jp-about-content .sec-heading {
  margin: 0 0 15px;
}
.jp-funfacts {
  display: flex;
  gap: 20px;
  margin-top: 22px;
}
.jp-funfacts .about-funfact {
  flex: 0 1 auto;
  width: 160px;
}
.jp-funfacts .jp-funfact-divider {
  width: 181px;
}
.jp-funfact-divider {
  padding-left: 20px;
  border-left: 1px solid var(--jp-border);
}
.jp-about-btn {
  margin-top: 25px;
}
.jp-about-circle {
  position: absolute;
  right: 0;
  bottom: 0;
}
.jp-about .award-circle {
  background: var(--jp-dark-2) url("../images/circle-bg.webp") no-repeat center / cover;
}
.jp-about .award-circle .circle-text {
  background-image: url("../images/circle-text-stoke-2012.png");
}

/* ---------- Services ---------- */
.jp-services {
  padding: 120px 0;
}
.jp-services .jp-boxed {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.jp-services-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
}
.jp-services-intro .sec-heading {
  margin: 0;
}
.jp-services .jp-title-21 .title,
.jp-work .project-item .title {
  font-size: 21px;
}

/* ---------- Video ---------- */
.jp-video .video-bg img {
  width: 100%;
  height: auto;
}
.jp-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 5, 5, 0.85);
}
.jp-video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
}
.jp-video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.jp-video-close {
  position: absolute;
  top: -44px;
  right: 0;
  border: 0;
  background: none;
  color: var(--jp-white);
  font-size: 36px;
  line-height: 1;
}

/* ---------- Tools ---------- */
.jp-tools {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 120px 15px;
  border-top: 1px solid var(--jp-border);
}
.jp-tools .sec-heading {
  margin: 0;
}
.jp-tools-marquees {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}

/* ---------- Work ---------- */
.jp-work {
  display: flex;
  flex-direction: column;
  gap: 50px;
  overflow: hidden;
  padding: 120px 0;
  border-radius: var(--jp-radius);
  background-color: var(--jp-secondary);
}

/* ---------- Process ---------- */
.jp-process {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 120px 0;
}
.jp-process .sec-heading {
  margin: 0;
}
.process-wrap {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

/* ---------- FAQ ---------- */
.jp-faq {
  padding-bottom: 120px;
}
.jp-faq-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.jp-faq-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.jp-faq-heading .sec-heading {
  margin: 0;
}
.jp-faq-contact {
  width: 380px;
  max-width: 380px;
  background-color: var(--jp-secondary);
}
.jp-faq-contact .faq-contact-item {
  background-color: var(--jp-accent);
}
.jp-faq-contact > .title,
.jp-faq-contact .faq-contact-number {
  font-family: var(--tj-ff-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.jp-faq-contact .faq-contact-number {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.jp-faq-contact .faq-contact-number a {
  color: var(--jp-dark);
}
.jp-faq-right {
  display: flex;
}

/* ---------- Contact ---------- */
.jp-contact {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 120px 0;
  border-radius: var(--jp-radius);
  background-color: var(--jp-secondary);
}
.jp-contact-left {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.jp-contact-heading {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.jp-contact-heading .sec-heading {
  margin: 0;
}
.jp-contact-infos {
  display: flex;
  flex-direction: row;
  gap: 0 15px;
}
.jp-contact-info-1 {
  flex: 0 0 auto;
  width: 30.286%;
  max-width: 30.286%;
  border-right: 1px solid var(--jp-border);
}
.jp-contact-info-2 {
  border-right: 1px solid var(--jp-border);
}
.jp-contact-right {
  position: relative;
  z-index: 3;
  display: flex;
}
.jp-contact-right .contact-form {
  width: 100%;
}

/* ---------- Insights ---------- */
.jp-insights {
  padding: 120px 0;
}
.jp-insights .jp-boxed {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.jp-insights .sec-heading {
  margin: 0;
}

/* ---------- Footer ---------- */
.jp-footer-cta {
  position: relative;
  z-index: 3;
  margin-bottom: -138px;
}
.jp-cta-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  border-radius: var(--jp-radius);
  background-color: var(--jp-primary);
}
.jp-cta-heading {
  display: flex;
  width: 500px;
}
.jp-cta-title {
  margin: 0;
  padding: 0;
  font-size: 60px;
  line-height: 1.025;
  color: var(--jp-dark-2);
}
.jp-cta-form-area {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 540px;
}
.jp-footer-gap {
  padding: 0 15px 15px;
}
.jp-footer-main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 138px;
  border-radius: var(--jp-radius);
  background-color: var(--jp-secondary);
}
.jp-footer-main::before,
.jp-footer-main::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--jp-primary);
  filter: blur(75px);
  opacity: 0.15;
  pointer-events: none;
}
.jp-footer-main::before {
  top: -100px;
  right: -100px;
}
.jp-footer-main::after {
  left: -100px;
  bottom: -100px;
}
.jp-footer-cols {
  position: relative;
  z-index: 3;
  padding: 90px 0 80px;
}
.jp-footer-col {
  display: flex;
  flex-direction: column;
}
.jp-footer-logo {
  display: block;
  max-width: 170px;
}
.jp-footer-logo img {
  width: 100%;
  height: auto;
}
.jp-footer-about .editor_text {
  margin: 20px 0 23px;
}
.jp-footer-about .editor_text p {
  margin: 0;
}
.jp-footer-contact {
  gap: 30px;
}
.jp-footer-col .footer-widget {
  margin: 0;
}
.jp-footer-contact .footer-contact-info {
  max-width: 100%;
}
.jp-company-reg {
  margin: 0;
}
.jp-copyright {
  position: relative;
  z-index: 3;
  padding: 23px 0;
  border-top: 1px solid var(--jp-border);
}
.jp-copyright::before {
  content: "";
  position: absolute;
  top: -115px;
  right: 350px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--jp-primary);
  filter: blur(75px);
  opacity: 0.15;
  pointer-events: none;
}
.jp-copyright-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.copyright-text {
  padding-top: 26px;
}
.copyright-text a {
  color: var(--jp-white);
}
.copyright-text a:hover {
  color: var(--jp-primary);
}

/* Title clipping used by the hero heading animation */
.jp-clip {
  overflow: hidden;
}


/* JP Web: stop split-text heading masks clipping descenders (g, y, p) */
[class*="tj-split-text"] > div {
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}


/* Equal height "Why JP Web" boxes */
.jp-why .row.align-items-start { align-items: stretch !important; }
.jp-why .tj-choose-box-wrap, .jp-why .choose-box { height: 100%; }

/* Equal height service boxes */
.jp-services .row.align-items-start { align-items: stretch !important; }
.jp-services .service-item { height: 100%; }
.jp-services .service-item { display: flex; flex-direction: column; }
.jp-services .service-inner { flex: 1 1 auto; display: flex; flex-direction: column; }
.jp-services .service-inner .service-list { margin-top: auto; }
.jp-services .row > .col:last-child .service-item .title { font-size: 21px; }

/* Process titles on one line */
.jp-process .process-content .title { max-width: 100%; }


/* Footer Free Health Check strip */
.jp-subscribe-form input { padding-right: 320px !important; }
.jp-subscribe-form .tj-primary-btn { top: 4px !important; right: 4px !important; height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; width: auto !important; }
@media (max-width: 575px) { .jp-subscribe-form input { padding-right: 20px !important; } .jp-subscribe-form .tj-primary-btn { position: static !important; width: 100% !important; height: 48px !important; margin-top: 10px; } }
.jp-subscribe-form input { border-radius: 50px !important; padding-left: 24px !important; }
.jp-subscribe-form .tj-primary-btn { border-radius: 50px !important; padding: 0 4px 0 24px !important; }
.jp-subscribe-form .tj-primary-btn .btn-icon { width: 32px !important; height: 32px !important; }
.jp-subscribe-form .tj-primary-btn .btn-icon::before { width: 32px !important; height: 32px !important; }

/* Header submenu links stay on one line */
.mainmenu ul > li > .sub-menu > li > a { white-space: nowrap; }
.mainmenu ul > li > .sub-menu > li > .sub-menu { width: auto; min-width: 250px; }
/* Footer copyright: company name readable on the light background */
.jp-copyright .copyright-text > a { color: #494a46; font-weight: 600; }
.jp-copyright .copyright-text > a:hover { text-decoration: underline; }


/* ---------- Footer: contact layout and column balance ---------- */
.jp-footer .footer-contact-info{max-width:290px}
.jp-footer .footer-contact-info .contact-item.footer-email{display:block;margin-bottom:12px}
.jp-footer .footer-contact-info .contact-item .footer-email-label{display:block;font-size:13px;line-height:1.3;opacity:.75;margin-bottom:2px}
.jp-footer .footer-contact-info .contact-item.footer-email a{display:inline-block;word-break:break-word}
.jp-footer .footer-contact-info .contact-hours{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:2px;margin-top:6px}
.jp-footer .footer-contact-info .contact-hours .footer-email-label{display:block;flex:1 1 calc(100% - 30px);margin:0}
.jp-footer .footer-contact-info .contact-hours span:not(.footer-email-label){display:block;flex:1 1 100%;padding-left:28px;color:var(--tj-color-heading-primary)}
.jp-footer-company{margin-top:28px}
.jp-footer-company .jp-company-reg{margin:0 0 20px;font-size:14px;line-height:1.7;opacity:.85}
.jp-footer-company .social-links{margin:0}


/* Hero slider - current image slides out, new one slides in (added 2026-11-18) */
.jp-hero .carousel-fade .carousel-item { transition: opacity .9s ease-in-out !important; }
.jp-hero .banner-img img { transition: transform .9s cubic-bezier(.22,.61,.36,1), opacity .9s ease; }
.jp-hero .carousel-item.active.carousel-item-left .banner-img img { transform: translateX(-90px);opacity: 0; }
.jp-hero .carousel-item-next:not(.carousel-item-left) .banner-img img { transform: translateX(90px); opacity: 0; transition: none; }
.jp-hero .carousel-item.active.carousel-item-right .banner-img img { transform: translateX(90px); opacity: 0; }
.jp-hero .carousel-item-prev:not(.carousel-item-right) .banner-img img { transform: translateX(-90px); opacity: 0; transition: none; }

/* Our Work card images fill their box, so nothing is cropped at the top or bottom (added 2026-11-18) */
.project-item .project-img img { object-fit: fill !important; }
