:root {
    --color1: #778965;
    --color2: #3D502B;
    --font1: "Assistant", sans-serif;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

body {
    font-family: var(--font1);
    line-height: 1.5em;
}

* {
  box-sizing: border-box;
}

a, :visited {
  text-decoration: none;
}

a, a.link:visited, a.link:hover {
  color: inherit;
}

a.link {
  color: var(--color2);
  font-weight: 700;
}

a.link:hover {
  opacity: 0.7;
}

ul
{
list-style: none;
}

ol, ul
{
padding: 0;
margin: 0;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

h1,h2,h3,h4,h5,h6{
  margin: 0;
  line-height: 1.2em;
}

p {
  margin: 0;
}

.btn-default {
  background-color: var(--color1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-default:hover {
  background-color: var(--color2);
} 

/**** HEADER ****/
header {
    padding: 20px 0;
    position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
  border-bottom: 1px solid #e3e3e3;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
  
  header a {
    float: left;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
  }

  header ul {
    display: flex;
    align-items: center;
    gap: 25px;
  }
  
  .header a.logo {
    font-size: 25px;
    font-weight: bold;
  }
  
  .header a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .header a.active {
    background-color: dodgerblue;
    color: white;
  }
  
  .header-right {
    float: right;
  }
  
  @media screen and (max-width: 500px) {
    .header a {
      float: none;
      display: block;
      text-align: left;
    }
    .header-right {
      float: none;
    }
  }

  @media screen and (max-width: 550px) {
    header .container {
      flex-direction: column;
    }

    header .logo {
      margin-bottom: 20px;
    }
  }

#btn-goOnTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  outline: none;
}

#btn-goOnTop.visible {
  display: block;
}

/**** FOOTER ****/
footer {
  background: var(--color1);
  color: #ffffff;
}

.footer-top {
  padding: 20px 0;
}

.footer-top .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-top .contact p {
  margin-bottom: 15px;
}

footer h4 {
  margin-bottom: 8px;
}

footer .copy {
  background: var(--color2);
  padding: 8px 0;
}

footer .copy .container {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 600px) {
  .footer-top .container,
  footer .copy .container {
    flex-direction: column;
  }
}

/**** HERO SECTION ****/
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/hero-image.jpg");
  background-repeat: no-repeat;
    background-position: center top;
    background-size: auto 108%;
    position: relative;
    padding: 40px 0;
    min-height: 600px;

    @media screen and (min-width: 1200px) {
      background-size: cover;
    }
  }

  .hero-image .container {
    display: flex;
    align-items: center;
    justify-content: center;

    @media screen and (min-width: 800px) {
      justify-content: flex-end;
    }
  }

  .form-wrapper {
    width: 500px;
    padding: 10px 20px;
    background: #eeeeee;
    border-radius: 18px;
  }

/**** INSURANCES ****/
.insurances-wrapper {
  padding: 20px 0;
  background: var(--color1);
}

.insurances {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}

/**** FORM WRAPPER ****/
.image-text {
  display: flex;
  align-items: center;
  flex-direction: column;

  @media screen and (min-width: 700px) {
    flex-direction: row;
    gap: 50px;
  }
}

@media screen and (max-width: 699px) {
  .image-text p {
    text-align: center;
  }
}

.image-text img {
  width: 230px;
}

.select-text {
  background: #F6FBF1;
  padding: 50px 0;
}

.select-text #btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.select-text #btns .btn-default.selected {
  background-color: var(--color2);
}

.select-text .text-bottom {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  display: block;
  margin: 20px 0 0;
}

/**** TEXT CONTENT ****/
.image-text .steps {
  padding: 0;
}

.steps li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #232520;
  background: #ecf8db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 600;
}

.steps li p {
  margin: 0;
}

.text-content .container {
  max-width: 800px;
}

.text-content .text-section {
  margin: 80px 0;
}

.text-content .table-of-content {
  padding: 20px 0;
  background: #F6FBF1;
}

.text-content .table-of-content ul li {
  border-bottom: 1px solid var(--color1);
  font-size: 18px;
  font-weight: 600;
  color: var(--color1);
  list-style: none;
  margin: 0;
}

.text-content .table-of-content ul li:last-child {
  border-bottom: none;
}

.text-content .table-of-content ul li a {
  display: inline-block;
  padding: 17px 0;
}

.text-content .table-of-content ul li a span {
  display: inline-block;
  margin-right: 7px;
  font-size: 22px;
}

.text-content h1 {
  font-size: 27px;
  margin-bottom: 20px;
}

.text-content h2 {
  margin-bottom: 20px;
  font-size: 25px;
}

.text-content h3, .text-content h4 {
  font-size: 20px;
}

.text-content h5 {
  font-size: 15px;
}

.text-content h3, .text-content h4, .text-content ul, .text-content p {
  margin-bottom: 15px;
}

.text-content ul {
  list-style-position: inside;
  list-style-type: disc;
}

.text-content ol {
  list-style-position: inside;
}

.text-content ul li,
.text-content ol li {
  margin-bottom: 15px;
}

.text-content ul li:last-child {
  margin-bottom: 0;
}

.boxes {
  display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
  margin: 40px auto 0;

  @media screen and (min-width: 700px) {
    flex-direction: row;
    margin: 70px auto 0;
  }
}

.box {
  background: #fbfdf8;
    border-radius: 5px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;

    @media screen and (min-width: 700px) {
      width: calc(33% - 15px);
    }
}

.box h4 {
  text-align: center;
  margin-bottom: 30px;
}

.box ul {
  margin-bottom: 30px;
}

.box ul li {
  margin-bottom: 3px;
}

.box .btn-default {
  background: #bacca0;
  color: inherit;
  border-radius: 20px;
  text-transform: none;
}

.box .btn-default:hover {
  background-color: var(--color2);
  color: #ffffff;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.invalid + .invalid-feedback {
  display: block;
}

.text-center {
  text-align: center !important;
}
.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

/**** CYLINDER ****/
.cylinder {
  margin: 80px 0;
  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.cylinder h3 {
  font-size: 23px;
  text-align: center;
  line-height: 1.4em;
}

.cylinder h3 span {
  background: #d7e6cb;
  padding: 6px 9px;
  border-radius: 20px;
}

.cylinder img {
  width: 400px;
}

.img2 {
  margin: 40px 0 40px;
}

.img3 {
  margin-top: 40px;
}