/**
* Template Name: EAT WELL Studio
* Author: WebLite
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --background-color: #FFFFFF;
  --olive-green: #A3B18A;
  --light-brown: #DAD7CD;
  --cream: #F9F8F3;
  --soft-black: #222222;
  --white: #fff;

  --font-primary: 'Noto Sans Hebrew', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-quote: 'Heebo', sans-serif;
}

body {
  font-family: var(--font-primary);
  color: var(--soft-black);
  background-color: var(--background-color);
}

a {
  color: var(--olive-green);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #8a9a70;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--soft-black);
}

/*--------------------------------------------------------------
# Sections & Section Title
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 2px;
  background: var(--olive-green);
  bottom: 0;
  right: 0;
}

.section-title.text-center h2::after {
  right: 50%;
  transform: translateX(50%);
}

.section-title p {
  margin-bottom: 0;
  color: #555;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--olive-green);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #8a9a70;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--cream);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--olive-green);
  border-top-color: var(--cream);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

#header.header-scrolled {
  background: var(--cream);
  padding: 15px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}

#header .logo {
  font-size: 24px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--soft-black);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 24px;
  font-size: 15px;
  font-weight: 400;
  color: var(--soft-black);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--olive-green);
}

.btn-appoint {
  margin-right: 25px;
  background: var(--olive-green);
  color: var(--white);
  border-radius: 50px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.btn-appoint:hover {
  background: #8a9a70;
  color: var(--white);
}

.mobile-nav-toggle {
  color: var(--soft-black);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
  .btn-appoint {
      display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: var(--white);
  overflow-y: auto;
  transition: 0.3s;
  border-radius: 10px;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 18px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  width: 100%;
  height: 90vh;
  background: url("../img/hero-bg.webp") top center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section:before {
  content: "";
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.hero-content {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  padding: 40px 60px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--soft-black);
}

.hero-content .subtitle {
  color: #444;
  margin: 20px 0 30px 0;
  font-size: 20px;
}

.btn-primary {
    background: var(--olive-green);
    border-color: var(--olive-green);
    padding: 12px 35px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #8a9a70;
    border-color: #8a9a70;
}

@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content .subtitle {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Demo Banner
--------------------------------------------------------------*/
.demo-banner {
    padding: 20px 0;
    text-align: center;
}
.demo-banner-light {
    background-color: var(--cream);
}
.demo-banner-dark {
    background-color: var(--soft-black);
    color: var(--white);
}
.demo-banner-dark a {
    color: var(--white);
    font-weight: bold;
    text-decoration: underline;
}
.demo-banner p {
    margin: 0;
    font-size: 16px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section .rounded-img {
    border-radius: 15px;
}
.about-section p {
    line-height: 1.8;
    font-size: 16px;
}

.about-section .content ul {
  list-style: none;
  padding: 0;
}

.about-section .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.about-section .content ul i {
  font-size: 20px;
  padding-left: 8px;
  color: var(--olive-green);
  line-height: 1;
}

.about-section .content p:last-child {
  margin-bottom: 0;
}

.about-section .content .section-title p {
    font-family: var(--font-primary);
    color: #555;
}

/*--------------------------------------------------------------
# Method Section
--------------------------------------------------------------*/
.method-section {
    background-color: var(--cream);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 31px;
    width: 2px;
    background: var(--light-brown);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--light-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 1;
}

.timeline-content {
    padding-right: 90px;
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h3 span {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--olive-green);
    padding-left: 8px;
}

/*--------------------------------------------------------------
# Stories Section
--------------------------------------------------------------*/
.stories-section {
    background-color: var(--cream);
}

.stories-section .story-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.stories-section .story-item:hover {
    transform: translateY(-5px);
}

.stories-section .story-img-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--cream);
}

.stories-section .story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-section blockquote {
    margin: 0 0 15px 0;
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
}

.stories-section cite {
    font-style: normal;
    font-weight: 700;
    color: var(--olive-green);
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blog-section {
    background-color: var(--background-color);
}
.blog-post {
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    transition: background-color 0.3s;
}
.blog-post.post-1 { background-color: var(--cream); }
.blog-post.post-2 { background-color: var(--light-brown); }
.blog-post.post-3 { background-color: var(--cream); }

.blog-post img {
    border-radius: 8px;
    margin-bottom: 15px;
}
.blog-post h3 {
    font-size: 20px;
}
.blog-post h3 a {
    color: var(--soft-black);
    transition: color 0.3s;
}
.blog-post h3 a:hover {
    color: var(--olive-green);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    background-color: var(--background-color);
}

.testimonial-item {
    box-sizing: content-box;
    padding: 30px;
    margin: 30px 15px;
    min-height: 200px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    background: var(--cream);
    border-radius: 15px;
    text-align: center;
    height: 100%;
}

.testimonial-item p {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 18px;
    padding: 20px 20px 60px 20px;
    position: relative;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.testimonial-item .quote-icon-left,
.testimonial-item .quote-icon-right {
    color: var(--light-brown);
    font-size: 26px;
}

.testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: var(--soft-black);
    font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    background-color: var(--light-brown);
}
.php-email-form .form-control {
    border-radius: 5px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.5);
}
.php-email-form .form-control:focus {
    box-shadow: none;
    border-color: var(--olive-green);
}
.php-email-form button[type="submit"] {
    background: var(--olive-green);
    border: 0;
    padding: 12px 34px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
    font-weight: 700;
}
.php-email-form button[type="submit"]:hover {
    background: #8a9a70;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #3A4A3F; /* Darker Olive Green */
  color: var(--white);
  font-size: 14px;
  padding: 60px 0;
}

#footer .footer-top {
  text-align: center;
  margin-bottom: 40px;
}

#footer .footer-logo a {
  font-size: 28px;
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--white);
  transition: 0.3s;
}

#footer .footer-logo a:hover {
  opacity: 0.8;
}

#footer .footer-nav {
  margin-top: 20px;
}

#footer .footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 15px;
  font-size: 15px;
  transition: 0.3s;
}

#footer .footer-nav a:hover {
  color: var(--white);
}

#footer .footer-mid {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

#footer .footer-contact {
  margin-bottom: 20px;
}

#footer .footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
  font-size: 15px;
}

#footer .footer-contact a:hover {
  color: var(--white);
}

#footer .footer-contact span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.5);
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  padding: 8px;
  margin: 0 8px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
}

#footer .social-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

#footer .footer-bottom {
  text-align: center;
}

#footer .copyright, #footer .credits {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

#footer .credits {
  padding-top: 5px;
}

#footer .credits a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  transition: 0.3s;
}

#footer .credits a:hover {
  color: var(--white);
}
