/*
Theme Name: Beekeeping Insights
Theme URI: http://beekeepinginsights.com/beekeeping-theme
Author: SMAF Lamine
Author URI: http://beekeepinginsights.com
Description: A minimalist WordPress theme based on Bootstrap 5.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beekeeping-theme
*/

body {
  font-family: 'Open Sans', sans-serif;
  /*padding-top: 55px; Adjust this value if the navbar height changes*/
  color: #2F2F2F;
  /*padding-top: 60px;
  font-size: 1.125rem;*/
  line-height: 1.5;
}




/* Additional font adjustments for headings, buttons, etc. 
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;*/ /* Use a heavier weight for headings 
}
*/




p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400; /* Use normal weight for text */
  margin-bottom: 1em;
}


/* Make the header and navbar overlay the hero area */
a {
  color: #388E3C;
  transition: .2s all ease-in-out;
  text-decoration: none;
}

a:hover{
  color: #2C7130;

}

header {
  position: relative; /* Use relative positioning for sticky behavior */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10; /* Ensure it stays on top of the content */
}

.navbar {
  --bs-bg-opacity: .9;
  background:rgba(56,142,60);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0 !important;
}

.navbar-brand{
  display: flex;
  padding: 0;
}

/* Default Logo Size for Larger Screens */
/* Default logo image style */
#logo-img {
  height: 40px; /* Initial height before scroll */
  transition: height 0.3s ease; /* Smooth transition for height */
}

/* Scrolled logo image style */
.navbar.scrolled #logo-img {
  height: 30px !important; /* Reduced height after scroll */
}




.header-search {
  background: none ;
  padding: 5px 10px;
  border: none;
  color: inherit;
}

.header-search:hover,
.header-search:focus {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}


#search-icon {
  z-index: 2; /* Ensure it appears in front of other elements */
  margin-left: 0.5rem; /* Space between toggler and search icon */
  position: relative;
  color:#DFF7D4 ;
}


/* Change the navbar background to solid when it sticks to the top */

.navbar.sticky-top {
  background: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
  position: sticky; /* Make sure it's sticky */
  top: 0;
  z-index: 1030; /* Standard Bootstrap z-index for sticky elements */
  transition: background 0.3s ease;
}

/* Ensure the hero area has enough space under the navbar */
.hero-area {
  position: relative;
  margin-top: 0; /* Remove any margin that would push it down */
}

/* Adjust the navbar text color when over the hero area */
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff; /* White text */
  text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #f8f9fa; /* Lighter color on hover */
}














button, .btn {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600; /* Use semi-bold for buttons */
}


/* Make the top navigation text uppercase */
.navbar-nav .nav-link {
  text-transform: uppercase;
  /*font-weight: 600;  Optional: Make the text semi-bold */
  letter-spacing: 0px; /* Optional: Add some spacing between letters */
}

#main-nav .navbar-nav .nav-link {
  text-transform: uppercase;
  color: #DFF7D4;
  padding-left: .75rem;

}

/* Default link padding */
.navbar-nav a {
  padding: 1rem; /* Initial padding before scroll */
  transition: padding 0.3s ease; /* Smooth transition for padding */
}

/* Scrolled navbar style for links */
.navbar.scrolled .navbar-nav a {
  padding: 0.5rem; /* Adjust padding or set to 0 if needed */
}

.navbar-nav a:hover{
  color: #388E3C !important;
  background-color: #FFD54F;
}



/* Mobile Navbar Toggler and Search Icon */
.d-flex .navbar-toggler
 {
    display: inline-flex;
    align-items: center;
    color: #388E3C !important;
  }

.navbar-toggler {
    border-color: #ffffff;
    margin-right: 0.5rem;
}

/* Transform Navbar Toggler to an "X" when active */
.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: none; /* Remove default icon */
    position: relative;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before,
.navbar-toggler.collapsed .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

/* Reset icon when collapsed */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before,
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    display: none;
}






/* Ensure the body doesn't get hidden behind the fixed navbar*/
/* Ensure the body doesn't get hidden behind the fixed navbar*/
  /* Previous styles remain the same */
  .hero-section {
    background-color: #fff7e6;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/api/placeholder/1920/1080');
    opacity: 0.2;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.text-honey {
    color: #f59e0b;
}
.bg-honey-light {
    background-color: #388E3C;
}
.btn-honey {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: white;
}
.btn-honey:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: white;
}
.btn-honey-outline {
    background: #FFD54F;
    border-radius: 0;
    color: #388E3C;
}
.btn-honey-outline:hover {
    background-color: #388E3C !important;
    color: #FFD54F;
}
.feature-bar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}


.card{
  border-radius: 0;
}

.quick-access-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    height: 100%;
}
.quick-access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.article-link {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Inherit text color */
  display: block; /* Makes the entire card clickable */
}/* Ensure both the title and excerpt text change color on hover */


.card-title{
  color: #388E3C;
}

.content-cat-entry{

  padding: 2rem;
}

.content-cat-entry h1{
  text-align: left !important;
}



.read-more-btn {
  display: inline-block;
  background-color: #FFD54F; /* Rank Math's primary color */
  color: #388E3C;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 20px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

.read-more-btn:hover {
  background-color: #388E3C; /* Darker shade for hover effect */
  color: #FFD54F;
}

.page-link{
  color: #388E3C;
  box-shadow: none !important;
}

.page-link:hover{
  color: #388E3C;
  background-color: #FFD54F;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #388E3C;
  border-color: #388E3C;

}


a.article-link:hover,
a.card-text:hover  {
  color: #202020 !important; /* Apply dark color on hover */
  text-decoration: none !important; /* Remove underline if necessary */
}

/* Modal Background */
#thankYouModal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(56, 142, 60, 0.9); /* Semi-transparent background */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal Content Box */
#thankYouModal .modal-content {
  background-color: #DFF7D4; /* White background for the modal box */
  padding: 30px;
  max-width: 400px;
  width: 100%;
  border-radius: 0px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeIn 0.4s ease; /* Smooth fade-in animation */
  font-family: 'Open Sans', sans-serif;

}

/* Thank You Message Styling */
#thankYouModal h3 {
  color: #388E3C; /* Replace with your primary brand color */
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#thankYouModal p {
  color: #202020; /* Muted text color */
  margin-bottom: 20px;
  font-weight: 400;

}

/* Close Button Styling */
#thankYouModal button {
  padding: 10px 20px;
  color: #388E3C; /* Primary button color */
  background-color: #FFD54F;
  border: none;
  cursor: pointer;
  font-size: 20px;
}

#thankYouModal button:hover {
  color: #FFD54F; /* Darken on hover */
  background-color: #2C7130;
}

/* Animation for Modal */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


.card-icon {
  position: relative;
  width: 100px; /* Adjust to your desired size */
  height: 57.74px; /* Adjust height to maintain the hexagon proportion */
  background-color: #FFD54F;
  margin: 28.87px 0; /* Half of height to align with pseudo-elements 388E3C*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  width: 100px; /* Same width as .card-icon */
  height: 57.74px; /* Same height as .card-icon */
  background-color: inherit;
}

.card-icon::before {
  transform: rotate(60deg);
}

.card-icon::after {
  transform: rotate(-60deg);
}

.icon {
  color:#388E3C; /* Adjust icon color */
  font-size: 36px; /* Adjust icon size */
  z-index: 100;
}



/* New styles for Featured Content Section */
.featured-article {
    transition: transform 0.3s ease;
    height: 100%;
}
.featured-article:hover {
    transform: translateY(-5px);
}
.article-image-wrapper {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    border-radius: 0.5rem;
}
.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}
.reading-time {
    font-size: 0.875rem;
}
.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

/* Ensure the body doesn't get hidden behind the fixed navbar*/
/* Ensure the body doesn't get hidden behind the fixed navbar*/
/* Ensure the body doesn't get hidden behind the fixed navbar*/


/* Base Dropdown Menu Styles for All Devices */
.navbar-nav .dropdown-menu {
  background-color: #FFD54F; /* Dark green */
  border-radius: 0 !important;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  width: 100%;
  border-top: 1px solid #DFF7D4;
}

.navbar-nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-nav .dropdown-item {
  color: #FFD54F;
  padding: 0.5rem 1rem;
  color: #388E3C;

}
.dropdown-menu{
  padding: 0px;
}

.navbar-nav .dropdown-item:hover {
  background-color: #388E3C;
  color: #FFD54F !important;
}

.dropdown-item.active, .dropdown-item:active{
  background-color: #388E3C;
  color: #FFD54F !important;

}


/* Positioning the Navbar Toggler and Search Icon */
.d-flex .navbar-toggler {
  z-index: 1; /* Ensures toggler is in front of other elements */
}



 /* Full-Screen Search Overlay */
#search-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(56, 142, 60, 0.9); /* Dark semi-transparent background */
  z-index: 9999; /* Ensure it's on top of everything */
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#search-overlay.active {
  display: flex; /* Show overlay when active */
  opacity: 1;
}

/* Position search input with offset */
.search-overlay-content {
  margin-top: calc(20px + 60px); /* Adjust position below header */
  position: relative;
  display: inline;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 650px; /* Limit max width of search form */
  padding: 20px;
  text-align: center;
}

.search-input {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  color: #000;
}

.search-overlay form {
  /* Your CSS properties here */
  width: 580px;
}

/* Close Button Styling */
.close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #FFD54F;
  text-decoration: none;
  cursor: pointer;
  z-index: 10000; /* Ensure it's on top of the overlay */
}

.search-btn-overlay{
  background: #FFD54F; /*linear-gradient(135deg, #ff7a00, #ff3d00);  Gradient background */
  color: #388E3C;
  border: none;
  border-radius: 0;
  width: 50px;
  height: 50px;
  font-size: 20px;
  box-shadow: none !important;
}

.search-btn-overlay:hover{
  background: #FFD54F; /*linear-gradient(135deg, #ff7a00, #ff3d00);  Gradient background */
  color: #388E3C;
  border: none;
  border-radius: 0;  
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.close-overlay:hover{
  color: #FFD54F;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */

  
  
  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 400px;
    background-color: #777;
  }
  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height:400px;
  }


  /* Wrapper for the carousel image and overlay */
.carousel-image-wrapper {
  position: relative;
}



.btn-primary {
  background: #FFD54F; /* Gradient background */
  color: #388E3C;
  border-radius: 0;
  border: 0px;


}
.btn-primary:hover {
  color: #FFD54F; /* Gradient background */
  background: #388E3C;
  border-radius: 0;
  border: 0px;
  transform: translateY(-2px);


}

/******************************************/


/* Make sure captions are visible on mobile */
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 20px; /* Position caption at the bottom */
  position: absolute;
  z-index: 10;
}



/*********************************************/

/* Dark gradient overlay from center */
.carousel-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none; /* Allow clicks to pass through to the image */
  z-index: 1;
}

/* Carousel images */
/* Make sure carousel images are fully responsive */
.carousel-item img {
  width: 100%; /* Ensure it fills the parent container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover; /* Crop if needed to fill the container */
  max-height: 500px; /* Adjust max-height if necessary */
}



/* Custom fading effect duration */
.carousel.carousel-fade .carousel-item {
  transition: opacity 2s ease-in-out; /* Adjust 1s for fade speed */
}




  /* Fade-in effect */
.carousel-item.fade img {
  opacity: 0;
  transition: opacity 3s ease-in-out; /* Adjust duration for fade effect */
}

.carousel-item.active.fade img {
  opacity: 1;
}

/* Zoom-in effect */
.carousel-item.zoom-in img {
  transform: scale(0.9); /* Start slightly zoomed out */
  transition: transform 3s ease-in-out; /* Adjust duration for zoom-in effect */
}

.carousel-item.active.zoom-in img {
  transform: scale(1); /* Normal size */
}

/* Zoom-out effect */
.carousel-item.zoom-out img {
  transform: scale(1.2); /* Start slightly zoomed in */
  transition: transform 5s ease-in-out; /* Adjust duration for zoom-out effect */
}

.carousel-item.active.zoom-out img {
  transform: scale(1); /* Normal size */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}



/********************* CONTENT STYLING *********************/

.content-area {
  padding: 20px;
}

.sidebar-area {
  padding: 20px;
  background-color: #f7f7f7;
  border-left: 1px solid #ddd;
}



.entry-footer {
  font-size: 0.9rem;
  color: #777;
}

.entry-footer span {
  margin-right: 15px;
}

.widget {
  margin-bottom: 20px;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}


.additional-content,

.site-main{
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.additional-content {
  /* background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px; */
  background: #fff;
  padding: 2rem;
  -webkit-box-shadow: 0px 8px 15px rgba(97, 109, 190, 0.1);
  box-shadow: 0px 8px 15px rgba(97, 109, 190, 0.1);
  margin-bottom: 2rem;
}

.additional-content a{
  text-decoration: none;
}



.additional-content h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.additional-content h3{
  font-size: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}



.entry-content{
  /*padding: 20px;*/
  background-color: #fff;
 /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
  margin-top: 20px;
 /* font-size: 1rem;
  line-height: 1.6;*/
}

.post h1 {
  font-weight: 700;
  text-align: center;
}

.entry-content p
 {
    padding: 1.1rem 1.1rem 0;
    margin: 1.1rem 1.1rem 0;
}

.entry-content ul
 {
    padding: 0 2rem ;
    margin: 0 2rem;
}

.entry-content li 
 {
    padding: 0.2rem 0 ;
    margin: 0.2rem 0;
}


/* Wrapper for featured image and meta */
.post-thumbnail-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Meta overlay container */
.post-meta-overlay {
  position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: rgba(223, 247, 212, 0.5); /* Semi-transparent background */
    color: #2C7130;
    text-align: center;
    display: flex; /* Inline layout */
    /*justify-content: center;  Center items horizontally */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Space between elements */
    /*z-index: 10;*/
    font-size: 14px;
}

.wp-block-quote {
  overflow-wrap: break-word;
  background: rgba(223, 247, 212, 0.8); /* Semi-transparent background */
  margin: 0 2.25rem;
  padding: 0 1.25rem 1.25rem;
  border-left: solid 4px #2C7130;
  color: #2C7130;

}

/* Inline meta items */
.post-meta-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 5px; /* Space between icon/avatar and text */
}

/* Author avatar styling */
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Circular shape */
  border: 2px solid #fff; /* Optional white border */
}

/* Calendar icon */
.post-meta-overlay .fas.fa-calendar-alt {
  font-size: 16px; /* Icon size */
  color: #ffcc00; /* Optional icon color */
}

/* Additional meta styles */
.post-meta-overlay span.post-date,
.post-meta-overlay span.post-author,
.post-meta-overlay span.post-categories {
    font-weight: bold;
    white-space: nowrap; /* Prevent text wrapping */
}


/* Featured image */
.post-thumbnail {
  display: block;
  width: 100%;
  height: auto;
}

.post-thumbnail {
  width: 100%;
  height: auto;
}

.entry-footer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

.entry-footer span {
  margin-right: 15px;
}

h1 {
  margin-bottom: 20px;
}


.wp-block-heading {
  border-bottom:2px solid #F0F4F8;
  padding: 2.2rem 1.1rem;
  margin: 1.1rem;
}




.wp-block-rank-math-toc-block{
  background: #DFF7D4;
    padding: 10px;
    margin-bottom: 20px;
}



.wp-block-rank-math-toc-block h2{
  color: #2C7130;
  border-bottom: 1px solid #2C7130;
}


.wp-block-rank-math-toc-block li{
  margin-bottom: 10px;
  list-style: none;
}

.wp-block-rank-math-toc-block li a{
  text-decoration: none;
  color: #2C7130;
 
}

.wp-block-rank-math-toc-block li a:hover{
  text-decoration: underline dotted 1px #2C7130;
  margin-top: 10px;;
 
}





/* Wrapper around the thumbnail to enable positioning */
.thumbnail-wrapper {
  position: relative;
    display: inline-block;
    width: 100%;
    height: 250px; /* Set a fixed height for uniformity, adjust as needed */
    overflow: hidden; /* Hide overflow to crop images */
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Reading time badge positioned at the top left of the image */
.reading-time-badge {
  position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(223, 247, 212, 0.9);
    color: #388E3C; /* Gold color for the clock icon */
    padding: 5px 10px;
    font-size: 0.875rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
}

/* Clock icon styling */
.reading-time-badge i {
  font-size: 1rem;
  color: #388E3C; /* Gold color for the clock icon */
  padding: 5px 10px;
  
}

/* General footer styles *****************************************/
footer {
  color: #ccc; /* Light text color */
}

.footer-logo img {
  max-width: 150px; /* Adjust the logo size */
}

footer h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff; /* White for headings */
}

/* Social Media Icons Styles */
.social-icons a {
  color: #ccffcc; /* Light color for icons */
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff; /* White on hover */
}

.footer-links{
  background-color: #388E3C;
}
.footer-social,
.footer-copyright{
  background-color: #2c7130;
  ;
}
.footer-copyright{
  border-top: 1px solid #FFD54F;
}


.social-icons h5,
.footer-nav h5 {
  
  font-weight: 600;
  margin-top: 25px;
  color: #FFD54F;
  position: relative;
}

.footer-nav h5:after{
  position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    content: '';
    background: #FFD54F;
}

.footer-nav ul{
  list-style: none;
  padding-left: 0;

  }



.footer-nav ul li {
  margin-bottom: 12px;
}
.footer-nav a {
  color: #ccffcc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: #FFD54F;
}

.social-icons a {
  margin: 0 10px;
  font-size: 32px;
}
.social-icons h5 {
  margin-bottom: 15px;
}

.social-icons a:hover{
  color: #FFD54F;


}

.newsletter-section {
  background-color: #D4F0DD ;
  
}

.newsletter-section-single{
  margin-bottom: 2.25rem;
  background-color: #dff7d4;
  box-shadow: 0px 8px 15px rgba(97, 109, 190, 0.1);

}
.newsletter-card {
  border: none;
  border-radius: clamp(10px, 2vw, 15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  background: white;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.newsletter-icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #FFA000;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
}
.newsletter-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  color: #388E3C;
}
.newsletter-lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto;
}
.form-control {
  padding: clamp(0.5rem, 2vw, 0.8rem) clamp(0.8rem, 2vw, 1.2rem);
  border: 1px solid #2C7130;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  border-radius: 0;
}
.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgb(61,169,108,0.25)
}
.btn-subscribe {
  padding: clamp(0.5rem, 2vw, 0.8rem) clamp(1rem, 2vw, 2rem);
  background: #FFD54F;
  border: none;
  border-radius: 0;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  white-space: nowrap;
  color: #388E3C;
}
.btn-subscribe:hover {
  background-color: #388E3C;
  color: #FFD54F;
  transform: translateY(-2px);
}
.benefits-list {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: clamp(1rem, 3vw, 1.5rem) auto;
  max-width: 600px;
  display: content;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.benefits-list li {
  color: #666;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem;
}
.benefits-list li i {
  color: #FFA000;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  flex-shrink: 0;
}
.form-container {
  max-width: 700px;
  margin: 0 auto;
}
.disclaimer-text {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
}



/* Back to Top Button Styling - Hanta Style */
#back-to-top {
  /*background: linear-gradient(135deg, #ff7a00, #ff3d00); *//* Gradient background */
  background-color: #FFD54F;
  color: #2C7130;
  border: none;
  border-radius: 0; /* Circular button */
  width: 50px;
  height: 50px;
  font-size: 20px;
  display: flex; /* Flexbox for centering */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0; /* Start as invisible */
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease; /* Smooth appearance and hover effects */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  font-weight: bold;
}

/* Fade-in effect when button becomes visible */
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover Effect */
#back-to-top:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  /*background: linear-gradient(135deg, #ff3d00, #ff7a00); *//* Reverse gradient */
}

/* Icon Styling Inside Button */
#back-to-top i {
  font-size: 20px;
}


/* HEADER MUST BE ABOVE CATEGORY CONTENT */
.site-header {
  position: relative;
  z-index: 9999;   /* big number so it wins */
}

/* Make sure the main container + category header are below */
body.category .container.mt-5.pt-5.pb-5,
body.category .content-area,
body.category .category-header {
  position: relative;
  z-index: 1;
}



/* FLAT, NON-ROUNDED CATEGORY INTRO BOX */
/* FINAL OVERRIDE: FLAT, NON-ROUNDED CATEGORY INTRO BOX */
.category .category-header {
  background: #DFF7D4 !important;
  border-radius: 0 !important;
  padding: 1.4rem 1.6rem !important;
  margin-bottom: 2rem !important;
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}


/* Title + text – keep as is, or tweak if you like */
.category .category-header h1,
.category .category-header .page-title {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #388E3C;
}






  
  
  /* RESPONSIVE CSS ********************************************************/
  /*-------------------------------------------------- */
  /* Custom adjustment for mobile screens */
  
  /* Wider desktop dropdown so long labels stay inside the yellow area */
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu {
      width: auto;          /* Don’t lock it to the parent width */
      min-width: 260px;     /* Adjust this value (260–320px) to taste */
  }
}

@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
      position: static;
      float: none;
      width: 100%;
  
  }
}

  
  
  
@media (max-width: 768px) {
  .carousel-item {
      max-height: 300px; /* Adjust max height for smaller screens if needed */
  }
  .carousel-item img {
    max-height: 300px; /* Adjust max height for smaller screens if needed */
    height: auto; /* Maintain the aspect ratio */
}
}

@media (max-width: 576px) {
  .carousel-item {
    max-height: 300px; /* Adjust max height for smaller screens if needed */
    height: auto; /* Maintain the aspect ratio */
}
.carousel-item img {
  max-height: 300px; /* Adjust max height for smaller screens if needed */
  height: auto; /* Maintain the aspect ratio */
}
  
}



/* Ensure captions are visible under 768px */
@media (max-width: 768px) {
  .carousel-caption {
      display: block !important; /* Force display for smaller devices */
      font-size: 0.9rem; /* Slightly smaller text size for mobile */
      bottom: 10px; /* Adjust positioning if needed */
  }
}

/* Hide the carousel caption only on extra small screens if needed */
@media (max-width: 576px) {
  .carousel-caption {
      font-size: 0.8rem; /* Even smaller text size for extra small screens */
      padding: 0.3rem 0.8rem; /* Reduce padding */
  }
}



/********* Footer responsive Style ******************/


/* Responsive adjustments */
@media (max-width: 768px) {
  footer .row {
      text-align: center; /* Center text for smaller screens */
  }
  footer .col-md-3 {
      margin-bottom: 2rem; /* Add spacing between columns */
  }
}


 /* Custom responsive padding for newsletter subscription */
 @media (max-width: 768px) {
  .newsletter-card .card-body {
      padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .form-row {
      flex-direction: column;
  }
  .form-row > div {
      width: 100%;
  }
  .btn-subscribe {
      margin-top: 0.5rem;
  }
}
/* Smaller Logo Size for Mobile Devices */
@media (max-width: 767px) {
  .navbar-brand img {
      height: 30px; /* Smaller size for mobile */
  }
}
/* Desktop Dropdown Menu Hover Style */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
}

/* Dropdown Menu Mobile Friendly Styles */
@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
      position: static;
      float: none;
      width: 100%;
      margin-top: 0;
      box-shadow: none;
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
  }
  .navbar-nav .dropdown-item {
      padding: 0.75rem 1.5rem;
  }
}

/* Align Toggler and Search Icon Beside Each Other on Mobile */
@media (max-width: 991px) {
  .d-flex.align-items-center.ms-auto {
      display: flex;
      align-items: center;
  }

  /* Ensure Toggler and Search Icon are in the Same Line */
  .navbar-toggler {
      margin-right: 0.50rem;
  }

  #search-icon {
      font-size: 1.25rem;
      display: inline-flex;
      align-items: center;
  }
}


/* Smaller Logo Size for Mobile Devices */
@media (max-width: 767px) {
  #logo-img {
      height: 30px !important; /* Smaller size for mobile */
  }
}






  