@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
*{    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}
#builder-name{
    margin: 10px 20px;
    display: flex;
    align-items: center;
    height: 200px;
    justify-content: space-around;
    background-color: rgba(66, 141, 212, 0.301);
    border-radius: 70px 0px 70px 0px;
    
}
#builder-name #profile-pic{
    border: 7px solid rgb(211, 211, 211);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}
#builder-name #profile-pic>img{
    height: 150px;
    width: 150px;
    border-radius: 50%;
}
#builder-name #profile-pic:hover{
    transform: scale(1.05);
}
#builder-name #profile-details{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
#builder-name #profile-details #name{
    font-weight: bold;
    font-size: 20px;
    text-align: end;
}
#builder-name #profile-details #org{
    font-weight: 500;
    font-size: 16px;
    text-align: end;
    color: #d60000;
    padding-left: 5px;
    font-family: "Saira", sans-serif;
}
#builder-name #profile-details #address, #experience{
    font-size: 14px;
    font-weight: 500;
    text-align: end;
}
#builder-name #profile-details #phone, #builder-name #profile-details #email, #response-time{
    font-weight: 500;
    font-size: 14px;
    color: rgb(85, 82, 82);
    text-align: end;
    white-space: inherit;
}
.next-details{
    margin: 40px 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 35px;
}
.next-details .details{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    height: 100px;
    border-radius: 20px;
    text-decoration: none;
    padding: 20px 0px;
    transition: all 0.4s ease-in-out;
}
.next-details .details:hover{
    transform: scale(1.05);
}
.next-details .details>i{
    background-color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 25px;
    color: black;
    position: relative;
    bottom: 48px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    transition: all 0.4s ease-in-out;
}
.next-details .details>span{
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    bottom: 23px;
}
.next-details .abtcompany{
    background-color: #7A2350;
    i{
        color: #7A2350;
    }
}

.next-details .projects{
    background-color: #009945;
    i{
        color: #009945;
    }
}
.next-details .service{
    background-color: #038598;
    i{
        color: #038598;
    }
}

.next-details .reviews{
    background-color: #F6C200;
    i{
       
        color: #F6C200;
    }
}
#myDiv{
    display: flex;
    align-items: center;
    justify-content:center;
    position: relative;
    right: 10px;
}
@media (max-width:768px) {
    #builder-name{
        display: flex;
        flex-direction: column;
        height: max-content;
        gap: 20px;
        padding: 10px;
    }
    #builder-name #profile-details{
        align-items: center;
        justify-content: center;
    }
    #builder-name #profile-details #address{
        text-align: center;
    }
}

/* about Company */
.main-aboutcompany{
    padding: 20px;
}
.main-aboutcompany .about-container-heading{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 50px;
    color: #424242;
}
.about-company{
    display: flex;
    flex-wrap:wrap;
    justify-content: space-around;
    align-items: center;
}
.about-company .company-details{
    display: flex;
    width: 50%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    padding:20px;
    background-color: rgba(66, 141, 212, 0.301);
    border-radius: 0px 60px 0px 60px;
}
.about-company .company-details #details{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70%;
}
.about-company .company-details #details>span:first-child{
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Saira", sans-serif;
    color: #d60000;
}

.about-company .company-details #details>span:nth-child(2){
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2f5891;
    i{
        font-size: 18px;
    }
}
.about-company .company-details #details>span:nth-child(3){
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: rgb(75, 75, 75);
    i{
        position: relative;
        top: 2px;
        font-size: 18px;
    }
}
.about-company .company-details #details>span:nth-child(4){
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-family: "Saira", sans-serif;
    color: rgb(75, 75, 75);
    i{
        position: relative;
        top: 2px;
        font-size: 18px;
    }
}
.about-company .company-details #details>span:nth-child(5){
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Saira", sans-serif;
    color: rgb(75, 75, 75);
    i{
        font-size: 18px;
    }
}
.about-company .company-details #details>span:last-child{
    font-size: 15px;
    font-weight: 500;
    display: flex;
    gap: 5px;
    font-family: "Saira", sans-serif;
    color: #000000;
    i{
        font-size: 18px;
    }
    a{
        color: #000000;
        font-size: 13px;
    }
}
.about-company .company-details #logo>img{
    border: 8px solid rgb(207, 207, 207);
    height: 130px;
    width: 130px;
    border-radius: 50%;
    background-color: white;
}



@media (max-width:768px) {
    .about-company .company-details{
        padding: 20px 10px;
        width: 90%;
        flex-direction: column-reverse;
    }
}

/* Projects */
.main-projects{
    padding: 20px;
}
.project-container-heading{
    padding: 0px 0px 0px 50px;
    margin-bottom: 20px;
  }
  .project-container-heading>span{
    font-size: 20px;
    font-weight: 500;
    color: rgb(66, 66, 66);
  }
  .project-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
  }
  .left, .mid, .right{
    margin-top: 20px;
    padding: 5px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .left, .right{
    flex-wrap: wrap;
  }
  .right{
    display: flex;
    flex-wrap: wrap;
  }
  @media(max-width:1200px){
    .project-container{
      margin-top: 20px;
    }
    .left ,.right,.mid{
      margin-top: 0px;
      flex-wrap: wrap;
    }
    .project-container{
      display: flex;
      flex-direction: none;
    }
    .right{
      display: flex;
      justify-content: center;
      flex-direction: row;
      width: 100%;
    }
  }
  
  .project-box{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 8px;
    padding-bottom: 10px;
    border: 1px solid ghostwhite;
    max-width: 350px;
    width: 100%;
    background-color: white;
    transition: all 0.2s ease-in-out;
    flex-wrap: wrap;
  }
  .project-box:hover{
    transform: scale(1.02);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  }
  /* slider for image and video */
  
  
  .slider-container {
    width: 100%;
    max-width: 350px;
    margin: 0px 0;
    position: relative;
    overflow: hidden;
    /* border: 2px solid #ccc; */
    border-radius: 10px 10px 0px 0px;
  }
  
  .content-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    height: 100%;
    max-width: 350px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
  }
  
  .slide img, .slide video {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
  }
  
  button.prev {
    left: 10px;
  }
  
  button.next {
    right: 10px;
  }
  
  button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* .views, .likes {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 2;
  }
  
  .views {
    top: 10px;
    left: 10px;
    font-size: 12px;
  }
  
  .likes {
    top: 10px;
    right: 10px;
    font-size: 12px;
  } */
  
  .like-button {
    /* position: absolute; */
    /* bottom: 10px; */
    right: 10px;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* color: white; */
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    /* z-index: 2; */
    border-radius: 5px;
    font-size: 12px;
  }
  
  .like-button:hover {
    background-color: rgba(224, 224, 224, 0.8);
  }
  .like-button .fa-heart {
  color: gray;
  transition: color 0.3s ease;
  }
  
  .like-button.liked .fa-heart {
  color: red;
  }
  .like-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  }
  .like-button i{
  font-size: 16px;
  margin-right: 4px;
  }
  .like-button.liked i {
  color: red; /* Red color for liked state */
  transition: color 0.3s;
  }
  
  .pro-box-descrp{
    margin-top: 6px;
    margin-left: 10px;
    margin-right: 10px;
    /* padding-left: 5px;
    padding-right: 5px; */
  }
  .project-name{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pro-name{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0px;
  }
  .contractor-name{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .con-name{
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
  }
  .con-name:hover{
    transform: scale(1.02);
  
  }
  .contractor-name .quote{
    width: 80px;
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 0px;
    border-radius: 12px;
    color: #008994;
    border: 1px solid #008994;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
  }
  .contractor-name .quote:hover{
    background-color: #008994;
    color: white;
  }
  .project-price .price{
    font-size: 14px;
    font-weight: 500;
  }
  .project-address .pro-address{
    font-size: 14px;
    font-weight: 500;
  }
  .desp{
    display: flex;
    justify-content: space-evenly;
    gap: 5px;
    margin-top: 5px;
    margin-bottom: 2px;
    flex-wrap: wrap;
  }
  .desp .feature{
    width: max-content;
    font-size: clamp(10px,3vw,8px);
    font-weight: 400;
    padding: 2px 6px;
    border: 1px solid rgb(181, 181, 181);
    border-radius: 12px;
    transition: all 0.19s ease-in-out;
    cursor: pointer;
  }
  .desp .feature:hover{
    transform: scale(1.06);
  }
  .delete-btn{
    border: none;
    color: red;
    cursor: pointer;
  }
  .main-add-projct{
    width: 100%;
    margin-top: 10px;
  }
  #addProjectBtn{
    margin-left: 20px;
    font-size: 14px;
    background-color: #0B3A62;
    width: max-content;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
  }

/* Services */
.main-services{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.main-services .sub-main-services{
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.main-services .main-service-heading1{
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    color: #424242;
    padding-left: 50px;
}
.main-services .main-construction-services, .main-services .main-other-services{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

}
.main-services .main-construction-services .services-heading,
.main-services .main-other-services .services-heading{
    font-size: 16px;
    font-weight: 500;
    color: rgb(54, 54, 54);
}
.main-construction-services .construction-related-services-list,
.main-other-services .other-related-services-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}
.main-construction-services .construction-related-services-list .single-service,
.main-other-services .other-related-services-list .single-service{
    border: 1px solid grey;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 20px;
    /* background-color: rgb(216, 216, 216); */
}

.construction-related-services-list .single-service>span:first-child,
.other-related-services-list .single-service>span:first-child{
    font-size: 14px;
}
.construction-related-services-list .single-service .remove-service,
.other-related-services-list .single-service .remove-service{
    color: red;
    font-weight: bold;
    cursor: pointer;
}
.construction-related-services-list div:nth-child(odd){
    background-color: rgb(216, 216, 216);
}
.construction-related-services-list div:nth-child(even){
    background-color: rgb(255, 255, 255);
}
.main-construction-services #add-construction-service,
.main-other-services  #add-other-service{
    background-color: #D96F2C;
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.other-related-services-list div:nth-child(odd){
    background-color: rgb(216, 216, 216);
}
.other-related-services-list div:nth-child(even){
    background-color: rgb(255, 255, 255);
}
.main-construction-services .input-container,
.main-other-services .input-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.main-construction-services .input-container>input,
.main-other-services .input-container>input{
    padding: 5px;
    font-size: 14px;
    border: 1px solid grey;
    border-radius: 5px;
}
.main-construction-services .input-container>span,
.main-other-services .input-container>span{
    background-color: #0B3A62;
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
@media (max-width:860px) {
    .project-all-details .main-services{
        width: 80%;
    }
}

/* review */
.main-review{
    padding: 20px;
}
.main-review .review-container-heading{
    font-size: 20px;
    font-weight: bold;
    color: #424242;
    margin-left: 50px;
}
.main-review #section-review{
    display: flex;
    align-items: center;
    justify-content: center;
}
#add{
    padding: 20px;
    width: 10%;
    height: 5%;
    text-align: center;
    margin: 10px;
    font-size: 50px;
    font-size: clamp(30px,3vw,50px);
    background-color: rgb(241, 241, 241);
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
#add:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
#addreview{
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
}

#addreview>article{
    margin: 10px;
}

.star{
    margin: 20px;
}
.star>i{
    gap: 10px;
    color: rgb(255, 217, 0);
    font-size: 20px;
}
#btn-group{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.btn{
    padding: 10px 20px ;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor:not-allowed;
}
.btn.submit{
    background-color: blue;
    color: white;
}
.btn.submit:hover{
    background-color: rgb(57, 57, 253);
}
.btn.cancel{
    color: blue;
    background-color: rgb(248, 247, 247);
}
.btn.cancel:hover{
    background-color: rgb(240, 239, 239);
}
.star .st{
    cursor: not-allowed;
}
.star .st.active{
    opacity: 0;
    animation: animate .5s ease-in-out forwards;
}
@keyframes animate  {
    0%{
        opacity: 0;
        transform: scale(1);
    }
    50%{
        opacity: 1;
        transform: scale(1.2);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}
.star .st:hover{
    transform: scale(1.2);
}
#rating-sections{
    display: none;
    margin-top: 20px;
   
    padding: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-radius: 10px;
    i{
      color: #f8d406;
      
    }
}
.review-details{
    margin: 5px;
    padding: 10px 20px;
    display: flex;
    align-items:center ;
    gap: 10px;
    border-radius: 10px;
    background-color: rgb(238, 238, 238);
    font-size: 13px;
}

#commentername, #reviewcomments{
    background-color: transparent;
    border: none;  
    outline: none;
    cursor: not-allowed;
}

.review-item {
  max-width: 300px;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  background-color: rgb(209, 243, 255);
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.review-header .name {
  font-weight: bold;
}
.review-header .date {
  font-size: 12px;
  color: gray;
}
#rateandcomment{
    width: 30%;
    padding: 10px;
    background-color: rgb(207, 239, 243);
}
#rating-done{
    font-size: 15px;
    font-weight: 500;
}
#rating-done>i{
    color: #FFD900;
}
#comment-done{
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
}
.review-type{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    justify-content: center;
}
.review-type>span{
    border: 1px solid black;
    padding: 5px;
    font-size: 13px;
}
.review-type .selected{
    background-color: #286DB3;
    color: white;
}

@media (max-width:768px) {
    #add{
        text-align: center;
        /* width: 20%; */
        width: 50%;
    height: 2%;
    }
    #section-review{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }
    #addreview{
        width: 90%;
    }
    #rateandcomment{
        width: 90%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    #comment-done{
        width: 100%;
    }
    #reviewcomments{
        width: 90%;
    }
    
}
.selected-spans{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 15px;
    justify-content: space-evenly;
}
.selected-spans span{
    border: 1px solid black;
    padding: 5px;
    border-radius: 10px;
}
.ratings-done{
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
}
.ratings-done>section{
    display: flex;
    width: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    gap: 15px;
    border-radius: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.ratings-done>section .star-rate>i{
    color: rgb(255, 217, 0);
}
.ratings-done>section .rate-type{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 5px;
}
.ratings-done>section .rate-type>span{
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px;
    font-size: 13px;
}
.ratings-done>section>div:nth-child(3){
    font-weight: 500;
}
.ratings-done>section>div:last-child{
    font-size: 12px;
}