/* Main Sections Styles */
* {
  font-family: "Poppins", sans-serif;
}

/* Hero Section */
.hero-section {
  min-height: 600px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../assets/main/a.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  padding: 5rem 0;
}

.max-w-1689 {
  max-width: 1689px !important;
  margin: 0 auto;
}

.hero-content h1 {
  color: #fff;
  font-family: Poppins;
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  line-height: 120px; /* 150% */
}

.hero-content h1 .highlight {
  color: #38c760;
  font-family: Poppins;
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  line-height: 120px; /* 150% */
}

.hero-description {
  color: #fff;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 37.8px; /* 157.5% */
  max-width: 899px;
}

.hero-form-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  max-height: 560px;
  border-radius: 5px;
  border-top: 3px solid #38c760;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 4px 0 rgba(255, 255, 255, 0.25);
}

.hero-form-card h3 {
  color: #42ca68;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 14px;
  color: #717171;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: 9px;
  color: #797979;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
}

.w-full {
  width: 100%;
}

.form-control-custom {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 15px;
  transition: all 0.3s ease;
  border-radius: 5px;
  border: 1px solid rgba(98, 94, 88, 0.15);
  background: #f6f7f9;
}

.form-control-custom:focus {
  outline: none;
  border-color: #5cb85c;
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
}

.form-control-custom::placeholder {
  color: #aaa;
}

.icon-input {
  position: relative;
}

.icon-input img {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.btn-submit {
  max-width: 235px;
  width: 235px;
  background-color: #5cb85c;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #449d44;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

/* Partners Section - Infinite Scroll */
.partners-section {
  background-color: #fafafc;
  padding: 3% 0;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
  border-bottom: 1px solid rgba(56, 199, 96, 0.49);
  overflow: hidden;
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.partners-scroll {
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  width: 100%;
}

.partners-scroll::before,
.partners-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-scroll::before {
  left: 0;
  background: linear-gradient(to right, #fafafc, transparent);
}

.partners-scroll::after {
  right: 0;
  background: linear-gradient(to left, #fafafc, transparent);
}

.partners-track {
  display: flex;
  width: fit-content;
  animation: scroll 30s linear infinite;
  gap: 3rem;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
  background: white;
}

.partner-logo {
  max-height: 100px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: white;
}

.section-label {
  font-size: 25px;
  letter-spacing: 5px;
  font-weight: 500;
  color: #323c45;
  margin-bottom: 1rem;
}

.section-divider {
  width: 95px;
  height: 2px;
  background-color: #39ca6e;
  border-radius: 50px;
  margin-bottom: 2rem;
}

.about-main-heading {
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  color: #323c45;
  margin-bottom: 0;
}

.about-main-heading .highlight {
  color: #92b893;
}

.about-main-heading-2 {
  font-size: 50px;
  line-height: 60px;
  font-weight: 300;
  color: #323c45;
  margin-bottom: 0;
}

.about-main-heading-2 .highlight {
  color: #92b893;
}

.about-description {
  font-size: 18px;
  line-height: 37.8px;
  color: #717171;
  margin-top: 2rem;
}

.about-image {
  width: 100%;
  border-radius: 10px;
}

.min-h-full {
  min-height: 100%;
}

.about-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 5px;
}

.info-card {
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 2rem;
}

.info-card h4 {
  font-size: 24px;
  color: #0c121d;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.info-card p {
  font-size: 18px;
  line-height: 37.8px;
  color: #717171;
}

.btn-outline-dark-custom {
  border: 1px solid #323c45;
  color: #323c45;
  padding: 0.6rem 2rem;
  border-radius: 5px;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  display: inline-block;

  width: 200px;
  max-width: 200px;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: #fafafc;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

.carousel{
  overflow: hidden;
}

#servicesCarousel .carousel-inner {
  padding: 1em;
  overflow: visible;
}

.service-card-wrapper {
  margin: 0 1.5em;
  display: flex;
  height: 100%;
}

.carousel-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #38c760;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-btn:hover {
  background: #38c760;
  transform: scale(1.1);
}

.carousel-btn:hover img {
  filter: brightness(0) invert(1);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ccc;
}

.carousel-btn:disabled:hover {
  background: white;
  transform: scale(1);
}

.carousel-btn img {
  transition: filter 0.3s ease;
}

.service-card {
  background-color: #f2f8f5;
  border-radius: 20px;
  padding: 20px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  min-height: 600px;
}

@media (min-width: 768px) {
  #servicesCarousel .carousel-item {
    margin-right: 0;
    flex: 0 0 50%;
    display: flex;
  }
  #servicesCarousel .carousel-inner {
    display: flex;
    transition: transform 0.6s ease;
  }

}

.service-image {
  width: 100%;
  height: 305.803px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 32px;
  font-weight: 600;
  color: #0c121d;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 20px;
  line-height: 25.2px;
  color: #717171;
}

.carousel-controls {
  display: flex;
  gap: 0;
}

.carousel-btn {
  width: 55px;
  height: 45px;
  border: 2px solid #38c760;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-btn.prev {
  border-radius: 200px 0 0 200px;
}

.carousel-btn.next {
  border-radius: 0 200px 200px 0;
}

/* Why Us Section */
.why-us-section {
  padding: 5rem 0;
  background-color: white;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

.why-us-card {
  padding: 2rem;
  height: 100%;
}

.why-us-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
}

.why-us-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #323c45;
  line-height: 35.2px;
  margin-bottom: 1.5rem;
}

.why-us-card p {
  font-size: 16px;
  line-height: 27.2px;
  color: #717171;
}

/* Invoice Section */
.invoice-section {
  padding: 5rem 0;
  background-color: #fafafc;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

.invoice-heading {
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  text-align: center;
  color: #323c45;
  margin-bottom: 0;
}

.invoice-heading .highlight {
  font-weight: 300;
  color: #92b893;
}

.btn-invoice {
  background-color: #38c760;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  font-weight: 500;
  font-size: 17px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-invoice:hover {
  background-color: #2da350;
  color: white;
  transform: translateY(-2px);
}

.step-icon {
  width: 90px;
  height: 90px;
  background-color: #f0fff5;
  border: 1px solid #34603a;
  border-radius: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon img {
  width: 40px;
  height: 40px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: #323c45;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1,
  .hero-content h1 .highlight {
    font-size: 50px;
    line-height: 65px;
  }

  /* About Section */
.about-section {
  padding: 3rem 0;
  background-color: white;
}

  .hero-description {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-form-card {
    max-width: 100%;
    margin-top: 2rem;
  }

  .about-main-heading,
  .invoice-heading {
    font-size: 35px;
    line-height: 45px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .about-image {
    height: 350px;
    margin-bottom: 2rem;
  }

  .about-gallery-img {
    height: 180px;
    margin-bottom: 1rem;
  }

    .why-us-section {
  padding: 2rem 0;
  background-color: white;
}
  .why-us-card {
    text-align: center;
    margin-bottom: 0rem;
    padding: 0px;
  }

  .invoice-section {
  padding: 2rem 0;
  background-color: #fafafc;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

    .services-section {
  padding: 2rem 0;
  background-color: #fafafc;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

  .fatura-steps{
    margin-top: 0px !important;
  }
}

@media (max-width: 768px) {

  .service-card-wrapper {
    margin: 0px;
  }

  .hero-content h1,
  .hero-content h1 .highlight {
    font-size: 50px;
    line-height: 65px;
  }

  .fatura-steps{
    margin-top: 0px !important;
  }

  .services-section {
  padding: 2rem 0;
  background-color: #fafafc;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

  .invoice-section {
  padding: 2rem 0;
  background-color: #fafafc;
  border-top: 1px solid rgba(56, 199, 96, 0.49);
}

.about-section {
  padding: 2rem 0;
  background-color: white;
}

  .hero-description {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-form-card {
    max-width: 100%;
    margin-top: 2rem;
  }

  .section-label {
    font-size: 20px;
    text-align: center;
  }

  .section-divider {
    margin: 1rem auto;
  }

  .about-main-heading,
  .invoice-heading {
    font-size: 28px;
    line-height: 36px;
    text-align: center;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  /* Carousel controls responsive */
  .carousel-controls {
    justify-content: center;
    margin-top: 1rem;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
  }

  .why-us-card {
    text-align: center;
    margin-bottom: 0rem;
    padding: 0px;
  }

  /* Partners section responsive */
  .partners-container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .partners-track {
    gap: 2rem;
  }

  .partner-item {
    width: 140px;
    height: 100px;
  }

  .partner-logo {
    max-height: 80px;
    max-width: 120px;
  }

  .partners-scroll::before,
  .partners-scroll::after {
    width: 50px;
  }

  .marginb-0{
    margin-bottom: 0px !important;
  }

  .why-us-section {
  padding: 2rem 0;
  background-color: white;
}
}
