@import url('https://fonts.googleapis.com/css2?family=Gidole&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Oswald:wght@200..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gidole", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

/* Global Styles */

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

.navlink {
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  color: #000;
}

.section-p1 {
  padding: 80px 120px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: #fff;
  /* background-color: rgba(0, 0, 0, 0.0); */
  background-color: transparent;
  /* border-radius: 4px; */
  cursor: pointer;
  border: 1px solid #fff;
  outline: none;
  transition: 0.2s;
}


/* home page */

/* navigation top */

#bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: rgba(3, 3, 3, 0.1);
  width: 100%;
  height: 15vh;
  position: fixed;
  top: 0;
  left: 0;
}

#navbar {
  position: relative;
  overflow: hidden;
  height: 100vh;
  /* full screen */
}

#navbar .topMenu a {
  color: #fff;
  font-weight: 400;
}

#navbar .topMenu div a i {
  color: #fff;
  font-weight: 600;
}

#navbar .topMenu .iconMenu {
  width: 48%;
}

/* Slides setup */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: circle(0% at center);
  opacity: 0;
  transition: clip-path 1.8s ease-in-out, opacity 1.8s ease-in-out;
  z-index: -1;
  overflow: hidden;
}

/* Dark overlay to reduce image brightness only */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.192);
  /* Adjust for brightness */
  z-index: 1;
}

/* Active slide is visible with portal reveal */
.slide.active {
  clip-path: circle(150% at center);
  opacity: 1;
  z-index: 0;
}

/* Keep navbar/menu content on top */
.topMenu,
.sideMenu {
  position: relative;
  z-index: 10;
}

/* Text styling and animation (initial state) */
#navbar .slider-area .slide h1 {
  position: relative;
  z-index: 2;
  /* Above overlay */
  color: #ffffff;
  margin-top: 400px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  opacity: 0;
  transform: translateY(30px);
}

/* Animate only when slide is active */
#navbar .slider-area .slide.active h1 {
  animation: slideUp 0.6s ease-out forwards;
}

/* Slide-up keyframe animation */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* navigation side */


#navbar .sideMenu {
  width: 20%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
  background-color: #F5F5F5;
  box-shadow: 0 15px 0 rgba(0, 0, 0, 0.1);
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;

  /* Hidden by default */
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

/* Show when active */
#navbar .sideMenu.active {
  transform: translateX(0);
}

/* Close button style */
#close {
  display: none;
}

#navbar .logo-img {
  width: 100%;
}

#navbar .sideMenu .logo-img img {
  width: 70%;
}

#navbar nav ul {
  list-style: none;
}

#navbar nav ul li {
  margin: 50px 0;
}

#navbar nav ul li a {
  color: #000;
  font-weight: 400;
  position: relative;
}

#navbar nav ul li a:hover {
  color: #03c914;
}

#navbar nav ul li a:hover::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #03c914;
  position: absolute;
  bottom: -4px;
  left: -10px;
}

#navbar nav ul li a.active {
  color: #03c914;
}

#navbar nav ul li a.active::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #03c914;
  position: absolute;
  bottom: -4px;
  left: -10px;
}



/* banner */

#banner {
  background-color: #eaeaeacd;
}


#banner div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#banner div .text-area {
  width: 60%;
  display: inline-block;
}

#banner div .text-area h1 {
  font-size: 75px;
}

#banner div .button-area {
  width: 40%;
}

#banner div .button-area button {
  background-color: #699afc;
  color: #fff;
  margin: auto;
  padding: 15px 30px;
  font-size: 16px;
  transition: transform 1s;
}

#banner div .button-area button:hover {

  transform: scale(1.1);
}

/* sections */

#sections hr {
  margin-top: 18px;
  height: 2px;
  background-color: #3876f3;
  border: none;
  width: 0;
  transform-origin: right;
}

.animate-hr {
  animation: hrSlideIn 1s ease-out forwards;
}

@keyframes hrSlideIn {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}


#sections .section-controller {
  width: 60%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

#sections .section-controller h4 a {
  text-decoration: none;
  color: #000;
  position: relative;
}

#sections .section-controller h4 a.active {
  color: #3876f3;
}



#sections .section-controller h4:nth-child(1) a.active::after,
#sections .section-controller h4:nth-child(2) a.active::after,
#sections .section-controller h4:nth-child(3) a.active::after,
#sections .section-controller h4:nth-child(4) a.active::after {
  content: '';
  width: 150px;
  height: 2px;
  background-color: #3876f3;
  position: absolute;
  bottom: -20px;
  left: 0;
}


.tabcontent {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tabcontent.active-tab {
  display: flex;
  opacity: 1;
}

#Residential,
#Commercial,
#Apartments,
#Office {
  /* display: flex;
  align-items: flex-start;
  justify-content: flex-start; */
  margin-top: 20px;
}

#Residential .rooms,
#Commercial .rooms,
#Apartments .rooms,
#Office .rooms {
  width: 20%;
  margin-right: 20px;
  padding: 0 0 20px 0;
  background-color: #b9b9b92e;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

#Residential .rooms h3,
#Residential .rooms p,
#Commercial .rooms h3,
#Commercial .rooms p,
#Apartments .rooms h3,
#Apartments .rooms p,
#Office .rooms h3,
#Office .rooms p {
  margin: 15px 20px;
}

#Residential .rooms img,
#Commercial .rooms img,
#Apartments .rooms img,
#Office .rooms img {
  width: 100%;
  height: auto;
  transition: transform 1s ease;
}


#Residential .rooms:hover img,
#Commercial .rooms:hover img,
#Apartments .rooms:hover img,
#Office .rooms:hover img {
  transform: scale(1.1);
}

#Residential .rooms div,
#Commercial .rooms div,
#Apartments .rooms div,
#Office .rooms div {
  background-color: #3876f3;
  padding: 10px 15px;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
}



/* right home & highest rated */

#right-home,
#highest-rated {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#right-home .img-area,
#highest-rated .img-area {
  width: 42%;
  position: relative;
}

#right-home .img-area img,
#highest-rated .img-area img {
  width: 100%;
}

#right-home .text-area,
#highest-rated .text-area {
  width: 45%;
}

#right-home .text-area h2,
#highest-rated .text-area h2 {
  font-size: 45px;
  font-weight: 700;
}

#highest-rated .text-area h6 {
  font-size: 15px;
  line-height: 50px;
  margin-bottom: 20px;
}

#right-home .text-area p,
#highest-rated .text-area p {
  line-height: 30px;
}

#right-home .text-area button,
#highest-rated .text-area button {
  background-color: #699afc;
  color: #fff;
  transition: transform 1s ease;
}

#right-home .text-area button:hover,
#highest-rated .text-area button:hover {
  transform: scale(1.1);
}

.banner-middle {
  width: 50%;
  position: absolute;
  top: 30%;
  right: 10%;
}

.banner-middle2 {
  width: 50%;
  position: absolute;
  top: 60%;
  right: 30%;
}

/* brands */

#brands {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 35vh;
  background-color: #fdf5f5;
  margin: 0px 60px;
  position: relative;


}

#brands .brand-img {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  margin: 50px 50px;

}

#brands .brand-img .img-side {
  position: absolute;
  left: -2%;
  bottom: -6%;
}

#brands .brand-img .img-side2 {
  position: absolute;
  right: -2%;
  top: -6%;
}

#brands button {
  color: #3876f3;
  transition: transform 1s ease;
}

#brands button:hover {
  transform: scale(1.1);
}

#brands h4 {
  font-size: 35px;
  font-weight: 600;
}

#brands h4 span {
  color: #3876f3;
  font-weight: 600;
}

/* Find-category */


#Find-category .text-area,
#agents .text-area,
#clients .text-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

#Find-category .text-area .text,
#agents .text-area .text,
#clients .text-area .text {
  width: 50%;
}

#Find-category .text-area .text h2,
#agents .text-area .text h2,
#clients .text-area .text h2 {
  font-weight: 700;
}

#Find-category .text-area div button,
#agents .text-area div button,
#clients .text-area div button {
  transition: transform 1s ease;
  background-color: #3876f3;
  color: #fff;
}

#Find-category .text-area div button:hover,
#agents .text-area div button:hover,
#clients .text-area div button:hover {
  transform: scale(1.1);
}

#Find-category .img-area,
#agents .img-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 80vh;
}

#Find-category .img-area div,
#agents .img-area div {
  width: 30%;
  position: relative;
}

#Find-category .img-area div h4 {
  color: #fff;
  position: absolute;
  bottom: 10%;
  left: 10%;

}

#Find-category .img-area div img {
  width: 100%;
  height: 50%;
  transition: transform 1s;
}

#Find-category .img-area div img:hover {
  transform: scale(1.1)
}

#agents .img-area div img {
  width: 80%;
}

#agents .img-area div {
  transition: transform 1s;
}

#agents .img-area div:hover {
  transform: scale(1.1);
}


/* client  */

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 20%;
  padding: 20px 10px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card .container i {
  color: #ffd700;
}

.card .container p:nth-child(1) {
  margin-bottom: 50px;
}

.container {
  padding: 2px 16px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#clients .slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  justify-content: center;
  /* Center cards initially */
}

#clients .img-area {
  display: flex;
  justify-content: center;
  /* Ensures cards are centered */
  align-items: center;
  gap: 90px;
}

#clients .img-area .card {
  min-width: 300px;
  max-width: 300px;
  margin: 0 10px;
  flex-shrink: 0;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3876f3;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* estimate */

#estimate {}

#estimate .text-area {
  background-color: #ececec;
  padding: 50px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

#estimate .text-area div:nth-child(2) button {
  margin-left: 50px;
}

#estimate .text-area div:nth-child(2) button:nth-child(1) {
  background-color: #3876f3;
  color: #fff;
}

#estimate .text-area div:nth-child(2) button:nth-child(2) {
  color: #3876f3;
}

#estimate .text-area .img-side {
  position: absolute;
  left: -2%;
  bottom: -10%;
  z-index: -1;
}

#estimate .text-area .img-side2 {
  position: absolute;
  right: -2%;
  top: -10%;
  z-index: -1;
}


/* footer */
#footer {
  background-color: #101411;
  padding: 50px 80px 50px 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
}

#footer .contct-details {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
















/* media quary */

@media (max-width: 799px) {
  #navbar .sideMenu {
    width: 40%;
  }

  #navbar .topMenu .iconMenu {
    width: 45%;
  }

  #banner div .text-area h1 {
    font-size: 45px;
    line-height: 45px;
}

#banner div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#banner div .text-area {
    width: 100%;
    display: inline-block;
}

p {
    font-size: 18px;
    margin: 25px 0 50px 0;
}

#banner div .button-area {
    width: 100%;
}

#sections .section-controller {
    width: 100%;
}
#Residential .rooms, #Commercial .rooms, #Apartments .rooms, #Office .rooms {
    width: 100%;
    margin-right: 20px;
}

.section-p1 {
    padding: 40px 60px;
}

#right-home {
    flex-direction: column;
}

#right-home .img-area, #highest-rated .img-area {
    width: 100%;
}
#right-home .text-area, #highest-rated .text-area {
    width: 100%;
    margin-top: 20px;
}

 #highest-rated{
  flex-direction: column-reverse;
 }

 #brands .brand-img {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
#Find-category .text-area {
    flex-direction: column;
    margin-bottom: 0px;
}
#Find-category .text-area .text {
    width: 100%;
}

/* #Find-category .img-area, #agents .img-area {
    height: 35vh;
} */

.slider-container {
  margin-top: 50px;
}

#estimate .text-area {
  flex-direction: column;
}

#footer {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#Find-category .img-area div{
    width: 100%;
    /* margin-bottom: 50px; */
    margin-top: 50px;
}

#Find-category .img-area div {
    width: 100;
    /* margin-bottom: 50px; */
}

#agents{
  margin-top: 2000px;
}
#agents .img-area {
    height: 30vh;
}
}










@media (max-width: 399px) {
#navbar .topMenu .iconMenu {
    width: 75%;
}

  #navbar .sideMenu {
    width: 50%;
  }

  #navbar .logo-img {
    display: none;
  }

  #bar .logoMain img {
    width: 70%;
  }

  #navbar .slider-area .slide h1 {
    line-height: 40px;
    font-size: 35px;
}
#banner div .text-area h1 {
    font-size: 35px;
    line-height: 42px;
}

#tab-hr{
  display: none;
}

.tabcontent.active-tab {
    flex-direction: column;
}

#sections .section-controller {
    flex-direction: column;
}
#sections .section-controller h4{
  margin-bottom: 20px;
}

#sections .section-controller h4:nth-child(1) a.active::after, #sections .section-controller h4:nth-child(2) a.active::after, #sections .section-controller h4:nth-child(3) a.active::after, #sections .section-controller h4:nth-child(4) a.active::after {
    bottom: -10px;
}

#right-home .text-area h2, #highest-rated .text-area h2 {
    font-size: 35px;
    font-weight: 700;
    line-height: 40px;
}

p {
    font-size: 14px;
    margin: 5px 0 5px 0;
}

#Find-category{
  margin-top: 500px;
}

#brands .brand-img .img-side,
#brands .brand-img .img-side2 {
   z-index: -5;
}

h2 {
    font-size: 35px;
    line-height: 44px;
}
#agents {
    margin-top: 734px;
}
#Find-category .text-area, #agents .text-area, #clients .text-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-direction: column;
}

#Find-category .text-area .text, #agents .text-area .text, #clients .text-area .text {
    width: 100%;
}

#agents .img-area div {
    width: 100%;
    overflow-x: auto;
}

#clients{
  margin-top: 650px;
}

h2 {
    font-size: 34px;
    line-height: 30px;
}


#estimate .text-area div:nth-child(2) button {
    margin-left: 0px;
    width: 100%;
    margin-top: 10px;
}

}