.slick-dotted.slick-slider {
  margin-bottom: 50px;
}

@media (min-width: 760px) {
  section {
      margin: 0 50px 10px 50px;
  }
}

@media (max-width: 760px) {
  .tools-container-section{
    display:none;
  }
}

h2 {
  padding-bottom: 20px;
}

@media (max-width: 600px){
h2 {
  padding-bottom: 20px;
  text-align: center;
}
}

@media (min-width: 760px) {
.ubody {
  display:flex;
  align-items: center;
  gap: 40px;
  padding-left: 7%;
  padding-right: 7%;
}

@media (max-width: 600px) {
  h2 {
      margin-top: 25px;
      margin-bottom: 7px;
  }
}

.swiper-container {
  width: 40%;
}

section {
  margin: 0 100px 60px 100px;
}

h2 {
  padding-bottom: 20px;
}
}


.swiperSlide {
  border-radius: 8px;
}


 /* ARTICLES */

 .slider-container {
  padding: 0 10px 0 10px;
 }

.slider-slide {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    width: 250px;
    height: 250px;
    margin:5px;
  }

  .slider-slide:hover {
    transform: scale(1.01);
  }

  .article-title {
    padding: 20px 15px 20px 15px;
    justify-content: center;
  }

    .slick-prev:before,
    .slick-next:before {
    color: green; /* Replace with your desired color */
    }


  /* TOPICS */
/* 
  .topic-slide {
    padding: 10px;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    margin: 5px;
    list-style-type: none;
  }

  .topic-container{
    padding: 20px;
    background-color: rgba(11,182,97,0.2);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  } */

  .topic-inner-container{
    width: 100%;
  }

  .topic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px; /* Adjust padding as needed */
    background-color: rgba(11, 182, 97, 0.2);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 1000px; /* Set a maximum width for responsiveness */
    margin: 0 auto; /* Center the container */
  }
  
  .topic-slide {
    padding: 20px; /* Adjust padding as needed */
    align-items: center;
    background-color: white;
    border-radius: 5px;
    margin: 5px 0; /* Adjust margin as needed */
    list-style-type: none;
    width: 100%; /* Make the list item full width */
    box-sizing: border-box; /* Include padding and border in width */
  }

  .views {
    background-color: #faca52; /* Material Design Light Yellow */
    color: #333; /* Dark text for contrast */
    border-radius: 4px; /* Rounded rectangle */
    padding: 2px 5px;
    font-size: 14px; /* Slightly reduced font size */
    display: inline-block;
    margin-left: 10px;
    /* Increase width to accommodate longer text */
    width: 80; /* Adjust as needed */
    text-align: center; /* Center text within the bubble */
    line-height: 1; /* Ensure single line */
  }
  
  .topic-slide:hover{
    box-shadow: 4px 4px 4px rgba(129,181,64,255);
    transition: transform 0.2s ease-in-out;
  }

  .ask-question {
    display: flex; /* Arrange input and button horizontally */
    align-items: center; /* Align elements vertically */
    justify-content: center;
  }
  
  .ask-button {
    display: flex; /* Arrange input and button horizontally */
    align-items: center; /* Align elements vertically */
    background-color: #81b540; /* Green button as requested */
    color: white; /* White text for contrast */
    border: none; /* Remove default button border */
    padding: 10px 50px; /* Adjust padding as needed */
    border-radius: 5px;
    cursor: pointer; /* Indicate clickable behavior */
  }

  .clickable-topic{
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from parent */
    font-weight: bold; /* Make the link text bold */
  }

/* TOOLS */
.tools-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.tool-box {
  width: 48%;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tool-box-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
}

.tool-box-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: inherit;
}

.tool-box-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligns the content to the top */
  background: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 1;
  padding-top: 20px; /* Adds some spacing at the top */
  border-radius: inherit;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tool-box-title {
  font-size: 36px;
  padding: 5px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
}

.tool-box-subtitle {
  font-size: 18px;
  text-align: center;
  z-index: 2;
  margin-top: 5px; /* Adds a small space between title and subtitle */
}

.tool-box:hover .tool-box-image {
  transform: scale(1.05);
}

.tool-box-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.learn-m-button{
  background-color: #81b540;
  color: white;
  padding: 6px;
  border-radius: 3px;
  font-size: 24px;
}
  /* SHOP */


  .product-container {
    padding: 0 10px 0 20px;
  }

  .product-slide {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    width: 250px;
    height: 250px;
    margin:5px;
  }

  .product-title {
    padding: 20px 0;
    text-align: center;
  }

  .product-slide:hover {
    transform: scale(1.01);
  }


/* Learn */
.learn-container {
  padding: 0 10px;
}

/* Learn Slide Container */
.learn-slide {
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  width: 250px; /* Fixed width */
  height: 250px; /* Fixed height */
  object-fit: contain; /* Scales image to cover container without distortion */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  margin: 5px;
  position: relative; /* Needed for absolute positioning of the button */
}

.learn-slide img {
  width: 100%; /* Make the image take full width */
  height: 150px; /* Set a fixed height */
  object-fit: cover; /* Ensure the image covers the container without distortion */
  display: block;
  margin: 0 auto;
}

.learn-title {
  padding: 5px 0; /* Reduced padding for more compact look */
  text-align: center;
  font-size: 18px; /* Reduced font size */
  line-height: 1.2; /* Adjusted line height for smaller text */
}

/* Learn More Button */
.learn-more-btn {
  position: absolute; /* Positioned absolutely within the .learn-slide */
  bottom: 10px; /* 10px from the bottom */
  left: 50%; /* Center horizontally relative to the parent */
  transform: translateX(-50%); /* Adjust to perfectly center the button */
  padding: 5px 10px; /* Padding for the button */
  background-color: rgba(129, 180, 65, 1);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px; /* Font size for the button */
  transition: background-color 0.3s ease-in-out;
  z-index: 2; /* Ensure the button is on top of other elements */
  display: block; /* Ensure the button is always visible */
  visibility: visible; /* Ensure the button's visibility is always visible */
}

.learn-more-btn:hover {
  background-color: rgba(26, 29, 30, 1);
}


.learn-slide:hover {
  transform: scale(1.01);
}

/* Feature Products */
.feature-container {
  padding: 0 10px;
}

.feature-slide {
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  width: 250px; /* Fixed width */
  height: 250px; /* Fixed height */
  object-fit: contain; /* Scales image to cover container without distortion */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  margin: 5px;
  position: relative; /* Needed for absolute positioning of the button */
}

.feature-slide img {
  width: 100%; /* Make the image take full width */
  height: 150px; /* Set a fixed height */
  object-fit: cover; /* Ensure the image covers the container without distortion */
  display: block;
  margin: 0 auto;
}

.feature-title {
  padding: 5px 0; /* Reduced padding for more compact look */
  text-align: center;
  font-size: 18px; /* Reduced font size */
  line-height: 1.2; /* Adjusted line height for smaller text */
}

/* Custom class for large titles */
.large-title {
  font-size: 16px; /* Further reduce the font size for large titles */
}

/* Add to Cart Button */
.add-to-cart-btn {
  position: absolute; /* Positioned absolutely within the .feature-slide */
  bottom: 10px; /* 10px from the bottom */
  right: 10px; /* 10px from the right */
  padding: 5px 10px; /* Reduced padding for smaller button */
  background-color: rgba(129, 180, 65, 1);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px; /* Reduced font size for the button */
  transition: background-color 0.3s ease-in-out;
  z-index: 1; /* Ensure the button is on top of other elements */
}

.add-to-cart-btn:hover {
  background-color: rgba(29, 29, 30, 1);
}

/* Price Button */
.price-btn {
  position: absolute; /* Positioned absolutely within the .feature-slide */
  bottom: 10px; /* 10px from the bottom */
  left: 10px; /* 10px from the left, instead of right */
  padding: 5px 10px; /* Reduced padding for smaller button */
  background-color: #ffffff;
  color: rgb(255, 0, 0);
  border: none;
  cursor: pointer;
  font-size: 16px; /* Reduced font size for the button */
  z-index: 1; /* Ensure the button is on top of other elements */
  text-align: left; /* Align text to the left */
  font-weight: 700;
}

/* Custom class for smaller price button */
.small-price-btn {
  font-size: 12.5px; /* Reduce the font size for the price button */
  padding: 3px 8px; /* Reduce padding */
}

.price-btn:hover {
  background-color: #ffffff;
}

.price-incl-gst {
  display: block; /* Ensure it appears on a new line */
  font-size: 14px; /* Smaller font size */
  color: rgb(255, 0, 0); /* Same color as price button */
  text-align: left; /* Left-align the "Incl. GST" text */
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 10px; /* Position it near the top */
  left: 10px; /* Position it near the left */
  background-color: rgba(129, 180, 65, 1); /* Green background color */
  color: white;
  padding: 2px 8px;
  font-size: 14px;
  border-radius: 10px; /* Slightly rounded corners */
  z-index: 2; /* Ensure it's above other elements */
}

.feature-slide:hover {
  transform: scale(1.01);
}
