@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;
}
.main-service-prsonal{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

}
.personal-info-container {
    background-color: #fff;
    border: 2px solid #e6e6e6;
    border-radius: 12px;
    padding: 20px 50px;
    width: 90%;
    max-width: 750px;
    border: 2px solid #DECDFA;
    margin: 0px 20px;
}
.service-info-container{
  background-color: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 12px;
  padding: 20px 50px;
  width: 80%;
  max-width: 500px;
  border: 2px solid #DECDFA;
  margin: 0px 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
  
.header h2 {
    font-size: 18px;
    color: #333;
}
  
.header p {
    font-size: 14px;
    color: #888;
}
  
.menu-button {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
}
  
.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
  
.form-group {
    display: flex;
    flex-direction: column;
}
  
.form-group label {
    font-size: 14px;
    color: #303030;
    margin-bottom: 5px;
    font-weight: 500;
}
  
.form-group input, #contractor-address,#org-address,#org-desc,.form-group select{
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
    background-color: #F9FAFB;
    color: rgb(92, 92, 92);
    resize: none;
}
  
.form-group input:focus {
    border-color: #7b61ff;
}
.personal-info-container .header>span{
  font-size: 20px;
  color: gray;
  cursor: pointer;
}
@media (max-width:768px) {
  .main-service-prsonal{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .form{
    display: flex;
    flex-direction: column;
  }
}
/* Org */
.organisation-info-container{
  margin: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #DECDFA;
  padding: 20px 50px;
  border-radius: 10px;
}
.organisation-info-container .form{
  width: 700px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 8px;
}
.organisation-info-container .form .header{
  width: 100%;
  margin-bottom: 10px;
}
.organisation-info-container .form .header>span{
  font-size: 20px;
  color: gray;
  cursor: pointer;
}
.main-profil-card{
  background-color: #F9FAFB;
  padding: 10px;
  border-radius: 15px;
  
}
.profile-card {
  width: 250px;
  background: #fff;
  border-radius: 15px;
  border: 1px solid #DECDFA;
  text-align: center;
  padding: 20px;
  position: relative;
}

.profile-card .image-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid gray;
  border-radius: 50%;
}

.profile-card .add-btn {
  position: absolute;
  bottom: -2px;
  right: 20px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
}
#update-button-org-logo{
  border: 2px solid red;
  color: black;
  z-index: 999;
}
.profile-card h3 {
  margin: 15px 0;
  font-size: 18px;
}

.profile-card .tags {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.profile-card .tag {
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  position: relative;
}

.profile-card .tag .remove {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.profile-card input[type="file"] {
  display: none;
}
#update-btn{
  background-color: #008994;
  color: white;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
 .form .header>span{
  color: gray;
}
/* Personal */
.main-profile-card{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.form-group1 {
    display: flex;
    flex-direction: column;
}
  
.form-group1 label {
    font-size: 14px;
    color: #303030;
    margin-bottom: 5px;
    font-weight: 500;
}
  
.form-group1 input, #contractor-address,#org-address,#org-desc{
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
    background-color: #F9FAFB;
    color: rgb(92, 92, 92);
    resize: none;
}
.form-group1 textarea{
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
    background-color: #F9FAFB;
    color: rgb(92, 92, 92);
    resize: none;
}
#update-btn-unique{
    background-color: #008994;
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}
@media (max-width:768px) {
  .organisation-info-container{
    flex-direction: column-reverse;
  }
  .organisation-info-container .form{
    width: 100%;
  }
  #contractor-address,#org-address,#org-desc{
    height: 100px;
  }
}
/* Srvics */
 .main-construction-services .services-heading,
.main-other-services .services-heading{
    font-size: 16px;
    font-weight: 500;
    color: rgb(54, 54, 54);
    margin-bottom: 10px;
}
.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(209, 209, 209);
    font-size: 14px;
}
.main-construction-services .construction-related-services-list .single-service:nth-child(odd),
.main-other-services .other-related-services-list .single-service:nth-child(odd){
  background-color: rgb(236, 236, 236);
}
.construction-related-services-list .single-service>span:first-child,
.other-related-services-list .single-service>span:first-child{
    font-size: 14px;
    font-weight: 400;
}
.construction-related-services-list .single-service .remove-service,
.other-related-services-list .single-service .remove-service{
    color: red;
    font-weight: bold;
    cursor: pointer;
}
.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;
    width: 100px;
    margin: 10px;
    text-align: center;
}

.main-construction-services .input-container,
.main-other-services .input-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}
.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: #008994;
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.update-buttons>button{
  background-color: #008994;
  color: white;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
/* Projcts */
.projects-info-container{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  padding: 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: center;
  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;
}
/* Modal Styles */
.projects1Modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.projects1Modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
}

.projects1Close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.projects1Close:hover,
.projects1Close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Button Styles */
.projects1Modal button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
}

.projects1Modal button:hover {
  background-color: #45a049;
}

.projects1Modal form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
}

.projects1Modal form>div{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
}

form input {
  margin: 5px 0;
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 200px;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease;
  background-color: #F9FAFB;
  color: rgb(92, 92, 92);
}

.projects1Modal form label {
  margin-top: 10px;
  font-size: 15px;
}

/* Project Box Styles */
.projects-info-container {
  padding: 20px;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.project-box {
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
}

.project-name h4,
.project-price .price,
.project-address .pro-address,
.contractor-name .con-name {
  margin: 5px 0;
}

.project-box .edit-btn{
  margin-top: 10px;
  background-color: #008992;
  color: white;
  border: none;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}
#update-pic-btn,#update-btn-container-logo {
  background-color: #008992;
  color: white;
  border: none;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 5px;
}
.project-box .edit-btn:hover, #update-pic-btn:hover,#update-btn-container-logo:hover {
  background-color: #056e75;
}




  