* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* TYPOGRAPHY */
/* 
font-family: 'DM Sans', sans-serif;
font-family: 'Playfair Display', serif; */

:root {
  --bg-primary: #ecddcf;
  --primary: #01281f;
  --secondary: #00513e;
  --white: #ffffff;
}

span {
  color: var(--White, #fff);
  /* Desktop/Span */
  font-family: Playfair Display;
  font-size: 3.6vh;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}

h1 {
  /* Desktop/H1 */
  font-family: Playfair Display;
  font-size: 8vh;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -3.2px;
}
h2 {
  /* Desktop/H2 */
  font-family: Playfair Display;
  font-size: 7vh;
  font-style: normal;
  font-weight: 500;
  line-height: 7vh; /* 100% */
}
h3 {
  /* Desktop/H3 */
  font-family: Playfair Display;
  font-size: 3vh;
  font-style: normal;
  font-weight: 400;
  line-height: 3.8vh; /* 125% */
}
h4 {
  /* Desktop/H4 */
  font-family: Playfair Display;
  font-size: 4.8vh;
  font-style: normal;
  font-weight: 500;
  line-height: 4.8rem; /* 100% */
}
h5 {
  /* Desktop/H5 */
  font-family: Playfair Display;
  font-size: 3.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 4rem; /* 125% */
}
h6 {
  /* Desktop/H6 */
  font-family: Playfair Display;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 3.2rem; /* 133.333% */
}
p {
  /* Desktop/P */
  font-family: DM Sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.shadow {
  /* Nav-Shadow */
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.17);
}

body {
  margin: 0px;
  overflow-x: hidden;
  max-width: 100vw;
}

/* NAVBAR BEGINS */

.nav {
  height: 100%;
  width: 100%;
  background-color: transparent;
  position: fixed;
  padding: 1vh 4%;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 22px;
  color: #fff;
  padding: 10px 10px 10px 10px;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  display: inline;
  float: right;
  background: var(--bg-primary);
  padding: 16px 16px;
  border-radius: 8px;
}

.nav > .nav-links > a {
  display: inline-block;
  padding: 0 16px;
  text-decoration: none;
  color: var(--primary);
  font-family: "DM Sans", sans-serif;
  font-size: 1.6rem;
}

.nav > .nav-links > a:hover {
  color: var(--secondary);
}

/* .nav-links a:last-child {
  background: var(--primary);
  padding: 16px 24px;
  color: var(--white);
  border-radius: 8px;
} */

/* .nav-links a:last-child:hover {
  background: var(--secondary);
  color: var(--white);
} */

.highlight {
  color: #fff !important;
}

.nav > #nav-check {
  display: none;
}

/* DESKTOP NAVBAR ENDS  */

/* HERO SECTION BEGINS  */
.hero-container {
  max-height: 100vh;
  width: 100%;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  background: url("../img/hero-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-wrapper {
  width: 100%;

  height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  align-items: center;
  gap: 2.4rem;

  background: url("../img/hero-img.png");
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0 5%;
}
.hero-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  /* padding: 0 5%; */
}
.hero-text h1,
.hero-text p {
  color: #fff;
}
/* HERO SECTION ENDS */

/* MAIN CONTENT SECTION BEGINS */
.content-body {
  height: 100%;
  background: var(--bg-primary);
}
.content-body-img {
  background: url("../img/lines.svg");
  background-position: bottom;
  max-width: 100vw;
  height: 100%;
  background-repeat: no-repeat;
}
.content-section-wrapper {
  height: 100%;
  max-width: 100vw;
  padding: 5%;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}
.content-section-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}
.negative-margin {
  margin-top: -30vh;
}

.content-text {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 33%;
  /* background: #fff; */
}
.content-img {
  width: 67%;
  height: 80vh;
  border-radius: 3.2rem;
}

.border-2 {
  border-right: var(--bg-primary) 1.6rem solid;
  border-top: var(--bg-primary) 1.6rem solid;
}
.border-3 {
  border-left: var(--bg-primary) 1.6rem solid;
  border-top: var(--bg-primary) 1.6rem solid;
}

.img-1 {
  background: url("../img/bmd.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.img-2 {
  background: url("../img/img2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.img-3 {
  background: url("../img/img3.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* MAIN CONTENT SECTION ENDS */

/* SERVICES SECTION BEGINS */
.content-body-img-flipped {
  background: url("../img/lines-flipped.svg");
  background-position: top;
  max-width: 100vw;
  height: 100%;
  background-repeat: no-repeat;
}
.services-section {
  padding: 5%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.grid-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.4rem;
}
.box {
  display: grid;
  gap: 2.4rem;
  align-content: flex-start;
}
.box img {
  width: 100%;
}
/* SERVICES SECTION ENDS */

/* ABOUT SECTION BEGINS */
.about-section {
  padding: 5%;
  display: flex;
  flex-direction: row;
  gap: 2.4rem;
}
.about-text,
.about-img {
  width: 50%;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.about-img {
  background: url("../img/about-img.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 3.2rem;
}
/* ABOUT SECTION ENDS */

@media (max-width: 1024px) {
  .nav {
    padding: 1vh 1%;
  }

  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 2.4rem;
    top: 3.4rem;

    background: var(--bg-primary);
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav > .nav-btn > label:hover,
  .nav #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid var(--primary);
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: var(--bg-primary);
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;

    padding: 0 2.4rem;
  }

  .nav > .nav-links > a {
    display: block;
    width: 100%;

    padding: 2.4rem;
  }

  /* .nav-links a:last-child {
    background: var(--primary);
    padding: 16px 24px;
    color: var(--white);
    border-radius: 8px;
  }

  .nav-links a:last-child:hover {
    background: var(--secondary);
    color: var(--white);
  } */

  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }

  .logo-img img {
    width: 80%;
  }

  h1 {
    /* Desktop/H1 */
    font-family: Playfair Display;
    font-size: 5.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 6.4rem;
    letter-spacing: -3.2px;
  }

  .hero-wrapper {
    width: 100%;

    height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: center;
    gap: 2.4rem;

    background: url("../img/hero-img.png");
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0 5%;
  }

  /* MAIN CONTENT SECTION BEGINS */
  .content-body {
    height: 100%;
    background: var(--bg-primary);

    padding: 10% 0;
  }
  .content-body-img {
    background: url("../img/lines.svg");
    background-position: bottom;
    max-width: 100vw;
    height: 100%;
    background-repeat: no-repeat;
  }
  .content-section-wrapper {
    height: 100%;
    max-width: 100vw;
    padding: 10% 5%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.2rem;
  }
  .content-section-wrapper:nth-child(even) {
    flex-direction: column-reverse;
  }
  .negative-margin {
    margin-top: 0;
  }

  .content-text {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    width: 100%;
    /* background: #fff; */
  }
  .content-img {
    width: 100%;
    height: 40vh;
    border-radius: 3.2rem;
  }

  .border-2 {
    border-right: none;
    border-top: none;
  }
  .border-3 {
    border-left: none;
    border-top: none;
  }

  .img-1 {
    background: url("../img/bmd.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .img-2 {
    background: url("../img/img2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .img-3 {
    background: url("../img/img3.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  /* MAIN CONTENT SECTION ENDS */

  /* ABOUT SECTION BEGINS */
  .about-section {
    padding: 5%;
    display: flex;
    flex-direction: column-reverse;
    gap: 2.4rem;
  }
  .about-text,
  .about-img {
    width: 100%;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
  }
  .about-img {
    height: 35vh;
    background: url("../img/about-img.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3.2rem;
  }
  /* ABOUT SECTION ENDS */
}

/* NAVBAR ENDS */

/* navbar regular css start */
.navbar-area {
  /* background: rgba(0,0,0,.6); */
  position: fixed;
  padding: 1vw 5vw 0;
  width: 100%;
}
.site-navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
a.site-logo {
  text-decoration: none;
}

.site-logo img {
  width: 140px;
}

.site-navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;

  background-color: var(--bg-primary);
  transition: all 0.3s ease-in;

  padding: 2.4rem;
  border-radius: 8px;
}
.site-navbar ul li a {
  display: inline-block;
  padding: 0 16px;
  text-decoration: none;
  color: var(--primary);
  font-family: "DM Sans", sans-serif;
  font-size: 1.6rem;
}
.site-navbar ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* .site-navbar ul li:last-child {
  background: var(--primary);
  padding: 16px 24px;
  color: var(--white) !important;
  border-radius: 8px;
}

.site-navbar ul li:last-child:hover {
  background: var(--secondary);
  color: var(--white) !important;
} */
/* navbar regular css end */

/* nav-toggler css start */
.nav-toggler {
  border: 3px solid #fff;
  padding: 5px;
  background-color: transparent;
  cursor: pointer;
  height: 39px;
  display: none;
}
.nav-toggler span,
.nav-toggler span:before,
.nav-toggler span:after {
  width: 28px;
  height: 3px;
  background-color: #fff;
  display: block;
  transition: 0.3s;
}
.nav-toggler span:before {
  content: "";
  transform: translateY(-9px);
}
.nav-toggler span:after {
  content: "";
  transform: translateY(6px);
}
.nav-toggler.toggler-open span {
  background-color: transparent;
}
.nav-toggler.toggler-open span:before {
  transform: translateY(0px) rotate(45deg);
}
.nav-toggler.toggler-open span:after {
  transform: translateY(-3px) rotate(-45deg);
}
/* nav-toggler css start */

/* mobile breakpoint start */
@media screen and (max-width: 767px) {
  .container {
    max-width: 720px;
  }
  /* navbar css for mobile start */
  .nav-toggler {
    display: block;
  }
  .site-navbar {
    min-height: 60px;
  }
  .site-navbar ul {
    position: absolute;
    width: 100%;
    height: calc(100vh - 60px);
    left: 0;
    top: 60px;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #444;
    background-color: rgba(0, 0, 0, 0.75);
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    display: none;
  }
  .site-navbar ul li {
    width: 100%;
    text-align: center;
  }
  .site-navbar ul li a {
    padding: 25px;
  }
  .site-navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .site-navbar ul.open {
    max-height: 100vh;
    overflow: visible;
  }
  .intro-area h2 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  /* navbar css for mobile end */
}
/* mobile breakpoint end */

/* .test-body {
  width: 100%;
  height: 100vh;
  background: red;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-wrapper {
  width: 1200px;
  height: 600px;
  background: blue;
}

.test-content {
  width: 1000px;
  height: 600px;
  background: green;
} */
