#firstsection {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}
#main {
  cursor: default;
}
.tagline,
.tagline-sec {
  text-align: center;
  color: #fff;
  z-index: 1;
  max-width: 65%;
  cursor: default;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tagline h1 {
  font-family: "HelveticaNowDisplay-Bold" !important;
  font-size: 4rem;
  margin-bottom: 10px;
}
.tagline-sec h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
}
.bg-img {
  position: absolute;
  max-width: 90%;
  max-height: 80%;
  width: auto;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7 !important;
  border-radius: 30px;
  user-select: none;
}
.scroll-down-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  cursor: grab;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease-in-out;
  user-select: none;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0.6;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.scroll-down-arrow:hover {
  color: #ff7f50;
  transform: scale(1.1) ease;
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

/*  */
#secsection {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0f0f0f;
  text-align: left !important;
}
.gridparent {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  gap: 5px;
}
.child1 {
  align-items: center;
  font-family: "Helvetica-bold";
  font-size: 2.6rem;
  width: 60%;
  text-transform: lowercase;
}
.child2 {
  font-family: "Helvetica";
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.5rem;
  width: 60%;
  gap: 15px;
}
.child1,
.child2 {
  display: flex;
  text-align: left;
  margin: 0 auto;
  color: #fff;
}
.know-more {
  display: flex;
  color: #aefe14;
  position: relative;
  text-decoration: none;
  font-size: 1.3rem;
  user-select: none;
  cursor: grab;
}
.know-more:active {
  cursor: grabbing;
}
.know-more::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.know-more:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
.know-more-ser {
  display: flex;
  color: #1f1f1f;
  position: relative;
  text-decoration: none;
  font-size: 1.3rem;
  user-select: none;
  width: max-content;
  font-family: "Helvetica-bold" !important;
  padding-top: 20px;
  cursor: grab;
}
.know-more-ser:active {
  cursor: grabbing;
}
.know-more-ser::before {
  content: "";
  position: absolute;
  width: max-content;
  height: 2px;
  border-radius: 4px;
  background-color: #1f1f1f;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.know-more-ser::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: #1f1f1f;
  bottom: 0;
  left: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.know-more-ser:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.know-more-ser:hover::after {
  transform-origin: right;
  transform: scaleX(1);
}

/*  */
#thirdsection {
  height: 40vh;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("/assets/building.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 40%;
}
#fouthsection {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0f0f0f;
  text-align: left !important;
}
#fifthsection {
  height: 40vh;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("/assets/Chess-board.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 45%;
  opacity: 0.7;
}
#sixthsection {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0f0f0f;
  text-align: left !important;
}

/* Section Two */
.services-sec {
  height: auto;
  background-color: #fff;
  cursor: default;
}

.main-services-heading {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 10vh;
  font-family: "Helvetica";
  font-size: 3rem;
  max-width: 50%;
  margin: 0 auto;
  color: #0f0f0f;
}
.all-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 100px;
  grid-row-gap: 100px;
  text-align: left;
  padding-top: 15vh;
  padding: 50px;
}

.head-ser {
  font-family: "Helvetica-bold";
  font-weight: 500;
  font-size: 2rem;
  color: #1f1f1f;
  text-transform: capitalize;
  padding-bottom: 10px;
}
.body-ser {
  font-family: "Poppins", sans-serif;
  color: #616161;
}

.div-services1,
.div-services2,
.div-services3,
.div-services4,
.div-services5,
.div-services6 {
  border: 1px solid #69696914;
  background-color: #f1f1f1;
  border-radius: 20px 0px 84px 0px;
  -webkit-border-radius: 20px 0px 84px 0px;
  -moz-border-radius: 20px 0px 84px 0px;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.div-services1 {
  grid-area: 1 / 1 / 2 / 2;
}

.div-services2 {
  grid-area: 1 / 2 / 2 / 3;
}

.div-services3 {
  grid-area: 2 / 1 / 3 / 2;
}

.div-services4 {
  grid-area: 2 / 2 / 3 / 3;
}

.div-services5 {
  grid-area: 3 / 1 / 4 / 2;
}

.div-services6 {
  grid-area: 3 / 2 / 4 / 3;
}

@media (min-width: 1700px) {
  .tagline h1 {
    font-size: 5.2rem;
  }
}

@media (max-width: 1043px) {
  .tagline {
    max-width: 70%;
    font-size: 1.5rem;
  }
  .tagline-sec {
    max-width: 67%;
    font-size: 0.7rem;
  }
  .bg-img {
    max-width: 100%;
    max-height: 100%;
  }
  .main-services-heading {
    max-width: 60%;
    font-size: 3rem;
  }
}

@media (max-width: 750px) {
  .tagline {
    max-width: 93%;
    font-size: 1.5rem;
  }
  .tagline-sec {
    max-width: 90%;
    font-size: 0.7rem;
  }
  .gridparent {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .child1 {
    width: 90%;
  }
  .child2 {
    width: 90%;
    line-height: 25px;
    font-size: 1.2rem;
  }
  .main-services-heading {
    max-width: 97%;
    font-size: 2rem;
    padding-top: 4vh;
  }
  .all-services {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-row-gap: 10px;
    padding: 18px;
  }
  .head-ser {
    font-size: 1.7rem;
  }
  .div-services1 {
    grid-area: 1 / 1 / 2 / 2;
  }
  .div-services2 {
    grid-area: 2 / 1 / 3 / 2;
  }
  .div-services3 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .div-services4 {
    grid-area: 4 / 1 / 5 / 2;
  }
  .div-services5 {
    grid-area: 5 / 1 / 6 / 2;
  }
  .div-services6 {
    grid-area: 6 / 1 / 7 / 2;
  }
  .know-more-ser {
    padding-top: 20px;
    width: 60%;
    font-size: 1.2rem;
  }
}

@media (max-width: 425px) {
}

@media (max-width: 280px) {
  .tagline,
  .child1 {
    font-size: 1.2rem;
  }
  .tagline-sec {
    font-size: 0.5rem;
  }
  .child2 {
    font-size: 0.7rem;
  }
}

@media (max-height: 450px) {
  #secsection,
  #fouthsection,
  #sixthsection {
    height: auto;
  }
}
