@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #f3f4f6;
}
/*HOME*/
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-bg-purple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #2a2153;
  background-image: linear-gradient(to bottom, #2a2153, #1e1837);
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 60vh, 0% 100%);
}
.hero-bg-green {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #559146;
  z-index: 1;
}
@media (max-width: 767px) {
  .hero-bg-purple {
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 100%);
    height: 65vh;
  }
}
.navbar {
  position: fixed;
  top: 0px;
  z-index: 30;
  background-color: #29214f;
  height: 30px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  width: 100%;
  box-sizing: border-box;
}
.navbar-links {
  display: none;
}
.navbar-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-left: 2rem;
  position: relative;
  transition: color 0.3s;
}

.navbar-links a:hover {
  color: #ccc;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.navbar-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.menu-button {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 50;
  display: block;
}
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 256px;
  background-color: #559146;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}
.sidebar-logo {
  width: 60px;
  height: auto;
  float: left;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.sidebar-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0;
  transition: all 0.3s;
}

.sidebar-links a:hover {
  text-decoration: underline;
  text-decoration-color: white;
  letter-spacing: 1px;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  transition: all 0.3s;
  color: white;
}

.social-icons a:hover {
  scale: 1.2;
  background-color: white;
  color: #4c75e1;
}

.sidebar-footer p {
  font-size: 0.875rem;
  color: white;
  margin: 2rem 0;
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: white;
  height: auto;
  float: right;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.text-content {
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.text-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.learn-more-button {
  background-color: white;
  color: #4a5568;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.learn-more-button:hover {
  background-color: #559146;
  color: white;
}

.robot-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 0.5rem;
}

@media (min-width: 768px) {
  .navbar {
    padding: 2rem;
  }
  .navbar-links {
    display: flex;
  }
  .menu-button {
    display: block;
  }
  .hero-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
  }
  .hero-bg-purple {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 0 70%);
  }
  .text-content {
    max-width: 50%;
    padding-right: 2rem;
    margin-bottom: 0;
  }
  .robot-image {
    max-width: 400px;
  }
}

/*HOW IT WORKS*/

.how-it-works-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: white;
}

.how-it-works-header {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.how-it-works-header p {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.how-it-works-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-it-works-header h2 span {
  color: #559146;
}

.how-it-works-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: transform 0.3s ease-in-out;
  max-width: 400px;
  margin: 0 auto;
}

.step-item:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #559146;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease-in-out;
}

.step-item:hover .step-number {
  transform: translateY(-10px);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a2153;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .how-it-works-steps {
    justify-content: space-between;
  }
  .step-item {
    width: 48%;
    margin: 0 100px;
  }
}

@media (min-width: 1024px) {
  .step-item {
    width: 23%;
  }
}

/*  CLIENTS  */

.clients-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #f3f4f6;
}

.clients-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.clients-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2a2153;
}

.clients-header .green-text {
  color: #559146;
}

.clients-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
}

/* Slider */
.slider-container {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.client-image {
  width: 90%;
  max-width: 800px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.client-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.info-item {
  text-align: center;
}

.info-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a2153;
  margin: 0;
}

.info-item p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #55914680;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 12;
  transition: all 0.3s;
  opacity: 0;
  color: white;
}

.slider-container:hover {
  .slider-btn {
    opacity: 1;
  }
}

.slider-btn:hover {
  background-color: #559146;
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

@media (max-width: 768px) {
  .slider-btn {
    font-size: 0.5rem;
  }
}

/*STATS*/
.stats-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: white;
}

.stats-header {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.stats-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2a2153;
}

.stats-header .green-text {
  color: #559146;
}

.stats-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  max-width: 300px;
}

.donut-chart {
  --chart-fill: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
  background: radial-gradient(circle, white 55%, transparent 55%),
    conic-gradient(#559146 calc(var(--chart-fill) * 1%), #f3f3f3 0);
  transition: background 1s ease-in-out;
}

.donut-chart-value {
  font-size: 2rem;
  font-weight: 700;
  color: #2a2153;
}

.stat-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2a2153;
  margin-top: 0;
}

.stat-description {
  font-size: 0.875rem;
  color: #6b7280;
}

/*  Satisfied Customers */
.testimonials-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #f3f4f6;
}

.testimonials-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.section-header {
  max-width: 40%;
  margin-bottom: 6rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2a2153;
}

.section-header .green-text {
  color: #559146;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
}

.testimonial-slider-wrapper {
  position: relative;
  max-width: 40%;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonials-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  cursor: grab;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0 1rem;
  margin-top: 2rem;
}

.quote-icon {
  color: #559146;
  font-size: 3rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
  padding: 0 2rem;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

.author-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.author-info h4 {
  margin: 0;
  font-weight: 600;
  color: #2a2153;
}

.logos-container {
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.logos-slider {
  overflow: hidden;
}

.logos-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  cursor: grab;
}

.logo-item {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.logo-item img:hover {
  opacity: 1;
}

.slider-btnn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #55914680;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: all 0.3s;
  color: white;
  scale: 0.5;
  opacity: 0;
}

.testimonial-slider-wrapper:hover {
  .slider-btnn {
    opacity: 1;
  }
}
.slider-btnn:hover {
  background-color: #559146;
}

.prev-btnn {
  left: -20px;
}

.next-btnn {
  right: -20px;
}

.slider-btnnn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #55914680;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: 0.7rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: all 0.3s;
  color: white;
  opacity: 0;
}

.logos-container:hover {
  .slider-btnnn {
    opacity: 1;
  }
}
.slider-btnnn:hover {
  background-color: #559146;
}

.prev-btnnn {
  left: 1px;
}

.next-btnnn {
  right: 1px;
}

@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .section-header,
  .testimonial-slider-wrapper {
    max-width: 100%;
    text-align: center;
  }
  .testimonial-slider-wrapper {
    margin-top: 2rem;
  }
  .testimonial-text {
    padding: 0;
  }
  .slider-btnnn {
    font-size: 0.5rem;
    scale: 0.5;
    margin-top: -1rem;
  }
  .next-btnnn {
    right: -10px;
  }
  .prev-btnnn {
    left: -10px;
  }
}

/*CONTACT*/
/* Contact Section */
.contact-section-unique {
  padding: 4rem 1rem;
  background-color: white;
}

.contact-container-unique {
  display: flex;
  justify-content: space-between;
  max-width: 90%;
  margin: 0 auto;
}

.contact-form-side-unique,
.contact-info-side-unique {
  padding: 2rem;
  border-radius: 0.75rem;
  background-color: white;
  width: 100%;
}

.contact-form-side-unique {
  margin-bottom: 2rem;
}

.contact-form-side-unique h2,
.contact-info-side-unique h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2a2153;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group-unique {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group-unique input {
  width: 100%;
}

.form-group-textarea-unique {
  width: 100%;
  margin-bottom: 1rem;
}

.contact-section-unique input,
.contact-section-unique textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #4b5563;
  width: 100%;
}

.contact-section-unique textarea {
  min-height: 150px;
  resize: vertical;
}

.send-button-unique {
  background-color: #559146;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s;
  width: 100%;
}

.send-button-unique:hover {
  background-color: #4d823d;
}

.contact-info-side-unique {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-side-unique p {
  color: #6b7280;
}

.info-item-unique {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #4b5563;
}

.info-item-unique i {
  font-size: 1.25rem;
  color: #559146;
}

/* Mobile View */
@media (max-width: 768px) {
  .contact-container-unique {
    flex-direction: column;
    /* Invert order on mobile */
  }
  .contact-form-side-unique {
    translate: -35px;
  }

  .contact-info-side-unique {
    translate: -35px;
  }
}

/* Tablet and Desktop View */
@media (min-width: 769px) {
  .contact-form-side-unique {
    width: 50%;
  }
  .contact-info-side-unique {
    width: 50%;
  }
}

/* Footer */
.main-footer-unique {
  padding: 2rem 1rem;
  background-color: white;
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-container-unique {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-social-unique {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-social-unique a {
  color: #6b7280;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.footer-social-unique a:hover {
  background-color: white;
  color: #4c75e1;
  scale: 1.2;
}

/* Desktop View */
@media (min-width: 768px) {
  .footer-container-unique {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-social-unique,
  .footer-copyright-unique {
    margin: 0;
  }
}

/* Loader*/
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  z-index: 99;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #559146;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Main content container, initially hidden */
.content-hidden {
  opacity: 0;
  visibility: hidden;
}
