@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

html {
    overflow-x: hidden;
}

body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    user-select: none;
}

header {
    color: white;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 999;
}

header.active {
    color: black;
    background-color: white;
}

.header-content {
    padding: 20px 60px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

header ul li {
    list-style: none;
    display: inline;
    margin: 0 5px;
}


header .menu {
    display: flex;
}

.hero {
    color: #fff;
    text-align: center;
    background: url('./img/mountain.jpg');
    display: flex;
    font-weight: 400;
    font-style: normal;
    justify-content: center;
    background-size: 100% 150%;
    background-size: auto;
}

.section-content {
    padding: 200px 10px;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.section-container {
    /* max-width: 1000px; */
}

.hero h1 {
    margin: 0;
    font-size: 3em;
    color: white;
    font-weight: 800;
    text-shadow: 1px 1px 2px black;
}

.hero p {
    font-size: 1.2em;
    color: rgb(255, 200, 200);
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 1px 1px 2px black;
}

.content {
    padding: 20px;
    text-align: center;
    background: white;
    height: 500px;
}

footer {
    background-color: white;
    color: black;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}

.why i {
    font-size: 36px;
    color: red;
}

.why h1 {
    font-size: 42px;
    margin-bottom: 40px;
}

.how h1 {
    font-size: 42px;
    margin-bottom: 40px;
}

.how i {
    font-size: 36px;
    color: red;
}

.why ul li {
    transition: all 0.2s linear;
    padding: 40px;
    padding-bottom: 20px;
}

.why ul li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


footer p {
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: inherit;
    padding: 10px;
}

header i {
    padding-right: 10px;
}

a:hover {
    background-color:rgba(255, 80, 80, 0.3);
}

.btn-primary {
    background-color: rgb(255, 0, 0);
    color: white;
    padding: 20px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    display: inline-block;
    width: 300px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
    background-color: grey;
}

.loading {
    background-color: orange;
}

.success {
    background-color: green;
}

.red {
    color: red;
}

.btn-primary:hover {
    background-color: rgb(211, 0, 0);
}

.btn-primary:disabled:hover {
    background-color: grey;
    cursor: initial;
}

.hero-img img {
    height: 500px;
    width: 500px
}

.about {
    padding: 100px 200px;
}

.services {
    background-image: url(./img/service.jpg);
    background-size: 100%;
    text-align: center;
}

.service-details {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 20px;
    grid-template-rows: 50% 50%;
    grid-template-columns: 50% 50%;
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.how ul p {
    margin-top: 0;
    margin-bottom: 50px;
}

.how ul {
    margin-top: 0;
    margin-bottom: 50px;
    list-style: none;
    padding-inline-start: 0;
    margin-inline-start: 0;
    padding: 0 400px;
}

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

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

.how p {
    padding-top: 10px;
}


.how h1 {
    padding-top: 50px;
}

.how hr {
    margin-bottom: 60px;
    width: 60px;
}

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

.why {
    text-align: center;
    padding: 50px 200px;
}

.why ul {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 50% 50%;
    grid-template-columns: 50% 50%;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.how {
    text-align: center;
    background-color: rgb(241, 241, 241);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.how i {
    margin-top: 5px;
}

.how ul li span {
    display: flex;
    flex-direction: column;
}

.service-detail-container {
    background-color: white;
    padding: 40px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 50%;
    transition: all 0.2s cubic-bezier(0.215, 0.610, 0.355, 1);
    z-index: 1;
}

.service-detail-container:hover {
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.4);
    scale: 1.2;
    z-index: 888;
}

.services-content {
    padding-top: 50px;
}

.services-content h1 {
    color: white;
    padding-bottom: 75px;
    font-size: 42px;
}

.text-secondary {
    color: red;
}

footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: rgb(148, 148, 148);
}

footer .fa-phone-square {
    margin-left: 10px;
    margin-right: 10px;
}

footer .fa-envelope {
    margin-right: 0;
}

footer a {
    margin-left: 0;
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 20px;
}

.contact {
    background-image: url(./img/contact-phone.jpg);
    background-position: 50% 50%;
    text-align: center;
}

.contact-form h1 {
    padding-top: 20px;
}

.contact-form {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    z-index: 999;
  }

  .contact-form h2 {
    margin-bottom: 15px;
    font-size: 24px;
    text-align: center;
  }

  .contact-form .form-group {
    display: grid;
    grid-template-columns: 20px 150px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
  }

  .contact-form .form-group input {
   justify-self: right;
  }

  .contact-form .form-group label {
    display: block;
    font-size: 14px;
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 80%;
    font-size: 14px;
    font-family: "Raleway", sans-serif;
  }

  .contact-form select {
      height: 38.5px;
      width: 83.5%;
      border-radius: 4px;
      border: 1px solid #ccc;
      padding-left: 5px;
  }

  .contact-form .form-group textarea {
    height: 100px;
  }

  .contact-form button {
    width: 100%;
    
  }

  @keyframes shake3 {
    0% {left: -5px}
    16% {left: 5px}
    33% {left: -5px}
    49% {left: 5px}
    66% {left: -5px}
    80% {left: 5px}
    100% {left: 0}
} /* And @keyframes with prefixes */

.contact-form.submitted input:invalid {
  border: 2px solid red;
  animation-name: shake3;
  animation-duration: .4s;
  position: relative;
}

  .contact-form .message {
    margin-top: 10px;
    font-size: 14px;
    color: #28a745;
    display: none;
  }

  .contact-form .error {
    color: red;
    display: none;
  }

  .contact h1 {
    color: white;
    
    margin: 0 auto;
    font-size: 36px;
  }

  .contact h2 {
    color: white;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 60px;
  }
  
  .contact .section-content {
    padding-top: 150px;
    padding-bottom: 50px;
  }

  .contact-form .icon{
      text-align: left;
  }


  .contact-form label{
    text-align: left;
}

.contact-form .input{
    text-align: right;
}

.testimonials {
    padding: 200px;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.testimonials h1 {
    margin-bottom: 100px;
    font-size: 36px;
}

.testimonials-container {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 50% 50%;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.testimonials img {
    width: 50px;
    height: 50px;
}

.testimonial-card {
   background-color: rgb(241, 241, 241);
   padding: 50px;
   text-align: left;
   transition: all 0.2s ease-in-out;
}

.testimonial-card:hover {
  scale: 1.05;
  z-index: 300;
}


.accordion {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}
.accordion-header {
    padding: 15px;
    background-color: rgb(255, 255, 255);
    color: #000;
    cursor: pointer;
    font-size: 18px;
    height: 100%;
    text-align: left;
    transition: all 0.1s ease-in-out;
}

.accordion-header p {
    margin: 0;
    margin-right: 30px;
}

.accordion-header:hover {
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
    scale: 1.05;
    background-color: rgb(255, 0, 0);
    color: white;
}
.accordion-header span {
    float: right;
    font-size: 30px;
    margin-top: -27px;
}
.accordion-content {
    display: none;
    padding: 15px;
    background-color: #fafafa;
    border-top: 1px solid #ddd;
}
.accordion-header.active {
    background-color: rgb(255, 0, 0);
    color: white;
}

.faq {
    background-color: rgb(227, 227, 227);
    padding: 100px;
    text-align: center;
    padding-top: 75px;

}

.faq h1 {
    font-size: 36px;
    margin-bottom: 100px;
}


@media(max-width: 768px) {

    body {
        width: 100%;
    }

    .contact-form .form-group {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      margin-bottom: 15px;
    }
  
    .contact-form .form-group input,
    .contact-form .form-group textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      width: 80%;
      font-size: 14px;
      font-family: "Raleway", sans-serif;
    }
  
    .contact-form select {
        height: 38.5px;
        width: 84%;
        border-radius: 4px;
        border: 1px solid #ccc;
        padding-left: 5px;
    }
  
    .contact-form .input {
        width: 100%;
        margin-bottom: 20px;
    }
  
    .contact-form .label {
        margin-top: -10px;
    }
  
    .how h1 {
        padding: 40px;
    }
  
    .why ul {
          list-style: none;
          display: grid;
          grid-auto-flow: row;
          grid-template-rows: 250px 250px 250px 250px;
          grid-template-columns: 100%;
          padding: 20px;
          margin: 0 auto;
          max-width: 1200px;
      }
  
      .why ul li {
          max-height: 200px;
      }
  
      .why {
          padding: 40px;
      }
  
      .service-details {
          display: grid;
          grid-auto-flow: row;
          grid-gap: 20px;
          grid-template-rows: 250px 250px 250px 250px;
          grid-template-columns: 100%;
          padding: 10px;
          max-width: 1000px;
          margin: 0 auto;
      }
  
      .about {
          padding: 60px;
      }
  
      .section-content {
          padding : 60px
      }
  
      .contact-form input {
          width: 80%;
      }
  
      .contact-form .input {
          text-align: center;
      }
  
      .services {
          background-position: 50%;
          background-size:cover;
          width: 100%;
      }
  
      .service-detail-container {
          width: 250px;
      }
  
      .contact-form {
          padding-top: 50px;
      }
  }

  .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
}

.active .burger div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
}


/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
}

.mobile-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
}

.mobile-menu ul li {
    padding: 10px;
    text-align: center;
    font-weight: 500px;
}

.active .mobile-menu {
    background-color: white;
}

@media (max-width: 768px) {
    .menu {
        display: none !important;
    }
    
    .menu ul {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
    }

    .hero .section-content{
        padding: 80px 60px !important;
    }

    .hero .section-container{
        padding: 30px !important;
    }

    .hero h1 {
        font-size: 2.5em;
        margin-left: 0 !important;
    }

    .section-content.burger-active {
        padding-top: 150px !important;
    }

    .services-content {
        padding: 7% !important;
        width: 100vw;
    }

    .services-content h1 {
        padding-bottom: 40px;
        margin-left: -60px;
    }

    .contact {
        background-repeat: no-repeat;
        background-size: cover;
    }

    .contact .section-content {
        padding: 50px 10px !important;
    }

    .section-container {
        width: 85%;
    }

    .section-container h1 {
        margin-left: 40px;
    }

    .testimonials {
        padding: 50px;
    }


    .contact h2 {
        margin-left: 40px;
    }

    .testimonials-container {
        display: grid;
        grid-auto-flow: row;
        grid-template-rows: 50% 50%;
        grid-template-columns: 100%;
        gap: 20px;
        align-items: center;
        margin-bottom: 15px;
    }

    .faq {
        padding: 50px;
    }

    .faq h1 {
        margin-bottom : 40px;
    }

    footer {
        flex-direction: column;
    }
}
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}