@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('images/hero-bg.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 */
  }
}

/* 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(0, 0, 0, 0.5);
  z-index: 1040;
}

.custom-modal {
  display: none;
  /* display: block; */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050000;
  max-width: 900px;
  width: 90%;
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.custom-modal .card {
  height: 100%;
  border: none;
  box-shadow: none;
  margin: 0;
  background: #FFFFFF;
}

.custom-modal .card-header {
  border-bottom: 1px solid #ddd;
}

.custom-modal .card-header img {
  border-radius: 20px;
}

.custom-modal .btn {
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-modal .btn:hover {
  background-color: #0056b3;
}

.close-button {
  background: none;
  border: none;
  font-size: 30px;
  font-weight: 400;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
  position: absolute;
  right: 10px;
  top: -15px;
}

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

.modal-form-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
}

.modal-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-form-container .modal-img {
  border-radius: 15px;
  width: 48%;
  height: 435px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  position: relative;
}

.modal-form-container .modal-img .modal-main-img {
  position: absolute;
  width: 50%;
  height: 100%;
  object-fit: cover;
  top: 10px;
  right: 10px;
}

.modal-img p {
  font-size: 10px;
  font-weight: 400;
  color: #181C61;
}

.modal-img .modal-heading {
  background-color: #FFFFFF;
  padding: 15px 20px;
  border-radius: 6px;
  position: absolute;
  top: 75px;
  left: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #181C61;
}

.modal-form-container .modal-form {
  flex: 1;
  padding: 8px;
  border-radius: 15px;
}

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

.modal-form h2 {
  padding-left: 5px;
  font-size: 28px;
  font-weight: 700;
  color: #181C61;
}

.modal-form p {
  padding-left: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #8F93A4;
}

.modal-form-container .submit-btn {
  width: 100%;
  background-color: #ff8c72;
}


@media (max-width: 576px) {
  .modal-form-container {
    flex-direction: column-reverse;
    gap: 0;
  }

  .modal-form h2 {
    font-size: 18px;
    font-weight: 700;
  }

  .modal-form-container .modal-img {
    height: 150px;
    width: 100%;
    display: none;
  }

  .modal-form-container .modal-form {
    width: 100%;
    height: 50px;
  }

  .modal-img .modal-logo {
    display: none;
  }

  .custom-modal {
    top: 40%;
  }
}


.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: 100px; /* Position above WhatsApp button */
  left: 30px; /* Same left position as WhatsApp */
  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;
  }
}

@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: 1rem;
    z-index: 99;
    height: auto;
  }

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