/*  
Theme Name: SDO3
Theme URI: https://www.sdonutrition.com
Description: The SDO Nutrition theme
Version: 3
Author: Tim Bonder
Author URI: https://www.timbonder.com
*/
body {
  background: #f3f2ed;
}
a {
  text-decoration: none !important;
}
h1 span {
  background-size: 100% 26% !important;
  background-repeat: repeat-x !important;
  background-position: left 0% bottom -19% !important;
}
.tapered2 {
  background-image: linear-gradient(181deg, #3978b3 0%, #3978b3 50%, transparent 54%, transparent 100%) !important;
}
/*accordion*/
.accordion {
  margin: 40px 0 !important;
}
.accordion-button {
  font-weight: 600 !important;
}
.accordion-header {
  margin-bottom: 0 !important;
}
/* Responsive Grid */
.cf7-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Spacing between fields */
}
.cf7-col {
  flex: 1 1 100%; /* Full width on mobile */
}
/* Side-by-side on larger screens */
@media (min-width: 768px) {
  .cf7-col {
    flex: 1; /* Equal widths */
  }
}
/* Ensure all input fields and textareas stay 100% wide within their containers */
.wpcf7-form input:not([type="submit"]), .wpcf7-form textarea, .wpcf7-form select {
  width: 100%;
  box-sizing: border-box;
}
/************************************************************************************
Testimonial
*************************************************************************************/

/*.testimonials {
  display: flex;
  gap: 25px;
  max-width: 1000px;
  margin: 80px 0;
}
.testimonial {
  flex: 1;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
}*/
.testimonials {
  display: flex;
  justify-content: center; /* centers the group */
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  flex: 0 1 450px;
  text-align: center;
}
.stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 15px;
}
.testimonial p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.testimonial h3 {
  margin: 0;
  font-size: 16px;
  color: #222;
}

/* Stack them on smaller screens */
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  .testimonial {
    max-width: 500px;
  }
}
@media (max-width: 700px) {
  .testimonials {
    flex-direction: column;
  }
}
.testimonial {
  max-width: 500px;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
}

.testimonial p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.customer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 45px;
  height: 45px;
  background: #4f46e5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.customer h3 {
  margin: 0;
  font-size: 16px;
}
/************************************************************************************
Nutrition Services
*************************************************************************************/

.nutrition-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 60px 0 !important;
}
.nutrition-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  transition: all 0.25s ease;
}
.nutrition-item i {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
}
.nutrition-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.nutrition-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 30px;
  margin: 40px auto !important;
  max-width: 1000px;
}

.nutrition-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 450px;
}

.nutrition-item i {
  font-size: 24px;
  min-width: 35px;
  text-align: center;
}
/************************************************************************************
Individual colors
*************************************************************************************/

.prenatal i {
  color: #d85b91;
  background: #fce8f1;
}
.gastrointestinal i {
  color: #d47a2c;
  background: #fff0df;
}
.allergies i {
  color: #8a5bb8;
  background: #f1e8fa;
}
.vegetarian i {
  color: #4b9b61;
  background: #e8f5eb;
}
.sports i {
  color: #287bb5;
  background: #e5f2fb;
}
.diabetes i {
  color: #d34d5c;
  background: #fce8ea;
}
.heart i {
  color: #e0445b;
  background: #fde8ec;
}
.weight i {
  color: #5276a3;
  background: #e9eff7;
}
/************************************************************************************
Mobile
*************************************************************************************/

@media (max-width: 700px) {
  .nutrition-services {
    grid-template-columns: 1fr;
  }
  .nutrition-item {
    padding: 16px 18px;
  }
}
/************************************************************************************
FAQs
*************************************************************************************/

.faq-section {
  padding: 80px 20px;
  background: #f7faf7;
  font-family: Arial, Helvetica, sans-serif;
}
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}
.faq-eyebrow {
  margin: 0 0 10px;
  color: #6c9274;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.faq-container h2 {
  margin: 0 0 40px;
  line-height: 1.15;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
  border-color: #b8cdbb;
}
.faq-item[open] {
  border-color: #8eaf94;
  box-shadow: 0 8px 25px rgba(38, 53, 43, 0.06);
}
.faq-item summary {
  position: relative;
  padding: 24px 60px 24px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: #6c9274;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 26px 24px;
}
.faq-answer p {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .faq-section {
    padding: 55px 16px;
  }
  .faq-container h2 {
    margin-bottom: 28px;
  }
  .faq-item summary {
    padding: 20px 50px 20px 20px;
    font-size: 16px;
  }
  .faq-item summary::after {
    right: 20px;
  }
  .faq-answer {
    padding: 0 20px 20px;
  }
}

/************************************************************************************
Recent Blog Post
*************************************************************************************/

.more-link {
	background: #2FB32B;
	padding: 5px;
	color: #fff;
}

img.attachment-post-thumbnail {
	float: left;
	margin: 0 15px 15px 0;
	padding: 2px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);   
  	-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}


/************************************************************************************
Pagination
*************************************************************************************/
.navigation {
	margin: 80px 0;
	float: none;
}

.wp-paginate {
	padding:0;
	margin: 30px 0;
	font-size: 1em;
}
.wp-paginate li {
	display:inline;
	list-style:none;
}
.wp-paginate a {
	background: #ccc;
	color: #666;
	margin-right: 4px;
	padding: 3px 6px;
	text-align: center;
	text-decoration: none;
}
.wp-paginate a:hover, .wp-paginate a:active {
	background: #ccc;
	color:#888;
}
.wp-paginate .title {
	color:#555;
	margin-right:4px;
}
.wp-paginate .gap {
	color:#999;
	margin-right:4px;
}
.wp-paginate .current {
	color:#fff;
	background:#333;
	margin-right:4px;
	padding:3px 6px;
}
.wp-paginate .page {
}
.wp-paginate .prev, .wp-paginate .next {
}


.icon-list {
  padding-left: 0;
  list-style: none;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: .25rem;
}
.icon-list li::before {
  display: block;
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  margin-right: .5rem;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23212529' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z'/%3E%3C/svg%3E") no-repeat center center / 100% auto;
}
.bg-primary {
  background-color: #3978b3 !important;
}
.bgimage {
  width: 100%;
  height: 210px;
  background: url('img/bgherobox.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}
.bgimage h1 {
  color: white;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px;
  font-size: 2.2rem !important;
}
/* stylelint-disable selector-list-comma-newline-after */
.blog-header {
  line-height: 1;
  border-bottom: 1px solid #e5e5e5;
}
.blog-header-logo {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 2.25rem;
}
.blog-header-logo:hover {
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.display-4 {
  font-size: 2.5rem;
}
.nav-link {
  font-weight: 600 !important;
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}
.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}
.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
}
.card-img-right {
  height: 100%;
  border-radius: 0 3px 3px 0;
}
.flex-auto {
  flex: 0 0 auto;
}
.h-250 {
  height: 250px;
}
@media (min-width: 768px) {
  .h-md-250 {
    height: 250px;
  }
}
/************************************************************************************
Pagination
*************************************************************************************/

.blog-pagination {
  margin-bottom: 4rem;
}
.blog-pagination > .btn {
  border-radius: 2rem;
}
/************************************************************************************
Blog posts
*************************************************************************************/
.blog-post {
  margin-bottom: 4rem;
}
.blog-post-title {
  margin-bottom: .25rem;
  font-size: 2.5rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #727272;
}
/* Footer */
.blog-footer {
  padding: 2.5rem 0;
  color: #727272;
  text-align: center;
  background-color: #f9f9f9;
  border-top: .05rem solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
/* stylelint-disable selector-list-comma-newline-after */
.blog-header {
  line-height: 1;
  border-bottom: 1px solid #e5e5e5;
}
.blog-header-logo {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 2.25rem;
}
.blog-header-logo:hover {
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  margin: 0 0 20px 0 !important;
}
h1 {
  font-size: 2.4rem !important;
}
h2 {
  font-size: 2rem !important;
}
h3 {
  font-size: 1.4rem !important;
  margin: 30px 0 !important;
}
h4 {
  font-size: 1.2rem !important;
}
footer h5 {
  margin: 10px 0 !important;
}
.display-4 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}
.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}
.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
}
.card-img-right {
  height: 100%;
  border-radius: 3px 0 0 3px;
}
.flex-auto {
  flex: 0 0 auto;
}
.h-250 {
  height: 250px;
}
@media (min-width: 768px) {
  .h-md-250 {
    height: 250px;
  }
}
/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}
.blog-pagination > .btn {
  border-radius: 2rem;
}
/************************************************************************************
Blog posts
*************************************************************************************/
.blog-post {
  margin-bottom: 4rem;
}
.blog-post-title {
  margin-bottom: .25rem;
  font-size: 2.5rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #727272;
}
/************************************************************************************
Footer
*************************************************************************************/
.blog-footer {
  padding: 2.5rem 0;
  color: #727272;
  text-align: center;
  background-color: #f9f9f9;
  border-top: .05rem solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {
  .bgimage h1 {
    font-size: 1.6rem !important;
  }
  .container, .container-fluid {
    margin-top: 20px !important;
  }
  h1 {
    font-size: 2.2rem !important;
  }
  h2 {
    font-size: 1.4rem !important;
  }
}