/* Container */
.container-p {
    margin: 0 auto;
  color: black;
    font-family: 'Noto Sans', sans-serif;
    margin-bottom: 40px;
}

/* Header */
.header-p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    color: black;
}

.title-p {
    font-family: "Sora", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: black;
}

.icon-container-p {
    display: flex;
    align-items: center;
}

.icon-button-p {
    background: none;
    border: none;
    cursor: pointer;
}

.icon-button-p > i{
    font-size: 20px;
}

/* Profile */
.profile-p {
    display: flex;
    flex-direction: column; 
    margin-top: 20px;
}

.profile-p > .img{
   height: 80px;
   width: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 20px;
    overflow: hidden;
}

.img > img{
    width: 100%;
    object-fit: cover;
}




.profile-info-p {
    flex-grow: 1;
}

.profile-name-p {
    font-size: 18px;
    font-weight: 700;
    font-family: "Sora", sans-serif;
}

.profile-location-p {
    font-size: 14px;
    color: #666;
}


.connect-button-p {
    padding: 10px 20px;
    background-color: #38E078;
    color: black;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;

}

/* Description */
.description-p {
    margin-top: 20px;
}

.description-p h1 {
    font-size: 20px;
    font-weight: 700;
}

.description-p p {
    font-size: 16px;
    line-height: 1.5;
    font-family: "Sora", sans-serif;
}

/*service preview section *?
/* Services Preview */
.services-preview {
    margin-top: 30px;
    width: 100%;
}

.services-preview h2 {
    font-size: 22px;
    font-weight: 700;
    color: black;
    font-family: "Sora", sans-serif;
    margin-bottom: 15px;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Flexible columns */
    padding: 10px;
}

/* Service Box */
.service-box {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
}

.service-box:hover {
    transform: translateY(-5px); /* Slight hover effect */
}

/* Service Image */
.service-img {
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio for square */
    position: relative;
    border-radius: 8px ;
    overflow: hidden;
}

.service-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0px;
}

/* Service Title */
.service-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
    font-family: "Sora", sans-serif;
}

/* Service Link */
.service-link {
    font-size: 14px;
    color: #38E078;
    font-weight: 700;
    margin-top: 5px;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}




/* Pricing */
.pricing-p {
    margin-top: 20px;
}

.pricing-p h2 {
    font-size: 24px;
    font-weight: 700;
    font-family: "Sora", sans-serif;
    color: black;
}

.pricing-p p {
    font-size: 20px;
    font-weight: 500;
    font-family: "Sora", sans-serif;
}

/* Reviews */
.reviews-p {
    margin-top: 20px;
}

.reviews-p h1 {
    font-size: 24px;
    font-weight: 700;
    font-family: "Sora", sans-serif;


}

.review-summary-p {
    display: flex;
    flex-direction: column;
    margin-top: -20px;
}

.rating-div{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: -20px;
}

.rating-p {
    font-size: 24px;
    font-weight: 700;
    font-family: "Sora", sans-serif;
 
}

.rating-div > i{
    color: #38E078;
    margin-left: 5px;
}



.total-reviews-p {
    font-size: 20px;
    color: #38E078;
    font-family: "Sora", sans-serif;
    font-weight: 700;
}

/* the review post section*/
.reviews-post{
    height: auto;
    padding: 10px;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 5px 5px 10px rgb(0, 0, 0,0.2);
}


.post-profile{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.profile-text{
    margin-left: 10px;
}

.like{
    display: flex;
    gap: 10px;
    align-content: center;
}

.points{
    display: flex;
    gap: 3px;
    align-content: center;
}
.points > span{
    font-size: 20px;
    font-weight: 500;
}

.points > i{
    color: #38E078;
    font-size: 15px;
}

.like > i{
    color: #38E078;
    font-size: 20px;
}



/*hiree me section //// */
.hireme{
    width: 90%;
    margin: auto;
    height: 50px;
    background: #38E078;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 15px;
    font-weight: 700;
    font-family: "Sora", sans-serif;
    border-radius: 14px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 300px;
    text-align: left;
}

.modal-content ul {
    list-style-type: none;
    padding: 0;
}

.modal-content li {
    margin: 10px 0;
    cursor: pointer;
    font-size: 16px;
    color: #38E078; /* Adjust color */
    font-weight: bold;
}

.close {
    font-size: 20px;
    font-weight: bold;
    float: right;
    cursor: pointer;
}
