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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #E8F5E9; /* Light Green Background */
  overflow-x: hidden;
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: #0B6623; /* Dark Green for Heading */
}

p {
  text-align: center;
  margin-bottom: 10px;
  color: #0B5320; /* Slightly Darker Green for Text */
}

.header {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Stack content vertically */
  overflow: hidden;
}

.header-image {
  width: 70%;
  height: 70%;
  object-fit: cover;
}

.header p {
  font-size: 1.2rem;
  margin: 10px 0 20px;
  text-align: center;
  z-index: 1;
}

.header .btn {
  background: #12CB2F; /* Green Button */
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s;
  z-index: 1;
  margin-top: 20px; /* Adds space between text and button */
}

.header .btn:hover {
  background: #0B6623; /* Darker Green on Hover */
}

/* Features Section */
.features {
  background: #F1F8E9; /* Very Light Green Background */
  padding: 50px 20px;
}

.features .feature-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features .feature {
  background: #FFFFFF; /* White Box for Contrast */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.features .feature i {
  font-size: 3rem;
  color: #12CB2F; /* Green Icons */
  margin-bottom: 10px;
}

/* Click Animation (Move up towards the face) */
.features .feature:active {
  transform: translateY(-8px); /* Moves the feature box upwards (towards the face) */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Changes the shadow to simulate the lift */
}

/* Responsive Design for Large Screens */
@media (min-width: 768px) {
  .features .feature-box {
    flex-direction: row;
    justify-content: center;
  }

  .features .feature {
    flex: 1 0 calc(33.33% - 20px);
    max-width: 300px;
  }
}

/* Pricing Section */
.pricing {
  background: #E8F5E9; /* Light Green Pricing Section */
  padding: 50px 20px;
}

.pricing-box {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
}

.pricing .package {
  background: #FFFFFF; /* White Background for Packages */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 250px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing .package h3 {
  margin-bottom: 10px;
}

.pricing .package .btn {
  background: #12CB2F; /* Green Button */
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
}

.pricing .package .btn:hover {
  background: #0B6623;
}

/* Download Section */
.download {
  background: #12CB2F; /* Green Section */
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.download .btn {
  background: #FFFFFF;
  color: #12CB2F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
}

.download .btn:hover {
  background: #0B6623;
  color: #fff;
}

/* Footer */
footer {
  background: #0B6623; /* Dark Green Footer */
  color: #fff;
  padding: 20px;
  text-align: center;
}

/* Add Smooth Scrolling */
.feature-box::-webkit-scrollbar,
.pricing-box::-webkit-scrollbar {
  height: 8px;
  background: #E8F5E9;
}

.feature-box::-webkit-scrollbar-thumb,
.pricing-box::-webkit-scrollbar-thumb {
  background: #12CB2F;
  border-radius: 5px;
}

/* Floating Button */
.scroll-to-top {
  position: fixed;
  bottom: 10px; /* Button will be 20px from the bottom */
  right: 10px; /* Button will be 20px from the right */
  background-color: #12CB2F; /* Green background */
  color: white;
  border: none;
  border-radius: 10%;
  width: 50px; /* Set the width to make it circular */
  height: 50px; /* Set the height to make it circular */
  padding: 0; /* Remove padding to keep the size equal */
  font-size: 24px;
  text-align: center;
  line-height: 0px; /* Vertically center the text */
  cursor: pointer;
  display: none; /* Hidden by default */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000; /* Ensure it's on top */
  transition: all 0.5s ease-in-out; /* Smooth transition for showing and hiding */
}

.scroll-to-top:hover {
  background-color: #FF12CB2F; /* Darker green on hover */
}