:root {
  --primary: #1abc9c;
  --primary-dark: #e67e22;
  --secondary: #e67e22;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #64748b;
  --gradient: linear-gradient(135deg, #1abc9c, #e67e22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: auto;
  align-items: end;
  display: block;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-hidden {
  opacity: 0;
  transform: translateY(20px);
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

nav {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 56px;
  height: 56px;
  transition: transform 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

#view-more-btn {
  margin-top: 20px;
  position: relative;
  align-items: center;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 200px;
}

.cta-button {
  background: #1abc9c;
  text-decoration: none;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #17a387;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-menu:hover {
  transform: rotate(90deg);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  /* background: var(--gradient); */

  color: black;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  animation: slideInLeft 0.8s ease-out;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.secondary-button {
  background: white;
  color: #1abc9c;
  border: 2px solid #1abc9c;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.secondary-button:hover {
  background: rgb(233, 231, 231);
  color: #1abc9c;
  border: 2px solid #1abc9c;
  /* transform: translateY(-2px); */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--gradient);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  background: var(--gradient);
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.feature-card p {
  color: var(--dark-gray);
}

/* Vendor List Section */
.Vendor-list {
  padding: 80px 0;
  background: var(--light);
}

.Vendors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.vendor-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.vendor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.vendor-header {
  text-align: center;
}

.vendor-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.vendor-card:hover .vendor-img {
  transform: scale(1.05);
}

.vendor-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.vendor-card p {
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.vendor-description.hidden {
  display: none;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: #f5f7fa;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: center;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateX(8px);
}

.step-number {
  background: var(--gradient);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-content p {
  color: var(--dark-gray);
}

#join-us-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#join-us-link:hover {
  color: var(--primary-dark);
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border: 3px solid var(--primary);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.price {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--dark-gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  color: var(--dark-gray);
  position: relative;
}

.pricing-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  margin-right: 8px;
}

/* Testimonials Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.testimonial-track {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
  cursor: grab;
}

.testimonial-track:active {
  cursor: grabbing;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.testimonial-slide:not([aria-current="true"]) {
  opacity: 0.6;
}

.testimonial-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--primary);
}

.testimonial-quote {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: var(--primary);
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: var(--primary);
  color: white;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Animation for slide transition */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-slide {
  animation: slideIn 0.5s ease-out;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
  background: var(--gradient);
  color: rgb(0, 0, 0);
  position: relative;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: white;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: white;
}

/* Modal Styles */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px); /* Apply blur effect */
  align-items: center;
  justify-content: center;
}

/* Updated modal-content styles */
.modal-content {
  background-color: white;
  max-height: 80%; /* Limit height to make it scrollable */
  overflow-y: auto; /* Enable vertical scrolling */
  padding: 24px; /* Adjust padding for smaller size */
  border-radius: 12px; /* Slightly smaller border radius */
  max-width: 500px; /* Reduce width */
  width: 90%; /* Responsive width */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Adjust shadow */
}

@media (max-width: 768px) {
  .modal-content {
    max-height: 70%; /* Further reduce height for smaller screens */
    padding: 16px; /* Adjust padding */
    width: 95%; /* Increase responsiveness */
  }
}

@media (max-width: 480px) {
  .modal-content {
    max-height: 60%; /* Further reduce height for very small screens */
    padding: 12px; /* Adjust padding */
    width: 100%; /* Full width for small screens */
  }
}

.fade-in {
  animation: scaleIn 0.3s ease-out;
}

.fade-out {
  animation: scaleIn 0.3s ease-out reverse;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 28px;
  color: var(--dark-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--primary);
}

.modal-content h2 {
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 0 16px;
}

#salesContactForm .form-group {
  margin-bottom: 24px;
}

#salesContactForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

#salesContactForm input,
#salesContactForm select,
#salesContactForm textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

#salesContactForm input:focus,
#salesContactForm select:focus,
#salesContactForm textarea:focus {
  border-color: var(--primary);
  outline: none;
}

#salesContactForm .cta-button {
  background: var(--gradient);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  transition: transform 0.3s ease;
}

#salesContactForm .cta-button:hover {
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 64px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-links li,
a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: background 0.3s ease;
  padding: 10px;
}

.social-links a:hover {
  background: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Prevent background scrolling when modal is active */
.modal-open {
  overflow: hidden; /* Disable scrolling */
  height: 100%; /* Ensure no scrolling */
}

/* Add this class dynamically to the body when modal is opened */

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .features-grid,
  .pricing-grid,
  .Vendors,
  .testimonial-grid-purecss {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    width: 95%;
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .Vendors {
    grid-template-columns: 1fr;
  }

  .vendor-card {
    padding: 16px;
  }
}
