/* General Namespaced Styles */
.hlm-pricing-section {
  font-family: "roc-grotesk", sans-serif;
  text-align: center;
  padding: 50px 20px;
  background-color: #FEFCFF;
}

.hlm-billing-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.hlm-toggle-btn {
	background: None; 
	font-family: 'roc-grotesk', sans-serif;
  font-size: 1rem; /* Readable font size */
  font-weight: 700;
  text-align: center;
  padding: 12px 24px;
  border-radius: 30px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
	border-color: #7A06D3;
	border: 5px;
}

.hlm-toggle-btn.active {
  background: #7A06D3;
  color: #fff;
  border-color: #7A06D3;
}

/* Pricing Cards */
.hlm-pricing-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hlm-pricing-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 300px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
	  flex: 1;
}

.hlm-pricing-card.hlm-highlight {
  background: linear-gradient(135deg, #A957FF, #5700E3);
  color: white;
  transform: scale(1.1);
	  z-index: 1; /* Ensure it appears above others */
}

.hlm-pricing-card.hlm-highlight .hlm-icon,
.hlm-pricing-card.hlm-highlight .hlm-title,
.hlm-pricing-card.hlm-highlight .hlm-revenue,
.hlm-pricing-card.hlm-highlight .hlm-price,
.hlm-pricing-card.hlm-highlight .hlm-features li {
  color: white;
}

.hlm-pricing-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}

.hlm-pricing-card .hlm-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.hlm-pricing-card .hlm-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.hlm-pricing-card .hlm-revenue {
  font-size: 14px;
  margin-bottom: 20px;
}

.hlm-pricing-card .hlm-price {
  font-size: 24px; /* Adjust size to fit both the number and the euro sign */
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px; /* Add space between the number and the euro sign */
}

.hlm-pricing-card .hlm-price span {
  font-size: 24px; /* Keep both the number and euro sign consistent in size */
  font-weight: bold;
}

.hlm-pricing-card .hlm-business-type {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.hlm-business-type button {
  background: #ddd;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.hlm-business-type button:hover {
  background: #bbb;
}

.hlm-business-type span {
  font-size: 16px;
  font-weight: bold;
}

.hlm-pricing-card .hlm-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.hlm-pricing-card .hlm-features li {
  margin: 5px 0;
  font-size: 14px;
}

/* Call-to-Action Button */
.hlm-cta {
	font-family: 'roc-grotesk', sans-serif;
  font-size: 1rem; /* Readable font size */
  font-weight: 700;
  background: #E4D2FC;
  color: #7A06D3;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hlm-cta:hover {
	background: #F1E6F9
}

/* Popup Overlay */
.hlm-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px; /* Add some padding for better UX on small screens */
  box-sizing: border-box;
  overflow: hidden; /* Prevent scrolling of the background */
}

/* Popup Container */
.hlm-popup {
  position: relative;
  display: flex;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  animation: hlm-popupAppear 0.5s ease;
  max-width: 900px;
  width: 100%;
  max-height: 90%; /* Ensure it doesn't exceed the viewport height */
  overflow-y: auto; /* Enable vertical scrolling if content exceeds the height */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

/* Left Section */
.hlm-popup-left {
  flex: 1;
  padding: 30px;
  background: #f9f9f9;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 50%; /* Ensure it doesn't collapse too much */
  box-sizing: border-box;
}

/* Right Section */
.hlm-popup-right {
  flex: 1;
  padding: 30px;
  text-align: center;
  box-sizing: border-box;
  min-width: 50%; /* Ensure it doesn't collapse too much */
}

/* Popup Title */
.hlm-popup-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

/* Popup Description */
.hlm-popup-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

/* Logos Section */
.hlm-popup-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.hlm-popup-logos img {
  height: 25px;
}

/* Footer Text */
.hlm-popup-footer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

/* Lottie Animation */
.hlm-popup-left .hlm-lottie-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.hlm-popup-left .hlm-lottie-container lottie-player {
  width: 100px;
  height: 100px;
}

/* Form Fields */
.hlm-popup-right form input,
.hlm-popup-right form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.hlm-popup-right form button {
  width: 100%;
  padding: 12px;
  background: #A957FF;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hlm-popup-right form button:hover {
  background: #5700E3;
}

/* Close Button */
.hlm-close-btn {
  background: #ddd;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 14px;
}

.hlm-close-btn:hover {
  background: #bbb;
}

/* Animation for Popup Appearance */
@keyframes hlm-popupAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hlm-popup {
    flex-direction: column; /* Stack sections vertically */
    width: 90%; /* Adjust width for smaller devices */
    max-width: 100%; /* Ensure it fits the screen width */
    max-height: 90%; /* Ensure it doesn't exceed viewport height */
  }

  .hlm-popup-left,
  .hlm-popup-right {
    width: 100%; /* Full width for each section */
    min-width: unset; /* Remove minimum width constraints */
  }

  .hlm-popup-right {
    border-top: 1px solid #ddd; /* Add a divider between sections */
  }
}




/* Animations */
.animated {
  opacity: 0;
  transform: translateY(50px);
  animation: hlm-fadeIn 1s forwards;
}

.fade-left {
  animation-delay: 0.2s;
}

.fade-center {
  animation-delay: 0.4s;
}

.fade-right {
  animation-delay: 0.6s;
}

@keyframes hlm-fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Slider for Mobile */
@media (max-width: 768px) {
  .hlm-pricing-cards {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling */
    gap: 10px;
    padding: 10px;
  }

  .hlm-pricing-card {
    flex: 0 0 80%; /* Each card takes 80% of the viewport */
    scroll-snap-align: center; /* Snap to center of the screen */
    margin: 0 auto; /* Center cards within the scroll */
  }
}


.hlm-pricing-cards::-webkit-scrollbar {
  height: 8px; /* Adjust scrollbar height */
}

.hlm-pricing-cards::-webkit-scrollbar-thumb {
  background: #A957FF; /* Scrollbar color */
  border-radius: 10px; /* Rounded edges */
}

.hlm-pricing-cards::-webkit-scrollbar-thumb:hover {
  background: #5700E3; /* Hover color for scrollbar */
}

/* Close Button Styles */
.hlm-close-btn {
  position: absolute; /* Position relative to the popup container */
  top: 15px; /* Adjust as needed */
  right: 15px; /* Adjust as needed */
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2; /* Ensure it sits above other elements in the popup */
}

.hlm-close-btn:hover {
  color: #A957FF; /* Highlight color on hover */
}
