img {
    width: 100%;
    height: auto;
}

.inspector-profile {
    padding: 30px 0;
}

.inspector-profile .bg {
    padding: 30px;
}

.profile-page .outline-btn {
    color: #1e1e1e;
    border: 1px solid #1e1e1e;
    background-color: transparent;
}

.profile-page .outline-btn:hover {
    color: white;
    border: 1px solid transparent;
    background-color: #1e1e1e;
}

.inspector-profile h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1e1e1e;
    text-transform: unset;
}

.inspector-profile h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e1e1e;
}

.title-mb h3 {
    margin-bottom: 17px;
}

.profile-page i {
    color: #0075c4;
}

.inspector-profile i {
    font-size: 24px;
}

.profile-page .flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inspector-profile p {
    font-size: 20px;
}


/* header  */

.search-field {
    width: 100%;
    max-width: 445px;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.search-field input {
    padding: 13px 45px 13px 20px;
    border-radius: 8px;
    border: 1px solid #b3b3b3;
    color: #b3b3b3 !important;
    font-size: 20px;
}

.search-field input::placeholder {
    color: #b3b3b3;
}

.src-bar {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 15px;
    width: max-content;
    height: max-content;
    bottom: 0;
    margin: auto;
}


/* inspector-info  */

.inspector-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.inspector-info h2 {
    margin-bottom: 1px;
}

.info-img img {
    max-width: 200px;
    border-radius: 50%;
}

.specs {
    display: flex;
    align-content: inherit;
    gap: 12px;
    margin: 18px 0;
}

.highlight {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    border-radius: 39px;
    background-color: #ededed;
    color: #727272;
    font-size: 16px;
    font-weight: 500;
    /* Prevent individual tags from breaking onto multiple lines */
    white-space: nowrap;
}

/* Improve responsiveness of tags row between 1200px and 1399px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .specs {
        /* Allow whole tag pills to wrap neatly to new lines */
        flex-wrap: wrap;
    }
}

.rating-views {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-page .stars i {
    color: #fbac01;
}

.info-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* about  */

.about-text p {
    font-size: 17px;
    max-width: 1230px;
}


/* service-wrapper  */

@media (min-width: 992px) {
    .service-wrapper .row>div {
        width: 20%;
    }
}

.img-card img {
    border-radius: 12px;
}

.img-card p {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}


/* service area  */

.color-card {
    background-color: #e6efff;
    margin-top: 15px;
    padding: 16px;
    border-radius: 8px;
}

.color-card h5 {
    font-size: 20px;
    font-weight: 700;
}

.color-card p {
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    margin-top: 6px;
}


/* contact-method  */

.contact-method ul {
    list-style-type: none;
}

.contact-method a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #727272;
    font-size: 18px;
    font-weight: 500;
}

.vertical-border {
    width: 1px;
    min-height: 20px;
    border: 1px solid #e5e5e5;
    opacity: 0.5;
    margin: 9px 0;
    border-radius: 1px;
}


/* Review section */

.review-card .stars {
    color: #ffab1c;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
}

.profile-page .review-card p {
    margin: 15px 0;
    color: #58595b;
    font-size: 14.8px;
    min-height: 130px;
}

.reviewer {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #c4cacf;
}

.reviewer-img {
    width: 42px;
    aspect-ratio: 1;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 50%;
}

.reviewer h5 {
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
}

.profile-page .review-card {
    background-color: #e6efff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

.load-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.load-button button {
    padding: 0;
    background-color: transparent;
    border: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #1e1e1e;
}

.profile-page .load-button i {
    font-size: 16px;
    color: #1e1e1e;
}

.landing-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 1199px) {
    .search-field input {
        font-size: 16px;
    }
    .inspector-profile .bg {
        padding: 20px;
    }
    .info-img img {
        max-width: 300px;
    }
    .specs {
        flex-wrap: wrap;
        gap: 10px;
        margin: 14px 0;
    }
    .inspector-info h2 {
        font-size: 35px;
    }
    .landing-avatar h2 {
        font-size: 35px;
    }
    .inspector-profile p {
        font-size: 16px;
    }
    .info-buttons {
        gap: 10px;
    }
    .inspector-profile .bttn-2 {
        font-size: 16px;
    }
    .profile-page .review-card p {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .inspector-profile h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .inspector-profile p {
        font-size: 14px;
    }
    .search-field input {
        padding: 8px 35px 8px 10px;
        ;
    }
    .search-field .src-bar i {
        font-size: 15px;
    }
    .highlight {
        font-size: 14px;
    }
    .color-card {
        padding: 12px;
    }
    .color-card h5 {
        font-size: 16px;
    }
    .inspector-profile i {
        font-size: 20px;
    }
    .contact-method a {
        font-size: 14px;
    }
    .vertical-border {
        margin: 7px 0;
    }
    .load-button button {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .inspector-profile {
        padding: 10px 0;
    }
    .inspector-profile .bg {
        padding: 15px;
    }
    .inspector-info {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    .inspector-info h2 {
        font-size: 25px;
    }
    .landing-avatar {
        display: block !important;
        text-align: center !important;
    }
    .landing-avatar h2 {
        font-size: 25px;
    }
    .info-img img {
        max-width: 120px;
    }
    .inspector-info .text {
        text-align: center;
    }
    .specs {
        justify-content: center;
    }
    .vertical-border {
        margin: 8px 0 8px 9px;
        min-height: 15px;
    }
    .rating-views {
        justify-content: center;
    }
    .load-button button {
        gap: 5px;
    }
    .profile-page .load-button i {
        font-size: 14px;
    }
}
