.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden; }

.btn-main, .btn-light, .btn-dark {
  display: inline-block;
  padding: 0.8rem 2rem;
  transition: all 0.5s;
  border: none;
  cursor: pointer; }

.btn-main {
  color: #333;
  background: #ac9146;
  font-size: 1.2rem;
  font-weight: 600; }
  .btn-main:hover {
    background-color: #5a8a23 !important;
    color: #fff;
    transform: scale(0.98); }

.btn-light {
  color: #333;
  background: #f4f4f4; }

.btn-dark {
  color: #f4f4f4;
  background: #333; }

.btn-right {
  border-radius: 0 20px 20px 0; }

.btn-left {
  border-radius: 20px 0 0 20px; }

button[class^='btn-']:hover,
a[class^='btn-']:hover,
input[class^='btn-']:hover {
  background: #ac9146; }

.bg-main {
  background: #ac9146;
  color: #fff; }

.bg-dark {
  background: #333;
  color: #fff; }

.bg-light {
  background: #f4f4f4;
  color: #000; }

.bg-medium {
  background: #ccc;
  color: #000; }

.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem; }

.text-center {
  text-align: center; }

.py-1 {
  padding: 1rem 0; }

.py-2 {
  padding: 2rem 0; }

.py-3 {
  padding: 3rem 0; }

.py-4 {
  padding: 4rem 0; }

.my-1 {
  margin: 1rem 0; }

.my-2 {
  margin: 2rem 0; }

.my-3 {
  margin: 3rem 0; }

.my-4 {
  margin: 4rem 0; }

.section-title {
  font-size: 2rem;
  display: block;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: 100;
  text-transform: uppercase; }

.bottom-line {
  height: 2px;
  width: 3rem;
  background: #5a8a23;
  display: block;
  margin: 0 auto 1rem auto; }

.bottom-line-wide {
  height: 2px;
  width: 34%;
  background: #5a8a23;
  display: block;
  margin: 0 auto 1rem auto; }

.no-hover {
  pointer-events: none !important; }

.right {
  text-align: right; }

.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3); }

.small-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3); }

.item {
  position: relative;
  background: #5a8a23;
  overflow: hidden; }
  .item:after {
    content: '';
    position: absolute;
    display: block;
    background: inherit;
    opacity: 0.9;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
    transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1); }
  .item:hover:after {
    transform: scale(2) translateX(0) translateY(0) rotate(-28deg); }
  .item:hover .item-image {
    transform: scale(1.2); }
  .item:hover .item-text {
    opacity: 1;
    transform: translateY(0);
    cursor: pointer; }
  .item-image {
    height: 100%;
    transform: translateZ(0);
    display: block;
    transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1); }
  .item-image:before {
    content: '';
    display: block;
    padding-top: 75%;
    overflow: hidden; }
  .item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    line-height: 0; }
  .item-text {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    z-index: 1;
    text-align: center;
    color: #fff;
    transform: translateY(-20%);
    transition: opacity 2s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: 150ms; }
  .item-text-wrap {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%); }
  .item-text-title {
    font-size: 1.8rem;
    padding: 0 1rem;
    margin-top: 5px; }
  .item-text-category {
    text-transform: uppercase;
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0; }

.row > .column {
  padding: 0 8px; }

.row:after {
  content: "";
  display: table;
  clear: both; }

/* Create four equal columns that floats next to eachother */
.column {
  display: flex;
  flex-direction: row;
  float: left;
  width: 15%;
  margin-bottom: 6rem; }

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  margin-bottom: 1000px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: none;
  background-color: black; }

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 25px 0;
  width: 90%;
  height: 90%;
  max-width: 1200px; }
  .modal-content img {
    max-height: 90vh;
    width: fit-content; }

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold; }

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

/* Hide the slides by default */
.mySlides {
  display: none; }

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none; }

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px; }

.prev {
  left: 0;
  border-radius: 3px 0 0 3px; }

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8); }

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0; }

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white; }

img.demo {
  opacity: 0.6; }

.active,
.demo:hover {
  opacity: 1; }

img.hover-shadow {
  transition: 0.3s; }

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); }

* {
  margin: 0;
  padding: 0; }

.hb {
  direction: rtl; }

body {
  font-family: 'Varela Round', sans-serif;
  line-height: 1.6;
  background: #fff; }

a {
  text-decoration: none;
  color: #333; }

ul {
  list-style: none; }

h2, h4, h3 {
  text-transform: uppercase; }

img {
  width: 100%; }

#logo {
  width: 70px;
  height: 70px;
  color: #fff;
  text-transform: uppercase; }

#main-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem; }
  #main-nav ul {
    display: flex; }
  #main-nav li {
    padding: 1rem 1.5rem; }
  #main-nav a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 3px transparent solid;
    padding-bottom: 0.5rem;
    transition: border-color 0.5s; }
    #main-nav a:hover {
      border-color: #ccc; }
    #main-nav a.current {
      border-color: #ac9146; }

#header-home {
  background: url("../img/yaniv-4.jpeg") no-repeat center center;
  height: 80vh;
  display: flex;
  color: #fff;
  padding-top: 5rem; }
  #header-home .header-content {
    background: rgba(36, 42, 36, 0.75);
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    width: 66rem; }
  #header-home h1 {
    font-size: 4rem;
    line-height: 1.2;
    color: #ac9146; }
  #header-home .lead {
    margin-top: 1.6rem; }

#header-inner {
  background: url("../img/yaniv-4.jpeg") no-repeat 20% 30%/cover;
  height: 5.5rem;
  border-bottom: 3px solid #ac9146; }

#home-a .specials {
  margin-top: 3rem;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(4, 1fr); }
  #home-a .specials .fas {
    color: #ac9146;
    padding-bottom: 0.4rem; }

#home-b .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); }
  #home-b .stats li {
    line-height: 2; }
    #home-b .stats li.stats-title {
      font-size: 1.5rem; }
    #home-b .stats li.stats-number {
      font-size: 2rem;
      font-weight: bold; }
  #home-b .stats div {
    padding: 3rem 0; }
    #home-b .stats div:nth-child(odd) {
      background: #f4f4f4; }
    #home-b .stats div:nth-child(even) {
      background: #ccc; }

#home-c .process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1.5rem;
  text-align: center; }
  #home-c .process-step {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
    background: #ac9146;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    line-height: 15px;
    padding: 1rem;
    transition: all 0.4s; }
  #home-c .process-icon {
    border-radius: 50%;
    background: #333;
    color: #fff;
    padding: 2rem;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    position: relative;
    transition: all 0.6s; }
    #home-c .process-icon:hover {
      background: #ac9146;
      width: 90px;
      height: 90px;
      line-height: 90px; }
      #home-c .process-icon:hover .process-step {
        background: #333; }

#about-a .about-info {
  display: grid;
  grid-template-areas: 'bioimage bio bio'  'aw1 aw2 aw3';
  grid-gap: 1.2rem; }

#about-a .bio-image {
  grid-area: bioimage; }

#about-a .bio {
  grid-area: bio;
  border-left: 3px solid #ac9146; }

#about-a .award-1 {
  grid-area: aw1; }

#about-a .award-2 {
  grid-area: aw2; }

#about-a .award-3 {
  grid-area: aw3; }

#about-a .award-1 .fas,
#about-a .award-2 .fas,
#about-a .award-3 .fas {
  color: #ac9146;
  margin: 1rem; }

#about-b .progress {
  overflow: hidden;
  height: 20px;
  background: #ccc;
  border-radius: 5px;
  margin-bottom: 0.6rem; }
  #about-b .progress div {
    height: 100%;
    color: #fff;
    text-align: center;
    background: #ac9146; }

#about-c .about-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem; }
  #about-c .about-logos img {
    width: 80%; }

#about-d .testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0.5rem; }

#about-d ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  align-items: center; }

#about-d p {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.7rem; }

#about-d img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 0.5rem; }

#contact-b .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  color: #fff; }
  #contact-b .contact-info .contact-inner {
    color: #fff; }
    #contact-b .contact-info .contact-inner:hover {
      color: #5a8a23; }

#contact-c {
  font-size: 1.7rem;
  text-align: center;
  color: #ac9146; }

#contact-d {
  background: #333;
  color: #fff;
  height: 7rem; }
  #contact-d .social {
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    height: auto;
    text-align: center;
    align-items: center;
    align-self: center;
    align-content: center; }
    #contact-d .social .social .fab {
      margin: 3rem;
      border: 2px #fff solid;
      border-radius: 50%;
      height: 30px;
      width: 30px;
      line-height: 20px;
      padding: 0.5rem;
      color: #fff; }
      #contact-d .social .social .fab:hover {
        border-color: #5a8a23;
        color: #5a8a23; }

#main-footer {
  background: #333;
  color: #fff; }
  #main-footer .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 15rem;
    align-items: center; }
    #main-footer .footer-content .social .fab {
      margin: 2rem;
      border: 2px #fff solid;
      border-radius: 50%;
      height: 30px;
      width: 30px;
      line-height: 20px;
      text-align: center;
      padding: 0.5rem;
      color: #fff; }
      #main-footer .footer-content .social .fab:hover {
        border-color: #ac9146;
        color: #ac9146; }

#up-button {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  align-items: center;
  text-align: center;
  margin-left: 2rem;
  justify-content: center;
  font-weight: 600;
  background: #ac9146;
  position: fixed; }
  #up-button:hover {
    font-weight: 800 !important;
    color: #fff !important;
    transform: scale(1.05); }

@media (max-width: 1200px) {
  .header-content {
    width: 92% !important; }
  .modal-content img {
    max-width: 90vw; } }

@media (max-width: 800px) {
  #header-home {
    background: url("../img/yaniv-4.jpeg") no-repeat center center/cover;
    height: 30rem; }
  .header-content {
    padding-top: 5rem; }
  #up-button {
    display: none; } }

@media (max-width: 500px) {
  #main-nav {
    flex-direction: column;
    align-items: center; }
    #main-nav li {
      padding: 1rem; }
  #header-home {
    background: url("../img/yaniv-4.jpeg") no-repeat center center/cover;
    width: 80%;
    margin: auto;
    height: 12rem;
    border-bottom: 3px solid #ac9146;
    background-position: 20% 30%; }
    #header-home .header-content {
      display: none; }
  #header-inner {
    height: 10rem; }
  #home-a .specials,
  #home-b .stats,
  #home-c .process,
  #about-d .testimonials,
  #contact-b .contact-info,
  .items {
    grid-template-columns: repeat(1, 1fr); }
  #home-a .specials div {
    border-bottom: 1px #f4f4f4 solid;
    padding-bottom: 1rem; }
  #home-a:last-child {
    border: none;
    padding-bottom: 0; }
  #home-b .stats-div {
    padding: 2rem 0 1rem 0; }
  #about-a .about-info {
    grid-template-areas: 'bioimage' 'bio' 'aw1' 'aw2' 'aw3'; }
  #about-c {
    display: none; }
  #contact-a .text-fields {
    grid-template-areas: 'name'  'subject' 'email' 'phone' 'message'; }
  #contact-b div {
    margin-bottom: 1rem;
    padding-top: 0.5rem; }
  #contact-c h1 {
    font-size: 2rem; }
  #main-footer .footer-content {
    height: 9rem;
    align-items: center; }
    #main-footer .footer-content .social .fab {
      margin: 1rem 0.75rem; }
  .modal-content {
    padding: 0; } }

@media (max-height: 580px) {
  #header-home {
    background: url("../img/yaniv-4.jpeg") no-repeat center center/cover;
    width: 80%;
    margin: auto;
    height: 40vh; }
    #header-home .header-content {
      display: none !important; } }

@media (max-height: 330px) {
  #header-home .header-content h1 {
    font-size: 2rem; } }
