@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --bg-color: #000;

  --btn-color: #fdfdfd; /* button color*/
  --btn-bg: blue; /* button bg color*/

  --primary-text-color: blue;
  --header-link-hover: blue;
  --input-hover-bd-color: blue;
}

html {
  scroll-behavior: smooth;
  font-family: "Ubuntu", sans-serif;
}

header {
  /* background-color: #fff;
    color: #000; */
  color: #b1b1b1;
}

header > .collapsible-header {
  display: flex;
  gap: 1rem;
  width: 100%;
  background-color: inherit;
  place-content: center;
  overflow: hidden;
  transition: width 0.3s ease;
}

.animated-collapse {
  transition: width 0.3s ease;
}

.header-links {
  display: flex;
  align-items: center;
  min-width: fit-content;
  border-radius: 5px;
  padding: 5px 10px;
  transition: background-color 0.5s, color 0.5s;
}

.header-links:hover {
  color: #007bff;
  /* background-color: var(--header-link-hover); */
}

.primary-text-color {
  color: var(--primary-text-color);
}

.gradient-text {
  background: rgb(215, 215, 215);
  background: linear-gradient(
    90deg,
    rgba(215, 215, 215, 1) 18%,
    rgba(136, 136, 136, 1) 71%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slide-container {
  max-width: 90%;
  width: 100%;
  padding: 40px 0;
}

.slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}

.card {
  /* width: 320px; */
  border-radius: 25px;
  /* background-color: #265df2; */
}

.image-content,
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}

.image-content {
  row-gap: 5px;
  position: relative;
  padding: 25px 0;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #4070f4;
  border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: red;
}

.overlay::after {
  border-radius: 0 25px 0 0;
  background-color: #ffffff;
}

.card-image {
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
}

.card-image .card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4070f4;
}

.name {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
}

.description {
  font-size: 14px;
  color: #707070;
  text-align: center;
}

.button {
  border: none;
  font-size: 16px;
  color: #ffffff;
  padding: 8px 16px;
  background-color: #4070f4;
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background: #265df2;
}

.swiper-navBtn {
  color: #6e93f7 !important;
  transition: all 0.3s ease;
}

.swiper-navBtn:hover {
  color: #4070f4 !important;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 40px !important;
}

.swiper-button-next {
  right: 0 !important;
}
.swiper-button-prev {
  left: 0 !important;
}
.pricing {
  position: relative;
  font-size: 1.35rem; /* Example for "text-xl" */
  font-weight: 600; /* Example for "font-semibold" */
  /* background-color: #3b82f6; */
  border-radius: 20px;
  padding: 0.2em; /* Optional for better readability */
  color: white; /* Optional, for contrast with background */
}

.mail_button:hover {
  background-color: white;
  color: blue;
  /* border: 2px solid black; */
}

.mobile_lottie {
  width: 500px;
  height: 500px;
}

@media (max-width: 768px) {
  .mobile_lottie {
    width: 100%;
    height: 500px;
  }
}
/* Add a spinner style for the loader */
.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}
.whatsapp-button {
  z-index: 9999;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.top_button {
  z-index: 9999;
  position: fixed;
  bottom: 6rem;
  right: 35px;
  background-color: #4070f4;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.whatsapp-button i {
  font-size: 24px;
}

.whatsapp-button a {
  text-decoration: none;
  color: white;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mail_button {
  width: max-content;
  border-radius: 60px;
  background-color: black;
  font-size: 20px;
  padding: 25px 20px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.pricing::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 50%;
  width: 100%;
  height: 2px; /* Adjust the thickness of the line */
  background-color: red; /* Color of the strikethrough line */
}

.swiper-pagination-bullet {
  background-color: #6e93f7 !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background-color: #4070f4 !important;
}

@media screen and (max-width: 768px) {
  .slide-content {
    margin: 0 10px;
  }
  .swiper-navBtn {
    display: none !important;
  }
}
.animated-card {
  background: rgba(31, 22, 22, 0.25);
  /* box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.animated-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.animated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(0, 0, 0, 0.1)
  );
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.3s ease;
}
.animated-card:hover::before {
  transform: scale(1.1);
}

/* Section styling */
.tech-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  /* max-width: 100vw; */
  overflow: hidden;
}

/* Grid container styling */
.grid-container {
  display: grid;
  width: 70%;
  grid-template-columns: repeat(6, 1fr); /* 5 fixed-width columns */
  gap: 16px; /* Spacing between grid items */
  justify-content: center; /* Center the grid */
  justify-items: center; /* Center individual grid items */
}

@media (max-width: 768px) {
  .grid-container {
    gap: 10px; /* Spacing between grid items */
    width: 40%;
    grid-template-columns: repeat(3, 1fr); /* 3 fixed-width columns */
  }
}

/* Heading styling */
.tech-section h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

/* Grid container styling */

/* Grid item styling */
.grid-item {
  height: 50px;
  width: 150px;
  margin: 30px auto;
}
.grid-item img:hover {
  transform: scale(1.5); /* Scale up on hover */
  cursor: pointer;
}
.grid-item img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1); /* Initial grayscale */
  transition: transform 0.3s ease, filter 0.3s ease; /* Smooth scaling and grayscale */
}

.grid-item img:hover {
  filter: grayscale(0); /* Remove grayscale on hover */
}

body {
  background-color: #1f1f1f; /* Dark background for contrast */
  color: #e0e0e0; /* Light gray text color */
}

.card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.border-gradient {
  background: linear-gradient(to right, #ff6a00, #ee0979);
  height: 200px;
  width: 100%;
}

.tw-bg-gray-800 {
  background: rgba(31, 31, 31, 0.7);
  backdrop-filter: blur(10px);
}

.h2,
h3 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h3 {
  font-size: 1.5rem; /* Font size of h3 */
}

p {
  margin-top: 0.5rem; /* Spacing for paragraphs */
}

@media (max-width: 768px) {
  .border-gradient {
    height: 150px; /* Adjust height for mobile */
  }
  h3 {
    font-size: 1.25rem; /* Smaller font size for mobile */
  }
}

.hero-section {
  /* background-image: url("../assets/images/background/dots.svg"); */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
}

.hero-img-bg-grad {
  background: rgb(126, 34, 206);
  background: linear-gradient(
    90deg,
    #7e22ce91 8%,
    #625aafae 31%,
    #7badbbbc 76%,
    #54d2d0ca 89%
  );
  filter: blur(50px);
  opacity: 0.5;
}

#dashboard {
  /* transform-origin: bottom center; */
  transform: perspective(1200px) translateX(0px) translateY(12px) scale(0.8)
    rotate(0deg) rotateX(70deg);
  transition: transform 0.5;
}

.border-gradient {
  background: rgb(219, 215, 213);
  background: linear-gradient(
    180deg,
    rgba(219, 215, 213, 1) 35%,
    rgba(214, 211, 233, 0) 71%
  );
  /* background-image: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%); */
  padding: 2px;
  border-radius: 10px;
}
.border-gradient > div {
  /* background-color: var(--bg-color); */
  background-color: var(--bg-color);
  border-radius: inherit;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-100 {
  opacity: 100 !important;
}

#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-section {
  position: relative;
}
.custom-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease; /* Smooth transition for all */
}
.custom-card:hover {
  border: 2px solid blue;
  box-shadow: 3px 4px 10px rgba(0, 0, 255, 0.5);
  border-radius: 8px; /* Optional */
  transform: scale(1.05); /* Slightly enlarges the element */
}

.btn {
  padding: 10px 20px;
  width: max-content;
  border-radius: 5px;
  font-size: 19px;
  font-weight: 600;
  color: var(--btn-color);
  background-color: var(--btn-bg);
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
}

.btn:hover {
}

.btn:disabled {
  cursor: default;
}
.container {
  /* border: 1px solid grey; */
  border-radius: 20px;
  background: rgba(4, 4, 4, 0.308);
  /* box-shadow: 0 5px 1px rgb(243, 236, 236); */
  text-align: center;
  width: 555px;
  height: 550px;
  z-index: 2;
}

@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  .work_process {
    order: 2;
  }
  .img_work_process {
    order: 1;
  }
}

@media (max-width: 768px) {
  .aboutus {
    width: 100% !important;
  }
}
.inputbox select {
  color: black; /* or any visible color */
  padding: 1px;
  border-radius: 5px;
  background-color: white;
}

.inputbox select option {
  color: black;
}
.technologies {
  background-color: var(--dark-gray);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}

.section-title {
  font-size: 30px;
}
.container-service {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.technologies::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 15%;
  background: linear-gradient(to left, var(--main-black), transparent);
  z-index: 2;
  pointer-events: none;
}

.technologies::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 15%;
  background: linear-gradient(to right, var(--main-black), transparent);
  z-index: 2;
  pointer-events: none;
}

.tech-carousel-wrapper {
  width: 100%;
  overflow: hidden; /* Hide the scrollbar */
  position: relative;
}

.tech-grid {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
  width: fit-content; /* Allow natural width */
  animation: scrollTech 30s linear infinite;
}

@keyframes scrollTech {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-150px * 5 - 40px * 5)
    ); /* Width of 5 items + 5 gaps */
  }
}

.tech-item {
  flex: 0 0 150px; /* Fixed width, no grow or shrink */
  width: 150px;
  height: 150px;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
  z-index: 3; /* Ensure hover appears above the gradient overlay */
}

.tech-item img {
  max-width: 80px;
  max-height: 80px;
  filter: brightness(1.5);
}

/* Pause animation on hover */
.tech-grid:hover {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tech-item {
    width: 120px;
    height: 120px;
    padding: 15px;
  }
  .section-title {
    font-size: 24px;
  }
  .tech-item img {
    max-width: 60px;
    max-height: 60px;
  }

  @keyframes scrollTech {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 20 - 40px * 1));
    }
  }
} /* CTA Section */

select {
  width: 100%;
  height: 36px;
  padding: 20px;
  display: flex;
  margin: 20px auto;
  flex-direction: row;
  border: none;

  border-radius: 10px;
  outline: none;
  text-align: left;
  font-size: 20px;
  /* font-weight: 700; */
  color: #000;
}
input {
  width: 100%;
  height: 30px;
  padding: 20px;
  display: flex;
  margin: 20px auto;
  flex-direction: row;
  border: none;
  border-radius: 10px;
  outline: none;
  text-align: left;
  font-size: 20px;
  /* font-weight: 700; */
  color: #000;
}
textarea {
  margin: 15px auto;
  padding: 20px;
  pointer-events: auto;

  border-radius: 10px;
  color: #000;
  width: 100%;
  height: 100px;
  border: none;
  outline: none;
  text-align: left;
  font-size: 20px;
  /* font-weight: 700; */
  resize: none;
  /* opacity: 0.3; */
}
button {
  height: 35px;
  width: 50%;
  margin: 80px auto;
  opacity: 0.7;
  font-size: 20px;
  cursor: pointer;
  font-weight: 700;
}
.inputbox {
  width: 100%;

  margin: 6px 0;

  height: 35px;

  border-radius: 20px;

  padding: 0 10px;
}
::placeholder {
  font-size: 20px;
}
/* form {
  width: 100%;
  height: 100%;
  padding: 20px 40px;
  z-index: 1;
} */

h2 {
  text-align: center;
  margin-top: 40px;
  font-size: 38px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* .gradient-div {
  background: linear-gradient(45deg, #0e2f40, #2a136b);
  animation: animate 4s linear infinite;
  width: 43%;
  height: 300px;

  border-radius: 80px 30px 120px 10px;
  position: absolute;
  z-index: -1;
} */
.container_faq {
  margin: 0 auto;
  padding: 2rem;
  width: 90%; /* Take up more space on smaller screens */
  max-width: 800px; /* Restrict width on larger screens */
  box-sizing: border-box;
}

.accordion {
  margin: 0;
}

.accordion-item {
  margin-bottom: 1rem; /* Add spacing between accordion items */
  border: 1px solid #ddd;
  border-radius: 8px; /* Rounded corners for better design */
  overflow: hidden; /* Prevent content overflow */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visuals */
}

.accordion button {
  margin: 0;
  width: 100%;
  padding: 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: #333;
  background-color: #f9f9f9;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.accordion button:hover,
.accordion button:focus {
  background-color: #ffffff; /* Pure white */
  color: #0056b3; /* Darker blue for better contrast on white */
}

/* Update the icon color on hover/focus */
.accordion button:hover .icon::before,
.accordion button:hover .icon::after,
.accordion button:focus .icon::before,
.accordion button:focus .icon::after {
  background: #0056b3; /* Match the text color */
}

/* For the expanded state, ensure the button stays white */
.accordion button[aria-expanded="true"] {
  background-color: #0056b3; /* Pure white */
  color: white; /* Darker blue */
}

/* Update the icon color for expanded state */
.accordion button[aria-expanded="true"] .icon::before {
  background: #0056b3;
}

/* Ensure the border of the icon also changes color */
.accordion button:hover .icon,
.accordion button:focus .icon,
.accordion button[aria-expanded="true"] .icon {
  border-color: #0056b3;
}

.accordion .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid #333;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.accordion .icon::before,
.accordion .icon::after {
  content: "";
  position: absolute;
  background: #333;
}

.accordion .icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion .icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion button[aria-expanded="true"] .icon::after {
  display: none; /* Hide vertical bar when expanded */
}

.accordion-content {
  background-color: #fff;
  padding: 0;
  margin: 0;
  overflow: hidden;
  color: white;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion-content p {
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

.accordion button[aria-expanded="true"] + .accordion-content {
  max-height: 200px; /* Adjust based on content size */
  opacity: 1;
}

@media (max-width: 768px) {
  .container_faq {
    padding: 1rem;
  }

  .accordion button {
    height: max-content;
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .accordion .icon {
    width: 20px;
    height: 20px;
  }

  .accordion-content p {
    font-size: 0.85rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form_submit {
  opacity: 1;
  margin: 10px auto !important;
  background-color: #007bff;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.form_submit:hover {
  transform: scale(1.05);
  color: #fff;
}
@keyframes animate {
  0% {
    filter: blur(70px) hue-rotate(0deg);
  }
  100% {
    filter: blur(70px) hue-rotate(360deg);
  }
}

#contact {
  background: url("../assets/images/background/contact-us_jbsonsoftwares.jpg");
}
.input {
  padding: 10px;
  background-color: transparent;
  border-radius: 5px;
  /* outline: none; */
  min-width: 100px;
  border: 1px solid #818080;
  /* transition: border 0.3s; */
}

.input:active,
.input:focus,
.input:focus-within {
  border: 1px solid var(--input-hover-bd-color) !important;
}

.carousel-container {
  margin: 20px auto;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 1000px;
}

.carousel {
  display: inline-block;
  animation: scroll 20s linear infinite;
  /* Add these properties */
  display: flex;
  gap: 20px;
}

/* Update the scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-150px * 7)
    ); /* Adjust based on number of logos */
  }
}

.carousel-img {
  display: inline-block;
  margin: 0 20px;
}

.carousel-img:hover {
  cursor: pointer;
}
@media (max-width: 768px) {
  .footer {
    width: 80% !important;
  }
}

.footer-link {
  color: #c7c6c6;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #fff;
}

/* Style for the collapsible content such as faq commonly known as: accordion */

.faq-accordion {
  background-color: inherit;
  color: #f2f2f2;
  cursor: pointer;
  padding: 15px 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: height 0.4s;
}

.faq .content {
  padding: 0px 18px;
  color: #e4e4e4;
  height: max-content;
  overflow: hidden;
  background-color: transparent;
  text-align: justify;
  max-height: 0px;
  transition: max-height 0.4s, padding 0.4s;
}

.faq-accordion .active,
.faq-accordion:hover {
  /* background-color: #2e2c2c; */
}

@keyframes rotatePosition {
  0% {
    transform: rotate(0deg);
    left: 30%;
  }
  50% {
    transform: rotate(180deg);
    left: 32%; /* Slight change in position */
  }
  100% {
    transform: rotate(360deg);
    left: 30%; /* Return to original position */
  }
}

@media not all and (min-width: 1024px) {
  header .collapsible-header {
    position: fixed;
    right: 0px;
    flex-direction: column;
    opacity: 0;
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    width: 0vw;
    justify-content: flex-start; /* Ensures items stack from top */
    align-items: flex-start; /* Aligns all items to the left */
    padding: 5%;
    background-color: #040404;
    color: #ffffff;
    overflow-y: auto;
    box-shadow: 3px 0px 3px 2px #9f9f9f;
    transition: width 0.3s ease;
  }

  header .collapsible-header a {
    text-align: left; /* Ensures text aligns left */
    width: 100%; /* Makes clickable area span full width */
    padding: 10px 0; /* Adds vertical spacing between items */
  }
}
