/*
Omega Solutions.
A concern of Z Mark Ltd.
Main CSS file
*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;/* Custom color define by Omega*/
  --primary-color: #28a745;/* Primary color from brand book*/
  --secondary-color: #fa0404;/* secondary color from brand book*/
  --section-bg-color:  #71d9f3;/* secondary color from brand book*/
  --custom-btn-bg-color: #e1ba87;/* secondary color from brand book*/
  --site-footer-bg-color: #c6c6c6;/* secondary color from brand book*/
  --custom-btn-bg-hover-color: #0b4b03;/* secondary color from brand book*/
  --dark-color: #3c3c3b;/* secondary color from brand book*/
  --p-color: #c6c6c6;/* Custom color define by Omega*/
  --border-color: #b8babb; /* Custom color define by Omega*/
  --page-background-color: #f7f7f7; /* Custom color define by Omega*/
  --off-green-color: #638297;/* Secondary color - from brand book of Shanta*/
  --map-color-gold:#dfd2ae;/* Custom color define by Omega*/
  --map-color-green:#77bfc8;/* Custom color define by Omega*/
  --danger-color:#df0000;/* Custom color define by Omega*/
  --off-orange-color:#f7c873;/* Custom color define by Omega*/
  --section-color: #b4878a;/* Custom color define by Omega*/
  --body-font-family: 'Metropolis', sans-serif;

  --h1-font-size: 64px;
  --h2-font-size: 48px;
  --h3-font-size: 36px;
  --h4-font-size: 28px;
  --h5-font-size: 22px;
  --h6-font-size: 18px;
  --p-font-size: 14px;
  --btn-font-size: 16px;
  --copyright-font-size: 12px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --gap: 20px;
}


body {
  font-family: var(--body-font-family);
}


/* Ensure no element causes horizontal overflow */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-y: scroll;
  /* Force scroll bar on the right */
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
  margin: 0;
  padding: 0;
}
/* ----------------------Removing Default Value from the Bootstrap--------------*/
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}


/*---------------------------------------
  TYPOGRAPHY             
-----------------------------------------*/

/* --------- Font Size & Color ---------*/

h1,
h2,
h3 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  line-height: 1.6;
}

/* Reduce line-height for small screens */
@media (max-width: 576px) {
  p {
    line-height: 1.2; /* Adjust to reduce spacing */
  }
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ol li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

/* -----------------------------------------------------------------------
------Reducing the Spacer and Other in the small screen -------------*/


@media only screen and (max-width: 1000px) {
  .wp-block-spacer {
    height: 0 !important;
    /* Sets the height to 0 on small screens */
    margin: 0 !important;
    /* Removes any margin */
  }
}

/* Mobile: stack columns */
@media (max-width: 767px) {
  .wp-block-columns {
    flex-direction: column;
    height: auto;
  }
  .wp-block-columns > .wp-block-column {
    flex: 0 0 100% !important;
    max-width: 100%;
    height: 300px;
  }

  /* Reduce line spacing for <br> on small screens */
  p br {
    line-height: 0.5; /* Adjust to reduce vertical space */
  }
}



/*---------------------------------------
  GOOGLE MATERIAL & OTHERs ICON & DESIGN            
-----------------------------------------*/

.material-symbols-outlined {
  font-size: 30px;
  /* Adjust size */
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  color: #0b4b03;
  vertical-align: middle;
  /* Align the icon vertically */
}

.detail-icon {
  color: #0b4b03;
  font-size: 30px !important;
  padding: 0px 5px!important;
  /* Smaller size for this specific size */
}

.favorite-icon {
  font-size: 64px !important;
  /* Adjust the size */
  padding-top: 3vh;
  color: red;
  /* Outlined heart color */
  transition: color 0.3s ease, font-variation-settings 0.3s ease;
  /* Smooth transition */
}

.favorite-icon:hover {
  font-variation-settings: 'FILL' 1;
  /* Change to filled heart */
  color: red;
  /* Filled heart color */
}

/*---------------------------------------
  TEXT EFFECT & DESIGN            
-----------------------------------------*/

.hollow-text_r {
  color: transparent;
  /* Makes the inside of the text transparent */
  -webkit-text-stroke: .5px var(--danger-color);
  /* Creates the outline */
}

.hollow-text_g {
  color: transparent;
  /* Makes the inside of the text transparent */
  -webkit-text-stroke: 1px var(--primary-color);
  /* Creates the outline */
}

.outlined-text {
  color: transparent;
  -webkit-text-stroke: 2px rgb(247, 6, 6);
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}


.reversed-outlined-text {
  color: transparent;
  -webkit-text-stroke: 1px white;
  text-shadow:
    -1px -1px 0  rgb(240, 240, 240),
    1px -1px 0 #dedede,
    -1px 1px 0 #a2a2a2,
    1px 1px 0 #000;
}
.glowing-text {
  color: #f70707;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #676769,
    0 0 30px #676769,
    0 0 40px #676769,
    0 0 50px #676769,
    0 0 60px #676769;
}

.embossed-text {
  color: #333;
  text-shadow:
    1px 1px 2px #fff,
    -1px -1px 2px #000;
}

.engraved-text {
  color: #3f1c1c;
  text-shadow:
    1px 1px 2px #000 inset,
    -1px -1px 2px #fff inset;
}

.error-text {
  color: var(--dark-color);
  text-align: center;
  font-weight: var(--font-weight-bold);
  margin-top: 5vh;

}

/*---------------------------------------
  Fonts            
-----------------------------------------*/

.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: bold;
}
.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.raleway-regular {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.raleway-regular-italic {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.tiro-bangla-regular {
  font-family: "Tiro Bangla", serif;
  font-weight: 400;
  font-style: normal;
}

.tiro-bangla-regular-italic {
  font-family: "Tiro Bangla", serif;
  font-weight: 400;
  font-style: italic;
}


/*---------------------------------------
  BOX EFFECT & DESIGN            
-----------------------------------------*/
.btn_shadow {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.disabled_btn {
  opacity: 0.6;
  cursor: not-allowed;
}

/*---------------------------------------
   GLOBAL PAGE SETUP            
-----------------------------------------*/

/*---------------------------------------
  Page               
-----------------------------------------*/
.page-wrap {
  padding-top: 5vh;
  padding-bottom: 3vh;
}

@media (max-width: 768px) {
  .page-wrap {
    padding-top: 3vh;
    padding-bottom: 1vh;
  }
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 50px;
  padding-bottom: 20px;
}

.section-bg {
  background-color: var(--section-bg-color);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
}

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay+.container {
  position: relative;
}

/* Ensure the box model includes padding and border */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding from all elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
dl,
dd,
ol,
ul,
figure,
pre,
table,
fieldset,
form,
input,
button,
textsize,
nav {
  margin: 0;
  padding: 0;
}

/* -----Nav & Nav-bar CSS 
---------------------------*/
/* Container for the header */
header {
  align-items: center;
  background: white;
  margin-left: 3vw;
}

header .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
/* Branding section */

/* Container for the logo and text */
.branding {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left:0;
  /* Align the logo and text vertically */
}
/* Site logo */
.site-logo {
  height: auto; /* Full height of the topbar */
  width: 150px;
  max-height: 150px; /* Prevent overflow */
  margin-right: 1rem; /* Space between logo and text */

}

/* Brand name and tagline -------------------------------------------*/
.brand-name {
    color: var(--primary-color); 
    font-size: 1.5rem;
    font-weight: 120;
    font-family: Arial, Helvetica, sans-serif;
}

.site-title {
    font-size: 1.5rem; 
    margin: 0; 
    font-family: Arial, Helvetica, sans-serif;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0px;
    color: var(--white-color);
}

.site-tagline {
    font-size: 1rem; 
    margin: 0; 
    opacity: 0.8; 
    color: var(--white-color);
}

.top-social{
  margin-top: 1vh;
  transform: scale(.6);
}

/* ---------------------------------------------------
----------------Menu Styles    ------------------ */

/* ------------Style for Top-Menu navigation Bar ------------*/

/* Transparent Navbar */

.menu-topbar{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main_navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-items:center;
  padding: 5px 10px;
  height: auto;
  min-height: 8vh;
  /* Minimum height */
  flex-wrap: nowrap;
  /* Wrap content on smaller screens */
  width: 100%;
  z-index: 1000;
  position: rela1ive;
  top: 0;
  left: 0;
  right: 0;
}

.main_navbar .navbar {
    flex-grow: 1;
    justify-content: center;
}

/* Make sure the navbar-collapse is centered */
.navbar-collapse {
  flex-grow: 1;
  justify-content: center;
  /* Center the menu items */
}

/* Navbar menu items */
.navbar-nav {
  display: flex;
  justify-content: center;   /* ✅ center items horizontally */
  align-items: center;       /* ✅ center items vertically */
  gap: 10px;                 /* space between items */
  list-style: none;          /* remove default bullets */
  padding: 15px 0;
  margin: 0 auto;            /* center block itself */
  flex-wrap: nowrap;
}

/* Individual nav items */
.navbar-nav .nav-item {
  margin: 0 10px;
  /* Space between menu items */
  text-align: left;
  /* Center text within each item */

}

/* Nav link styles */
.navbar-nav .nav-link {
  display: block;
  padding: 10px 15px;
  color: var(--dark-color);
  /* Customize link color */
  font-size: 17px;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
  /*background-color: rgba(255, 255, 255, 0.3); */
}

/* Toggle menu start */

/* Style for the navbar-toggler button */
.navbar-toggler {
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
  width: 2rem !important;
  height: 2rem !important;
  outline: none !important;
  /* Remove the default outline */
  box-shadow: none !important;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible,
.navbar-toggler:visited,
.navbar-toggler:focus-within,
.navbar-toggler.collapsed {
  border: none !important;
  /* Ensure border is removed for all states */
  outline: none !important;
  /* Ensure outline is removed for all states */
  box-shadow: none !important;
  background-color: transparent !important;
}

/* Handling expanded state */
.navbar-toggler[aria-expanded="true"] {
  border: none !important;
  /* Ensure border is removed for expanded state */
  outline: none !important;
  /* Ensure outline is removed for expanded state */
}

/* Icon Styling */

/* Icon 1 (middle) */
.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

/* Icon 2 (top & bottom) */
.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -10px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 10px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

/* Toggle menu end */

/* ----dropdown-menus ---*/

/* Hide dropdown-menus by default */
ul.dropdown-menu {
  display: none;
  /* Hide dropdown-menus */
  position: absolute;
  /* Position dropdown-menus absolutely */
  z-index: 999;
  /* Ensure dropdown-menus layer above other content */
  background-color: var(--white-color);
  /* Background color of the dropdown-menu */
  padding: .5rem;
  /* Padding inside the dropdown-menu */
  border-radius: .5rem;
  /* Optional: Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  /* Optional: Box shadow */
}

/* Display dropdown-menus on hover or focus */
.navbar-nav .menu-item-has-children:hover>.dropdown-menu,
.navbar-nav .menu-item-has-children:focus-within>.dropdown-menu {
  display: block;
  /* Show the dropdown-menu */
}

/* Left-align second-level dropdown menus */
.navbar-nav>.menu-item-has-children>.dropdown-menu>.menu-item-has-children>.dropdown-menu {
  left: 50%;
  /* Adjust as needed */
}

/* Left-align second-level dropdown menu items */
.navbar-nav>.menu-item-has-children>.dropdown-menu>.menu-item-has-children>.dropdown-menu>.menu-item {
  text-align: left;
  font-size: var(--h6-font-size);
}

/* Style for dropdown menu items */
.dropdown-menu .dropdown-item {
  margin: 0;
  /* Remove default margin */
  border-radius: 10px;
  /* Optional: Rounded corners */
  color: var(--primary-color);
  padding: 4px 4px;
  /* Adjust padding as needed */
  font-size: 17px;
  /* Adjust font size as needed */
  text-align: left;
}

/* Customize dropdown menu item */
.dropdown-menu .dropdown-item:hover {
  background-color: var(--off-orange-color);
  /* Change background color on hover */
  border-radius: 15px;
  /* Optional: Rounded corners */
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  font-size: 17px;
}

/* Hover effects for dropdown-menu links */
ul.dropdown-menu li a:hover {
  background-color: var(--off-orange-color);
  /* Change background color on hover */
  border-radius: 15px;
  /* Optional: Rounded corners */
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  font-size: 1.1rem;
}

/* Style for active menu item */
.current-menu-item .nav-link {
  font-weight: var(--font-weight-semibold);
  /* Add bold font weight for active menu item */
}

/* ----End of dropdown-menus ---*/

/* Special style for demo button */
.navbar ul.navbar-nav li.contact-button {
  padding: 0px;
  background-color: var(--off-orange-color);
  border-color: var(--secondary-color);
  border-style: solid;
  border-width: 1px;
  border-radius: 15px;
  /* Optional: Rounded corners */
}

/* Demo button text */
.navbar ul.navbar-nav li.contact-button a {
  color: var(--primary-color);
  font-size: 17px;
  margin-left: auto;
  /* Place it to the right side */
}

/* Hover effect for demo button text*/
.navbar ul.navbar-nav li.contact-button a:hover {
  background-color: var(--off-orange-color);
  color: #4f4e50;
  border-radius: 15px;
  /* Optional: Rounded corners */
  font-size: 17px;
  margin-left: auto;
  /* Place it to the right side */
}


/* ------------------Media query for screens up to 991.98px */
/* ---------------------------------Responsive----------------------*/
@media (max-width: 991.98px) {

  header {
    position: relative;
  } 
  header .row {
    flex-direction: column; /* stack branding + menu */
    align-items: stretch;
  }
  .branding {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Align the logo and text vertically */
  }
  .site-logo {
    height: auto; /* Full height of the topbar */
    width: 80px;
    max-height: 80px; /* Prevent overflow */
    margin-right:0px; 

  }
  .main_navbar {
  
  min-height: 4vh;
  padding:0 5px;
  /* Minimum height */
}
 /* Row 1: logo + togger */
  .menu-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .navbar-toggler {
    display: block;
    margin-left: auto;
  }

  /* Row 2: social icons below, right aligned */
  .top-social {
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Navbar menu collapsed */
  .navbar-collapse {
    width: 100%;
    margin-top: 0.5rem;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
  }

  /* Toggle menu start */
  .navbar-nav .nav-link {
    padding: 0;
    font-size: 12px;
  }

  /* Demo button text */
  .navbar ul.navbar-nav li.contact-button a {
    font-size: 14px;
  }

  /* Hover effect for demo button text*/
  .navbar ul.navbar-nav li.contact-button a:hover {
    font-size: 14px;
    font-weight: 110%;
    margin-left: auto;
    /* Place it to the right side */
  }

  .dropdown-menu .dropdown-item {
    font-size: 14px;
    /* Adjust font size as needed */
    text-align: left;
  }

  /* Customize dropdown menu item */
  .dropdown-menu .dropdown-item:hover {
    font-weight: 110%;
    font-size: 14px;
  }

  .dropdown-menu .dropdown-item:hover {
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
  }

  /* Hover effects for dropdown-menu links */
  ul.dropdown-menu li a:hover {
    font-weight: var(--font-weight-semibold);
    font-size: 17px;
  }


  /* Brand name and tagline */
  /*
  .brand-name {
      font-size: 1rem;
      font-weight: 100;
      font-family: Arial, Helvetica, sans-serif;
  }

  .site-title {
      font-size: 1rem; 
      margin: 0; 
      font-family: Arial, Helvetica, sans-serif;
      font-weight: var(--font-weight-bold);
      letter-spacing: 0px;
  }

  .site-tagline {
      font-size: .8rem; 
      margin: 0; 
      opacity: 0.8; /
      color: var(--white-color);
  }
Not used right now */

}

/* End of navbar styles */

/*-------------------------------------------------------------
  ------------HOME Page ----------------------------             
-----------------------------------------*/

/* Custom styles for social media icons */
/* WhatsApp social media icons */

.wp-social-link {
  width: auto; /* Adjust the width as desired */
  height: 50px; /* Adjust the height as desired */
  margin: 0 8px; /* Adjust the spacing between icons */
  text-align: center;
  padding-top: 4px!important;
  font-size: 26px; /* Adjust the font size as desired */

}
/* Make the WhatsApp button sticky */
.wp-social-link-whatsapp {
  position: fixed; /* Make the button stick to the screen */
  bottom: 50px; /* Position from the bottom of the screen */
  right: 20px; /* Position it 20px from the right side of the screen */
  z-index: 1000; /* Ensure the button is on top of other elements */
}


/* Responsive styles for Contact Button & WhatsApp icons ----------------------*/
@media (max-width: 768px) {

  .contact_btn{
    width: auto; /* Adjust the width as desired */
    height: 10vw!important; /* Adjust the height as desired */
    text-align: center;
    padding: 0px;
    
  }
  .contact_btn a{
    font-size: 14px!important; /* Adjust the font size as desired */
  
  }
  .wp-social-link {
    width: auto; /* Adjust the width as desired */
    height: 5vh; /* Adjust the height as desired */
    margin: 0px; /* Adjust the spacing between icons */
    text-align: center;
    padding: 0px;
    font-size: 18px; /* Adjust the font size as desired */
  
  }
  .wp-social-link-whatsapp {
    position: fixed; /* Make the button stick to the screen */
    bottom: 150px; /* Position from the bottom of the screen */
    align-content: center; /* Position it centered on the screen */
    padding: 0px !important;
  }

  .wp-block-heading.hero_h4{
    font-size: 14px!important;
  }
}
/* ------Top Bar Design------------*/
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 10px 20px;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(2, 247, 55, 0.2);
  height: auto; /* Height is defined by content */
}

.button-categories {
  background-color: #7ac943;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.button-offer {
  background-color: #d50000;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/*Search Bar Design */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border: 1px solid #7ac943;
  border-radius: 25px;
  padding: 4px 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar input[type="text"] {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 25px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-bar button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
}

#search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 9999;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
  padding: 0;
}

#live-product-search {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

#search-lists {
  position: absolute;
  top: 100%; /* appear right below the input */
  left: 0;
  right: 0;

  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  z-index: 9999;

  max-height: 400px;
  overflow-y: auto;

  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 0 0 6px 6px;
  display: none; /* toggled by JS */
}

.search-bar input {
  flex-grow: 1;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  outline: none;
}

.live-result-item {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.live-result-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.live-result-info {
  flex-grow: 1;
  overflow: hidden;
}

.live-result-title {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-result-price {
  color: #2e7d32;
  font-size: 14px;
  margin-top: 4px;
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-icons a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #7ac943;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  padding: 2px 5px;
}
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  flex-direction: column;
  padding: 10px;
  border-radius: 5px;
  margin-top: 5px;
}

.dropdown-content a {
  color: black;
  padding: 8px 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.show {
  display: flex;
}

/* Responsive styles for Contact Button & WhatsApp icons ----------------------*/
@media (max-width: 768px) {
  .topbar {
  padding: 5px;
  gap: 5px;
  }

  .button-categories {
    font-size: 8px;
    padding: 0px 5px;
    gap: 2px;
  }

  .button-offer {
    font-size: 8px;
    padding: 0px 5px;
    gap: 2px;
  }

  /*Search Bar Design */
  .search-bar {
    width: 100%;
    max-width: 160px;
    font-size:8px;
    padding: 0px 5px;
    gap: 2px;
  }

  .search-bar input[type="text"] {
    font-size: 8px;
    padding: 0px 5px;
    gap: 2px;
  }

  .search-bar button {
    font-size: 14px;
    padding: 2px;
  }
  .topbar-icons {
    width:120px;
    justify-content: space-between;
    gap: 5px;
}
  .topbar-icons a {
    font-size: 8px;
    gap: 2px;
  }


  .cart-count {
    position: absolute;
    top: -8px;
    right: -3px;
    font-size: 8px;
    padding: 1px 2px;
  }
}
/* --------------------------------------------
-------------Hero Section --------------*/

.hero-section {
  background: var(--white-color);
  margin: 6vh 3vw 3vh 3vw;
  padding-bottom: 30px;
  position: relative;
  z-index: 0;
}

/* The two-column block */
.hero-1st-block-columns {
  display: flex;
  align-items: stretch;
  height: 50vh; /* Or use 50vh for viewport height */
  gap: 1vw;
  overflow: hidden
}

/* Left slider column */
.hero-1st-block-columns > .wp-block-column:first-child {
  flex: 0 0 60% !important;
  max-width: 60%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Force all slider wrappers to match parent height */
.my-slide-container,
.my-slide-wrapper,
#top-slider,
.slide-container,
.slick-slider,
.slick-list,
.slick-track,
.slick-slide {
  height: 100% !important;
}

.slick-slide > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Slider images */
.hero-slide {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Right column (offer image) */
.hero-1st-block-columns > .wp-block-column:last-child {
  flex: 0 0 40% !important;
  max-width: 40%;
  height: 100%;
  overflow: hidden;
}

.hero-1st-block-columns > .wp-block-column:last-child img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.slick-dots {
  display: none !important;
}

/* ===== Slide text position & background ===== */
.slide-text_h {
  font-family: tiro-bangla, serif;
  color: var(--secondary-color);
  position: absolute;
  bottom: 20%;
  right: 5%;
  text-align: center;
  z-index: 101;
  background: rgba(255, 255, 255, 0.7); /* white shade */
  padding: 8px 14px;
  border-radius: 8px;
}

.slide-text_d {
  font-family: tiro-bangla, serif;
  font-weight: bold;
  position: absolute;
  bottom: 10%;
  right: 5%;
  text-align: left;
  z-index: 101;
  background: rgba(255, 255, 255, 0.7); /* white shade */
  padding: 10px 16px;
  border-radius: 8px;
  color: #222; /* darker text for better contrast */
}

.offer-img {
  max-width: 95%;
  height: auto;
  display: block;
}


.hero_section_heading_txt {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero_section_heading_txt::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: var(--off-green-color);
}

.hero_sub_heading_txt {
  display: flex;
  text-align: left;
  line-height: 2;
  font-size: var(--h5-font-size);
  font-family: 'marcellus', serif;

}

.hero_section_content_txt {
  text-align: left;
  line-height: 1.2;
  font-family: 'marcellus', serif;
  padding:10px 0px; 
  font-size: large;
  color: var(--off-green-color)

}

.hero_list{
  list-style-type:circle;
  padding: 0px 0px;
  font-family: 'marcellus', serif;
  margin-left: 15px;
  font-size: large;
  color: var(--dark-color);
  line-height: 35px;
  
}

.hero_link_txt{
  font-size: var(--h6-font-size);
}

.hero_section_para_txt{
  font-family: tiro-bangla, serif;
  text-align: left;
  line-height: 2;
  padding:15px 0px; 
  font-size:var(--h5-font-size);
  color: var(--dark-color)
}
.award-section {
  margin:20px 0;
  padding: 40px 0;
  background-color: #c2f5f2;
}

.award-certification {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.award-img {
  margin: 10px;
  max-width: 100%;
  max-width: 150px;
  object-position: center;
  height: auto;
  object-fit: contain;

}
.award_txt {
  text-align: center;
  line-height: 2;
  font-size: var(--h3-font-size);
  font-family: 'marcellus', serif;

}

.recog-img {
  margin: 10px;
  padding-right: 10px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----End of Hero Section --------------*/


/* Reducing the Hero Text in the small screen */
  /* ===== Mobile adjustments ===== */
@media (max-width: 768px) {

  /* Stack columns */
  .hero-1st-block-columns {
    flex-direction: column;
    height: auto;         /* Let content define height */
    gap: 0.5rem;          /* reduce gap */
  }

  /* Left (slider) takes full width */
  .hero-1st-block-columns > .wp-block-column:first-child {
    flex: 0 0 100% !important;
    max-width: 100%;
    height: 40vh;         /* shorter slider on mobile */
  }

  .hero-1st-block-columns > .wp-block-column:first-child img {
    width: 100%;
    height: 40vh !important;
    object-fit: cover;   /* fills container, no empty space */
    display: block;
  }

  .hero-1st-block-columns > .wp-block-column:last-child {
    display:none;
  }
  /* or difsply the Offer image Right (offer image) also full width 
  .hero-1st-block-columns > .wp-block-column:last-child {
    flex: 0 0 100% !important;
    max-width: 100%;
    height: auto;
  } ------------- */

  .hero-1st-block-columns > .wp-block-column:last-child img {
    width: 100%;
    height: auto !important;
    object-fit: contain;   /* no cropping */
  }

  /* Slide images scale nicely */
  .hero-slide {
    height: 100% !important;
    object-fit: cover;
  }

  /* Overlay texts — smaller & more mobile-friendly */
  .slide-text_h {
    font-size: 1rem;
    bottom: 25%;
    right: 10px;
    padding: 6px 10px;
  }

  .slide-text_d {
    font-size: 0.9rem;
    bottom: 10%;
    right: 10px;
    padding: 8px 12px;
  }

  /* Headings below slider */
  .hero_section_heading_txt {
    flex-direction: column;
	font-size: var(--h5-font-size);
    gap: 0.5rem;
    text-align: center;
  }
  .hero_section_heading_txt::after {
    display: none; /* remove line on mobile */
  }

  .hero_sub_heading_txt {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
  }
  .hero_section_para_txt{
    font-size:smaller;
    font-weight: bold;

  }
  .hero_link_txt{
    font-size: var(--p-font-size);
  }
  .hero_section_content_txt {
    text-align: left;
    line-height: 1;
    font-family: 'marcellus', serif;
    padding:10px 0px; 
    font-size: large;
    color: var(--off-green-color)
  }

  .hero_form-box {
    position: absolute;
    bottom: 0px;
    height: 24vh;
    margin:20px 0px 0px 0px;
    max-width: 100%; /* Adjust as needed */
  }


  /* Style for the custom dots container */
  .hero_pg_custom-dots-container {
    display: none;
  }

  /* Style for individual custom dots */
  .hero_pg_custom-dot {
  display: none;
  }
  .details-slick-prev{
    left: -160px;
  
  }  
  .details-slick-next {
    right: -160px; 
  }

}

/* --------------------------
-----------For Desigining the WooCommerce Product Display  
---------------------------------------------------------------*/

/* 🔲 Top line above section */
section.upperline{
  border-top: 2px solid #ddd;
  margin-top: 20px;
  padding-top: 15px;
}

.cat-heading-txt {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: var(--font-weight-bold);
  color: var(--custom-btn-bg-hover-color);
  display: flex;
  align-items: center;
  margin: 15px 5px 5px 5px;
  gap: 5px; /* spacing between text and line */
}

.cat-heading-txt::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: var(--off-green-color);
}

/* 📦 Category Box */
.category-img-box {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-right:15px;
  box-sizing: border-box;
}

.category-img {
  width: auto;
  height: 95%;
  object-fit: cover; /* fills box like slide image */
  border-radius: 6px;
}


/* 🧱 Product Column (align top with no extra padding) */
.product-column {
  margin-left:0;
  padding:0;

}
.snacks-container{
  margin: 0 2vw;

}

/* 🧱 Product Card Consistency */
.slick-carousel .product-slide {
  width: 180px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px;
  gap: 10px;
  margin: 0 5px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;
  position: relative;
  text-align: center;
}

/* Image wrapper stays fixed height */
.product-slide .product-image-wrapper {
  width: 100%;
  height: 280px; /* fixed height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f8f8f8;
}

/* Force product images to scale consistently */
.product-slide .product-img {
  width: 100%;        /* Fill wrapper width */
  height: 100%;       /* Fill wrapper height */
  object-fit: cover;  /* Crop to fit without distortion */
  border-radius: 6px;
  z-index: 1;
}

/* Product logo overlay */
.product-slide .product-logo {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  z-index: 2;
  border-radius: 4px;
  background-color: white;
  padding: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
/* Remove the old hover image zoom */
.product-image-wrapper:hover img.product-img {
  transform: none;
}

/* New hover effect on the whole product slide */
.product-slide:hover {
  border: 2px solid #b8def0; /* Your theme accent color */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* 📝 Title & price */

.woocommerce-loop-product__title{
  font-size: var(--p-font-size);
  font-weight: bold;
  color: var(--dark-color);
  margin: 5px 0;
  text-align: center;
}

.product-info {
  flex-grow: 1;
  margin: 10px 0 0 0;
}
.product-info h3 {
  font-size: 16px;
  margin: 10px 0 5px;
}
.woocommerce-Price-amount{
  margin-bottom:0;
}
.product-info .price {
  margin-bottom: 0px;
  font-weight: bold;
  color: var(--custom-btn-bg-hover-color)
}
.product-weight {
  font-size:12px;
  color: #4d0707;
  margin-left: 4px;
}


/* 🛍 Woo default Add to Cart -> icon style on hover */
.woocommerce ul.products li.product .button,
.product-slide .button {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 5px 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-decoration: none;
}

/* 🛒 Icon on Hover */
.product-slide .button:hover::before {
  content: "🛒";
  margin-right: 8px;
  font-size: 18px;

}

.product-slide .button:hover {
  background: var(--custom-btn-bg-hover-color);
}

/* 🏷 Sale/Out-of-stock */
.onsale, .out-of-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d9534f;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}
.out-of-stock {
  background: #6c757d;
}

/* Custom arrows styling */
.details-slick-prev,
.details-slick-next {
  display: block !important;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index:10 ;
  cursor: pointer;
  color:#28a745;
  background-color: transparent;
  border: none;
  font-size: 40px;
  transition: color 0.3s ease;
}

.details-slick-prev{
  left: -15px;

}

.details-slick-next {
  right: -25px;
}

/* Hover effect for custom arrows */
.details-slick-prev:hover,
.details-slick-next:hover {
  color: var(--custom-btn-bg-hover-color);
  background-color: transparent;

}
/* Custom dots container */
.details_pg_custom-dots-container {
  display: flex;
  justify-content: center;
  gap: 5px;
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 103;
}

  /* ===== Mobile adjustments ===== */

/* 📱 Product cards — small screen optimization */
@media (max-width: 768px) {
  .slick-carousel .product-slide {
    width: 140px;              /* narrower for mobile */
    height: auto;              /* let height adapt */
    padding: 8px;
    margin: 0 4px;
    gap: 6px;
    border-radius: 6px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
  }

  /* Smaller image wrapper */
  .product-slide .product-image-wrapper {
    height: 180px;             /* reduce fixed height */
    border-radius: 6px;
  }

  .product-slide .product-img {
    border-radius: 6px;
  }

  /* Logo overlay */
  .product-slide .product-logo {
    width: 24px;
    height: 24px;
    top: 6px;
    right: 6px;
    padding: 1px;
  }

  /* Title & info */
  .woocommerce-loop-product__title,
  .product-info h3 {
    font-size: 14px;
    line-height: 1.2;
  }

  .product-info {
    margin-top: 6px;
  }

  .product-info .price {
    font-size: 14px;
  }

  .product-weight {
    font-size: 11px;
  }

  /* Button styling */
  .product-slide .button {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
  }

  .product-slide .button:hover::before {
    font-size: 16px;
  }

  /* Sale / Out of stock badges */
  .onsale, .out-of-stock {
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 3px;
  }

  .category-img-box {
    display: none;
    }
  
  

}
/* -----------------Tabs-Design (Description, Review & Ask Question -------------*/

/* Tabs container */
.woocommerce-tabs {
    margin-top: 2.5rem 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Tab navigation */
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 2rem;
    border: none;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    list-style: none;
}
.woocommerce-tabs ul.tabs li a {
    text-decoration: none;
    font-size:1.2rem;
    color: inherit;
    padding: 0.5rem 0;
}
.woocommerce-tabs ul.tabs li.active a{
    border-bottom: 2px solid #1f5622;
    text-decoration: none !important;
    color: #1f5622;
}
.woocommerce-tabs ul.tabs li:not(.active) a{
    border-bottom: none !important;
    color: #555;
}

/* Tab content */
.woocommerce-tabs .panel {
    padding-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.woocommerce-tabs h2{
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.woocommerce-tabs p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* -----------------Review form styles -------------*/

/* Review form layout */
.woocommerce-Reviews{
  padding-left: 6rem;
}
/* Container */
.custom-review-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.rating-row {
    display: flex;
    margin: 2rem 0;
    padding:0 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #7ac943;
    border-radius: 8px;
}

.rating-row label {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
} 

.star-rating-select {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
}
.star-rating-select input {
    display: none;
}
.star-rating-select label {
    font-size: 1.8rem;
    color: #ccc;
    cursor: pointer;
}
.star-rating-select input:checked ~ label,
.star-rating-select input:hover ~ label {
    color: #f5b301;
}

/* Textarea + Submit button */
.comment-submit-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.comment-submit-row textarea {
    width: 600px; /* fixed width instead of flex */
    height: 100px;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
}

.comment-submit-row button {
  margin-top: 1rem;
    height: fit-content;
    background-color: #1f5622;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

/* Ask Question Tab-Form */
.ask-question-form .question-form-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 1rem 13rem;
}
.ask-question-form textarea {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 1rem;
    height: 120px;
    resize: vertical;
}
.ask-question-form button.button {
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    background: #1f5622;
    color: #fff;
    border-radius: 4px;
    white-space: nowrap;
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
    .single-product .product {
        flex-direction: column;
    }
    .woocommerce-product-gallery,
    .product .summary {
        width: 100%;
    }

  /* Responsive fix */
    .product-main-wrapper {
        flex-direction: column;
    }
    .product-left-col,
    .product-right-col {
        width: 100%;
    }
}

/* -----------------Related Products Grid--------------- */
/* Related product grid - 5 per row */
.related.products {
    margin:2rem 0;
    padding: 1rem 0;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
}
.related.products h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.related.products ul.products li.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.related.products ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.related.products ul.products li.product h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.related.products ul.products li.product .price {
    font-size: 1.1rem;
    color: #1f5622;     
    margin-bottom: 0.5rem;
}
.related.products ul.products li.product .button {
    background-color: #1f5622;
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
}


/*-----------------------------------------------------------
-------------Special Pages Design -------------------
---------------------------------------------*/


* Spinner styling */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    position: relative;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



/* ----------------------------------------------------------
------------------------------  404 Page  -----*/
.page-404{
background-color: var(--page-background-color);
height: 60vh;
width: 100%;

}
.text-404 {
  margin-top:0vh;
  text-align: center;
  font-size: var(--h2-font-size);
  color: var(--secondary-color);
  padding-top: 50px;
  padding-bottom: 0px;
}

.text_res-404 {
  text-align: center;
  font-size: var(--h3-font-size);
  color: #f87c7c;
  padding-top: 10px;
  padding-bottom: 0px;
}

/* Style for the search bar */
.s_bar-404 {
  font-size: var(--h3-font-size);
  color: var(--custom-btn-bg-color);
  display: flex;
  /* Use flexbox for alignment */
  justify-content: center;
  /* Center content horizontally */
  align-items: center;
  /* Center content vertically if needed */
  margin: 0 auto;
  /* Auto margin to center */
  padding-bottom: 20px;

}

/* Media query for small screens */
@media (max-width: 600px) {
  .s_bar-404 {
    width: 100% !important;
    /* Make the search bar take the full width */
    padding: 0 10px !important;
    /* Add some padding for better spacing */
    flex-direction: column;
    /* Stack children vertically */
  }

  .s_bar-404 input,
  .s_bar-404 button {
    width: 100%;
    /* Make input and button take full width */
    margin-bottom: 0px;
    /* Add some spacing between elements */
  }

  .text-404 {
    font-size: var(--h5-font-size);
    padding: 0px;
  }

  .text_res-404 {
    text-align: center;
    font-size: var(--h5-font-size);
    color: #f87c7c;
    padding: 0px;

  }
}

/* Scroll to top button */
#myBtn {
  display: none;
  /* Initially hide the button */
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 500;
  font-size: 3rem;
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--custom-btn-bg-hover-color);
  cursor: pointer;
  width: auto;
  /* Set width to auto */
  display: inline-block;
  /* Make sure button respects padding */

}

#myBtn:hover {
  color: var(--primary-color);
}


/* Widget designed by me */

.widget {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Blog page styles */
/* Here it is News Page */

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
  flex: 0 0 100%;
  max-width: 100%;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  padding: 10px;
  flex: 1;
}

.blog-post h2 {
  font-size: 1.5em;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .blog-post {
    flex-direction: row;
  }

  .post-thumbnail {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .post-content {
    flex: 1;
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 10px;
  }

  .col-lg-2 {
    display: none;
  }

  .col-lg-10 {
    width: 100%;
  }

  .blog-post {
    flex-direction: column;
  }

  .post-thumbnail,
  .post-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Pagination designed by me */
.pagination {
  display: flex;
  justify-content: center;
  /* Center the pagination */
  margin-top: 20px;
  /* Add some space above the pagination */
}

.pagination a,
.pagination span {
  margin: 0 5px;
  /* Add space between pagination items */
  padding: 10px 15px;
  /* Add padding for better click size */
  border: 1px solid #ddd;
  /* Add border for better separation */
  border-radius: 4px;
  /* Rounded corners */
  text-decoration: none;
  /* Remove underline */
  color: #007bff;
  /* Link color */
}

.pagination a:hover,
.pagination span.current {
  background-color: #007bff;
  /* Background color on hover or current page */
  color: #fff;
  /* Text color on hover or current page */
}

.pagination .next,
.pagination .prev {
  font-weight: bold;
  /* Highlight next and prev buttons */
}


/*   FAQ Page  -----*/
.faq-section {
  background-image: url('https://hisocietybd.com/wp-content/uploads/2024/07/background_1_b.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/*-----------------------------------------
    --Single Product Section ---
-------------------------------------------*/


.product-main-wrapper {
    position: relative;
    margin-top: 2vh;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Uniform product image styling */
.product-left-col {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-right-col {
    flex: 1 1 45%;  
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem;
}
.product-right-col .woocommerce-product-details__short-description {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Uniform product image styling */
.product-left-col img.wp-post-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Text styling */
.product-right-col h1.product_title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    
}
.product-right-col .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1f5622;
    margin-bottom: 1rem;
}
.product-attributes h4{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-right-col .woocommerce-variation-price,
.product-right-col .woocommerce-variation-availability,
.product-right-col form.cart {
    margin-bottom: 1.2rem;
}
.product-right-col .single_add_to_cart_button {
    background-color: #1f5622;
    color: #fff;
    padding: 10px 30px;
    border-radius: 6px;
}

form.cart {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
form.cart .quantity input.qty {
    max-width: 70px;
    padding: 6px 10px;
    font-size: 1rem;
    text-align: center;
}
form.cart button.single_add_to_cart_button {
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #1f5622;
    color: white;
}
.product-attr-list {
    list-style: none;
    padding: 0;
    margin: 0;
   
}
.product-attr-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;

}
.product-attr-list .attr-label {
    width: 140px;
    font-weight: 600;
     color: #333;
}
.product-attr-list .attr-value {
    color: #333;
}

.product-lower-section{
    margin: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.custom-sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d10024;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Ensure product image wrapper is positioned */
.woocommerce-product-gallery {
    position: relative;
}

/* Custom 'Sale' Image in Single Product page */
.custom-sale-image {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
    top: 10wh;
    z-index: 10;
}

.custom-sale-image img {
    max-width: 80px;
    height: auto;
}


/* ----------------- Archive-Product Page --------------- */

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  padding:2rem
} 

.product-item p{
  font-size: 0.9rem;
  color: #555;
  
}


/* ----------------- Corporate Page --------
----------------------------------------------- */

.corporate-page {
  background: var(--white-color);
  margin: 2vh 2vw;
  padding-bottom: 30px;
  position: relative;
  z-index: 0;
}
.corporate-cover-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.corporate_heading_txt {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  font-family: 'marcellus', serif;
  position: absolute;
  top: 10%;
  left: 8vw;
  
}

.corporate_list{
  list-style-type:circle;
  padding: 0px 0px;
  font-family: 'marcellus', serif;
  margin-left: 3vw;
  font-size: large;
  color: var(--dark-color);
  line-height: 35px;
  
}
/* CSS for Corporat Cards  */


.corporate-heading-txt {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--custom-btn-bg-hover-color);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  display: flex;
  align-items: center;
  margin: 5px;
  padding-left: 20px;
}

/* Outer containr centers content */
.corporate-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Row of cards */
.box-container {
  display: flex;
  flex-wrap: nowrap;            /* one row on large screens */
  gap: 15px;
  align-items: stretch;         /* equal height per row */
  justify-content: center;
}

/* Card */
.box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pinter;
  display: flex;                /* allow internal stretch */
  flex-direction: column;
  flex: 1 1 280px;              /* width basis; enables wrap at smaller viewports */
  min-width: 240px;             /* enforces minimum card width */
}

.box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Card content */
.service_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;                      /* stretch to make equal-height cards */
}

/* Image wrapper: works whether image is inside <a> or not */
.service_img a {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;             /* clips zoomed image corners */
}

/* Primary image rule (anchor > img) */
.service_img a > img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;            /* consistent visual crop */
  transition: transform .5s ease;
}

/* Fallback when image is not wrapped by <a> */
.service_img > img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .5s ease;
}

/* Zoom on hover/click/focus */
.box:hover .service_img a > img,
.box:hover .service_img > img,
.box:active .service_img a > img,
.box:active .service_img > img,
.box:focus-within .service_img a > img,
.box:focus-within .service_img > img {
  transform: scale(1.08);
}

/* Text */
.service_img h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 8px 0 0;
  color: var(--heading);
}

.service_img p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* ===== Responsive wrap ===== */
@media (max-width: 1024px) {
  .box-container {
    flex-wrap: wrap;            /* wrap on tablets and down */
    justify-content: center;
  }
  .box {
    flex: 1 1 calc(50% - var(--gap)); /* 2 columns on tablets */
    min-width: 280px;
  }
}

@media (max-width: 640px) {
  .box {
    flex: 1 1 100%;             /* 1 column on phones */
    min-width: 0;               /* allow full width */
  }
}

.section-contact {
  background: #03c7f8;
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
}
.section-contact p{
  margin: 1vh 0;
  font-size: large;
  color: var(--dark-color);
  padding: 1vh 2vw;
  text-align: center;
}

.cont-button {
  border: none;
  color: white;
  padding: 14px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.cont-button {
  background-color: white; 
  color: black; 
  border: 2px solid #04AA6D;
  border-radius: 50px;

}

.cont-button:hover {
  background-color: #04AA6D;
  color: white;
}



/* ----------------- Footer --------
---------------------------------------------- */


/* Container and Section--------------------*/
.site-footer {
  background-color:var(--site-footer-bg-color );
  /* Adjust as needed */
  padding: 10px 0;
}

.footer-container {
  max-width: 100vw;
  /* Adjust as needed */
  margin: 1vh .5vw;
  padding: 0 2vw;
}

.footer-section {
  padding: 0 10px;
  max-width: 100vw;
}

.footer-section .branding {
  display: flex;
  align-items: center; /* Centers the image vertically */
  justify-content: flex-start; /* Left-align on larger screens */
}

/* Image styling */
.footer-section .branding img {
  width: 200px;
  height: auto;
  object-position: left;
  margin-left: -20px;
}

.footer-section .address-section {
  margin-left: 2vw;
  width: fit-content;
  outline: none;
  align-items: center;

}

.footer-section .menu-links-section {
  outline: none;
  align-items: center;

}

.footer-section .phone-links-section {
  outline: none;
  align-items: center;
  margin-top: 13px;

}

/* Base styles for the footer social section */
.footer-social-section {
  display: flex;
  justify-content: flex-end; /* Align icons to the right on larger screens */
  align-items: center;
  gap: 10px; /* Space between icons */
  padding: 10px ; /* Optional padding */
  overflow: hidden;
}

.footer-social-section a {
  width: 60px; /* Set desired width */
  height: 60px; /* Set desired height */
  color: transparent;
 
}

/* Styling for footer social icons */
.footer-social-section img {
  width: 40px; /* Set desired width */
  height: 40px; /* Set desired height */
  object-fit: contain; /* Maintain aspect ratio within the specified dimensions */
 
}

.footer-social-section img:hover {
  transform: scale(1.1);
  transition:  0.3s ease;
 
}
/* Facebook Hover (Blue effect) */
.footer-social-section a:nth-of-type(1) img:hover {
  filter: hue-rotate(90deg) saturate(3) brightness(1.2);
}

/* YouTube Hover (Red effect) */
.footer-social-section a:nth-of-type(2) img:hover {
  filter: hue-rotate(250deg) saturate(5) brightness(1.2); /* Example: Red-like effect */
}

/* TikTok Hover (Slight neon effect) */
.footer-social-section a:nth-of-type(3) img:hover {
  filter: hue-rotate(330deg) saturate(1) brightness(0.1);
}

/* Instagram Hover (Pink/Orange vibrant) */
.footer-social-section a:nth-of-type(4) img:hover {
  filter: hue-rotate(270deg) saturate(5) brightness(1.1);
}


.phone-links-section p {
  align-items: center;
  padding-top: 12px;

}

.footer-section h3 {
  font-size: 18px;
  /* Adjust as needed */
  color: var(--primary-color);
  /* Adjust as needed */
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  /* Adjust as needed */
  color:var(--dark-color);
  /* Adjust as needed */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--off-green-color); /* Customize the link color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.footer-links a:hover {
  color: var(--dark-color); /* Hover color (customize this to fit your design) */
  text-decoration: none /* Optional hover underline */
}
.external-section{
  overflow: hidden;
}

/* Menu Links Section - ---------------------*/
.footer-menu-links {
  list-style: none;
  padding: 0;
}

.footer-menu-links li {
  margin-bottom: 5px;
}

.footer-menu-links a {
  color: #6c757d;
  /* Adjust as needed */
  text-decoration: none;
}

.footer-menu-links a:hover {
  text-decoration: underline;
  color: #3f55f9;
}

.other-content-section p {
  color: #555555;
  /* Adjust as needed */
  text-decoration: none;
}

/* Copywrite Section - ---------------------*/
.copyright-line p {
  text-align: center;
  font-size: .75rem;
  color: #6c757d;
  padding-top: 10px;
}

/* ------------Responsive Design for smaller screens -----------------------*/
@media (max-width: 768px) {
  .footer-section {
    margin-bottom: 0px;
  }

  .site-footer {
    padding: 10px 5px;
  }

  .footer-social-section {
    justify-content: center; /* Center icons on small screens */
    flex-wrap: nowrap; /* Wrap icons to handle limited space */
    width: 100%;
  }

  .footer-section .branding{
    justify-content: center; /* Center icons on small screens */
   
  }
  .footer-social-section a {
    flex: 1 1 auto; /* Allows icons to shrink or expand evenly */
    text-align: center; /* Center each icon */
  }

  /* Smaller icon size for small screens */
  .footer-social-section a img {
    width: 30px;
    height: 30px;
  }
   
  .site-footer li{
    margin-bottom: 0px;
  }
  .footer-section .menu-links-section {
    margin-top: 3vh;
  
  }

  .external-section{
    overflow: hidden;
    margin-top: 3vh; }
}


/*-----------------------------------------
    -- USER REGISTRATION Page--
-----------------------------------------*/

.registration_page {
  background-color:var(--white-color);
  height:100vh;
  /* Use 100vh to cover the full viewport height */
  display: flex;
  justify-content: center;
  /* Center horizontally */
  margin: 0;
  padding: 0;
}

.registration-container {
  width: 100%;
  max-width: 70vw;
  height: 75vh;
  position: relative;
  /* Use 100vh to cover the full viewport height */
  top:10vh;
  padding: 10px;
  /* Optional: Add some padding */
  box-shadow: 0 0 10px rgba(2, 2, 2, 0.2);
  /* Optional: Add a shadow for a better look */
  background-color: var(--border-color);
  /* Optional: Set background color */
  border-radius: 8px;
  /* Optional: Round corners */
  text-align: center;
  /* Center the text and form elements */
}

.user_registration {
  padding: 0px;
}

.registration-title { 
  text-align: center;
  color: var(--dark-color);
  font-family: 'Courier New', Courier, monospace;
  font-weight: var(--font-weight-semibold);
  padding-bottom:20px;
 
}

.registration-message {
  text-align: center;
  font-size: var(--h4-font-size);
  color: var(--primary-color);
  margin-top: 30vh;
}


.user_registration-form {
  width: 100%;
  height: auto;
  margin: 10px;
  padding: 0px 10px;
  position: relative;
  border-radius: 10px;
}

.user_registration-form label {
  margin-bottom: 10px;
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-color);
  margin-bottom: 0;
}

.user_registration-form input {
  margin-bottom: 20px;
  border: 0;
  border-radius: none;
  padding:10px;
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  outline: none;
  width: 100%;
  transition: all 0.3s;
}

.user_registration-form button[type="submit"] {
  width: 50%;
  height: 6vh;
  background: var(--site-footer-bg-color);
  border: none;
  color: var(--dark-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  margin-left: 25%;
  padding: 10px;
  transition: all 0.3s;
}

.user_registration-form button[type="submit"]:hover,
.user_registration-form button[type="submit"]:focus {
  background: var(--white-color);
  border-color: transparent;
}

.user_registration-form .success-message {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-semibold);
  padding-top: 3rem;

}

.signup_close-btn{
  color: #aaa;
  float: right;
  padding:0 15px;
  font-size: 28px;
  font-weight: bold;
}

.signup_close-btn:hover,
.signup_close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/*---------------------------------------------------------
  ---------ALL FORM - POPUP (MODAL) Design ----------              
-----------------------------------------*/

/*------------------General Settings  -------------*/

.contact-form-container {
  margin: 0 2vw 6vh 2vw;

}

.modal {
  display: none; /* Hidden by default */
  opacity: 0;
  overflow: auto; /* Ensure modal content is scrollable if needed */
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block; /* Show modal when the show class is added */
  opacity: 1;
  z-index: 999;
}

/* Title styles */
.form_title_text {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  padding:20px auto;

}

.close-btn {
  color: #aaa;
  float: right;
  padding:0 15px;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* logo in all Fom */
.form-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
  max-width: 50%;
  height: auto;
  /* Maintain aspect ratio */
  margin-top:5px;
  /* Space between logo and text */
  margin-bottom: 20px;
  /* Space between logo and text */
}


/*------------------ Contact Form  -------------*/

.contact-form {
  display: none;
  /* Hidden by default */
  position: fixed;
  background-color: var(--white-color);
  /* Stay in place */
  z-index: 999;
  /* Sit on top */
  top: 50%;
  /* Center vertically */
  left: 50%;
  /* Center horizontally */
  transform: translate(-50%, -50%);
  /* Move back by half of its size */
  width: 45%;
  /* Adjust width as needed */
  height: 65%;
  /* Adjust height as needed */
  overflow: auto;
  /* Enable scroll if needed */
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: all 0.3s;
  border-radius: var(--radius);
}

.contact-form .form-control {
  background-color:var(--white-color);
  margin: 8px 5px;
  border: 1px solid #888;
  padding: 10px 15px;
  outline: none;
  color: var(--dark-color);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-align: center;
}

.contact-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.contact-form button[type="submit"] {
  width: 50%;
  background: var(--primary-color);
  border: none;
  color: var(--dark-color);
  font-size: var(--h6-font-size);
  transition: all 0.3s;
  align-items: center;
  margin: 15px auto 0px auto;
  padding: 7px 0;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
  opacity: 0.7;
  color: var(--white-color);
}

.success-message {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-semibold);

}

.contact-section .custom-block-body p {
  line-height: 1.7;
}

.tearm-line {
  padding-top: 10px;
  margin-bottom: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact_error-message {
  color: red;
  font-size: 12px;
  display: none;
}

@media (max-width: 768px) {
  .contact-section {
    padding-top: 80px;
    height: 100%;
    width: auto;
    outline: none;
  }

  .contact-form .contact-form-container {
    padding: 15px 0px;
  }

}

/*------------------ LOGIN Form  -------------*/

/* Modal container - Cover the entire screen and position at the top */

.login-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width:100vw;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

/* Modal content - box-sizing to prevent overflow */
.login-modal-content {
  background-color: #fefefe;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: var(--radius);
  margin: 15% auto; /* Center the modal */
  padding: 20px;
  width: 70%;
  max-width: 550px; /* Set max-width to make the modal responsive */
  box-sizing: border-box; /* Ensure padding/borders are included in the width */
}

/* Login container and form logo */
.login-container {
  text-align: center;
}

.login-form p{
  font-size: var(--h6-font-size);
  
}
/* Fix input field overflow issue */
.login-form input[type="text"],
.login-form input[type="password"] {
  width: 85%; /* Ensure the input takes full width of the container */
  padding: 12px 0px 12px 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Include padding/borders in the width */
  text-align: left;
}

/* Button styling */
.login-form input[type="submit"] {
  width: 85%; /* Full width button */
  background-color: var(--primary-color);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px; /* Add space between input fields and button */
}

.login-form input[type="submit"]:hover {
  opacity: 0.7;
}

/* Equal line spacing for the form */
.login-form {
  line-height: 1.5; /* Equal line spacing for all form elements */
}

.forgot-password-form input[type="submit"] {
  align-items: center;
  width: 50%; /* Full width button */
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px; /* Add space between input fields and button */
}

.forgot-password-form input[type="text"] {
  width: 85%; /* Ensure the input takes full width of the container */
  padding: 12px 0px 12px 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Include padding/borders in the width */
  text-align: left;
}
.forgot-password-form label {
  font-size: var(--p-font-size);
  padding: 12px 0px 12px 12px;
  margin: 8px 0;
  text-align: left;
}
/* ---Smooth Dimming Transition ----*/
/* Login modal smooth dim effect */
#loginModal {
  transition: opacity 0.3s ease; /* Smooth transition for dimming effect */
}



/*  ----------------------------------------------------------
-------- ADMIN Page  --------------------
-----------------------------------------------------------*/

.admin-page {
  background:var(--site-footer-bg-color);
  /*Set the background color to light blue*/

}

.admin-wrapper {
  display: flex;
}

.admin_page-heading {
  text-align: center;
  letter-spacing: 3px;
  padding: 15px;

}

/*  ----Side Panel ------------*/
.side-panel {
  width: 200px;
  background-color: #2c3e50;
  height: 100vh;
  padding: 20px;
}

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

.side-panel ul li {
  margin-bottom: 20px;
}

.side-panel ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px;
  border-radius: 5px;
}

.side-panel ul li a.active,
.side-panel ul li a:hover {
  background-color: #2980b9;
}

/* End of Side Panel */

/* Admin Content Section */

.admin-content {
  flex: 1;
  background-color: #ecf0f1;
  padding: 20px;
  flex: 1;
  height: 100vh;
  overflow-y: scroll;
}

.admin-content h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Property Input Form */
.admin-property_details {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  /* Add vertical spacing between form elements */
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
    position: relative;
    height: auto;
  }

  .admin-content {
    margin-left: 0;
  }
}

/* Admin Property Table */

.property-table,
.ad-poster-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.property-table th,
.property-table td,
.ad-poster-table th,
.ad-poster-table td {
  border: 1px solid #bdc3c7;
  padding: 10px;
  text-align: left;
}

.property-table th,
.ad-poster-table th {
  background-color: #34495e;
  color: white;
}

.property-table tr:nth-child(even),
.ad-poster-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
  background-color: #ccc;
}

th,
td {
  text-align: left;
  padding: 16px;

}

th {
  background-color: #a9f784;
  color: black;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}
.admin_details_btn{
  padding: 5px 10px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}
.admin_details_btn:hover{
  background-color: var(--secondary-color);
  opacity: 0.7;
}

/* ---------------------------------------------------------
---Video and Youtube Styling--
---------------------------------------*/

/* Container keeps 16:9 ratio */
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Thumbnail + video sizing */
.video-container iframe,
.video-stream.html5-main-video {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

/* Crop video to fill */
.video-stream.html5-main-video {
  object-fit: cover !important;
}

lite-youtube {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}


.lty-playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; /* Size of the play button */
  height: 68px; /* Size of the play button */
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
  border-radius: 50%; /* Circular button */
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lty-playbtn::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid white; /* Triangle shape */
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.lty-playbtn:hover {
  background-color: rgba(248, 7, 7, 0.9); /* Darker on hover */
}

.lty-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 🔹 Responsive tweaks */
@media (max-width: 768px) {
  .video-container {
    aspect-ratio: 16 / 9;   /* keeps correct ratio */
    margin: 0 auto;         /* center horizontally */
    border-radius: 0;       /* optional: remove round corners */
  }

  lite-youtube {
    border-radius: 0;
  }

  .lty-playbtn {
    width: 45px;
    height: 45px;
  }

  .lty-playbtn::before {
    border-left: 16px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
}

@media (max-width: 480px) {
  .video-container {
    aspect-ratio: 4 / 3;    /* slightly taller ratio for small phones */
  }

  .lty-playbtn {
    width: 40px;
    height: 40px;
  }

  .lty-playbtn::before {
    border-left: 14px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
  }
}


/*  ----------------------------------------------------------
-------- SMALL SCREEN CSS  -------------------------------
----------------------------------------------*/
/* Background image for small screens */

@media (max-width: 600px) {
  .faq-section {
    background-image: url('https://hisocietybd.com/wp-content/uploads/2024/07/background_1_s.webp');
  }
}

.faq-heading {
  font-size: var(--h2-font-size);
  text-align: center;
}

.faq-txt-title {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
  font-weight: var(--p-font-size);
}

.faq-txt {
  font-size: var(--h6-font-size);
  color: #106e04;
}

.faq-txt-box {
  padding: 1rem;
}

.faq-head {
  padding: 1rem;
}

@media (max-width: 768px) {
  .faq-heading {
    font-size: var(--h4-font-size);
  }

  .faq-txt-title {
    font-size: var(--p-font-size);
    font-weight: var(--p-font-size);
  }

  .faq-txt {
    font-size: var(--p-font-size);
  }

  .faq-txt-box {
    padding: .8rem;
  }

  .faq-head {
    padding: .8rem;
  }
}

/*   Policy Page  -----*/
.policy-section {
  padding-top: 120px;
}

@media (max-width: 768px) {
  .policy-section {
    padding-top: 80px;
  }

  .wp-block-heading.policy-txt-title {
    font-size: var(--h3-font-size) !important;
  }
}


/*   Abut US Page  -----*/
.inner-gif {
  position: absolute;
  bottom: 29vh;
  right: 2.6vw;
  transform: translate(-50%, -50%, );
  width: 35vw;
  height: 35vh;
}

.color-check {
  color: #978c21;
}
