@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
    --primary-color: #2c3855;
    --primary-color-dark: #435681;
    --text-dark: #333333;
    --text-light: #767268;
    --extra-light: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
}

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

a {
    text-decoration: none;
    font-size: 1.1rem;
}

img {
    width: 100%;
    display: flex;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    background-color: #fff;
}

/* main heading */

.main-heading h2 {
  margin-top: 10px;
  font-size: 50px;
  color: #388E3C;
  font-weight: 900;
}




/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav__logo img {
        width: 60px;
    }

    .nav__links {
        display: none; /* Hide links on small screens */
    }

    .menu-icon {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
    }

    .language-toggle {
        width: 120px;
        height: 40px;
    }

    .language-btn {
        font-size: 14px;
        padding: 8px;
    }
}
@media (min-width: 320px) and (max-width: 600px) {
  header{
    padding-left: 10px;
  }
  nav {
      padding: 0.5rem; /* Reduced padding for smaller screens */
      flex-direction: row; /* Keep items in a row */
      align-items: center; /* Center align items vertically */
      justify-content: space-between; /* Space between logo and links */
  }
  .nav__logo{
    margin-right: auto;
  }
  .nav__logo img {
      width: 50px; /* Smaller logo size for mobile */
  }

  .nav__links {
      display: none; /* Hide links on small screens */
  }

  .menu-icon {
      display: block; /* Show menu icon */
      font-size: 1.8rem; /* Larger icon */
      cursor: pointer;
  }

  .language-toggle {
      width: 130px; /* Adjusted width for mobile */
      height: 40px; /* Adjusted height for better alignment */
  }

  .language-btn {
      font-size: 12px; /* Slightly smaller font size */
      padding: 8px; /* Adjusted padding for buttons */
  }
}



/* Sidebar styles */
.sidebar {
  position: fixed;
  right: -250px; /* Initially hidden on the right */
  top: 0;
  width: 250px;
  height: 100%;
  background-color: rgba(0, 128, 0, 0.6); /* Green with transparency */
  backdrop-filter: blur(10px); /* Applies blur effect */
  padding: 2rem 1rem;
  transition: right 0.3s ease;
  z-index: 10;
}


.sidebar.active {
  right: 0; /* Show sidebar when active */
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 1.5rem;
}

.sidebar a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.close-sidebar {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  margin-bottom: 2rem;
}

.menu-icon {
  display: none; /* Initially hidden */
}

@media (max-width: 768px) {
  .menu-icon {
      display: block; /* Show menu icon for mobile view */
  }
}



.section-heading {
    margin-bottom: 40px;
    text-align: center;
}



/* Section Heading Styling */
.section-heading {
  margin-bottom: 50px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.section-heading h5 {
  color: #28a745;
  font-size: 16px;
  font-weight: 600;
}

.section-heading h2 {
  font-size: 36px;
  color: #333;
  font-weight: 900;
}

/* Buttons */
.btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.btn-wrap .button-text {
  background-color: #28a745;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.btn-wrap .button-text:hover {
  background-color: #218838;
  transform: translateY(-3px);
}

.btn-wrap .width-6 {
  width: 48%;
}


@media (max-width: 768px) {
  .btn-wrap .width-6 {
    width: 40%;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .btn-wrap .width-6 {
    width: 40%;
    margin: 10px;
  }

  .button-primary {
    padding: 12px 30px;
    font-size: 16px;
  }
}



.fadein-slider {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  position: relative;
  background: #000;
  filter: blur(0px); /* Adjust this value if the blur is too much */
}

.fadein-slider::before {
  content: '';
  position: absolute;
  top: -10px; /* Adjust position as needed */
  left: 0;
  width: 100%;
  height: 30px; /* Adjust height as needed */
  background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.865));
  z-index: 2;
}


.fadein-slider > div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  animation: slide 25s infinite;
  opacity: 0;
}

.fadein-slider > div:nth-child(2) { animation-delay: 5s; }
.fadein-slider > div:nth-child(3) { animation-delay: 10s; }
.fadein-slider > div:nth-child(4) { animation-delay: 15s; }
.fadein-slider > div:nth-child(5) { animation-delay: 20s; }

@keyframes slide {
  10% { opacity: 1; }
  20% { opacity: 1; }
  30% { opacity: 0; }
  40% { transform: scale(1.1); }
}

/* Overlay for background image to enhance text visibility */
.fadein-slider .overlay {
  position: absolute;
  width: 100%;
  height: 80%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1; /* Ensures overlay is below caption text */
}

/* Caption styling for text */
.fadein-slider .caption {
  position: absolute;
  bottom: 120px;
  left: 60px;
  z-index: 2;
  color: #fff;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}

.fadein-slider .caption h2 {
  font-size: 2em;
  margin: 0;
}

.fadein-slider .caption p {
  font-size: 1em;
  margin: 0;
}
/* Mobile devices (320px - 480px) */
@media (max-width: 480px) {
  .fadein-slider {
      height: 50vh; /* Reduced height for smaller screens */
  }

  .fadein-slider .caption h2 {
      font-size: 1.5em; /* Smaller font for captions */
  }

  .fadein-slider .caption p {
      font-size: 0.9em;
  }

  .fadein-slider .caption {
      bottom: 60px; /* Adjusts position for smaller screen */
      left: 20px;
  }
  .fadein-slider > div {
    height: 50vh; /* Match the parent height for smaller screens */
}
}

/* Container for title */
.title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0;
  text-align: center;
  border-bottom: 2px solid #e0e0e0; /* Subtle border */
}

/* Title text styling */
.title h1 {
  font-size: 2.5em; /* Large font size */
  color: #333; /* Dark text for contrast */
  font-weight: 700; /* Bold font */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .title h1 {
      font-size: 1.8em; /* Slightly smaller on tablets */
      padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .title{
    padding: 10px;
  }
  .title h1 {
      font-size: 1.5em; /* Further reduction on mobile */
      padding: 6px;
  }
}


/* Base styles for tabs */
/* Base styles for tabs */
.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 30px;
}
.garden-content{
  width: 100%;
}
.tabs input[name="tab-control"] {
  display: none;
}

.tabs .garden-content section h2,
.tabs ul li label {
  font-weight: bold;
  font-size: 22px;
  color: #388e3c;
}

.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}

.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #52c958;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  user-select: none;
}

.tabs ul li label:hover,
.tabs ul li label:focus,
.tabs ul li label:active {
  outline: 0;
  color: #73e179;
}

.tabs .slider {
  position: relative;
  width: 25%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}

.tabs .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #388e3c;
  border-radius: 1px;
}

.tabs .garden-content {
  margin-top: 30px;
}

.tabs .garden-content section {
  display: none;
  line-height: 1.4;
  animation: content 0.3s ease-in-out 1 normal;
}

.tabs .garden-content section h2 {
  color: #388e3c;
  display: none;
}

.tabs .garden-content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #388e3c;
  margin-top: 5px;
  left: 1px;
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .garden-content > section:nth-child(1) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .garden-content > section:nth-child(2) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .garden-content > section:nth-child(3) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .garden-content > section:nth-child(4) {
  display: block;
}

@keyframes garden-content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

/* Responsive styles for smaller screens */
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
}
@media (max-width: 768px) {
  .tabs {
    padding: 10px;
  }
  .tabs ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on mobile */
    gap: 10px;
  }
  .tabs ul li {
    width: 100%; /* Each tab takes full width in grid */
    padding: 0;
  }
  .tabs ul li label {
    font-size: 22px; /* Reduced font size for mobile view */
    color: #52c958;
  }
  .tabs .slider {
    width: 50%; /* Adjust slider width for smaller screens */
  }
  .tabs .garden-content {
    margin-top: 20px;
  }
  .tabs .garden-content section h2 {
    display: block;
  }
}
@media (max-width: 600px) {
  .tabs {
    padding: 10px;
  }
  .tabs ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on mobile */
    gap: 10px;
  }
  .tabs ul li {
    width: 100%; /* Each tab takes full width in grid */
    padding: 0;
  }
  .tabs ul li label {
    font-size: 18px; /* Reduced font size for mobile view */
    color: #52c958;
  }
  .tabs .slider {
    width: 50%; /* Adjust slider width for smaller screens */
  }
  .tabs .garden-content {
    margin-top: 20px;
  }
  .tabs .garden-content section h2 {
    display: block;
  }
}

/* Responsive styles for 480px and below */
@media (max-width: 480px) {
  .tabs {
    padding: 15px;
  }

  .tabs ul {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .tabs ul li label {
    font-size: 18px;
    padding: 5px 0;
  }

  .tabs .slider {
    width: 50%;
  }

  .tabs .garden-content section h2 {
    font-size: 18px;
  }
}

/* Responsive styles for 320px and below */
@media (max-width: 320px) {
  .tabs {
    padding: 10px;
  }

  .tabs ul {
    grid-template-columns: 1fr 1fr; /* Ensuring two columns on smallest screens */
    gap: 5px; /* Smaller gap to save space */
  }

  .tabs ul li label {
    font-size: 16px; /* Smaller font for better fit */
    padding: 5px 0;
    color: #52c958;
  }

  .tabs .slider {
    width: 50%;
  }

  .tabs .garden-content {
    margin-top: 10px;
  }

  .tabs .garden-content section h2 {
    font-size: 16px;
  }
}

.custom-slider-container {
  width: 80%;
  margin: 40px auto;
  position: relative;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.custom-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #d4edda; /* Light green header background */
}

.custom-slider-header h1 {
  font-size: 1.8rem;
  color: #28a745; /* Green text color */
  font-weight: 600;
}

.custom-view-all {
  background: none;
  border: 1px solid #28a745; /* Green border */
  color: #28a745; /* Green text color */
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.custom-view-all:hover {
  background: #28a745; /* Green hover background */
  color: white; /* White text on hover */
}

.custom-slider {
  display: flex;
  overflow: hidden;
  position: relative;
}

.custom-slide {
  display: none;
  flex: 1;
  align-items: center;
  padding: 20px;
  transition: opacity 0.5s ease;
}

.custom-slide.active {
  display: flex;
}

.custom-text-content {
  width: 50%;
  padding: 20px;
}

.custom-text-content p {
  color: #333;
  margin: 10px 0;
}

.custom-text-content h2 {
  color: #218838; /* Darker green for headings */
  font-size: 28px;
}

.custom-image-content {
  width: 50%;
  display: flex;
  justify-content: center;
}

.custom-image-content img {
  max-width: 80%; /* Reduce the maximum width to 80% */
  max-height: 300px; /* Set a maximum height for the image */
  border-radius: 10px;
  object-fit: cover; /* Ensures the image maintains its aspect ratio */
}


.custom-slider-controls {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.custom-slider-controls button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #218838; /* Dark green for buttons */
}

.custom-slider-controls button:hover {
  color: #28a745; /* Brighter green on hover */
}

/* Default Styles (Large Screens) */
/* These styles apply by default and are optimized for large screens (above 1024px). */

/* For Medium Screens (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .custom-slider-container {
    width: 90%;
    margin: 30px auto;
  }
  .custom-slider-header h1 {
    font-size: 1.6rem;
  }
  .custom-slider-controls button {
    font-size: 20px;
  }
  .custom-text-content h2 {
    font-size: 24px;
  }
}

/* For Tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
  .custom-slider-container {
    width: 95%;
    margin: 20px auto;
  }
  .custom-slider-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .custom-slider-header h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .custom-view-all {
    padding: 5px 10px;
    font-size: 0.9rem;
  }
  .custom-text-content {
    width: 100%;
    padding: 15px;
  }
  .custom-image-content {
    width: 100%;
    margin-top: 15px;
  }
  .custom-image-content img {
    max-width: 100%;
    max-height: 250px;
  }
  .custom-slider-controls button {
    font-size: 18px;
  }
}

/* For Small Screens (max-width: 576px) */
@media screen and (max-width: 576px) {
  .custom-slider-container {
    width: 100%;
    margin: 15px auto;
    box-shadow: none; /* Remove shadow for simpler design on small screens */
  }
  .custom-slider-header h1 {
    font-size: 1.2rem;
  }
  .custom-view-all {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
  .custom-text-content h2 {
    font-size: 20px;
  }
  .custom-image-content img {
    max-height: 200px;
  }
  .custom-slider-controls {
    bottom: 15px;
    padding: 0 10px;
  }
  .custom-slider-controls button {
    font-size: 16px;
  }
}

/* For Extra Small Screens (320px to 480px) */
@media screen and (max-width: 480px) {
  .custom-slider-container {
    width: 100%;
    margin: 10px auto;
    padding: 10px;
  }
  .custom-slider-header {
    padding: 15px;
  }
  .custom-slider-header h1 {
    font-size: 1rem;
  }
  .custom-view-all {
    padding: 4px 6px;
    font-size: 0.75rem;
  }
  .custom-text-content p {
    font-size: 0.85rem;
  }
  .custom-text-content h2 {
    font-size: 18px;
  }
  .custom-image-content img {
    max-height: 150px;
  }
  .custom-slider-controls {
    bottom: 10px;
    padding: 0 5px;
  }
  .custom-slider-controls button {
    font-size: 14px;
  }
}




/* cards container */
.unique-flex-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.unique-card {
  background: #FFF;
  width: 350px;
  margin: 20px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  padding-bottom: 20px;
  border-radius: 20px;
}

.unique-img {
  height: 300px;
  width: 100%;
  overflow: hidden; /* Ensure the image is cropped to fit the div */
}

.unique-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the div's area without distortion */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.unique-title {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
  text-align: center;
  color: #333;
}

.unique-card a {
  width: 100%;
  display: block;
  text-align: center;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  font-size: 20px;
}
.unique-title a:hover {
  color: #28a745; /* Change text color on hover */
}
