/* ----- Document ----- */

* {
  box-sizing: border-box;
  border: none;
  padding: 0;
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background-color: #fafafa;
  color: #1d1d1d;
  font-family: "Raleway", sans-serif;
  letter-spacing: 1.6px;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

ol,
ul,
li,
a {
  text-decoration: none;
  color: #1d1d1d;
  font-family: "Raleway", sans-serif;
  font-size: 1.25rem;
  list-style: none;
}

a:hover {
  color: #fa7f20;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

h1 {
  font-size: 5rem;
  letter-spacing: 6.4px;
}

h2 {
  font-size: 4.5rem;
  letter-spacing: 5.76px;
}

h3 {
  font-size: 3.5rem;
  letter-spacing: 4.48px;
}

h4 {
  font-size: 2.5rem;
  letter-spacing: 3.2px;
}

h5 {
  font-size: 1.5rem;
  font-weight: 600;
}

h6 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 30px;
}

.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* Buttons */

.btn {
  font-size: 1.25rem;
  width: 178px;
  height: 55px;
  border-radius: 2px;
  background-color: #515257;
  color: #fafafa;
}

.btn:hover {
  background-color: #fa7f20;
  cursor: pointer;
}

a .btn {
  color: #fafafa;
  letter-spacing: 1.6px;
}

.btn a:hover {
  color: #fafafa;
}

/* ----- Navigation ----- */

.navbar {
  height: 120px;
  margin-bottom: 80px;
  margin-top: 2rem;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-content a {
  z-index: 2;
}

.navbar-content img {
  cursor: pointer;
  width: 240px;
}

.navbar-links {
  margin: auto;
  font-weight: 600;
}

.navbar-links ul {
  display: flex;
  gap: 3.5rem;
}

.navbar-active {
  color: #fa7f20;
  border-bottom: 1px solid;
}

.dropDown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dropDownActive {
  fill: #fa7f20 !important;
  color: #fa7f20;
  cursor: pointer;
}

.navbar-dropdown {
  position: absolute;
  display: none !important;
  z-index: 1;
  background: #fff;
  gap: 1rem !important;
  text-align: left;
  padding: 1rem;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
  margin-left: -1rem !important;
  margin-top: -2.5rem !important;
}

.navbar-dropdown-active {
  display: flex !important;
  flex-direction: column;
}

.navbar-dropdown div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-dopdown-list {
  color: #515257;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.28px;
}

/* ----- Navigation Toggle ----- */

.toggle-button {
  position: absolute;
  right: 0px;
  top: 45px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 2;
}

.navbar-content .toggle-button .bar {
  height: 2px;
  width: 100%;
  background-color: #1d1d1d;
  border-radius: 2px;
}

/* Footer */

footer {
  padding: 4rem 2.5rem;
  margin-top: 5rem;
  justify-content: center;
  background: #515257;
  display: flex;
}

footer h6 {
  font-weight: 500;
}

footer h5 {
  color: #fafafa;
  font-family: "Raleway", sans-serif;
}

.footer-content {
  max-width: 1280px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  color: #fafafa;
  font-family: "Roboto", sans-serif;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

footer a {
  color: #fafafa;
}

footer a:hover {
  color: #fa7f20;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-info div {
  display: flex;
  gap: 1rem;
}

#footer-location {
  display: flex;
  align-items: center;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-right div {
  display: flex;
  gap: 1.5rem;
}

/* Hero */

.hero {
  height: fit-content;
}

.hero-content {
  width: 518px;
}

.hero-anchor {
  position: absolute;
  display: flex;
  left: 0;
  right: 0;
  margin: -48px auto 0px;
  gap: 80px;
  width: 748px;
  height: 92px;
  background-color: #ffffff;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
}

.hero-anchor a,
.specification-anchor a {
  font-size: 1.5rem;
}

#sa-small {
  font-size: 1.25rem;
}

.hero-background {
  background-image: url(images/hero-img3.png);
  background-position: 100% -8%;
  background-repeat: no-repeat;
  background-size: 50%;
  height: 724px;
}

/* Sections */

.product-carousel {
  height: fit-content;
  margin-bottom: 80px;
}

.dragging a {
  pointer-events: none;
}

/* Section Headings */

.section-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.section-heading a {
  font-family: "Raleway", sans-serif;
}

/* Doors */

#doors {
  margin-top: 160px;
}

.slider-container {
  width: 1232px;
  height: 400px;
  position: absolute;
  overflow: hidden;
}

.grid {
  position: absolute;
  display: flex;
  overflow: hidden;
  gap: 2rem;
  margin: 40px 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.item {
  display: flex;
  flex-direction: column;
  max-width: 360px;
  min-width: 360px;
}

.item h5 {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.smaller-item-title {
  font-size: 1.25rem !important;
}

.slider {
  width: 360px;
  height: 8px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  margin: 432px auto 0;
}

.slider-tab {
  cursor: pointer;
  appearance: none;
  width: 100%;
  border-radius: 2px;
}

.slider-tab::-webkit-slider-thumb {
  appearance: none;
  width: 56px;
  height: 8px;
  border-radius: 2px;
  background: #515257;
  cursor: pointer;
}

.slider-tab::-moz-range-thumb {
  width: 56px;
  height: 8px;
  border-radius: 2px;
  background: #515257;
  cursor: pointer;
}

.door-or-window {
  position: absolute;
  background-color: #fafafa;
  opacity: 0.8;
  margin: 1rem;
  border-radius: 2;
}

.door-or-window p {
  font-size: 0.75rem;
  color: #515257;
  padding: 0 1.5rem;
}

/* Doors, Windows, & Accessories */

.product-anchor {
  margin: 60px auto 80px auto;
  position: relative;
}

.product-grid {
  max-width: 1232px;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.accessory p {
  font-weight: 300;
}

.accessories img {
  height: 240px;
}

/* Projects
/* 
.projects h4 {
  text-align: center;
  margin-bottom: 80px;
}

.project-grid {
  max-width: 1232px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.project-item {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.project-item h5 {
  margin: 1.5rem 0 1rem 0;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-information-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
} */

/* Contact Us Form */

.form {
  display: flex;
  gap: 2rem;
  background: #ffffff;
  padding: 1.5rem;
}

.form-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-name {
  display: flex;
  gap: 2rem;
}

.user-name input {
  margin-top: 0 !important;
}

.form-input {
  width: 100%;
  height: 88px;
  border-radius: 2px;
  border: 1px solid rgba(81, 82, 87, 0.08);
  background: #fff;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
}

textarea {
  height: 240px !important;
  font-size: 1.5rem;
  padding: 2rem 1.5rem 0;
  resize: none;
  font-family: "Roboto", sans-serif;
}

.input-row input {
  padding-left: 72px;
  font-size: 1.5rem;
}

#myFile::file-selector-button {
  border-radius: 2px;
  border: 1px solid rgba(81, 82, 87, 0.08);
  background: #fff;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
  padding: 0.5rem 1rem;
  color: #515257;
  font-size: 16px;
  font-family: Raleway;
  letter-spacing: 1.28px;
  cursor: pointer;
  margin-right: 0.75rem;
}

#myFile::file-selector-button:hover {
  background: #515257;
  color: #fafafa;
}

.input-row {
  width: 100%;
  display: flex;
  align-items: center;
}

.form svg {
  margin: 0.5rem 1rem 0 1.5rem;
}

label {
  color: #515257;
  font-size: 1.5rem;
  letter-spacing: 1.92px;
  position: absolute;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.message {
  align-items: flex-start !important;
}

.message label {
  padding: 2rem 0 0 1.5rem;
}

.form-btn {
  border-radius: 2px;
  border: 1px solid rgba(81, 82, 87, 0.08);
  background: #515257;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
  font-size: 1.5rem;
  font-family: "Raleway", sans-serif;
  letter-spacing: 1.92px;
  color: #fafafa;
}

.form-btn:hover {
  background: #fa7f20;
  cursor: pointer;
}

.required {
  color: #f92626;
}

/* Product Hero */

.product {
  display: flex;
  gap: 2rem;
}

.product-images {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.door-and-window {
  min-width: 151px;
}

.product-image-unactive {
  width: 184px;
  height: 132px;
  border-radius: 2px;
  cursor: pointer;
}

.product-images-colours {
  display: none;
}

.product-image-active {
  width: 184px;
  height: 132px;
  border: solid 1px #fa7f20;
  border-radius: 2px;
}

.product-images div {
  display: flex;
  width: 100%;
  gap: 1.5rem;
}

.product-colour-img {
  display: none;
}

.product-img-2 {
  display: none;
}

.product-img-3 {
  display: none;
}

.product-img {
  border-radius: 2px;
}

.product-information {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 50%;
}

.product-information h4 {
  font-size: 2rem;
  font-weight: 600px;
}

.product-information .product-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 240px;
  overflow-y: scroll;
}

.product-description div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-colours-and-buttons {
  display: flex;
  justify-content: space-between;
}

#colour-media-toggle {
  display: none;
}

.product-btn {
  margin-top: auto;
}

.product-colours {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.colours {
  display: flex;
  gap: 1.5rem;
}

.product-colour {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  border: 1px solid #d2d2d2;
}

.product-colour:hover {
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.product-colour-grey {
  background: #383e42;
}

.product-colour-black {
  background: #0e0e10;
}

.product-colour-white {
  background: #f1f0ea;
}

.specification-button {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  margin-top: 4px;
  gap: 0.5rem;
  border-radius: 2px;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
}

.specification-button:hover {
  cursor: pointer;
}

.specification-button div {
  display: flex;
  justify-content: space-between;
}

.specification-button p {
  font-size: 1rem;
  color: #515257;
}

.related-products {
  margin-top: 5rem;
}

/* Product Technical Details */

.technical-details-bg {
  background-color: rgba(81, 82, 87, 0.88);
}

.technical-details {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0px;
  z-index: 100;
  display: none;
  background-color: rgba(29, 29, 29, 0.8799999952316284);
  cursor: pointer;
}

.technical-details-info {
  max-width: 960px;
  height: 88%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  gap: 2.5rem;
  overflow-y: scroll;
  border-radius: 2px;
  cursor: auto;
  margin: auto;
}

.technical-details-info-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.technical-details-info-heading .btn {
  width: fit-content;
  height: fit-content;
  padding: 1rem 1.5rem;
  color: #fafafa;
}

.close-btn {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: rgba(217, 217, 217, 0.4000000059604645);
  color: #4d4d4d;
  outline: none;
  border-radius: 24px;
  cursor: pointer;
  margin: -56px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  font-size: 1.5rem;
}

.beside {
  display: flex;
  gap: 80px;
}

.beside ul,
.beside li {
  list-style: initial !important;
  min-width: 40%;
  padding-bottom: 1.5rem;
}

.single-bfrc {
  max-width: fit-content;
}

/* Product Specification */

.specifications {
  margin-top: 5rem;
}

.specification-anchor {
  display: flex;
  margin: 32px auto 0;
  padding: 32px 84px;
  gap: 80px;
  width: 100%;
  height: fit-content;
  background-color: #ffffff;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.04);
}

.specification-anchor h5 {
  text-align: center;
}

.card-group {
  display: flex;
  gap: 32px;
  overflow: hidden;
  width: 100%;
  margin-top: 2.5rem;
  cursor: pointer;
}

.sb-smooth {
  scroll-behavior: smooth;
}

.card {
  min-width: 296px;
  max-height: 300px;
  min-height: 280px;
  border-radius: 2px;
  padding: 1.5rem;
  color: #fafafa;
  display: flex;
  align-items: flex-end;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  background: center;
}

.card.card-active {
  min-width: 400px;
}

#card-two-line {
  transform: translateY(calc(100% - 80px)) !important;
  -webkit-transform: translateY(calc(100% - 80px));
  transition: all 0.8s ease;
}

.card.card-active #card-two-line {
  transform: translateY(calc(100% - 156px)) !important;
  -webkit-transform: translateY(calc(100% - 156px));
  transition: all 0.8s ease;
}

.card h6 {
  font-weight: 400;
  opacity: 0;
}

.card.card-active h6 {
  opacity: 1;
  position: relative;
}

.card-description {
  -webkit-transform: translateY(calc(100% - 20px));
  transform: translateY(calc(100% - 20px));
  transition: all 0.8s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card.card-active .card-description {
  -webkit-transform: translateY(calc(100% - 56px));
  transform: translateY(calc(100% - 56px));
  transition: all 0.8s ease;
}

.card.card-active .u-value {
  transform: translateY(calc(100% - 136px));
  -webkit-transform: translateY(calc(100% - 136px));
  transition: all 0.8s ease;
}

.u-value p,
#card-two-line p {
  font-weight: 200;
  font-size: 1rem;
}

.card-group.dragging .card {
  cursor: grab;
  user-select: none;
}

/* Individual Project */

.used-products {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.75rem;
}

.used-products p {
  font-size: 1rem;
}

/* Privacy Policy & Terms and Conditions*/

.privacy-policy,
.terms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1232px;
  padding: 40px;
  border-radius: 2px;
  background: #fff;
  filter: drop-shadow(
    8px 8px 8px
      rgba(
        0.11372549086809158,
        0.11372549086809158,
        0.11372549086809158,
        0.07999999821186066
      )
  );
}

.privacy-policy hr,
.terms hr {
  border: 1px solid #fa7f20;
  width: 400px;
  position: absolute;
  margin-top: 72px;
}

.small-hr {
  width: 120px !important;
  margin-top: -20px !important;
  opacity: 56%;
}

.privacy-policy h4,
.terms h4 {
  padding-bottom: 2.5rem;
}

.privacy-policy h5,
.terms-info h5 {
  padding-bottom: 2rem;
}

.policy-info li,
.terms-info li {
  list-style: inside;
}

.terms-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terms-list ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-sub {
  font-weight: 500;
  padding-bottom: 0 !important;
}

.policy-info,
.terms-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-policy ol {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-policy ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* accessories */

#accessories .item-image img {
  min-height: 240px;
}

#resize-img {
  min-height: 240px;
}

.accessory-img {
  min-height: 392px;
}

/* Sticky Menu */

.sticky-menu {
  position: fixed;
  bottom: 5rem;
  right: 5rem;
  z-index: 100;
}

.sticky-menu svg {
  cursor: pointer;
  transition: 0.2s;
  filter: drop-shadow(
    2px 4px 4px
      rgba(
        0.11372549086809158,
        0.11372549086809158,
        0.11372549086809158,
        0.07999999821186066
      )
  );
}

.sticky-menu h6 {
  font-size: 1rem;
  font-weight: 500;
}

.sticky-menu svg:hover {
  transform: scale(1.04);
}

.main-btn {
  height: 80px;
  position: relative;
  z-index: 2;
}

.sub-menu {
  position: relative;
  height: 80px;
  width: 80px;
  display: flex;
  top: 0;
  margin-top: -80px;
  padding: 0.5rem;
}

.sub-circle {
  position: absolute;
  padding: 0;
  border-radius: 25px;
  height: 64px;
  color: transparent;
  border-radius: 32px;
}

.sticky-menu #first,
.sticky-menu #second,
.sticky-menu #third {
  position: absolute;
}

.mobile-btn {
  display: none;
}

.menu-tag {
  background-color: #fff;
  filter: drop-shadow(
    4px 4px 2px
      rgba(0.11372549086809158, 0.11372549086809158, 0.11372549086809158, 0.04)
  );
  padding: 0.75rem 1rem;
  width: fit-content;
  white-space: nowrap;
  height: 42px;
  position: absolute;
  z-index: 108;
  display: none;
  opacity: 0;
  transition: 0.4s;
}

.menu-tag svg {
  margin-top: 10px;
  margin-left: 182px;
}

.menu-tag#first {
  right: 120px;
  bottom: 96px;
}

.menu-tag#second {
  right: 82px;
  bottom: 173px;
}

.menu-tag#third {
  right: -2px;
  bottom: 211px;
}

.menu-tag#second svg {
  margin-left: 192px;
}

.menu-tag#third svg {
  margin-left: 96px;
}

/* Media Queries */

@media (max-width: 1544px) {
  /* Hero bacgkround */
  .hero-background {
    background-position: 100% center;
  }
}

@media (max-width: 1280px) {
  .slider-container {
    width: 96.25%;
  }

  .project-grid {
    justify-content: center;
  }

  .form {
    justify-content: center;
  }

  .form img {
    width: 40vw;
  }

  .form-right {
    gap: 1.5rem;
  }

  /* Product Page */

  .product-images div {
    overflow: hidden;
  }

  .product-images div img {
    width: 30%;
  }

  .product-img {
    min-height: 393px;
  }

  .product-image-unactive {
    width: 30.5%;
  }

  .specification-anchor {
    flex-wrap: wrap;
  }

  .product-information p {
    font-size: 1rem;
  }

  .item {
    max-width: 360px;
  }
}

/* Tablet Media Queries */

@media (max-width: 1192px) {
  .product-grid {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  /* Navigation */

  .toggle-button {
    display: flex;
  }

  .navbar-content img {
    width: 100%;
    padding-top: 1rem;
  }

  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar-links ul {
    flex-direction: column;
    margin: auto;
    text-align: center;
  }

  .navbar-content {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .navbar-links.active {
    display: flex;
    padding: 160px 0 56px;
    background-color: rgb(250, 250, 250, 0.96);
    position: absolute;
    border-bottom: 1px solid rgba(81, 82, 87, 0.2);
    width: 100vw;
    left: -24px;
    margin-top: -33px;
  }

  .navbar-content .btn {
    display: none;
  }

  .toggle-button {
    top: 28px;
  }

  /* Hero */

  .hero-background {
    background-image: none;
  }

  /* Form */

  .form img {
    display: none;
  }

  /* .navbar-dropdown {

      } */

  /* Home */

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Product */

  .product-images {
    width: 88%;
  }

  .product-information {
    width: 88%;
  }

  /* Footer */

  .footer-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }

  .footer-right {
    align-items: center;
  }
}

@media (max-width: 960px) {
  /* Products */

  .product {
    flex-direction: column;
  }

  .product-images {
    width: 100%;
    margin: auto;
    max-width: 720px;
  }

  .product-images div {
    justify-content: space-between;
  }

  .product-images div img {
    max-height: 160px;
  }

  .product-information {
    width: 100%;
  }

  .product-image-unactive {
    width: 184px;
  }

  .product-image-active,
  .product-image-unactive {
    max-width: 30%;
    max-height: 80px;
  }

  .product-information .product-description {
    height: fit-content;
  }

  #colour-media-toggle {
    display: flex;
  }

  #colour-media-toggle2 {
    display: none;
  }
}

@media (max-width: 800px) {
  .hero-anchor {
    width: 92%;
  }

  .slider-container {
    width: 93.25%;
  }

  .hero-anchor a,
  .specification-anchor a {
    font-size: 1.25rem;
  }

  /* Technical Details */
  .technical-details-info .beside {
    flex-direction: column;
  }

  .technical-details-info-heading {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  /* Sticky Menu */

  .sticky-menu {
    bottom: 0;
    right: 0;
  }

  .mobile-btn {
    display: block;
  }

  .desktop-btn {
    display: none;
  }

  .sub-menu {
    padding: 0.75rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  h3 {
    font-size: 2.75rem;
  }

  .hero-title {
    text-align: center;
  }

  .hero-background {
    height: 680px;
  }

  .hero-content p {
    font-size: 1rem;
    padding-left: 4px;
  }

  .hero-content {
    width: 423px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #doors {
    margin-top: 120px;
  }

  /* Technical Details */
  .technical-details-info-heading .btn {
    font-size: 1rem;
  }

  .technical-details-info {
    padding: 40px;
  }

  .technical-details-info .beside li {
    font-size: 1rem;
  }

  .technical-details-info .beside {
    gap: 40px;
  }

  .technical-details-info .beside ul {
    padding-bottom: 0;
  }

  .close-btn {
    margin: -28px;
  }

  /* contact us */

  .user-name {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
  }

  .product-img {
    min-height: 320px;
  }

  /* Products */
  .product-images div img {
    max-height: 120px;
  }
}

@media (max-width: 480px) {
  /* Body */
  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.75rem;
  }

  h5 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  img {
    max-width: 100%;
  }

  .container {
    width: 92%;
    padding: 0;
  }

  /* Nav */
  .navbar {
    margin-bottom: 80px;
    height: fit-content;
  }

  .navbar-content img {
    width: 72%;
    padding-top: 0;
  }

  .toggle-button {
    top: 12px;
  }

  .navbar-links.active {
    left: -16px !important;
  }

  /* Hero */

  .hero-background {
    height: fit-content;
  }

  .section-heading {
    align-items: flex-end;
    gap: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .section-heading a {
    font-size: 1rem;
  }

  .section-heading p {
    width: 96px;
  }

  #doors .section-heading h4 {
    width: 140px;
  }

  .hero-content p {
    padding-left: 8px;
  }

  .hero-content {
    width: 333px;
  }

  .hero-anchor {
    gap: 2rem;
    height: fit-content;
    padding: 1.5rem;
    flex-direction: column;
    margin: 0px auto;
  }

  .hero {
    margin-bottom: 80px;
  }

  .slider-container {
    width: 92%;
  }

  .item {
    min-width: 312px;
  }

  #doors .slider {
    margin: 400px auto 0;
  }

  .slider-tab::-webkit-slider-thumb {
    height: 12px;
  }

  .slider-tab::-moz-range-thumb {
    height: 12px;
  }

  /* Home Products Slider */
  .slider {
    width: 100%;
  }

  #doors {
    margin-top: 282px;
  }

  footer h5 {
    font-size: 1rem;
  }

  .slider-container .grid {
    margin: 40px 0;
  }

  .grid {
    margin: 80px 0;
  }

  .product-anchor {
    width: 88%;
  }

  .item-content {
    width: 100%;
  }

  .smaller-item-title {
    font-size: 1rem !important;
  }

  /* Products */

  .product-colours-and-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .product-image-unactive {
    width: 45.5%;
  }

  .product-img {
    min-height: 240px;
  }

  .related-products .grid {
    margin: 40px 0;
  }

  .cardMobile {
    min-width: 100vw !important;
  }

  .product-images div img {
    max-height: 80px;
  }

  .product-images div {
    gap: 1.25rem;
  }

  .specification-anchor {
    margin: 0px auto;
  }

  .card.card-active {
    min-width: 332px;
  }

  #mobile-adjustment {
    max-width: 160px;
  }

  #card-two-line {
    transform: translateY(calc(100% - 68px)) !important;
    -webkit-transform: translateY(calc(100% - 68px));
  }

  .card.card-active #card-two-line {
    transform: translateY(calc(100% - 172px)) !important;
    -webkit-transform: translateY(calc(100% - 172px));
  }

  /* Footer */

  footer h5 {
    font-size: 1.5rem;
  }

  /* Terms & Privacy */

  .container.privacy-policy {
    width: 100%;
    padding: 1.5rem;
  }

  .container.terms {
    width: 100%;
    padding: 1.5rem;
  }

  .privacy-policy hr,
  .terms hr {
    width: 80%;
    margin-top: 56px;
  }
}
