* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333; /* Default text color (black) */
  background-color: #f9f9f9;
}
/* Body Styles */
body.scroll-locked {
  overflow: hidden !important; /* Forcefully disable scrolling */
  position: fixed !important;
  width: 100% !important;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;  

 /* z-index: 2;  Ensure the content is above the overlay */
}
.container h2 {
  color: #fff; /* White text color */
  text-align: center; /* Center the heading */
  margin-bottom: 20px; /* Add spacing below the heading */
}

.btn, .btn_2{
  position: relative;
  display: inline-block;
  padding: 10px 10px;
  background: #0074D9;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  cursor: pointer; /* Ensure the cursor changes to a pointer */
  z-index: 10; /* Ensure it's above other elements */
  pointer-events: auto; /* Ensure the button is clickable */
}

.btn:hover, .btn_2:hover {
  background: #0056b3;
}


.services-page,
.pricing,
.hero-services {
  position: relative;
  padding: 60px 0; /* Add padding for spacing */
  color: #fff; /* Ensure text is white */
  overflow: hidden;
  text-align: center; /* Center align all text */
}

/* Hero Section */
.hero-services {
  background: url('services-hero.jpg') no-repeat center/cover;
}

.hero-services .overlay_services,
.services-page .overlay_services,
.pricing .overlay_services,
.overlay_services {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  background: transparent !important;
}

.hero-services .hero-content,
.pricing .container_services,
.services-page .container_services,
.container_services {
  position: relative;
}

/* Services Page Section */


.services-page {
  background: url('services-background.jpg') no-repeat center/cover; /* Add your generated image here */
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.service-card {
    border-radius: 10px;
    height: 300px;
}

/* Update card-content to ensure background images cover the container */
.card-content {
  box-sizing: border-box;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 20px;
  height: 100%; /* Ensure the content fills the card */
  display: flex; /* Use Flexbox for alignment */
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Space out content evenly */
  background: rgba(0, 0, 0, 0.6); /* Fallback background */
  background-size: cover; /* Ensure the background image covers the entire container */
  background-position: center; /* Center the background image */
  border-radius: 8px; /* Rounded corners for aesthetics */
}

/* Pricing Section */
.pricing {
  background: url('pricing-background.jpg') no-repeat center/cover; /* Add your generated image here */
}


.pricing h2 {
  font-size: 36px;
  margin-bottom: 40px; /* Add spacing below the heading */
  color: #fff; /* Ensure the heading is white */
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.pricing-card {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #fff; /* Ensure all text inside cards is white */
  text-align: center;
  display: flex; /* Use Flexbox for alignment */
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Space out content evenly */
  height: 100%; /* Ensure all cards have the same height */
}

.pricing-card h3 {
  font-size: 20px; /* Slightly smaller font size for long words */
  margin-bottom: 15px;
  word-break: break-word; /* Ensure long words wrap */
  color: #fff; /* Ensure headings are white */
  
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow the list to take up available space */
   
}

.pricing-card li {
  margin-bottom: 10px;
  font-size: 14px; /* Slightly smaller font size for better fit */
  color: #fff; /* Ensure list items are white */
 
}

.pricing-card .price {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px; /* Consistent spacing below the price */
  color: #fff; /* Ensure prices are white */
  line-height: 1.2; /* Consistent line height */

  
}

.pricing-card .btn,
.service-card .btn {
  margin-bottom: 20px; /* Push the button to the bottom */
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent button background */
  border: 1px solid #fff; /* White border for visibility */
  color: #fff; /* White text for the button */
  transition: background 0.3s ease, color 0.3s ease;
 
}

.pricing-card .btn:hover,
.service-card .btn:hover {
  background: #fff; /* Solid white background on hover */
  color: #000; /* Black text on hover */
}


/* Gradient Backgrounds for Each Card */
.basic-plan {
  background: linear-gradient(135deg, #0074D9, #0056b3) !important; /* Blue Gradient */
 
}

.chatbot-plan {
  background: linear-gradient(135deg, #2ECC40, #28A745) !important; /* Green Gradient */
 
}

.ai-plan {
  background: linear-gradient(135deg, #FF851B, #FF4136) !important; /* Orange-Red Gradient */
 
}

.comprehensive-plan {
  background: linear-gradient(135deg, #B10DC9, #85144B) !important; /* Purple-Pink Gradient */
 
}



/* Pop-up Container */
.popup {
  display: none;
  position: fixed; /* Use fixed positioning to center the popup */
  top: 15%;
  left: 25%;
  transform: translate(-50%, -50%); /* Center the popup */
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 80vw; /* Responsive width */
  max-width: 800px; /* Limit maximum width for larger screens */
  max-height: 90vh; /* Limit maximum height */
  overflow-y: auto; /* Enable scrolling if content overflows */
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.95); /* Slightly shrink the popup */
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.popup.active {
  display: block;
  opacity: 1;
  transform: scale(1); /* Scale back to normal size */
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.popup.fade-out {
  animation: fadeOut 0.3s forwards;
}

/* Mobile-Specific Styles */
@media screen and (max-width: 900px) {
  .popup {
    top: auto; /* Remove top: 50% */
    bottom: 0; /* Start at the bottom of the screen */
    left: 0;
    transform: translateY(100%); /* Start off-screen */
    width: 100vw;
    max-width: 100vw;
    max-height: 80vh; /* Adjust height for better usability */
    height: auto;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: transform 0.3s ease-out;
    padding: 20px; /* Ensure proper inner spacing */
    box-sizing: border-box; /* Include padding in width/height calculations */
  }

  .popup.active {
    transform: translateY(0); /* Slide up into view */
  }
}

/* Pop-up Content */
.popup-content {
  max-height: 80vh; /* Limit height to enable scrolling */
  padding-top: 30px; /* Add space for the close button */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  overscroll-behavior: contain; /* Prevent scroll chaining */
}


/* Gradient Backgrounds for Each Card */
.popup.web-dev-popup,
.popup.it-support-popup,
.popup.service-ai-assistant-popup,
.popup.crm-selling-popup,
.popup.crm-integration-popup,
.popup.chatbots-popup {
  /*  background-image: url('web-development.jpg');*/
  background: linear-gradient(135deg, #3891e5, #099fd5) !important; /* Purple-Pink Gradient */
}

/* Override default popup background for the Basic Plan Popup */
.popup.basic-plan-popup {
  background: linear-gradient(135deg, #0074D9, #0056b3);
}

/* Override for Chatbot Plan Popup */
.popup.chatbot-plan-popup {
  background: linear-gradient(135deg, #2ECC40, #28A745);
}

/* Override for AI Assistant Popup */
.popup.ai-assistant-popup {
  background: linear-gradient(135deg, #FF851B, #FF4136);
}

/* Override for Comprehensive Plan Popup */
.popup.comprehensive-plan-popup {
  background: linear-gradient(135deg, #B10DC9, #85144B);
}

.popup.basic-plan-popup,
.popup.chatbot-plan-popup,
.popup.ai-assistant-popup,
.popup.comprehensive-plan-popup,
.popup.web-dev-popup,
.popup.it-support-popup,
.popup.service-ai-assistant-popup,
.popup.crm-selling-popup,
.popup.crm-integration-popup,
.popup.chatbots-popup  {
    z-index: 1200;
}

/* Header Styling */
.popup h2 {
  margin-top: 0; /* Remove top margin to prevent overlap */
  font-size: 24px;
  text-align: center;
}

/* Add spacing between articles */
.popup-content article {
    margin-bottom: 20px;
}

/* Center all headers inside the popup and add spacing */
.popup-content h2,
.popup-content h3,
.popup-content h4 {
    text-align: center;
    margin-bottom: 15px; /* Adjust spacing as needed */
    margin-top: 15px; /* Adjust spacing as needed */
}


/* Ensure paragraphs and list text are left-aligned */
.popup-content p,
.popup-content li {
    text-align: left;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 1201;
}


/* Dedicated Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dimmed background */
  z-index: 900; /* Below the popup */
  pointer-events: auto; /* Allow clicks to close the popup */
}
/* Show Pop-up and Overlay */
.overlay.active,
.popup.active,
.popup-overlay.active {
  display: block;
}