/*
* ===============================
*  01. Defult CSS 
* ===============================
*/

@import url("https://fonts.googleapis.com/css?family=Allura|Nunito:300,400,700|Poppins:400,700&display=swap");
html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.select-primary > img {
  margin-top: -2px;
}

.select-primary select {
  background: transparent;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background-image: url("../img/icons/caret-down.png");
  background-repeat: no-repeat;
  background-position: 100% 55%;
  padding-right: 8px;
  cursor: pointer;
}
.select-primary select:focus {
  outline: none;
}
.select-primary option {
  color: #333333;
}
/*
* ===============================
*  02. Typograpgy
* ===============================
*/

body {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #657786;
}

h1 {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 700;
}

h2 {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #1a2d5a;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a2d5a;
  margin-bottom: 15px;
}

h4 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}
a:hover {
  text-decoration: none;
}

a h1:hover,
a h2:hover,
a h3:hover,
a h4:hover,
a h5:hover,
a h6:hover {
  text-decoration: none;
}
/*
* ====================================
*  03. Header One
* ====================================
*/

.header-one {
  color: #999ca3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-one.sticky {
  position: fixed;
}

.header-one.sticky.active {
  background: rgba(0, 0, 0, 0.8);
}

.header-one.sticky.active .header-nav {
  padding: 5px 0;
}

.header-one.sticky.active .top-bar {
  padding: 5px 0;
}

.header-one .top-bar {
  font-size: 12px;
  text-transform: uppercase;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header-one .top-bar .help-text {
  margin-right: 15px;
}

.header-one .top-bar .flag-icon {
  margin-right: 5px;
  font-size: 14px;
}

.header-one .top-bar .or {
  margin: 0 5px;
}

.header-one .top-bar a {
  color: #ffffff;
}

.header-one .top-bar span,
.header-one .top-bar a {
  height: 18px;
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
}

.header-one .top-bar .top-bar-right {
  text-align: right;
}

.header-one .top-bar .top-bar-right .select-primary select {
  color: #999ca3;
  text-transform: uppercase;
}

.header-one .header-nav {
  padding: 15px 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header-one .header-nav .logo {
  float: left;
  margin: 5px 40px 0 0;
  max-width: 150px;
}

.header-one .header-nav .menu {
  float: left;
  text-transform: uppercase;
}

.header-one .header-nav .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-one .header-nav .menu ul li {
  position: relative;
}

.header-one .header-nav .menu ul li a {
  font-size: 13px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header-one .header-nav .menu ul li a:hover {
  text-decoration: none;
}

.header-one .header-nav .menu > ul > li {
  display: inline-block;
}

.header-one .header-nav .menu > ul > li.has-submenu:before {
  content: "";
  position: absolute;
  right: 3px;
  top: 50%;
  width: 6px;
  height: 5px;
  background: url("../img/icons/caret-down.png") no-repeat;
  margin-top: -2px;
}

.header-one .header-nav .menu > ul > li > a {
  color: #999ca3;
  padding: 8px 20px;
  display: block;
  text-decoration: none;
}

.header-one .header-nav .menu > ul > li > a:hover,
.header-one .header-nav .menu > ul > li.active > a {
  color: #ffffff;
}

.header-one .header-nav .menu > ul > li > ul {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 120px;
  background: #34323d;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.header-one .header-nav .menu > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.header-one .header-nav .menu > ul > li > ul > li.has-submenu:before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 5px;
  height: 6px;
  background: url("../img/icons/caret-right.png") no-repeat;
  margin-top: -3px;
}

.header-one .header-nav .menu > ul > li > ul li a {
  color: #dddddd;
  padding: 8px 30px 8px 20px;
  display: block;
  white-space: nowrap;
  text-decoration: none;
}

.header-one .header-nav .menu > ul > li > ul li a:hover {
  color: #ffffff;
  background: #8a9e3b;
}

.header-one .header-nav .menu > ul > li > ul > li > ul {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 5px;
  min-width: 120px;
  background: #34323d;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.header-one .header-nav .menu > ul > li > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
.header-one .mobile-menu {
  display: none;
}

/*
* ====================================
*  12. Single Service Section
* ====================================
*/

#single-service-section {
  padding: 100px 0;
}

#single-service-section img {
  margin-bottom: 40px;
  border-bottom: 5px solid #8a9e3b;
  width: 100%;
}

/*
* ====================================
*  29. Page Header Section
* ====================================
*/

#page-header-section {
  background-image: url("../images/nutrition.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 150px 0 50px;
  position: relative;
  color: #ffffff;
  text-align: center;
  z-index: 1;
}

#page-header-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

#page-header-section h1 {
  font-weight: 500;
  font-size: 35px;
  line-height: 1.2em;
}

#page-header-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#page-header-section ul li {
  display: inline-block;
  margin: 0 5px;
}

#page-header-section ul li a {
  color: #ffffff;
  text-decoration: none;
}

/*
* ====================================
*  30. Footer Area
* ====================================
*/

.footer-one {
  background: #34323d url("../img/footer/bg.png") no-repeat;
  background-position: center 80px;
}

.footer-one .footer-top {
  padding: 100px 0 25px;
}

.footer-one .footer-top h3 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
}

.footer-one .footer-top .footer-logo {
  max-width: 200px;
}

.footer-one .footer-top .footer-logo,
.footer-one .footer-top h3 {
  margin-bottom: 50px;
}

.footer-one .footer-top .social-icons {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-one .footer-top .social-icons a {
  display: inline-block;
  padding-right: 15px;
  margin-bottom: 15px;
}

.footer-one .footer-top .social-icons a {
  max-width: 35px;
}

.footer-one .footer-top .social-icons a i {
  color: #93c800;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.footer-one .footer-top .links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-one .footer-top .links li {
  margin-bottom: 10px;
}

.footer-one .footer-top .links li a,
.footer-one .footer-top .address-list li a {
  color: #657786;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
}
.footer-one .footer-top .links li:hover a,
.footer-one .footer-top .address-list li:hover a {
  color: #fff;
}
.footer-one .footer-top .address-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-one .footer-top .address-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}

.footer-one .footer-top .address-list li .icon {
  position: absolute;
  top: 0;
  left: 0;
}

.footer-one .footer-bottom {
  padding: 25px 0 30px;
  font-size: 12px;
}

.footer-one .footer-bottom .right-side {
  text-align: right;
}

.footer-one .footer-bottom .right-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-one .footer-bottom .right-side ul li {
  margin: 0 15px;
  display: inline-block;
}

.footer-one .footer-bottom .right-side ul li:last-child {
  margin-right: 0;
}

.footer-one .footer-bottom .right-side ul li a {
  color: #657786;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
}
.footer-one .footer-bottom .right-side ul li:hover a {
  color: #ffffff;
}

/*
* ====================================
*  31. Loading Spinner
* ====================================
*/
.spinner-wrpr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181926;
  z-index: 1000;
}

.spinner-wrpr .spinner {
  width: 80px; /* Increase the width */
  height: 80px; /* Increase the height */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spinner-wrpr .double-bounce1,
.spinner-wrpr .double-bounce2 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: spinner-bounce 2s infinite ease-in-out;
}

.spinner-wrpr .double-bounce1 svg,
.spinner-wrpr .double-bounce2 svg {
  width: 100%;
  height: 100%;
}

.spinner-wrpr .double-bounce2 {
  animation-delay: -1s;
}

@keyframes spinner-bounce {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/*
* ====================================
*  32. Scroll To Top
* ====================================
*/

#scroll-to-top {
  color: #8a9e3b;
  font-size: 40px;
  position: fixed;
  bottom: 2%;
  right: 5%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

#scroll-to-top i {
  background: rgba(255, 255, 255, 0.8);
  padding: 0px 5px;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

#scroll-to-top:hover i {
  background: #fff;
}

#scroll-to-top.active {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  transform: translateY(-40px);
}
.parent-container {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr; /* Creates three columns, with the image column having more space */
  gap: 20px; /* Space between columns */
}

.container2 {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: auto;
  max-width: 100%;
}

.container2 h2 {
  color: #333;
  margin-top: 0;
  margin-bottom: 10px; /* Adds space between title and first item */
}

.container2 ul {
  list-style: none;
  padding: 0;
  display: flex; /* Makes list items flex items */
  flex-direction: column;
  gap: 8px; /* Space between list items */
}

.container2 ul li {
  background-color: #eee;
  padding: 0;
  white-space: nowrap;
  border-radius: 5px;
  border: 2px solid #8a9e3b;
  cursor: pointer;
}

.container2 ul li:hover {
  background-color: #8a9e3b;
  color: white;
}

.container2 ul li button {
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  text-align: left;
  color: #524c4c;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.container2 ul li button:hover {
  background-color: #8a9e3b;
  color: white;
}

.side-image {
  width: 100%; /* Adjusts the width to fill the column */
  height: auto; /* Adjusts the height to maintain aspect ratio */
  object-fit: cover; /* Ensures the image covers the area without distortion */
  align-self: center; /* Centers the image vertically in its grid area */
}

@media (max-width: 768px) {
  .footerChidiac {
    align-items: center;
    align-self: center;
    text-align: center;
  }
  .parent-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the items for smaller screens */
  }

  .side-image {
    order: 3; /* Ensures the image is placed below the lists */
    width: 100%; /* Allows the image to take up the full width */
    max-height: none; /* Removes the max-height restriction */
  }

  .container2 {
    width: 100%; /* Allows the list container to take up the full width */
  }
  .parent-container .container2 ul li button {
    font-size: 16px !important;
    white-space: normal; /* Allows text to wrap to the next line */
    word-wrap: break-word; /* Breaks long words if necessary */
  }
}
@media screen and (max-width: 480px) {
  .parent-container .container2 ul li button {
    font-size: 13px !important;
    white-space: normal; /* Allows text to wrap to the next line */
    word-wrap: break-word; /* Breaks long words if necessary */
  }
}