*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Inter', sans-serif;
  background-color: white;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

h1 {
  text-align: center;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 700;
}

.hero-h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
}

h2 {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2rem) ;
  font-weight: 600;
}

h3 {
  text-align: center;
  font-size:  clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
}

p {
  line-height: 2rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

a {
  text-decoration: none;
}

textarea {
  resize: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/**! INDEX.HTML -------------------------------------------------------------------- */

#navbar {
  position: Fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* class added by js */
.nav-scrolled {
  background-color: rgb(168, 168, 168);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
  height: auto;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  position: relative;
}

#Biltem-Logo {
  height: 5rem;
  width: auto;
  aspect-ratio: 1;
  margin-top: 0.5rem;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  gap: 2rem;
}

nav li {
  margin: 0;
}

nav a {
  position: relative;
  text-decoration: none;
  color: white;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}

nav a:hover::before {
  width: 100%;
  left: 0;
}

nav button, #nav-quote-btn{
  margin: 0;
  font-size: 1rem;
  background: #161616;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  width: auto;
  min-width: 10rem;
  height: auto;
  border-radius: 2.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
}

nav button:hover {
  transform: translateY(-3px);
  background-color: #000;
}

#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgb(139, 139, 139);
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: 1.25rem 0;
  z-index: 200;
  min-width: 55px;
  min-height: 55px;
}

#hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

#hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger.open span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}

#hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mobile-menu.open {
  display: flex;
  opacity: 1;
}

#mobile-menu a {
  color: white;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

#mobile-menu a:hover {
  opacity: 0.6;
}

#mobile-menu-quote {
  margin-top: 1rem;
  background: rgb(182, 182, 182);
  color: black;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  min-height: 44px;
}

#cover {
  top: 0;
  height: 25svh;
  min-height: 28rem;
  max-height: 50rem;
  background-image: url("Photos/photo33.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#cover button {
  height: 3rem;
  min-height: 44px;
  min-width: 9rem;
  border-radius: 10rem;
  font-size: 1rem;
  border: none;
  box-shadow: 0px 5px 25px black;
  cursor: pointer;
  padding: 0 1.5rem;
}

#cover h1 {
  color: white;
  text-shadow: 0px 5px 15px black;
}

section {
  opacity: 0;
  margin: 0;
  text-align: center;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (scripting: none) {
  section {
    opacity: 1;
    transform: none;
  }
}

section div {
  justify-content: center;
}

#mission {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: auto;
  background-color: white;
  padding: 3rem 1.25rem;
  align-items: center;
  gap: 1rem;
  min-height: 30vh;
}

#services {
  background-color: rgb(44, 44, 44);
  color: white;
  height: auto;
  padding-bottom: 3rem;
}

#services h1 {
  padding-top: 2.5rem;
  padding-bottom: 3em;
}

.services-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1.25rem;
}

.services-container-child {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  transition: transform 0.3s ease;
}

.services-container-child:hover {
  transform: translateY(-6px);
}

.services-container-child img {
  width: 100%;
  height: 530px;
  margin-bottom: 1.25rem;
  border-radius: 1.5rem;
}

.services-container-child p {
  font-size: 1rem;
}

#past-reviews {
  height: auto;
  padding-bottom: 3rem;
}

#past-reviews h1 {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.review-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  margin: 0 auto;
  gap: 0.5rem;
}

.review-wrapper button {
  height: 3.5rem;
  width: 3.5rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.review-container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  overflow-x: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
  scroll-behavior: auto;
  overflow-anchor: none;
  gap: 1.25rem;
  padding: 0 0.5rem;
  align-items: flex-start;
}

.review-container::-webkit-scrollbar {
  display: none;
}

.review {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  background-color: lightgrey;
  padding: 1.5rem;
  border-radius: 2rem;
  min-width: 10rem;
  flex: 0 0 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  gap: 0.75rem;
  transition: box-shadow 0.3s ease;
  min-height: unset;
}

.review:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review p {
  text-align: start;
  font-size: 1rem;
  line-height: 1.6;
}

.reviewer-name {
  font-weight: 700;
}

.stars {
  display: flex;
  justify-content: start;
  gap: 0.25rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.h-captcha {
  grid-column: span 2;
  margin-bottom: 2rem;
  max-width: 100%;
  overflow: hidden;
}

#quote-section {
  display: flex;
  min-height: auto;
  background-image: url("Photos/photo30.webp");
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  margin-bottom: -4rem;
}

#quote-ui {
  width: 100%;
  max-width: 60rem;
  height: auto;
  padding-bottom: 2rem;
  background-color: rgba(219, 219, 219, 0.849);
  border-radius: 2rem;
}

#quote-ui h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-top: 2rem;
  font-weight: 700;
}

#quote-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
}

#quote-form label {
  margin-bottom: 0.25rem;
  font-weight: 700;
  text-align: start;
}

.add-info {
  color: red;
  font-size: 0.65rem;
  margin-left: 0.1rem;
}

#quote-form input:not([type="checkbox"]),
#quote-form textarea:not([type="checkbox"]) {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 1rem;
  margin-top: 0.25rem;
  box-sizing: border-box;
  font-size: max(1rem, 16px);
}

#quote-form input:not([type="checkbox"]):focus,
#quote-form textarea:not([type="checkbox"]):focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

#quote-form .field {
  display: flex;
  flex-direction: column;
}

#quote-form .field-full-width,
#quote-form .field-full-width-tall,
#quote-submit {
  grid-column: span 2;
}

.field-full-width,
.field-full-width-tall {
  display: flex;
  flex-direction: column;
}

#quote-form #quote-submit {
  padding: 1.25rem;
  background-color: #9e9e9e;
  border: none;
  border-radius: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-height: 44px;
  width: 100%;
}

#quote-form #quote-submit:hover {
  background-color: #6e6e6e;
  transform: translateY(-0.25rem);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

#quote-form #quote-submit:active {
  transform: translateY(0.1rem);
}

#quote-form #quote-submit:focus {
  outline: 2px solid black;
  outline-offset: 2px;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

.input-error {
  border-color: red !important;
  box-shadow: 0 0 6px rgba(192, 57, 43, 0.3) !important;
}

.field-error,
.field-full-width-error {
  animation: shake 0.4s ease;
}

.error-message {
  color: red;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.error-message.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}

footer a {
  color: #aaa;
  transition: color 0.3s;
  font-size: 1.1rem;
}

footer a:hover {
  color: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  padding: 0 5%;
}

.footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-col .contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  color: #aaa;
}

.footer-col .footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
}

.footer-col p::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.white-silhouette {
  width: 20px;
  margin-top: 2px;
  height: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.footer-logo {
  width: 12rem;
  min-width: 8rem;
  height: auto;
  margin-bottom: 1.5rem;
  background-color: white;
  border-radius: 2.5rem;
}


.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.1rem;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #aaa;
  font-size: 0.8rem;
}

/*! GALLERY.HTML -------------------------------------------------------------------- */

#gallery-header {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background-color: white;
}

#gallery-grid-section {
  padding: 0 1.25rem 5rem;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: #f0f0f0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  font-size: 1rem;
  letter-spacing: 1px;
}

@media (hover:none) {
  .overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.25);
  }
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding-top: 3rem;
  cursor: zoom-out;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  width: 90%;
  height: 80vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: zoom 0.3s ease-out;
}

#modal-counter {
  font-size: 1.25rem;
  color: white;
  text-align: center;
  margin-top: 10px;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 1010;
  border-radius: 5px;
  min-width: 44px;
  min-height: 44px;
}

.modal-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prev {
  left: 0.75rem;
}
.next {
  right: 0.75rem;
}

.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0.3;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-closed {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.modal-closed:hover {
  color: #bbb;
}

/*! ABOUT.HTML -------------------------------------------------------------------- */

#about-hero {
  height: 40vh;
  min-height: 18rem;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("Photos/photo30.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 0px 5px 15px black;
  text-align: center;
  padding: 1rem;
  top: 0;
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

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

.split-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 3rem 0;
}

.split-section:nth-of-type(even) {
  flex-direction: row-reverse;
}

.story-image,
.story-text {
  width: 100%;
}

.story-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 10px 10px 0px rgba(44, 44, 44, 0.1);
}

.story-text h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.story-text p {
  margin-bottom: 1.25rem;
  color: #444;
  line-height: 1.8;
}

#values {
  background-color: #f4f4f4;
  padding: 3rem 0;
  text-align: center;
}

#values h2 {
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-8px);
}

.value-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

/*! CONTACT.HTML -------------------------------------------------------------------- */

#contact-page-header {
  text-align: center;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("Photos/photo23.webp");
  background-position: center;
  background-size: cover;
  color: white;
  text-shadow: 0px 5px 15px black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  height: 40vh;
  min-height: 20rem;
}

#contact-page-header h1 {
  margin-bottom: 1rem;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2.5rem 0;
}

.contact-form-wrapper {
  flex: 1.5;
}

.contact-form-wrapper h2 {
  margin-bottom: 1rem;
}

.contact-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block h3 {
  text-align: left;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

#contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: max(1rem, 16px);
  box-sizing: border-box;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

#contact-form .field {
  display: flex;
  flex-direction: column;
}

.field-full-width,
.field-full-width-tall {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}

#contact-form .field-full-width,
#contact-form .field-full-width-tall,
#contact-submit {
  grid-column: span 2;
}

#contact-form #contact-submit {
  padding: 1.25rem;
  background-color: #9e9e9e;
  border: none;
  border-radius: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-height: 44px;
  width: 100%;
}

#contact-form #contact-submit:hover {
  background-color: #6e6e6e;
  transform: translateY(-0.25rem);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

#contact-form #contact-submit:active {
  transform: translateY(0.1rem);
}

#contact-form #contact-submit:focus {
  outline: 2px solid black;
  outline-offset: 2px;
}

#contact-form .h-captcha {
  display: flex;
  justify-content: center;
}


/*! MOBILE COMPABITILIY -------------------------------------------------------------------- */

/** Small Phones ------------------------------------------ */
@media (min-width: 300px) {
  html,
    body {
      scroll-padding-top: 0rem;
    }

  .gallery-grid {
    gap: 1rem;
  }

  #quote-form {
    grid-template-columns: 1fr;
  }
  
  #quote-form .field-full-width,
  #quote-form .field-full-width-tall,
  #quote-form #quote-submit,
  .h-captcha {
    grid-column: span 1;
  }

  #contact-form {
    grid-template-columns: 1fr;
  }

  #contact-form .field-full-width,
  #contact-form .field-full-width-tall,
  #contact-form #contact-submit,
  .h-captcha {
    grid-column: span 1;
  }
}

@media (max-width: 320px) {
  .h-captcha {
    transform: scale(0.85);
    transform-origin: left center;
  }
}

/** Large Phones ------------------------------------------ */
@media (min-width: 480px) {
  nav {
    padding: 0 1.5rem
  }
  
  .review-wrapper {
    gap: 1rem;
  }
  
  .review-wrapper button {
    height: 4rem;
    width: 4rem;
  }
  
  .story-image img {
    height: 300px;
  }
}

/** Tablets ------------------------------------------ */
@media (min-width: 640px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
    gap: 2.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #quote-form {
    grid-template-columns: 1fr 1fr;
    padding: 2rem
  }

  #quote-form .field-full-width,
  #quote-form .field-full-width-tall,
  #quote-form #quote-submit,
  .h-captcha {
    grid-column: span 2;
  }

  #contact-form {
    grid-template-columns: 1fr 1fr;
  }

  #contact-form .field-full-width,
  #contact-form .field-full-width-tall,
  #contact-form #contact-submit {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .story-image img {
    height: 350px;
  }
}

@media (max-width: 767px) {
  #hamburger       { display: flex !important; }
  nav ul           { display: none !important; }
  #nav-quote-btn   { display: none !important; }

  .review-container {
    height: 18rem;
    align-items: stretch;
  }

  .review {
    height: 100%;
    overflow-y: auto;
    padding: 1.25rem;
    min-height: unset;
    border-radius: 1.25rem;
    gap: 0.5rem;
  }

  .review-wrapper {
    width: 100%;
    gap: 0.25rem;
  }
  
  .review-wrapper button {
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1rem;
  }
  
  .stars {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }
  
  .review p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  #past-reviews h1 {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }
}

/** Large Tablets ------------------------------------------ */
@media (min-width: 768px) {
  html, body {
    scroll-padding-top: 10rem;
  }

  nav {
    padding: 0 2rem;
    min-height: 5rem;
  }

  #Biltem-Logo {
    height: 7rem;
    width: auto;
    aspect-ratio: 1;
    margin-top: 0.75rem;
  }

  #hamburger { display: none !important; }
  nav ul { display: flex !important; }
  #nav-quote-btn { display: block !important; }
  #mobile-menu { display: none !important; }

  #cover {
    max-height: none;
    height: 50rem;
  }

  #mission {
    padding: 4rem 5%;
  }
  
  #contact-page-header {
    height: 50vh;
  }

  #services h1 {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  #services-container {
    padding: 0 5%;
    gap: 3rem;
  }

  #past-reviews h1 {
    padding-bottom: 5rem;
  }

  .review-wrapper {
    gap: 2rem;
  }

  .review-wrapper button {
    height: 10rem;
    width: 5rem;
    border-radius: 2.5rem;
  }

  .review {
    border-radius: 7rem;
    min-height: 25rem;
    padding: 3rem;
  }

  #quote-section {
    height: 80rem;
    padding: 0;
  }

  #quote-ui {
    border-radius: 5rem;
  }

  #quote-ui h1 {
    font-size: 2.5rem;
  }

  #gallery-header {
    margin-top: 12rem;
    padding: 4rem 0;
  }

  #gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1rem;
  }

  .gallery-item {
    border-radius: 2rem;
  }

  #about-hero {
    height: 60vh;
    margin-top: 0;
  }

  .split-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 5rem;
    padding: 6rem 0;
  }

  .split-section:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .story-image,
  .story-text {
    flex: 1;
    width: auto;
  }

  .story-image img {
    height: 400px;
  }

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

  #values {
    padding: 6rem 0;
  }

  #values h2 {
    margin-bottom: 4rem;
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  #contact-page-header {
    padding: 10rem 5% 4rem;
    max-height: 60rem;

  }

  .contact-container {
    flex-direction: row;
    gap: 5rem;
    padding: 5rem 0;
  }

  .footer-container {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 4rem;
  }

  .footer-col {
    align-items: flex-start;
  }

  .footer-col p {
    justify-content: flex-start;
  }

  .footer-col h3::after {
    left: 0;
    transform: none;
  }
}

/** Desktop ------------------------------------------ */
@media (min-width: 1024px) {
  nav {
    padding: 0 2.5rem;
  }

  #Biltem-Logo {
    height: 10rem;
    width: auto;
    aspect-ratio: 1;
    margin-top: 1rem;
  }

  nav > button,
  #nav-quote-btn {
    margin-top: 3rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    width: 15rem;
    height: 5rem;
  }

  nav a {
    font-size: 1.5rem;
  }

  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .story-image img {
    height: 500px;
  }

  .split-section {
    padding: 8rem 0;
  }

  .story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  }
}