main section h2 {
   margin-bottom: var(--space-10);
}

.hero .hero-container {
   gap: var(--space-8);
}

.hero .left {
   /* background-image: url("/assets/livingroom.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom; */
   position: relative;
}

.hero .left > img {
   position: absolute;
   bottom: 0;
}

.hero .left .hero-text {
   font-size: 3rem;
   font-weight: 300;
   line-height: 80px;
   text-transform: uppercase;
   margin-top: 33px;
}

.hero .left .hero-text h1 {
   text-indent: 22%;
   text-wrap: nowrap;
   font-size: 2.6rem;
}

.hero .right {
   /* background-image: url("/assets/solar-house.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  height: 745.25px; */
   position: relative;
}

.hero .info {
   position: absolute;
   bottom: 7px;
}

.hero .right .info {
   width: 35%;
   font-size: var(--font-size-sm);
   font-weight: 300;
   line-height: 20px;
}

.hero .left .info {
   width: 77%;
}

.hero .left .info p {
   font-weight: 400;
   font-size: 25px;
   line-height: 28px;
}

.hero .left .info label {
   display: block;
   font-weight: 400;
   font-size: 16px;
   line-height: 28px;
}

.hero .left .info input {
   width: 55%;
   padding: var(--space-2);
   font-weight: 400;
   font-size: 16px;
   line-height: 37px;
   vertical-align: middle;
   color: var(--color-primary);
   border: 1px solid var(--color-primary);
   border-radius: 36.96px;
}

.hero .left .info button {
   padding: var(--space-2) var(--space-8);
   font-weight: 400;
   font-size: 20px;
   line-height: 37px;
   vertical-align: middle;
   color: var(--color-white);
   background-color: var(--color-secondary);
   border-radius: 36.96px;
}

.hero .hero-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 15.43vw;
   height: 15.43vw;
   max-width: 222.3359375px;
   max-height: 222.3359375px;
   background-color: var(--color-white);
   border-radius: 50%;
   position: absolute;
   top: 48%;
   right: -28%;
   transform: translate(-50%, -50%);
   z-index: 999;
}

.hero .hero-icon .icon {
   width: 23%;
}

.hero .hero-icon .circle-text {
   position: absolute;
   animation: rotate 13s linear infinite;
}

/******************************* about section *******************************/

.about {
   margin: 79px 0;
}

.about > h2 {
   font-weight: 300;
   font-size: 40px;
   line-height: 100px;
}

.subtitle {
   font-family: Unbounded;
   font-weight: 200;
   font-size: var(--font-size-2xl);
   line-height: 35px;
   letter-spacing: 0%;
   text-align: center;
   margin: var(--space-10) 0 calc(var(--space-12) * 2);
}

.about-container {
   margin: auto;
   display: flex;
   gap: 2rem;
   align-items: flex-start;
   flex-wrap: wrap;
}

.about-text {
   flex: 1;
   min-width: 280px;
}

.arrow {
   color: var(--color-secondary);
   font-family: Unbounded;
   font-weight: 300;
   font-size: 40px;
   line-height: 100px;
}

.paragraph {
   font-weight: 400;
   font-size: 20px;
   line-height: 35px;
   text-align: justify;
   max-width: 600px;
}

.about-image {
   flex: 1;
   min-width: 280px;
   border-radius: 1rem;
   overflow: hidden;
}

.about-image img {
   width: 100%;
   height: auto;
   border-radius: 1rem;
   object-fit: cover;
}

/******************************* Services Section *******************************/

.services > h2 {
   font-weight: 300;
   font-size: 40px;
   line-height: 100px;
}

.service-text {
   top: 0;
}

.service-text h3 {
   font-weight: 400;
   font-size: 20px;
   line-height: 30px;
   width: 90%;
}

.service-text a {
   position: absolute;
   font-weight: 500;
   font-size: 20px;
   line-height: 16px;
   padding-top: var(--space-2);
   padding-bottom: var(--space-2);
   bottom: -50px;
}

.service-card img {
   width: 100%;
   height: auto;
   border-radius: 1rem;
   margin-top: 1rem;
}

.service-column {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.service-box {
   position: relative;
}

.dm-column {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

.dm-overlay {
   position: absolute;
   bottom: 0;
   padding: var(--space-4);
   width: 100%;
   text-align: center;
   font-weight: 400;
   font-size: 20px;
   line-height: 30px;
   color: var(--color-white);
   text-shadow: 0px 3px 3px #000000;
}

.sms-overlay {
   position: absolute;
   top: 0;
   left: 0;
   padding: var(--space-1) var(--space-5);
   width: 100%;
   color: white;
   font-weight: 400;
   font-size: 20px;
   line-height: 35px;
   text-shadow: 0px 3px 3px #000000;
}

.external-icon {
   position: absolute;
   top: 5px;
   left: 80%;
   padding: var(--space-4);
   border-radius: 50%;
   border: 1px solid var(--color-text);
   cursor: pointer;
}

.service-card.real-estate {
   position: relative;
}

.bottom-text {
   position: absolute;
   bottom: 0;
   width: 100%;
   height: 100%;
   padding: 1rem 0;
   color: white;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: space-between;
   gap: 0.5rem;
   transform: translate(-10px, 0);
}

.bottom-text h3 {
   font-weight: 400;
   font-size: 20px;
   line-height: 35px;
   text-shadow: 0px 4px 4px #00000040;
}

/******************************* testimonials Section *******************************/

.testimonials > h2 {
   font-weight: 300;
   font-size: 40px;
   line-height: 100px;
}

.testimonial-slider {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: var(--space-4);
}

.side-card {
   color: var(--color-white);
   padding: var(--space-4);
   border-radius: 20px;
   writing-mode: vertical-rl;
   font-size: 40px;
   font-weight: 400;
   letter-spacing: 18px;
   line-height: 165%;
   text-orientation: mixed;
   display: flex;
   align-items: center;
   justify-content: center;
   text-transform: uppercase;
   cursor: pointer;
   background: radial-gradient(circle,rgba(0, 0, 0, 1) 0%, rgba(110, 110, 110, 1) 100%);
}

.side-card:first-child,
.side-card:last-child {
   width: 170px;
   height: 300px;
}

.side-card:nth-child(2),
.side-card:nth-child(4) {
   /* background-color: rgba(0, 0, 0, 0.5); */
   width: 170px;
   height: 430px;
}

.side-card {
   position: relative;
   padding: 0;
   overflow: hidden;
}

.side-card video {
   width: 100%;
   height: 100%;
   border-radius: 1rem;
}

.name-vertical {
   position: absolute;
   color: white;
   writing-mode: vertical-rl;
   font-weight: bold;
   left: 50%;
   transform: translateX(-50%);
   bottom: 1rem;
}

.main-card {
   position: relative;
   border-radius: 20px;
   overflow: hidden;
   width: 570px;
   max-height: 531px;
}

.main-card video {
   width: 570px;
   /* height: 531px; */
   display: block;
   border-radius: 1rem;
}

.play-button {
   position: absolute;
   top: 45%;
   left: 50%;
   display: flex;
   width: 56px;
   height: 56px;
   align-items: center;
   justify-content: center;
   background: white;
   border-radius: 50%;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pause-btn {
  display: none;
  opacity: .5;
}

.main-card:hover .pause-btn {
  display: flex;
}

.main-name {
   position: absolute;
   bottom: 1rem;
   left: 50%;
   transform: translateX(-50%);
   font-weight: 700;
   font-size: 30px;
   line-height: 165%;
   text-transform: capitalize;
   color: var(--color-white);
}

@media screen and (max-width: 768px) {
   main section {
      margin-bottom: 5rem;
   }
   
   /* hero section */
   
   .hero .sm-screen-img {
      border-radius: 1rem;
   }

   .hero .left .info {
      display: none;
   }

   .hero .right .info {
      text-align: center;
      margin-top: var(--space-5);
   }

   .hero .info, .hero .left > img, .hero .right > img {
      position: static;
   }

   .hero .left .info, .hero .right .info {
      width: unset;
   }

   .hero .left .hero-text h1 {
      text-indent: unset;
      text-wrap: unset;
      font-size: var(--font-size-2xl);
      line-height: 40px;
      text-align: center;
   }

   .hero .hero-icon {
      display: none;
   }

   /* services section */

   .service-text h3 {
      line-height: 25px;
   }

   .service-text a {
      bottom: -35px;
   }

   /* testimonials section */

   .main-card {
      width: 100%;
      overflow: unset;
   }
   
   .main-card video {
      width: 100%;
   }
   
   .play-button {
      width: 26px;
      height: 26px;
      top: 50%;
      transform: translate(-50%, -50%);
   }

   .play-button img {
      width: 14px;
   }
   
   .main-name {
      position: absolute;
      bottom: -6rem;
      color: var(--color-text);
   }
}