@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pattaya&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* overflow cheker */
/* * * * * * {
  outline: 2px solid orangered;
  background-color: hsla(50, 100%, 50%, 0.257);
} */

html {
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

/* font-size: 62.5%; */
/* 1rem = 10px */
body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #181C61;
}

.primary-btn {
  padding: 12px 12px;
  /* background-color: #ff826f; */
  background-color: #ff8c72;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
}

.secondary-btn {
  padding: 12px 12px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background-color: transparent;
  border: 2px solid #FFFFFF;
  border-radius: 9px;
  text-decoration: none;
  transition: transform 1s ease-in-out;
}


/* Button-animation */
.primary-btn:hover {
  background-color: #fc7662;
}

.primary-btn:hover .arrow {
  transform: rotate(45deg);
}

.secondary-btn:hover {
  color: #ffffff;
  background-color: #7d5ff4;
}

.secondary-btn:hover .arrow {
  transform: rotate(45deg);
}

.secondary-btn:hover .white-arrow {
  display: block;
  transform: rotate(45deg);
}

.secondary-btn:hover .blue-arrow {
  display: none;
}

.Learn-more:hover .arrow {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  padding: 30px 0;
  padding-top: 120px;
  background-image: url('https://srchleads.s3.amazonaws.com/v1/srchout-web/images/hero-bg-b7a04928-615e-4a25-bd29-a3a4977e73ea1782454215.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  color: white;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  height: 37px;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
  cursor: pointer;
}

.footer-column ul li a {
  text-decoration: none;
  color: #FFFFFF;
}

.footer-column p {
  margin: 5px 0;
  font-size: 14px;
}

/* Footer Responsiveness */

/* Below 576px: Single column layout */
@media (max-width: 576px) {
  .footer-container {
    flex-direction: column;
    padding-left: 30px;
  }

  .footer-column {
    flex: 1 1 100%;
    /* Full width for single column */
  }

  .footer-blogs-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
  }
  .footer-blogs-logo-row .footer-links {
    margin: 0;
  }
  .footer-blogs-logo-row .footer-logo-container {
    margin: 0;
  }

}

/* 576px to 992px: Two columns layout */
@media (min-width: 576px) and (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-column {
    flex: 1 1 calc(50% - 20px);
    /* Two columns layout */
    min-width: auto;
  }
}

/* https://youtu.be/0LqwpsZ0jMs?si=488BbJ8wi5YUWjg6 */
/* https://youtube.com/shorts/FuiyqkaYRlM?si=0_wcw-ZOpExXrjbe */
/* https://www.youtube.com/watch?v=Gf81XHerzJo */

.no-scroll {
  overflow: hidden;
  /* Disable scrolling */
  position: fixed;
  /* Prevent the page from jumping */
  width: 100%;
  /* Ensure the layout doesn't shift */
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 18, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  animation: modalOverlayIn 0.3s ease both;
}

@keyframes modalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.custom-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050000;
  max-width: 1040px;
  width: 92%;
  max-height: 94vh;
  border-radius: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: modalPopIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
  -webkit-overflow-scrolling: touch;
}

@keyframes modalPopIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.custom-modal .card {
  height: 100%;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0 !important;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}

.modal-form-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
}

/* ---------- Left: social-proof hero ---------- */
.modal-hero {
  position: relative;
  width: 45%;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(120% 90% at 88% -5%, rgba(106, 73, 242, 0.95) 0%, rgba(106, 73, 242, 0) 48%),
    linear-gradient(160deg, #181c61 0%, #221a54 52%, #33206b 100%);
  overflow: hidden;
}

/* Soft decorative glow in the lower-left of the hero. */
.modal-hero::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 95, 244, 0.35) 0%, rgba(125, 95, 244, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.modal-hero > * {
  position: relative;
  z-index: 1;
}

.modal-hero__stats {
  display: flex;
  gap: 22px;
  margin: -6px 0 22px;
}

.modal-hero__stat {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.modal-hero__stat strong {
  font-size: 20px;
  font-weight: 800;
  color: #b3a4ff;
}

.modal-hero__stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.modal-hero__logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  width: max-content;
  margin-bottom: 22px;
}

.modal-hero__logo img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.modal-hero__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 10px;
  color: #fff;
}

.modal-hero__subtitle {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 22px;
}

.modal-quote {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 20px 18px;
  backdrop-filter: blur(6px);
}

.modal-quote__mark {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(125, 95, 244, 0.45);
  pointer-events: none;
}

.modal-quote__stars {
  height: 15px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.modal-quote__text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 18px;
  min-height: 84px;
}

.modal-quote__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.modal-quote__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.modal-quote__role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 2px 0 0;
}

.modal-quote__nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.modal-quote__nav button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.modal-quote__nav button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.modal-trust {
  margin-top: auto;
  padding-top: 24px;
}

.modal-trust__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 12px;
}

.modal-trust__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.modal-trust__logos img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

/* ---------- Right: lead form ---------- */
.modal-form-container .modal-form {
  flex: 1;
  position: relative;
  padding: 30px 30px 26px;
  background: #fff;
}

.modal-form-container .modal-form #contactForm {
  padding: 0;
}

.modal-form h2 {
  padding: 0 34px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: #14131d;
  margin: 0 0 6px;
}

.modal-form p {
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: #8a8d99;
  margin: 0 0 20px;
}

/* Field grid */
.modal-row {
  display: flex;
  gap: 12px;
}

.modal-row .modal-field {
  flex: 1;
  min-width: 0;
}

.modal-field {
  margin-bottom: 12px;
}

.modal-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #6b6f7d;
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.close-button {
  background: #f2f3f5;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.close-button:hover {
  background: #e6e7ea;
  color: #000;
}

#customModal .modal-form .form-control,
#customModal .modal-form .form-select {
  height: 46px !important;
  font-size: 13px !important;
  border: 1px solid #e4e6ec;
  border-radius: 10px;
  background-color: #f8f9fb;
  color: #14131d;
  padding: 10px 14px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Custom caret for the selects */
#customModal .modal-form .form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8d99' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}

#customModal .modal-form textarea.form-control {
  height: auto !important;
  min-height: 70px;
  resize: none;
  line-height: 1.5;
}

#customModal .modal-form .form-control:focus,
#customModal .modal-form .form-select:focus {
  border-color: #6a49f2;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(106, 73, 242, 0.15);
  outline: none;
}

#customModal .modal-form .form-control::placeholder {
  color: #a2a7b3;
}

.modal-form__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2efff;
  border: 1px solid #ddd4ff;
  color: #4a3a99;
  font-size: 12px;
  font-weight: 500;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 4px 0 14px;
}

.modal-form__badge svg {
  flex-shrink: 0;
}

.modal-form__badge b {
  color: #382a7a;
}

.modal-form-container .submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #6a49f2 0%, #5d64dd 100%);
  box-shadow: 0 8px 20px rgba(106, 73, 242, 0.32);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.modal-form-container .submit-btn svg {
  transition: transform 0.2s;
}

.modal-form-container .submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(106, 73, 242, 0.45);
}

.modal-form-container .submit-btn:hover svg {
  transform: translateX(3px);
}

/* Tablets: keep two columns but tighten spacing so it fits comfortably. */
@media (max-width: 992px) {
  .modal-hero {
    width: 42%;
    padding: 30px 26px;
  }

  .modal-hero__title {
    font-size: 26px;
  }

  .modal-hero__stats {
    gap: 16px;
  }

  .modal-form-container .modal-form {
    padding: 26px 24px 24px;
  }
}

/* Phones / small tablets: stack the hero above the form. */
@media (max-width: 768px) {
  .custom-modal {
    width: 94%;
    max-width: 480px;
  }

  .modal-form-container {
    flex-direction: column;
  }

  .modal-hero {
    width: 100%;
    padding: 24px 22px 22px;
  }

  .modal-hero__title {
    font-size: 23px;
  }

  .modal-hero__stats {
    gap: 16px;
    margin-bottom: 4px;
  }

  /* Testimonial + trust strip are secondary on small screens. */
  .modal-quote,
  .modal-trust {
    display: none;
  }

  .modal-form-container .modal-form {
    width: 100%;
    padding: 24px 22px;
  }
}

/* Narrow phones: single-column fields. */
@media (max-width: 480px) {
  .modal-hero {
    padding: 20px 18px 18px;
  }

  .modal-hero__logo {
    margin-bottom: 16px;
  }

  .modal-hero__title {
    font-size: 21px;
  }

  .modal-hero__stat strong {
    font-size: 18px;
  }

  .modal-form-container .modal-form {
    padding: 20px 18px;
  }

  .modal-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Short / landscape viewports: trim vertical space so it never gets cut off. */
@media (max-height: 620px) {
  .modal-hero {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .modal-hero__stats {
    margin-bottom: 14px;
  }

  .modal-quote__text {
    min-height: 0;
  }

  .modal-form-container .modal-form {
    padding-top: 22px;
    padding-bottom: 20px;
  }
}


.btn-whatsapp-pulse {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.btn-whatsapp-pulse:hover {
  transform: scale(1.1);
}

.btn-call-pulse {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.btn-call-pulse:hover {
  transform: scale(1.1);
}

.form-floating>input,
.form-floating>textarea
 {
  font-size: 12px;
  margin-left: 0;
  z-index: 2;
  /* position: relative; */
}
.form-floating>textarea {
  overflow: hidden;
}

.form-floating > .form-control {
  padding: 1rem 0;
}

.form-floating>.form-control {
  border: none;
  border-bottom: 1px solid #dee2e6;
  border-radius: 0;
}

.form-floating>.form-control:focus {
  box-shadow: none;
}

.form-floating>.form-control {
  background-color: transparent;
}

#industryForm .form-floating>label {
  color: #FFFFFF;
  left: -12px;
}

#industryForm .form-floating .form-control:focus+label {
  font-size: 14px;
  font-weight: 400;
  /* top: -8px; */
}
#industryForm .form-floating .form-control:focus+label[for="message"] {
  top: -12px;
}

.nav-sub-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#contactForm .form-floating .form-control:focus+label {
  color: #1b1f23;
}

#contactForm .form-floating .form-control:focus+label[for="message"] {
  font-size: 14px;
  font-weight: 400;
  top: -12px;
}

/* #contactForm .form-floating .form-control:focus+label {
  top: -5px;
} */

#contactForm .form-floating>label {
  color: #6c757d;
  left: -12px;
  font-size: 12px;
}

#message {
  resize: none;
}



/* technology section */
.technology {
  margin-top: 2rem;
  margin-bottom: 6rem;
}

.technology h2 {
  color: #171941;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.technology-card {
  width: 100%;
  height: auto;
}

.tabs-container {
  background-color: #181C61;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  padding: 1rem;
  height: 500px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) #181C61;
}

/* Webkit Browsers (Chrome, Edge, Safari) */
.tabs-container::-webkit-scrollbar {
  width: 8px;
}

.tabs-container::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 5px;
}

.tabs-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.tabs-container::-webkit-scrollbar-button {
  display: none;
}


.tab-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  padding: 20px;
  margin: 5px 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
}

.tab-btn.active {
  background: #2E33A4;
  color: #FFFFFF;
  font-weight: 700;
}

.tab-btn img {
  width: 20px;
  height: 20px;
}

.tab-content {
  display: none;
  padding: 10px;
}

.tab-content.active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-top: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.tab-content.active::-webkit-scrollbar {
  display: none;
}

.badge {
  height: 65px;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  background: #e2e2e278;
  color: #181C61;
  font-size: 14px;
  padding: 20px;
  border-radius: 8px;
  font-weight: 500;
  column-gap: 10px;
  text-align: left;
}

.badge img {
  height: 30px;
  width: auto;
}

.tabs-content-container {
  background: #FFFFFF;
  padding: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

@media (max-width: 769px) {
  .technology {
    margin-top: 10rem;
  }
/*
  .tabs-container {
    border-radius: 0;
    z-index: 99;
    height: auto;
  } */
}

@media (max-width: 576px) {
  .technology {
    margin-top: 1rem;
    margin-bottom: 4rem;
  }
  .technology h2 {
    font-size: 24px;
    font-weight: 800;
  }

  .technology .row {
    gap: 1rem;
  }

  .tabs-container {
    border-radius: 0;
    z-index: 99;
    height: auto;
  }

  .tab-content {
    display: block;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: baseline;
  }
}
