/* General Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  background-color: black;
  color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.close-button {
  position: absolute;
  top: -25px;
  right: -25px;
  background-color: #2873f0;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-button:hover {
  background-color: #000000;
}

/* Desktop Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature-box {
  background-color: black;
  border: 1px solid white;
  border-radius: 10px;
  padding: 15px;
  width: 150px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #ccc;
}

.feature-description {
  font-size: 14px;
  color: #ccc;
  text-align: center;
}

/* Mobile Slideshow Section */
.features-slideshow {
  display: none; /* Hidden by default */
}

.slideshow-item {
  text-align: center;
  margin: 10px 0;
}

.slideshow-icon {
  font-size: 24px;
}

.slideshow-title {
  font-size: 18px;
  color: #ccc;
}

/* Form Section */
.form-section {
  flex: 1;
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.form-popup {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.form-button:hover {
  background-color: #2873f0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .features {
    display: none; /* Hide desktop features for small screens */
  }

  .features-slideshow {
    display: block; /* Show slideshow for small screens */
  }
}

@media (min-width: 769px) {
  .features-slideshow {
    display: none; /* Hide slideshow for larger screens */
  }
}
