html, body {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1.6;
  }

  main {
    padding: 0 1.5rem;
  }

  h1, h2, h3 {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    margin: 0.5em 0;
    color: #333;
  }

  header {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    /* padding: 1em 2em; */
    width: 100%;
    margin: 0;
    height: auto;/*clamp(200px, 25vh, 400px);*/
    font-family: 'Figtree', sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 1.25rem;
    background-image: url("/images/Mountain_Banner.svg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    position: relative;
  }

  .logo {
    /* position: relative; */
    float: left;
    height: 4rem;
    width: auto;
    padding: 1rem 0 0 1rem;
    z-index: 2;
  }
  
  .site-title{
    font-size: clamp(1.5rem, 5vw, 3rem);
    clear: left;
    color: white;
    /* text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.5); */
  }

  nav {
    padding-bottom: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
  }

  nav a {
    font-size: clamp(.75rem, 2vw, 2.5rem);
    color: white;
    margin: 0 1em;
    text-decoration: none;
  }
  
  nav a:hover {
    text-decoration: none;
    scale: (110%);
  }

  .header-text {
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    align-self: center;
    z-index: 1;
  }

  /* IMAGES */

  .before-after-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: nowrap;
    flex-direction: row;
    max-width: calc(330px + 330px + 2rem);
    margin: 0 auto;
  }

  .gallery-section {
    flex: 1 1 300px;
    text-align: center;
  }

  .gallery-item.others {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .other-photos img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
  }

  .other-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
  }

  @media (max-width: 600px) {
    .before-after-container {
      padding: 0;
      flex-wrap: nowrap;
      max-width: 100%;
      flex-direction: column;
      align-items: center;
    }

    .before-column,
    .after-column {
      flex: 1 1 45vw;
      max-width: 45vw;
    }

    .before-column img,
    .after-column img {
      width: 100%;
      height: auto;
    }

    .other-photos {
      justify-content: center;
      text-align: center;
      padding: 1rem;
    }

    main {
      margin: 0;
    }
  }

  .form-container {
    max-width: 500px;
    margin: 50px auto;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%
}

  .carousel-section {
    padding: 2rem;
    text-align: center;
  }

  .carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .carousel-images {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    position: relative;
  }

  .carousel-img {
    display: none;
    width: 100%;
    height: 375px;
    border-radius: 8px;
    object-fit: cover;
  }

  .carousel-img.active {
    display: block;
  }

  .carousel-btn {
    background: #2c3e50;
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next{
    right: 10px;
  }

  .carousel-btn:hover {
    background: #1a5ec8;
  }


/* Form Styling  */
.form-wrapper  {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #2c3e50
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-group label {
    display: inline-block;
    padding: 10px 20px;
    margin: 6px;
    border: 2px solid #2c7be5;
    border-radius: 6px;
    background-color: #fff;
    color: #2c7be5;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.checkbox-group label:hover {
    background-color: #e5f1ff;
}

.checkbox-group input[type="checkbox"]:checked + label {
    background-color: #2c7be5;
    color: white;
    border-color: #2c7be5;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #2c7be5;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #1a5ec8;
}

  #hero {
    padding: 2em;
    background: #ecf0f1;
    text-align: center;
  }
  
  .btn {
    display: inline-block;
    margin-top: 1em;
    padding: 0.7em 1.2em;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }

  .btn:hover {
    background-color: #22824a;
  }
  
  section {
    padding: 2em;
    text-align: center;
  }

  ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    text-align: left;
  }

  .two-rows {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
    padding: 0;
    margin-left: 9%;
}

  @media (max-width: 600px) {
    ul {
      list-style-type: disc;
      padding-left: 0;
      text-align: left;
    }

    .two-rows {
      font-size: .85rem
    }

  }

  form label {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
  }
  
  hr {
    width: 50%;
  }

  footer {
    font-size: 16px;
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1em;
  }