/* Importing Google font - Open Sans */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
body {
  height: 100vh;
  width: 100%;
  background-color: white;
  overflow-x: hidden;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 0 0.625rem;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.navbar {
  display: flex;
  padding: 0.625rem 0; /* Reduce padding size */
  align-items: center;
  max-width: 75rem;
  margin: 0 auto;
  justify-content: space-between;
}
.navbar .hamburger-btn {
  display: none;
  color: #36a13a;
  cursor: pointer;
  font-size: 24px;
}
.navbar .logo {
  gap: 0.625rem;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar .logo img {
  width: 1.875rem; /* Reduce logo size */
  border-radius: 50%;
}
.navbar .logo h2 {
  font-weight: 600;
  font-size: 19.2px; /* Reduce font size */
}
.navbar .links {
  display: flex;
  gap: 1.25rem; /* Reduce gap size */
  list-style: none;
  align-items: center;
}
.navbar .close-btn {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  display: none;
  color: #000000;
  cursor: pointer;
}
/*for navigating link to make them different color */
.navbar .links a {
  font-size: 16px; /* Adjust font size */
  font-weight: 500;
  text-decoration: none;
  transition: 0.1s ease;
}
.navbar .links .aboutus-link {
  color: #2e8b57;
  font-size: small;
  font-weight: bolder;
}
.navbar .links .contactus-link {
  color: #2e8b57;
  font-size: small;
  font-weight: bolder;
}
.navbar .links .facebook-link {
  color: #2e8b57;
  font-size: small;
  font-weight: bolder;
}
/*change color when hover */
.navbar .links a:hover {
  color: #d63b3b;
}
.navbar .login-btn {
  border: none;
  outline: none;
  background: #36a13a;
  color: #fff;
  font-size: 14.4px; /* Adjust font size */
  font-weight: 600;
  padding: 0.5rem 1rem; /* Adjust padding */
  border-radius: 0.1875rem;
  cursor: pointer;
  transition: 0.15s ease;
}
.navbar .login-btn:hover {
  background: #ec202a;
  color: white;
}

/* For hamburger menu overlay */
.blur-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 5;
  transition: 0.2s ease;
}
.blur-bg-overlay.show {
  opacity: 1;
  visibility: visible;
}

/*For sections of the pages */
/* General Full-Screen Styling */
.section {
  display: flex;
  font-size: 32px;
  width: 100vw;
  height: 67vh; /* Adjust height dynamically */
  color: white;
}

/* First Section - Gallery Sliding Image */
.galleryslidingimage {
  width: 100vw;
  height: 67vh; /* Adjust height dynamically */
  min-height: 400px;
  text-align: center;
  position: relative;
  margin-bottom: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px; /* Pushes it down to avoid getting cut */
}

.slider-wrapper {
  position: relative;
  width: 100vw; /* Full width */
  height: 60vh;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100vw; /* Adjusted dynamically in JS */
  overflow: hidden;
}

.slide {
  flex: 0 0 100vw; /* Ensures each slide takes up full width */
  width: 100vw; /* Full width of viewport */
  height: 70vh;
}

.slide img {
  object-fit: cover; /* Ensures image fills container */
  height: 100%;
  width: 100%;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.625rem; /* Adjust padding */
  cursor: pointer;
  font-size: 1.25rem; /* Adjust font size */
}

.prev {
  left: 1.25rem;
}

.next {
  right: 1.25rem;
}

/* Pricing Section */
.pricing-section {
  text-align: center;
  padding: 50px 20px;
}

.pricing-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #302f2f; /* Red Title */
  text-transform: uppercase;
  margin-bottom: 70px;
  position: relative;
  bottom: 250px;
}

/* Pricing Container */
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  bottom: 290px;
}

/* Individual Pricing Box */
.pricing-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  padding: 20px;
  max-width: 320px;
  width: 100%;
  border: 2px solid #ddd;
  position: relative;
}

/* Header (Title & Badge) */
/* Default Style */
.pricing-header {
  color: white;
  padding: 18px 10px 18px 10px;
  border-radius: 8px 8px 0 0;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

/* Different Background Colors for Each Plan */
.pricing-box:nth-child(1) .pricing-header {
  background: linear-gradient(to right, #ec202a, #ff7676); /* Red Gradient */
}

.pricing-box:nth-child(2) .pricing-header {
  background: linear-gradient(to right, #36a13a, #7ed957); /* Green Gradient */
}

.pricing-box:nth-child(3) .pricing-header {
  background: linear-gradient(
    to right,
    #fcbf06,
    #ff9900
  ); /* Yellow-Orange Gradient */
}

/* Plan Details */
.pricing-box ul {
  list-style: none;
  padding: 15px;
}

.pricing-box ul li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
  color: #444;
}

.pricing-box ul li::before {
  content: "✔"; /* Checkmark */
  color: #4caf50;
  font-weight: bold;
  margin-right: 10px;
}

/* Apply Now Button */
/* Default Button Styling */
.apply-btn {
  display: block;
  width: 80%;
  background: #464646;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 15px auto; /* Auto centers it horizontally */
}

/* Different Gradient Backgrounds */
.pricing-box:nth-child(1) .apply-btn {
  background: linear-gradient(to right, #ec202a, #ff7676); /* Red Gradient */
}

.pricing-box:nth-child(2) .apply-btn {
  background: linear-gradient(to right, #36a13a, #7ed957); /* Green Gradient */
}

.pricing-box:nth-child(3) .apply-btn {
  background: linear-gradient(
    to right,
    #fcbf06,
    #ff9900
  ); /* Yellow-Orange Gradient */
}

/* Hover Effects */
.pricing-box:nth-child(1) .apply-btn:hover {
  background: linear-gradient(to right, #ff3b3b, #ff9999); /* Lighter Red */
}

.pricing-box:nth-child(2) .apply-btn:hover {
  background: linear-gradient(to right, #4caf50, #9beb79); /* Lighter Green */
}

.pricing-box:nth-child(3) .apply-btn:hover {
  background: linear-gradient(to right, #ffcc33, #ffb84d); /* Lighter Yellow */
}

ul {
  list-style-type: none; /* Hides the bullet points */
  padding-left: 0; /* Optional: Removes default padding */
}

/* Section Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Section Headings */
section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #302f2f;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ec202a, #36a13a, #fcbf06);
}

/* Our Services Section */
.our-services {
  background-color: #f9f9f9;
  padding: 50px 0;
  margin-top: -240px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #36a13a;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Make Footer Always Visible */
footer {
  width: 100%;
  padding: 0.625rem 0;
  text-align: center;
  bottom: 0;
  left: 0;
  z-index: 1000; /* Ensure it stays on top */
}

/* Style Footer Image */
.footer img {
  width: 9.375rem; /* Resize as needed */
  max-width: 100%;
  height: 50px;
  display: block;
  margin: 0 auto;
}

/*For laptops */
@media (max-width: 950px) {
  .navbar :is(.hamburger-btn, .close-btn) {
    display: block;
  }
  .navbar {
    padding: 0.625rem 0; /* Reduce padding size */
  }
  .navbar .logo img {
    display: none;
  }
  .navbar .logo h2 {
    font-size: 16px; /* Reduce font size */
  }
  .navbar .links {
    position: fixed;
    top: 0;
    z-index: 10;
    left: -100%;
    display: block;
    height: 100vh;
    width: 100%;
    padding-top: 3.75rem;
    text-align: center;
    background: #fff;
    transition: 0.2s ease;
  }
  .navbar .links.show-menu {
    left: 0;
  }
  .navbar .links a {
    display: inline-flex;
    margin: 1.25rem 0;
    font-size: 19.2px;
  }
  .navbar .links a:hover {
    color: #6f6f6f;
  }
  .navbar .login-btn {
    font-size: 12.8px; /* Adjust font size */
    padding: 0.4375rem 0.625rem;
  }
  /**To make responsive gallery slide and subcripstion page */
  .galleryslidingimage {
    margin-top: 5px;
    margin-bottom: 200px;
    height: 67h;
  }

  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100vw; /* Adjusted dynamically in JS */
    overflow: hidden;
  }

  .slide {
    flex: 0 0 100vw; /* Ensures each slide takes up full width */
    width: 100vw; /* Full width of viewport */
    height: 55vh;
  }
  .slide img {
    object-fit: cover; /* Ensures image fills container */
    height: auto;
    width: 100%;
  }

  .prev,
  .next {
    position: absolute;
    top: 45%;
    font-size: 20px;
    padding: 10px;
  }

  .pricinglist h1 {
    font-size: 25px;
    padding: 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/*For smartphones */
@media (max-width: 768px) {
  /**To make responsive gallery slide and subcripstion page */
  .galleryslidingimage {
    margin-top: 5px;
    margin-bottom: 200px;
    height: 67h;
  }

  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100vw; /* Adjusted dynamically in JS */
    overflow: hidden;
  }

  .slide {
    flex: 0 0 100vw; /* Ensures each slide takes up full width */
    width: 100vw; /* Full width of viewport */
    height: 50vh;
  }
  .slide img {
    object-fit: cover; /* Ensures image fills container */
    height: auto;
    width: 100%;
  }

  .prev,
  .next {
    position: absolute;
    top: 40%;
    font-size: 20px;
    padding: 10px;
  }

  .pricinglist h1 {
    font-size: 20px; /* Adjust size as needed */
    text-align: center;
    padding: 0;
  }
  .pricing-container {
    grid-template-columns: 1fr; /* 1 column on small screens */
    width: auto;
    height: auto;
  }
  .apply-btn {
    display: block;
    width: 80%;
    background: #464646;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 15px auto; /* Auto centers it horizontally */
  }

  .apply-btn:hover {
    background: #807f7f;
  }
  footer {
    display: none;
  }
  
  .section-container {
    padding: 60px 20px;
  }
  
  section h2 {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    max-width: 100%;
  }
  
  .our-services {
    margin-top: -230px;
  }
}

@media (max-width: 480px) {
  /**To make responsive gallery slide and subcripstion page */
  .galleryslidingimage {
    margin-top: 0rem;
    margin-bottom: 9.375rem;
    height: 67h;
  }

  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100vw; /* Adjusted dynamically in JS */
    overflow: hidden;
  }

  .slide {
    flex: 0 0 100vw; /* Ensures each slide takes up full width */
    width: 100vw; /* Full width of viewport */
    height: 50vh;
  }
  .slide img {
    object-fit: cover; /* Ensures image fills container */
    height: auto;
    width: 100%;
  }

  .prev,
  .next {
    position: absolute;
    top: 45%;
    font-size: 1.25rem;
    padding: 0.625rem;
  }
  .apply-btn {
    display: block;
    width: 80%;
    background: #464646;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 15px auto; /* Auto centers it horizontally */
  }

  .apply-btn:hover {
    background: #807f7f;
  }
  
  .section-container {
    padding: 40px 15px;
  }
  
  section h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .our-services {
    margin-top: -220px;
  }
}