@font-face {
  font-family: "caros-light";
  src: url(../fonts/caros/Caros-Light.otf) format("truetype");
}
@font-face {
  font-family: "caros-bold";
  src: url(../fonts/caros/Caros-Bold.otf) format("truetype");
}
:root {
  --heading-font: "caros-bold";
  --heading-font-weight: bolder;
  --heading-letter-spacing: -2px;
  --sub-heading-letter-spacing: -1px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-image: url("../images/bg/Images.png");
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "caros-light";
}

/* Glassmorphism for navbar-container only on selected pages */
body.glass-header .navbar-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  z-index: 10;
}

/* Make sure the page content behind the header is visible */
body.glass-header header {
  position: absolute; /* or fixed if you want it to stay on top when scrolling */
  top: 0;
  left: 0;
  width: 100%;
  background: transparent; /* ensure transparency */
}

/*=================================================================
===================================================================
=======================CONTACT FORM========================*/
.contact-section {
  padding-top: 150px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.contact-wrapper {
  width: 97%;
}
.contact-content h1 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
}
.contact-content h2 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--sub-heading-letter-spacing);
  margin: 5% 0;
}
.contact-content p {
  width: 90%;
  line-height: 1;
}
.contact-content ul {
  list-style-type: none;
  padding: 0;
  line-height: 4;
}

.contact-content ul li {
  position: relative;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: black;
}

.contact-content ul li::before {
  content: ""; /* This line was missing */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 40%;
  height: 2px;
  /* You may also want to add a background-color to make the line visible */
  background-color: #f15852;
}
.red-text {
  color: #f15852;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
}

.form-container {
  width: 100%;
  /* max-width: 48rem; */
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 30px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .input-row {
    flex-direction: row;
  }
}

.input-container {
  position: relative;
  flex: 1;
}

.label {
  position: absolute;
  top: 30%;
  left: 50px;

  transform: translateY(-50%);
  font-size: 1rem;
  color: #888889;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}
.label-txt-area {
  position: absolute;
  top: 10%;
  left: 50px;

  transform: translateY(-50%);
  font-size: 1rem;
  color: #888889;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}

.label.required::after {
  content: "*";
  color: #f15852;
  margin-left: 0.25rem;
}

.input-container.active .label {
  top: 0.75rem;
  font-size: 0.75rem;
  color: #888889;
  transform: translateY(-50%);
}

.input {
  width: 100%;
  border: 1px solid #e2e8f0;
  background-color: #fafafa;
  border-radius: 50px;
  padding: 30px 20px 10px 50px;
  font-size: 1rem;
}
.textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  background-color: #fafafa;
  border-radius: 30px;
  padding: 30px 20px 10px 50px;
  font-size: 1rem;
}
.input:focus,
.textarea:focus {
  outline: none;
  border-color: #f15852;
  box-shadow: 0 0 0 2px rgba(215, 28, 76, 0.2);
}

.textarea {
  height: 12rem;
  resize: none;
  padding-top: 2.5rem;
}

.checkbox-group {
  margin-top: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.custom-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid #d71c4c;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: transparent;
}

.custom-checkbox.checked {
  background-color: #d71c4c;
}

.custom-checkbox.checked::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: #fff;
  border-radius: 9999px;
}

.checkbox-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.checkbox-label a {
  color: #d71c4c;
  text-decoration: underline;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.send-button {
  /* border: 1px solid blue; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  border: none;
  gap: 30px;
}
.send-button {
  position: relative;
  height: 50px;
  width: 180px;
  border-radius: 50px;
  border: 1px solid black;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgba(241, 88, 82, 1) 10%,
    rgba(229, 65, 102, 1) 100%
  );
  color: white;
  /* padding-right: 30px; */
  border: none;
}

/* Pseudo-element for the gradient background */
.send-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 50px;
  border: none;
}

/* Show the gradient on hover */
.send-button:hover::before {
  opacity: 1;
  border: none !important;
  border: none;
}

.send-button {
  position: relative;
  display: block;
  border: none;
}

/* .send-button {
  background: linear-gradient(to right, #ff7683, #d71c4c);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(215, 28, 76, 0.3);
  transition: transform 0.2s ease-in-out;
}

.send-button:hover {
  transform: translateY(-2px);
} */

.section {
  margin-bottom: 1.5rem;
}

.message-box {
  display: none;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-weight: 500;
}

.message-box.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-box.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/*=================================================================
===================================================================
=======================Marquee========================*/

/* Satisfied Customers Marquee Section */
.customers-marquee-section {
  width: 97%;
  /* border: 1px solid red; */

  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  margin: 5% 0;
}

.customers-marquee-heading {
  font-size: 2rem;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: #ff4d4d; /* Red color for heading */
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-container {
  display: inline-block;
  animation: marquee-scroll 40s linear infinite; /* Adjust duration for speed */
  /* Use a CSS variable for dynamic width in animation */
  transform: translateX(0); /* Initial state */
}

.customer-logo-item {
  /* border: 1px solid red; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* Fixed height for logos */
  margin-right: 80px; /* Space between logos */
  vertical-align: middle;
}
.customer-logo-item img {
  max-height: 100%;
  width: auto;
  /* filter: grayscale(100%) brightness(200%); Make logos white/light grey */
  opacity: 0.7; /* Adjust opacity to match screenshot */
  transition: opacity 0.3s ease;
}
.customer-logo-item img:hover {
  opacity: 1; /* Full opacity on hover */
}

/* Keyframe animation for continuous scrolling */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(calc(-1 * var(--marquee-width)));
  }
}

/* Responsive adjustments for Hero Section */
@media (max-width: 1200px) {
  /* Adjust for smaller desktops */
  .carousel-slider .swiper-wrapper {
    max-width: 600px;
    max-height: 380px;
  }
  .carousel-slider .swiper-slide {
    width: clamp(200px, 25vw, 400px);
    height: clamp(120px, 15vw, 240px);
  }
}

@media (max-width: 991.98px) {
  /* Tablet */
  .hero-content-wrapper {
    flex-direction: column; /* Stack content vertically */
    text-align: center;
    /* padding-bottom: 50px; */
  }
  .hero-text-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  .hero-heading {
    font-size: 3rem;
  }
  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-get-started {
    justify-content: center;
  }
  .hero-layered-screens-container {
    height: 400px; /* Adjust height for tablet */
    padding: 0;
  }
  .carousel-slider .swiper-wrapper {
    max-width: 90%; /* Take more width on tablet */
    max-height: 300px; /* Adjust height */
  }
  .carousel-slider .swiper-slide {
    width: clamp(180px, 40vw, 300px);
    height: clamp(100px, 25vw, 180px);
  }
  .swiper-pagination {
    bottom: 10px; /* Adjust position for stacked layout */
  }
}

@media (max-width: 767.98px) {
  /* Mobile */
  .hero-section {
    padding: 120px 0 60px 0;
  }
  .hero-heading {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .btn-get-started {
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-layered-screens-container {
    height: 250px; /* Adjust height for mobile */
  }
  .carousel-slider .swiper-wrapper {
    max-width: 95%; /* Take almost full width */
    max-height: 200px; /* Adjust height */
  }
  .carousel-slider .swiper-slide {
    width: clamp(150px, 50vw, 250px);
    height: clamp(80px, 30vw, 150px);
  }
  .customers-marquee-heading {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  .customer-logo-item {
    height: 60px;
    margin-right: 50px;
  }
  .marquee-container {
    animation-duration: 60s; /* Slower scroll on mobile */
  }
  .swiper-pagination {
    bottom: 180px !important;
    left: 87% !important;
  }
}
