/* Hero section */
.hero-slider {
  position: relative;
}

.hero-slider-img {
  height: 46vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-slider-img-1 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/9_img.jpg");
}
.hero-slider-img-2 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/8_img.jpg");
}
.hero-slider-img-3 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/4_img.jpg");
}
.hero-slider-img-4 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/3_img.jpg");
}

.hero-slider-img-5 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/5_img.jpg");
}

.hero-slider-img-6 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/6_img.jpg");
}

.hero-slider-img-7 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/7_img.jpg");
}
.hero-slider-img-8 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/2_img.jpg");
}
.hero-slider-img-9 {
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("../img/carousol/1_img.jpg");
}

.carousel-link {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 10%;
  width: 10%;
}

.carousel-link-icon {
  font-size: 3rem;
}

.slogan {
  font-size: 6.4rem;
  font-weight: 200;
  color: #fff;
  width: 80%;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Section About  */

.section-about {
  margin-top: 9.6rem;
}

.about {
  padding: 2.4rem;
  gap: 9.6rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-btn:link,
.about-btn:visited {
  text-decoration: none;
  font-size: 1.4rem;
  /* border: 1px solid black; */
  background-color: #f6df8c;
  color: #555;
  width: 14rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1.6rem 2.4rem;
  text-align: center;
  transition: all 0.3s;
  border-radius: 5px;
}

.about-btn:hover,
.about-btn:active {
  background-color: #f4d874;
  /* color: #eee; */
}

.about-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  width: 90%;
  box-shadow: 1.2rem 1.2rem 0rem 0rem rgba(0, 0, 0, 0.15);
  border-radius: 20%;
  transition: all 1s;
}

.logo:hover {
  transform: translateY(-25px);
}

/* Section services  */

.section-services {
  margin-top: 9.6rem;
  padding: 3.6rem;
  /* background-color: #fefbf8; */
  background-color: #fff;
  background-position: center;
  background-size: cover;
}

.accordion {
  width: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.item {
  box-shadow: 0 0 3.2rem rgba(0, 0, 0, 0.1);
  padding: 2.4rem;

  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 2.4rem;
  row-gap: 3.2rem;
  align-items: center;
}
.number,
.text {
  font-size: 2.4rem;
  font-weight: 500;
  /* color: #087f5b; */
}
.number {
  color: #f9dcc8;
}

.text {
  color: #333;
}
.icon {
  width: 2.4rem;
  height: 2.4rem;
  stroke: #c6a995;
}
.hidden-box {
  grid-column: 2;
  display: none;
}

/* .hidden-box p {
  line-height: 1.6;
  margin-bottom: 2.4px;
}

.hidden-box ul {
  color: #868e96;
  margin-left: 20px;

  /* flexbox */
/* display: flex;
  flex-direction: column;
  gap: 1.2rem;
} */
/* .hidden-box ul li {
  margin-bottom: 12px;
} */
/* oprn state */
.open {
  border-top: 4px solid #c6a995;
}
.open .hidden-box {
  display: block;
}
.open .text,
.open .number {
  color: #c6a995;
}

.services-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.4rem 2.4rem 2.4rem;
  gap: 2.4rem;
}
.services-img-div img {
  width: 100%;
}
.services-text {
  margin-bottom: 0;
}

/* Section project */
.section-projects {
  margin-top: 4.8rem;
  padding: 4.8rem 2.4rem;
  background-color: #fefbf8;
}

.hide {
  display: none;
}

.project-container {
  display: flex;
  width: 90vw;
}

.residential {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url("../img/residential.jpg");
}
.commercial {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url("../img/commercial.jpg");
}
.details {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url("../img/details.jpg");
}

.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  border-radius: 5rem;
  color: #fff;
  cursor: pointer;
  flex: 0.5;
  margin: 1rem;
  position: relative;
  -webkit-transition: all 700ms ease-in;

  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.panel a:link,
.panel a:visited {
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  margin: 0;
  opacity: 1;
  text-decoration: none;
}

.panel a:hover,
.panel a:active {
  color: #ecbe18;
}
.panel.active {
  flex: 5;
}

.panel.active a:link,
.panel.active a:visited {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}

@media (max-width: 480px) {
  .container {
    width: 100vw;
  }

  .panel:nth-of-type(4),
  .panel:nth-of-type(5) {
    display: none;
  }
}

/* section-testionials  */
.section-testimonials {
  margin-top: 9.6rem;
  padding: 2.4rem;
}

.testimonials {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  /* width: 80rem; */
  border: 1px solid #777;
  padding: 2.4rem 4.8rem;
}

.testionials-img {
  height: 6.4rem;
  border-radius: 50%;
  margin-bottom: 2.4rem;
}

.testimonial-review {
  margin-bottom: 1.2rem;
}
.testimonial-author {
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
}

/* CONTROLS */
.c-btn {
  background-color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon {
  height: 24px;
  width: 24px;
  stroke: #947f70;
}
.btn--left {
  left: 100%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn--right {
  right: 100%;
  top: 50%;
  transform: translate(50%, -50%);
}

.testimonial-nexy-pre {
  position: absolute;
  height: 30%;
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
}
