/* Global Reset / Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-width: 340px; /* or 500px, whatever you want */
}


section {
  scroll-margin-top: 76px;   /* navbar height */
}

.section-contact {
  scroll-margin-top: 90px !important;
}

.section-services {
  scroll-margin-top: 0px !important;
}

body {
  font-family: "Onest", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

html {
  scroll-behavior: smooth;   /* turns any #hash jump into a glide   */
}

/* Container Padding */
.container {
  /* max-width: 100rem; */
  margin: 0 auto;
  padding: 0 2rem; /* Standard left/right padding */
}

/* Optional Extras */
header,
footer {
  padding: 2rem 0;
  text-align: center;
}
main {
  padding: 4rem 0;
}

/* Navbar Wrapper */
.navbar {
  position: sticky;
  top: 0;
  background-color: #fff;
  padding: 1rem 0;
  z-index: 1000;
}

/* Layout Container */
.navbar-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Left Section */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  height: 30px;       /* match your header button height if needed */
}

.logo-svg {
  height: 30px;        /* or use max-width if needed */
  width: auto;         /* maintain aspect ratio */
  display: block;      /* removes inline spacing */
  cursor: pointer;
}

.mobile-logo-svg {
  height: 50px;        /* or use max-width if needed */
  width: auto;         /* maintain aspect ratio */
  display: block;      /* removes inline spacing */
  cursor: pointer;
}


.descriptor {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: #444;
  line-height: 1.2;
  text-align: left;
}

/* Center Navigation */
.nav-center {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.nav-center a {
  text-decoration: none;
  color: #222;
  font-size: 0.95rem;
}

/* Dropdown container */
.nav-dropdown {
  position: relative;
}

/* Trigger inherits your link styles */
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  text-decoration: none;
}

/* The submenu */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;         /* tweak width as needed */
  padding: .5rem 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: none;            /* hidden by default */
  z-index: 1000;            /* above header */
}

/* Submenu links */
.nav-dropdown-menu a {
  display: block;
  padding: .5rem .75rem;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: #f3f4f6;
}

/* Show on hover and keyboard focus */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

/* Optional: visual caret */
.caret { font-size: .85em; line-height: 1; }

/* Helpful on narrow headers to keep menu inside viewport */
.nav-dropdown-menu {
  max-width: 90vw;
  /* If your nav sits near the right edge sometimes, you can flip:
     transform-origin: top right;
     right: 0; left: auto;   // uncomment if you prefer right-align
  */
}

/* Right Section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.email {
  font-size: 0.85rem;
  color: #000000;
  font-weight: 500;
}

.contact-btn {
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 175px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #1b5ec9;
  transition: background 150ms ease-in-out;
  text-decoration: none;
  line-height: 44px;
}

.contact-btn:hover {
  background: #1750ac;
}


.case-btn {
  color: #1b5ec9;
  /*padding: 0.5rem 1rem;*/
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 175px;
  height: 45px;
  display: inline-flex;     /* or flex, but inline-flex keeps natural width */
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #ffffff;
  transition: background 150ms ease-in-out;
  text-decoration: none;
  border: 1px solid #1b5ec9;
  display: none;
  line-height: 44px;
}

.case-btn:hover {
  background: #e6e6e6;
}


.go-home-btn {
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 175px;
  height: 44px;
  display: flex;
  padding: 5px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #1b5ec9;
  transition: background 150ms ease-in-out;
  text-decoration: none;
}

.go-home-btn:hover {
  background: #1750ac;
}

/* ===== Thank You Page ===== */
.thank-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg,#F6F8FF 0%,#FFFFFF 50%);
  border-radius: 24px;
}

.thank-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

.thank-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1B5EC9;
  box-shadow: 0 8px 24px rgba(27,94,201,.25);
  margin-bottom: 14px;
}
.thank-icon circle { fill: rgba(255,255,255,.18); } /* subtle ring */

.thank-badge {
  display: inline-block;
  background: #e8f0ff;
  color: #1B5EC9;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 10px;
}

.thank-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: #171717;
}
.thank-title-accent {
  display: inline-block;
  background: #1B5EC9;
  color: #fff;
  padding: .25rem .6rem;
  border-radius: 12px;
  margin-left: .3rem;
}

.thank-subtitle {
  margin-top: 14px;
  color: #555;
  max-width: 56ch;
}

.thank-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px; padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid #1B5EC9;
  color: #1B5EC9;
  text-decoration: none;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.btn-outline:hover { background: #EBF2FF; }

.thank-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.thank-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
  padding: 22px 22px;
}
.thank-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.thank-text { color: #555; }

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: #333;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #1B5EC9;
  box-shadow: 0 6px 14px rgba(27,94,201,.25);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.thank-social { display: flex; gap: 10px; margin-top: 10px; }

/* Mobile */


@media (max-width: 900px) {
  .thank-grid { grid-template-columns: 1fr; }
}


.social-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #1B5EC9;
  transition: background 150ms ease-in-out;
}

.social-btn:hover {
  background: #1750ac;
}

.icon {
  width: 24px;
  height: 24px;
}

.main-intro-div {
  width: 100%;
  aspect-ratio: 5/2;
  border-radius: 40px;
  background: #F8F9FF;
  min-height: 563px;
  padding: 58px;
  display: flex;
  flex-direction: row;
  padding-right: 0px;
  overflow: hidden;
  align-items: flex-start;
}

.main-intro-text {
  color: #171717;
  font-family: "Unbounded", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  display: block;
  line-height: 120%;
}

.main-intro-already-here {
  display: inline-flex;
  transform: rotate(-1.354deg);
  padding: 18px 30px 26px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: #1B5EC9;
}

.main-intro-already-here span {
  color: #FFF;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: "Unbounded";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 57.6px */
}

.main-intro-left {
  width: 50%;
}

.main-intro-right {
  width: 50%;
  display: flex;
  align-items: flex-start;
  margin-top: -15px;
}

.main-intro-subtle {
  display: block;
  color: #616161;
  font-family: Onest;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  margin-top: 100px;
}

.main-intro-demo {
  display: inline-flex;
  position: relative; /* to contain the ripple */
  overflow: hidden;   /* clip the expanding circle */
  padding: 20px 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #171717;
  color: #FFF;
  font-family: Onest;
  font-size: 15px;
  font-weight: 400;
  line-height: 100%;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: background 150ms ease-in-out;
  text-decoration: none;
}

.main-intro-demo:hover {
  background: #313131;
}

.iphone-mockup {
  display: flex;
  justify-content: center;  /* centers the inner container */
  align-items: flex-start;
  width: 100%;
}

.iphone-frame {
  position: relative;       /* positioning context for overlays */
  width: 65%;               /* or whatever size the image should be */
}

.iphone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay positioning is now relative to .iphone-frame */
.overlay-box {
  position: absolute;
  padding: 20px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 10;
  width: 65%;
  aspect-ratio: 5/2;
  border-radius: 20px;
  border: 1px solid rgba(218, 218, 218, 0.20);
  background: #FFF;
}

.overlay-box h2 {
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 24px */
}

.overlay-box span {
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  display: inline-block;
  margin-top: 20px;
  opacity: 0.8;
}

.overlay-1 {
  top: 35%;
  left: -20%;
}

.overlay-2 {
  top: 11%;
  right: -20%;
}

.iphone-camera {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* make sure it sits above the screen */
}

.iphone-screen {
  position: block;
}

.iphone-border {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* make sure it sits above the screen */
}

.iphone-border svg {
  fill: rgba(0, 0, 0, 0.00);
  stroke-width: 1.042px;
  stroke: #F4F5F0;
  box-shadow: 0px 0px 0.347px 1.737px #AFB0AB inset;
}

.show-btn {
  display: none;
}

.overlay-demo {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 23rem;

}

/* Show line breaks only on medium and larger screens */
.break-md {
  display: none;
}

.break-md-pc {
  display: inline;
}

.solutions-disclaimer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 4/1;
  min-height: 300px;
}

.solutions-disclaimer-text {
  color: #171717;
  font-family: "Unbounded", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  display: block;
  line-height: 120%;
}

.solutions-disclaimer-blue {
  display: inline-flex;
  transform: rotate(1.622deg);
  padding: 15px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: #1B5EC9;
  margin-top: 5px;
  margin-left: 10px;
}

.solutions-disclaimer-blue span {
  color: #FFF;
  text-align: center;
  font-family: "Unbounded";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 43.2px */
}

.div-horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.div-horizontal.mt-50 {
  gap: 16px;
  width: 100%;
  display: flex;
  align-items: stretch;           /* default, but set it to be sure */
}

.mt-10 {
  margin-top: 10px !important;
}

.div-horizontal.mt-16 {
  gap: 16px;
  width: 100%;
  display: flex;
  align-items: stretch;           /* default, but set it to be sure */
}

.solutions-disclaimer-subtle {
  color: #1E1E1E;
  text-align: center;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.9;
}

.solutions-container {
  --gap: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--gap);
  padding-inline: 40px;
}

.solution-line {
  width: 100%;
    display: contents;
  grid-template-columns: repeat(3, 1fr); /* 3 per row by default */
  gap: 20px; /* space between cards */
}

.solution {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #F8F9FF;
  width: 100%;
  height: auto;
  padding: 30px;
  flex: 1;
}

.solution-head {
  min-height: 60px;  /* <— reserve space for up to 2-line titles */
  text-align: left;
  padding: 0;
}

.solution-span {
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.7;
}

.solution-title {
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 28.8px */
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.solution-description {
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  flex-grow: 1;

}

.success-div {
  width: 100%;
  height: auto;
  border-radius: 40px;
  background: #F8F9FF;
  min-height: 563px;
  padding: 58px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: flex-start;
}


.success-title {
  color: #1E1E1E;
  font-family: "Unbounded";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
}

.success-mission-blue {
  display: inline-flex;
  transform: rotate(-1.354deg);
  padding: 15px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: #1B5EC9;
  /* margin-top: 5px; */
  margin-left: 10px;
}

.success-mission-blue span {
  color: #FFF;
  text-align: center;
  font-family: Unbounded;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 43.2px */
}

.success-description {
  margin-top: 20px;
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.7;
  display: flex;
  flex-direction: column;
}

.white-rect {
  border-radius: 20px;
  background: #FFF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  /* flex: 1 1 0; */
}

.white-rect .title {
  color: #1E1E1E;
  font-family: "Unbounded";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  z-index: 100;
}

.white-rect .subtle {
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

.blue-rect {
  border-radius: 20px;
  background: #1B5EC9;
  padding: 20px;
  overflow: hidden;
  position: relative;
  display: flex;               /* stack children vertically           */
  flex-direction: column;

  /* flex: 1 1 0; */
}

.blue-rect .title {
  color: #FFF;
  font-family: "Unbounded";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.blue-cta {                     /* wrapper around subtle + button      */
  margin-top: auto;             /* ← pushes it to the bottom edge      */
  display: flex;
  flex-direction: column;
}

.blue-rect .subtle {
  color: #FFF;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.blue-rect a.demo-btn {          /* add a class so you don't style every link */
  display: inline-flex;          /* inline-flex keeps the intrinsic width      */
  padding: 16px 30px;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  border-radius: 10px;
  background: #fff;
  color: #1E1E1E;
  font-family: Onest, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 100%;
  border: none;                  /* removes blue outline in some browsers     */
  cursor: pointer;
  margin-top: 20px;
  transition: background 150ms ease-in-out;
  text-decoration: none;         /* kill underline                            */
}

.blue-rect a.demo-btn:hover {
  background: #F4F5F0;
}

.mt-50 {
  margin-top: 50px;
}

.mt-16 {
  margin-top: 16px;
}

.money-div {
  position: absolute;
  top: 10px;
  right: 10px;
  flex-shrink: 0;
  height: 100%;
  width: 50%;
}

.banknote-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.banknote {
  position: absolute;
  border-radius: 9.858px;
  background: #E1E5FF;
  box-shadow: 0px 3.288px 41.103px 0px rgba(0, 0, 0, 0.05);
  aspect-ratio: 2/1;
  height: 45%;
  overflow: hidden;
}

.banknote-1 {
  top: 90px;
  right: -130px;
  transform: rotate(43.171deg);
}

.banknote-2 {
  top: 90px;
  right: -70px;
  transform: rotate(28.699deg);
}

.banknote-3 {
  top: 140px;
  right: -70px;
  transform: rotate(13.247deg);
}

.banknote svg {
  position: absolute;
  inset: 0;                  /* top:0; right:0; bottom:0; left:0 */
  width: 200%;               /* ⬅️  twice as wide as the banknote */
  height: 200%;              /* ⬅️  twice as tall  “        ”     */
  margin: -28.8% 0 0 -70%;     /* centres the oversize graphic   */
  display: block;
  pointer-events: none;      /* optional – makes it non-clickable */
  z-index: 1;
}

.banknote span {
  position: relative;
  display: block;
  color: #FFF;
  font-family: "Unbounded";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 25.236px */
  margin-top: 10px;
  margin-left: 10px;
  z-index: 2;
}

.about-us {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 100px;
}

.about-us h1 {
  color: #1E1E1E;
  font-family: Unbounded;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  align-self: stretch;
}

.about-us ul {
  margin-top: 60px;
  margin-left: 20px;
  width: 80%;
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  opacity: 0.7;
}
/* .graphics-side{ width:50%; }
.circle-pack{
  position:relative;
  width:100%;
  aspect-ratio:2 / 1;
}
.circle-wrapper{
  position:absolute;
  width:calc(2000% / 51);
  height:calc(4000% / 51);
  aspect-ratio:1/1;
}

.cw-1{ left:0;                       z-index:3; }
.cw-2{ left:calc(3100% / 102);       z-index:2; }
.cw-3{ left:calc(6200% / 102);       z-index:1; }

.circle-wrapper::after{
  content:attr(data-caption);
  position:absolute;
  top:100%;
  left:50%;
  transform:translate(-50%, .6em);
  font:500 18px/1.25 "Onest", sans-serif;
  color:#1E1E1E;
  white-space:nowrap;
  text-align:center;
} */

/* .circle-wrapper::before{
  content:attr(data-sub);
  position:absolute;
  top:100%;
  left:50%;
  transform:translate(-50%, 2.8em);
  font:400 14px/1.3 "Onest", sans-serif;
  color:#1E1E1E;
  opacity:.6;
  white-space:nowrap;
  text-align:center;
} */

/* .circle{ width:100%; height:100%; } */

/* .circle-number {
  fill: #1B5EC9;
  text-align: center;
  font-family: "Unbounded";
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -3.2px;
} */


/* ---------- layout container ---------------------------------------- */
.graphics-side {
  width: 50%;                  /* keep the 50 % column you already had  */
}

/* use a 3×2 grid instead of absolute positioning --------------------- */
.circle-pack{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  /* grid-template-columns: repeat(3, 1fr); */
  /* grid-auto-rows: 1fr;          */
  /* gap: clamp(12px, 3vw, 32px);  */
  /* aspect-ratio: 3 / 2;          */
}

/* each cell ---------------------------------------------------------- */
.circle-wrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;         /* perfect circle                       */
  margin-bottom: 3.4em;
  /* outline: 1px dashed #aaa;  */
}

.badge-5plus .circle-bg{
  position:absolute; inset:0;
  border-radius:50%;
  background:#EEF0FF;
  display:flex; align-items:center; justify-content:center;
}
.badge-5plus span{
  font-family:"Unbounded"; font-weight:400;
  font-size:3.7rem; letter-spacing:-0.05em; color:#1B5EC9;
}

/* pictures ----------------------------------------------------------- */
.circle-img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* captions (unchanged from your code) ------------------------------- */
.circle-wrapper::after{
  content: attr(data-caption);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0.6em);
  font: 500 18px/1.25 "Onest", sans-serif;
  color: #1E1E1E;
  white-space: nowrap;
  text-align: center;
}
.circle-wrapper::before{
  content: attr(data-sub);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 2.8em);
  font: 400 14px/1.3 "Onest", sans-serif;
  color: #1E1E1E;
  opacity: .6;
  white-space: nowrap;
  text-align: center;
}

/* SVG in the badge keeps original styles ---------------------------- */
.circle       { width: 100%; height: 100%; }
.circle-number{
  fill: #1B5EC9;
  font-family: "Unbounded";
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -3.2px;
}

.chatbot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 0 0;
}

.chatbot h1 {
  color: #1E1E1E;
  text-align: center;
  font-family: "Unbounded";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
  margin-top: 30px;
}

.chatbot-text {
  display: inline-flex;
  transform: rotate(0.746deg);
  padding: 15px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: #1B5EC9;
  color: #FFF;
  text-align: center;
  font-family: "Unbounded";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 43.2px */
  transform:rotate(0.746deg) translateY(-7px);
}

.chatbot-description {
  color: #1E1E1E;
  text-align: center;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.chatbot-tablet {
  position: relative;
  width: 100%;
  max-width: 942px;
  aspect-ratio: 942 / 648;
  margin-top: 55px;
}

.chatbot-tablet img {
  width: 100%;
  height: auto;
  display: block;
}

.tablet-shell {
  width: 100%;
  height: auto;
  display: block;
}

.tablet-screen {
  position: absolute;
  background: #FFF;
  width: 899px;
  height: 584px;
  top: 19px;
  left: 22px;
  border-radius: 11px 11px 0px 0px;
}

.tablet-inner {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-us {
  position: relative;
  border-radius: 40px;
  background: #F8F9FF;
  display: flex;
  flex-direction: column;
  padding: 58px;
  width: 100%;
  margin-top: -30px;
  z-index: 2;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 70px;
}

.contact-us .div-horizontal {
  justify-content: flex-end;
  gap: 0.5rem
}

.form-left {
  width: 50%;
  flex: 1;
  padding-right: 10px;
}

.form-right {
  width: 50%;
  flex: 1;
  padding-left: 10px;;
}

.leave-request {
  display: flex;
  flex-direction: column;
  color: #1E1E1E;
  font-family: "Unbounded";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
}

.tablet-glow {
  position: absolute;
  top: -62.265px;
  left: -80.5px;
  z-index: -1;
}

.text-blue {
  color: #1B5EC9;
}

.form-description {
  margin-top: 20px;
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  opacity: 0.7;
}

.form-social {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
}

.form-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.form-social-row {
  width: 100%;
  max-width: 295px; /* adjust to match the .email-btn width */
}

.phone-btn {
  flex-grow: 1;
  min-width: 0;       /* ensures it shrinks if needed */
  padding: 14px 30px !important;
  margin-top: 10px !important;
}

.form-social-btn {
  position: relative; /* to contain the ripple */
  overflow: hidden;   /* clip the expanding circle */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #171717;
  color: #FFF;
  font-family: "Onest";
  font-size: 15px;
  font-weight: 400;
  line-height: 100%;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: background 150ms ease-in-out;
}

.form-social-btn:hover {
  background: #313131;
}

.email-btn {
  padding: 16px 30px;
  text-decoration: none;
}

/* Icon buttons stay fixed size */
.network-btn {
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  height: 44px;        /* same as .email-btn */
}

.network-btn-vk {
    padding: 13px 10px;
}

.form-group {
  margin-bottom: 15px;
}
input[type="text"] {
  display: flex;
  width: 100%;
  padding: 20px 24px 20px 24px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 10px;
  border: 0px;
  background: #FFF;
  color: #373737;
  font-family: "Onest";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 105.9%; /* 14.826px */
}

input[type="email"] {
  display: flex;
  width: 100%;
  padding: 20px 24px 20px 24px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 10px;
  border: 0px;
  background: #FFF;
  color: #373737;
  font-family: "Onest";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 105.9%; /* 14.826px */
}

.form-group textarea {
  display: flex;
  height: 149px;
  padding: 20px 160px 20px 24px;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  border-radius: 10px;
  background: #FFF;
  border: 0px;
  width: 100%;
  color: #373737;
  font-family: "Onest";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 105.9%; /* 14.826px */
  resize: none;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.custom-checkbox input[type="checkbox"] {
  display: none; /* hide native checkbox */
}

.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border-radius: 7px;
  border: 1px solid #737373;
  display: inline-block;
  position: relative;
  transition: background 0.2s ease;
}

/* checkmark appearance when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-submit-btn {
  display: flex;
  width: 218px;
  padding: 16px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #1B5EC9;
  color: #FFF;
  font-family: "Onest";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 14px */
  border: none;
  cursor: pointer;
  transition: background 150ms ease-in-out;
}

.form-submit-btn:hover {
  background: #1750ac;
}

.footer {
  background: #ffffff;
  padding: 40px 30px 0px 30px;
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  font-family: "Onest";
}

.footer-inner {
  max-width: 1400px; /* same as container */
  margin: 20px auto 0 auto;
  padding: 60px 30px 0 24px;         /* adds white space on both sides */
  border-radius: 40px 40px 0 0;
  background: #FAFAFA;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-inline: 28px;
}

.footer-left, .footer-nav, .footer-right {
  flex: 1;
  min-width: 200px;
}

.logo-block {
  display: flex;
  flex-direction: row;
  font-weight: bold;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
}

.company-info {
  text-align: left
}

.company-info p {
  margin: 4px 0;
  color: #777;
  text-align: left
}

.company-info a {
  color: #000;
  text-decoration: underline;
  display: inline-block;
  margin-top: 10px;
}

.footer-nav .div-horizontal {
  justify-content: center;
  gap: 34px;
}

.footer-nav strong {
  display: block;
  margin-bottom: 10px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-navigation-li {
  text-decoration: none !important;
  color: #555 !important;
  margin-top: 0 !important;
}

.footer-nav li {
  margin-bottom: 6px;
  color: #555;
}

.footer-right {
  text-align: right;
}

.footer-right .email {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  /*margin-top: -30px;*/
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: #777;
}

.footer-bottom a {
  color: #555;
  margin-right: 15px;
  text-decoration: none;
}

.credit img {
  height: 18px;
  vertical-align: middle;
}

.logo-email {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-inline: 28px;
}

.footer-subtle {
  color: #686868;
  text-align: right;
  font-family: "Onest";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.arabic-harf {
  color: #1b5ec9;
  font-family: Arial;
  font-size: 15px;
}

.faq {
  padding-inline: 50px;
  margin-top: 70px;
}

.faq-title {
  color: #1E1E1E;
  font-family: "Unbounded";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
}

.faq-divider {
  background: #EEE;
  height: 1px;
  opacity: 0.5;
}

.question {
  cursor: pointer;
}

.question-title {
  display: block;
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.question-horizontal {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.question-answer {
  display: block;
  margin-top: 10px;
  color: #1E1E1E;
  font-family: "Onest";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.question-answer-wrapper {
  overflow: hidden;
  height: 0;
  transition: height 0.4s ease;
}

.question.open .question-answer-wrapper {
  max-height: 500px; /* adjust based on expected content height */
}

.question-icon {
  transition: transform 0.3s ease;
}

.question.open .question-icon {
  transform: rotate(-45deg);
}

.transition-height {
  transition: height 0.3s ease-in-out;
  overflow: hidden;
}

ul {
  list-style: disc;
}

.question-ul {
  padding-left: 1.5rem;
}

.nav-center a {
  color: #000;
  transition: color .2s;
}

.nav-center a.active {
  color: #777;               /* grey highlight */
}

.review-card {
  flex: 1 1 15rem;
  position: relative;
  background-color: #F8F9FF;
  display: flex;
  max-width: 17rem;
  padding: 1.5rem 1rem 1.5rem 1rem;
  font-family: "Onest", sans-serif;
  text-align: center;
  flex-direction: column;
  color: #1E1E1E;
  border-radius: 1.2rem;
  align-items: center;
}

.review-footer {
  margin-top: auto;          /* pushes footer to the card’s bottom   */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quotation-mark {
  position: absolute;            /* removes it from normal flow        */
  top: 1.2rem;                        /* lock to card’s top-left corner      */
  left: 1.5rem;
  font-size: 3.5rem;               /* make it big                        */
  line-height: 1;
  color: #1E1E1E;                /* subtle tint                        */
  pointer-events: none;          /* clicks go through                  */
  user-select: none;             /* not selectable                     */
}

.review-text {
  flex: 1 0 0;
  display: block;
  /* align-items: flex-start; */
  margin-top: 1.8rem;
}

.review-container {
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2.8rem;
}

.review-image-wrapper {
  width: 8rem;              /* single canonical size */
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F8F9FF;
}


.nero {
  width: 6.3rem !important;
  height: 6.3rem !important;
}

.review-image-wrapper img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.nero-img {
  width: 100% !important;
  height: 100% !important;
}

.review-author {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.8rem;
}

.review-position {
  font-size: 0.8rem;
}

.review-image-wrapper-svg {
  background-color: #fff;
  width: 8rem;              /* single canonical size */
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-intro-left {
  height: 100%;
  width: 50%;
}

.chatbot-intro-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chatbot-benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 5rem;
  padding-inline: 3.5rem;
}

.pink-background {
  background-color: #F8F9FF;
}

.relative {
  position: relative;
}

.message-incoming {
  right: 4rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #fff;
  position: absolute;
  border-radius: 1.1rem;
  display: flex;
  flex-direction: column;
}

.nav-left .mobile-logo {
  display: none;
}

.message-outgoing {
  right: 1rem;
  top: 6rem;
  padding: 0.5rem 1rem;
  background-color: #1B5EC9;
  position: absolute;
  border-radius: 1.1rem;
  display: flex;
  flex-direction: column;
}

.message-span {
  font-family: "Onest", sans-serif;
  font-size: 1.4rem;
  user-select: none;
}

.message-time {
  color: rgba(0, 0, 0, 0.50);
  font-family: "Onest";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  user-select: none;
}

.message-outgoing .message-time {
  color: rgba(255, 255, 255, 0.50);
}

.message-outgoing .message-span {
  color: #FFF;
}

.message-tail {
  position: absolute;
  top: 4rem;
  right: 19rem;
}

.message-tail-outgoing {
  position: absolute;
  top: 9rem;
  right: 0.8rem;
  fill: #1B5EC9
}

.flip-horizontal {
  transform: scaleX(-1);
}

.block-container {
  gap: 16px;
  width: 100%;
  display: flex;
  align-items: stretch;           /* default, but set it to be sure */
  margin-top: 1rem;
}

.process-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.process-block {
  display: grid;
  grid-template-columns: 3ch 1fr;   /* ❶ fixed number col + flexible text col */
  column-gap: 1.5rem;
}

.process-number {
  height: auto;
  width: 2ch;

  display: flex;
  align-items: flex-start;       /* vertically center the digit */
  height: 100%;              /* stretch to full height of sibling */
  font-weight: 500;
  color: #1B5EC9;
  font-size: 2rem;
}

.number-wrapper {
  display: flex;             /* let child center itself */
  align-items: flex-start;
  align-self: stretch;       /* NEW: stretch wrapper to full flex height */
}

.process-title {
  /* margin-top: 3.4rem; */
  font-size: 2rem;
}

.block-title-div {
  display: flex;
  width: 100%;
  justify-content: center;

}

.examples-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1.5rem;
  align-items: stretch;
  justify-content: center;
  margin-top: 2.5rem;
}

.example-block {
  background-color: white;
  border-radius: 1rem;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  text-align: center;
  padding: 1rem 1.5rem;
}

.example-block .title {
  font-weight: 500;
  font-size: 1.5rem;
}

.example-block .description {
  font-size: 1rem;
  opacity: 0.8;
  display: block;
  margin-top: 1.5rem;
}

.example-block.offer {
  background-color: #1B5EC9;
  color: #FFF;
}

.offer a.demo-btn {          /* add a class so you don't style every link */
  display: inline-flex;          /* inline-flex keeps the intrinsic width      */
  padding: 16px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #fff;
  color: #1E1E1E;
  font-family: Onest, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 100%;
  border: none;                  /* removes blue outline in some browsers     */
  cursor: pointer;
  margin-top: 20px;
  transition: background 150ms ease-in-out;
  text-decoration: none;         /* kill underline                            */
}

.offer a.demo-btn:hover {
  background: #F4F5F0;
}

.p50m100 {
  width: 50%;
}

.pHormVer {
  flex-direction: row;
}

.mobile-only {
  display: none;
}

@media (max-width: 1170px) {
    .circle-pack {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
  }
  .circle-wrapper {
    width: 70%;
  }
  .circle-wrapper::after{
    font:500 18px/1.25 "Onest", sans-serif;
  }

  /* ─────────── text line 2  (lighter sub-line) ─────── */
  .circle-wrapper::before{
    font:400 14px/1.3 "Onest", sans-serif;
  }
}

@media (min-width: 1000px) and (max-width: 1161px) {
  .main-intro-div {
    aspect-ratio: unset;
    height: 38rem !important;
  }
}

@media (min-width: 1162px) and (max-width: 1300px) {
  .main-intro-div {
    aspect-ratio: unset;
    height: 37rem !important;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) {
  .main-intro-div {
    aspect-ratio: unset;
    height: 38rem;
  }
}

@media (min-width: 975px) and (max-width: 1269px) {
  .main-intro-div {
    aspect-ratio: unset;
    height: 42rem;
  }
}

@media (min-width: 501px) and (max-width: 630px) {
  .solutions-container {
    padding-inline: 0 !important;
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 800px) and (max-width: 870px){
  .circle-wrapper::after{
    font:500 16px/1.25 "Onest", sans-serif;
  }

  /* ─────────── text line 2  (lighter sub-line) ─────── */
  .circle-wrapper::before{
    font:400 12px/1.3 "Onest", sans-serif;
  }
}

@media (min-width: 501px) and (max-width: 975px) {

    .badge-5plus span {
      font-size: 3rem;
    }

    .solutions-container {
        margin-top: 5rem !important;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .iphone-mockup {
        width: 50%;
        margin-top: -10rem;
    }

    .overlay-box {
        padding: 15px
    }

  .main-intro-div {
    flex-direction: column;
    height: 42rem;
  }

  .main-intro-left {
    width: 100%;
  }

  .main-intro-right {
    width: 100%;
      justify-content: flex-end;
  }

  .main-intro-subtle {
    margin-top: 30px;
  }

  .break-md {
    display: inline;
  }

  .solutions-disclaimer-header-mobile {
    margin-top: 10rem;
    flex-direction: column !important;
  }
}


@media (min-width: 500px) and (max-width: 800px){
  .circle-wrapper::after{
    font:500 19px/1.25 "Onest", sans-serif;
  }

  /* ─────────── text line 2  (lighter sub-line) ─────── */
  .circle-wrapper::before{
    font:400 15px/1.3 "Onest", sans-serif;
  }
  .circle-wrapper {
    width: 80%;
  }
  .circle-pack {
    gap: 30px;
  }
  .about-us-ul {
    margin-top: 2rem !important;
    display: block;
  }
  .about-us .pHormVer {
    flex-direction: column;
  }
  .about-us .p50m100 {
    width: 100%;
  }
  .graphics-side {
    width: 100%;
    margin-top: 2rem;
  }

  .iphone-mockup {
    margin-top: 3rem;
    width: 100%;
  }
  .main-intro-left .main-intro-demo {
    display: none;
  }
  .main-intro-div {
    height: 62rem;
  }
  .overlay-demo-btn .overlay-demo {
    display: block;
    top: 30rem;
  }
}


@media (min-width: 501px) and (max-width: 950px) {
  .solution-line {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 0px) and (max-width: 430px) {
  .social-top {
    display: none;
  }
}

@media (max-width: 1090px) {
  .nav-center {
    display: none;
  }
  .case-btn {
    display: block;
  }
}

@media (max-width: 800px) {
  .problem-solution-div {
    flex-direction: column !important;
  }

  .problem-solution-div .problem, .solution {
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  .email-nav {
    display: none;
  }
}

@media (max-width: 730px) {
  .contact-btn, .case-btn {
    width: 155px;
  }
}

@media (max-width: 730px) {
  .contact-btn, .case-btn {
    width: 145px;
  }
}

@media (max-width: 625px) {
  .contact-btn, .case-btn {
    width: 140px;
  }
}


@media (max-width: 600px) {
  .contact-btn, .case-btn {
    width: 120px;
  }
  .main-intro-text {
    font-size: 44px;
  }
  .main-intro-already-here span {
    font-size: 44px;
  }
}


@media (max-width: 660px) {
  .nav-center {
    display: none;
  }
  .nav-left .logo {
    display: none;
  }
  .nav-left .mobile-logo {
    display: flex;
  }
}

@media (min-width: 0px) and (max-width: 500px) {

  .graphics-side { width: 100%; }

  .main-intro-demo {
    padding: 15px 15px;
  }

  .circle-pack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .circle-wrapper {
    aspect-ratio: 1 / 1;
    margin-bottom: 3.2em;
  }

  /* Centered 7+ badge, same size as others, always last */
  .circle-wrapper.badge-5plus {
    grid-column: 1 / span 2;       /* span across both columns */
    justify-self: center;          /* center horizontally */
    width: 100%;                    /* let’s control width via max-width */
    max-width: calc(50% - 10px);    /* match 1 column’s size (gap aware) */
    order: 99;                      /* push to the bottom regardless of HTML */
  }
  /* 1 — keep the same side padding as the rest of the page */
  .navbar-container {
      padding: 0 1rem;          /* ← match .container */
  }

  /* 2 — make the button flexible so it can fit narrow screens */
  .contact-btn {
      width: auto;              /* let the width be defined by the text */
      padding: 12px 16px;       /* tighter horizontal padding            */
      flex-shrink: 1;           /* allow the button to shrink if needed  */
      font-size: 0.8rem;        /* optional: prevent text wrap           */
  }

  .case-btn {
      width: auto;              /* let the width be defined by the text */
      padding: 12px 16px;       /* tighter horizontal padding            */
      flex-shrink: 1;           /* allow the button to shrink if needed  */
      font-size: 0.8rem;        /* optional: prevent text wrap           */
      line-height: unset;
  }

  /* Optional safety net: prevent any accidental overflow */
  .navbar-container {
      overflow-x: hidden;
  }
  .container {
    padding: 0 1rem;
  }
  .main-intro-div {
    flex-direction: column;
    height: 45rem;
    padding: 20px;
  }

  .show-btn {
    display: block;
  }

  .nav-center {
    display: none;
  }

  .break-md-pc {
    display: none;
  }

  .navbar-container {
    padding: 0 0.5rem;
  }

  .overlay-demo {
    top: 25rem;
  }

  .descriptor, .email {
    display: none;
  }

  .main-intro-already-here {
    padding: 9px 10px;
  }

  .main-intro-already-here span {
    font-size: 1.7rem;
  }

  .main-intro-left {
    width: 100%;
  }

  .main-intro-subtle {
    margin-top: 30px;
  }

  .break-md {
    display: none;
  }

  .main-intro-text {
    font-size: 1.7rem;
  }

  .main-intro-right {
    width: 100%;
    margin-top: 15px;

  }

  .iphone-frame {
    width: 100%;
  }

  .hide-btn {
    display: none;
  }

  .main-intro-subtle {
    margin-top: 15px;
    font-size: 14px;
  }

  .overlay-1 {
    top: 31%;
    left: -2%;
  }
  .overlay-2 {
    top: 5%;
    right: -2%;
  }
  .solutions-disclaimer-header-mobile {
    margin-top: 10rem;
    flex-direction: column !important;
  }
  .solutions-container {
    padding-inline: 0 !important;
    grid-template-columns: 1fr;
  }

  .solution-line {
    grid-template-columns: 1fr;
  }

  .solution {
    width: 100% !important;
  }
  .solution-1 {
    margin-top: 6rem !important;
  }

  .about-header-mobile {
    flex-direction: column !important;
    align-items: baseline !important;
  }
  .success-title {
    font-size: 1.7rem !important;
  }
  .success-mission-blue {
    padding: 10px 20px;
  }
  .success-mission-blue span {
    font-size: 1.7rem !important;
  }
  .success-div {
    padding: 20px !important;
  }
  .about-wrapper-mobile  {
    flex-direction: column;
  }
  .white-rect {
    width: 100% !important;
  }
  .about-line-2-mobile {
    margin-top: 16px !important;
  }
  .solution-line-2-mobile {
    margin-top: 20px !important;
  }
  .blue-rect {
    width: 100% !important;
  }
  .demo-btn {
    width: 100% !important;
  }
  .p50m100 {
    width: 100% !important;
  }
  .pHormVer {
    flex-direction: column;
  }
  .about-us ul {
    margin-top: 2rem;
    /* font-size: rem; */
  }
  .graphics-side {
    width: 100%;
    margin-top: 1rem;
  }

  .circle-wrapper::after{
    font:500 12px/1.25 "Onest", sans-serif;
  }

  /* ─────────── text line 2  (lighter sub-line) ─────── */
  .circle-wrapper::before{
    font:400 10px/1.3 "Onest", sans-serif;
  }
  .mpad1rem {
    padding: 1.5rem;
  }

  .leave-request {
    font-size: 2rem;
  }
  .pc-only {
    display: none;
  }
  .form-right {
    width: 100%;
    padding-left: 0;
    margin-top: 1rem;
  }
  .mobile-only {
    display: flex;
  }
  .email-btn {
    font-size: 0.9rem;
    width: 100%;
    padding: 16px 15px;
  }
  .faq {
    padding-inline: 1rem;
  }
  .question-icon {
      width: 30px;           /* explicit – overrides the <svg width=""> attribute */
      height: 30px;
      flex: 0 0 40px;        /* ❶ 0 = don’t grow, 0 = don’t shrink, 40 px = basis */
  }

  /* 2 ─ align icon with the first text line */
  .question-horizontal {
      align-items: flex-start;   /* top‑align instead of centre */
  }
  .footer {
    padding: 0rem;
    margin-top: 3rem
  }

  textarea {
    padding: 20px 24px !important;
  }

  .review-card {
    max-width: 20rem;
  }

  .about-us-ul{
    display: block;
    margin-top: 1.5rem !important;
  }

  .badge-5plus span {
    font-size: 2.3rem !important;
  }
}

@media (min-width: 0px) and (max-width: 480px) {
  .main-intro-div {
    height: 46rem;
  }
}

@media (min-width: 0px) and (max-width: 430px) {
  .main-intro-div {
    height: 47rem;
  }
  /* .overlay-demo {
    top: 24rem;
  } */
}

@media (min-width: 0px) and (max-width: 400px) {
  .main-intro-div {
    height: 46rem;
  }
  .overlay-demo {
    top: 24rem;
  }
}

@media (min-width: 0px) and (max-width: 390px) {
  .main-intro-div {
    height: 46rem;
  }
  .overlay-demo {
    top: 24rem;
  }
}

@media (min-width: 0px) and (max-width: 370px) {
  .main-intro-div {
    height: 48rem;
  }
  .overlay-demo {
    top: 24rem;
  }
}

@media (min-width: 0px) and (max-width: 311px) {
  .main-intro-div {
    height: 48rem;
  }
}

@media (max-width: 330px) {
  .leave-request {
    font-size: 1.5rem;
  }
}

.about-grid{
  --gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* desktop */
  gap: var(--gap);
}

/* Flatten the two row wrappers so all 6 cards are one grid */
.about-grid > .about-wrapper-mobile{
  display: contents; /* key */
}

/* Neutralize inline widths and contain the absolute money overlay */
.about-grid .white-rect,
.about-grid .blue-rect{
  width: auto !important;     /* override style="width: 40%/30%" */
  position: relative;         /* so .money-div absolute stays inside */
}

/* 500–950px → two columns */
@media (min-width: 501px) and (max-width: 950px){
  .about-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* <500px → one column */
@media (max-width: 500px){
  .about-grid{ grid-template-columns: 1fr; }
}

@media (min-width: 686px) and (max-width: 750px) {
  .overlay-demo-btn .overlay-demo {
    top: 27rem;
  }
}

@media (min-width: 510px) and (max-width: 685px) {
  .overlay-demo-btn .overlay-demo {
    top: 26rem;
  }

  .main-intro-div {
    height: 65rem;
  }
}

@media (min-width: 501px) and (max-width: 509px) {
  .overlay-demo-btn .overlay-demo {
    top: 24rem;
  }

  .main-intro-div {
    height: 65rem;
  }
}