/*
 * professional-detail.css
 * Compiled from:
 *   frontend-nextjs/src/views/pages/ProfessionalListingPage/_professional-detail.scss
 *   frontend-nextjs/src/views/pages/ProfessionalLandingPage/_professional-info.scss
 *   frontend-nextjs/src/views/pages/ProfessionalListingPage/_hireus-cta.scss
 *
 * Page: /nearby-professional/:slug/
 * Template: page-nearby-professional-single.php
 */

/* ============================================================
   PROFESSIONAL DETAIL WRAP
   Source: _professional-detail.scss .professional-detail-wrap
   ============================================================ */
.professional-detail-wrap {
  padding: 55px 0;
}

@media (max-width: 991px) {
  .professional-detail-wrap {
    padding-top: 20px;
  }
}

.professional-detail-wrap .detail-title {
  font-size: 28px;
  line-height: 115%;
  font-weight: 400;
  font-family: "DM Serif Display", serif;
  color: #232528;
  padding-bottom: 20px;
}

@media (max-width: 767px) {
  .professional-detail-wrap .detail-title {
    font-size: 24px;
  }
}

/* Description */
.professional-detail-wrap .detail-desc {
  font-size: 18px;
  line-height: 160%;
  color: #7b7c7e;
  padding-bottom: 50px;
}

@media (max-width: 767px) {
  .professional-detail-wrap .detail-desc {
    font-size: 14px;
    padding-bottom: 30px;
  }
}

/* Services */
.professional-detail-wrap .detail-services {
  padding-bottom: 50px;
}

@media (max-width: 991px) {
  .professional-detail-wrap .detail-services {
    padding-bottom: 20px;
  }
}

.professional-detail-wrap .detail-services ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.professional-detail-wrap .detail-services ul li {
  padding-right: 25px;
  padding-bottom: 20px;
}

@media (max-width: 991px) {
  .professional-detail-wrap .detail-services ul li {
    padding-right: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 767px) {
  .professional-detail-wrap .detail-services ul li {
    padding-right: 8px;
    padding-bottom: 8px;
  }
}

.professional-detail-wrap .detail-services ul li span,
.professional-detail-wrap .detail-services ul li a {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  color: #19263a;
  padding: 16px 28px;
  border: 1px solid rgba(123, 124, 126, 0.3);
  border-radius: 44px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

@media (max-width: 991px) {
  .professional-detail-wrap .detail-services ul li span,
  .professional-detail-wrap .detail-services ul li a {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
  }
}

@media (max-width: 767px) {
  .professional-detail-wrap .detail-services ul li span,
  .professional-detail-wrap .detail-services ul li a {
    font-size: 12px;
    padding: 10px 14px;
  }
}

.professional-detail-wrap .detail-services ul li span:hover,
.professional-detail-wrap .detail-services ul li a:hover {
  color: #e78125;
}

/* Projects */
.professional-detail-wrap .professional-projects {
  padding-bottom: 76px;
}

@media (max-width: 767px) {
  .professional-detail-wrap .professional-projects {
    padding-bottom: 40px;
  }
}

.professional-detail-wrap .hire-us-cta-wrap {
  padding-bottom: 70px;
}

@media (max-width: 767px) {
  .professional-detail-wrap .hire-us-cta-wrap {
    padding-bottom: 40px;
  }
}

/* Projects grid */
.projects-list ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7px;
  list-style: none;
  padding: 0;
}

.projects-list ul li {
  padding: 0 7px 14px;
  width: 50%;
}

@media (max-width: 767px) {
  .projects-list ul li {
    width: 100%;
  }
}

/* ============================================================
   PROFESSIONAL INFO WRAP (left sidebar)
   Source: _professional-info.scss .professional-info-wrap
   ============================================================ */
.professional-info-wrap .logo-title {
  padding-bottom: 56px;
}

@media (max-width: 991px) {
  .professional-info-wrap .logo-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 30px;
  }
}

.professional-info-wrap .logo-title .img {
  max-width: 182px;
  padding-bottom: 26px;
}

@media (max-width: 991px) {
  .professional-info-wrap .logo-title .img {
    flex-shrink: 0;
    width: 182px;
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .professional-info-wrap .logo-title .img {
    width: 120px;
  }
}

.professional-info-wrap .logo-title .img img {
  width: 100%;
  height: auto;
  display: block;
}

.professional-info-wrap .logo-title .h3 {
  font-size: 42px;
  line-height: 115%;
  font-weight: 400;
  font-family: "DM Serif Display", serif;
  color: #19263a;
}

@media (max-width: 991px) {
  .professional-info-wrap .logo-title .h3 {
    font-size: 30px;
    width: calc(100% - 182px);
    padding-left: 16px;
  }
}

@media (max-width: 767px) {
  .professional-info-wrap .logo-title .h3 {
    font-size: 26px;
    width: calc(100% - 120px);
  }
}

.professional-info-wrap .logo-title .save-profile-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 18px;
  color: #173055;
  padding-top: 20px;
}

@media (max-width: 767px) {
  .professional-info-wrap .logo-title .save-profile-wrap {
    padding-top: 0;
    font-size: 14px;
    font-weight: 500;
  }
}

.professional-info-wrap .logo-title .save-profile-wrap .bookmark-btn {
  flex-shrink: 0;
  width: 63px;
  height: 63px;
  margin-right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #e78125;
  border: 0;
  background: #fff;
  box-shadow: 0px 3px 11px rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease-in-out;
  padding-left: 0;
}

@media (max-width: 767px) {
  .professional-info-wrap .logo-title .save-profile-wrap .bookmark-btn {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
}

/* Info list */
.professional-info-wrap .professional-info-list {
  padding-bottom: 30px;
}

.professional-info-wrap .info-list {
  max-width: 316px;
}

@media (max-width: 991px) {
  .professional-info-wrap .info-list {
    max-width: 100%;
  }
}

.professional-info-wrap .info-list ul {
  padding-bottom: 8px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.professional-info-wrap .info-list ul li {
  display: flex;
  padding-bottom: 29px;
}

.professional-info-wrap .info-list ul li .icon {
  color: #e78125;
  font-size: 20px;
  width: 35px;
  flex-shrink: 0;
  padding-top: 2px;
  line-height: 1;
}

@media (max-width: 991px) {
  .professional-info-wrap .info-list ul li .icon {
    font-size: 18px;
  }
}

.professional-info-wrap .info-list ul li .icon svg {
  display: block;
}

.professional-info-wrap .info-list ul li .txt {
  font-size: 18px;
  line-height: 160%;
  color: #232528;
}

@media (max-width: 991px) {
  .professional-info-wrap .info-list ul li .txt {
    font-size: 14px;
  }
}

.professional-info-wrap .info-list ul li .txt > a,
.professional-info-wrap .info-list ul li .txt > button {
  color: #232528;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 160%;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

@media (max-width: 991px) {
  .professional-info-wrap .info-list ul li .txt > a,
  .professional-info-wrap .info-list ul li .txt > button {
    font-size: 14px;
  }
}

.professional-info-wrap .info-list ul li .txt > a:hover,
.professional-info-wrap .info-list ul li .txt > button:hover {
  color: #e78125;
}

/* View Direction link */
.professional-info-wrap .btn-link--primary {
  color: #e78125;
  font-size: 14px;
  padding: 0;
  text-decoration: none;
  background: none;
  border: none;
  transition: color 0.3s;
}

.professional-info-wrap .btn-link--primary:hover {
  color: #19263a;
  text-decoration: underline;
}

/* Timing wrap */
.professional-info-wrap .timing-wrap {
  padding: 29px 0;
  max-width: 316px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 29px;
}

@media (max-width: 991px) {
  .professional-info-wrap .timing-wrap {
    max-width: 100%;
  }
}

.professional-info-wrap .timing-wrap h5 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #292929;
  padding-bottom: 15px;
}

.professional-info-wrap .timing-wrap p {
  font-size: 18px;
  line-height: 160%;
  color: #232528;
  margin-bottom: 10px;
  text-transform: capitalize;
}

@media (max-width: 991px) {
  .professional-info-wrap .timing-wrap p {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

/* ============================================================
   HIRE US CTA
   Source: _hireus-cta.scss .hire-us-cta-wrap
   ============================================================ */
.hire-us-box {
  background: #152c58;
  padding: 32px 46px 40px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 767px) {
  .hire-us-box {
    padding: 40px 20px;
  }
}

.hire-us-box::after {
  content: "";
  width: 148px;
  height: 184px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: url("../images/logo-icon-bg.png") no-repeat;
}

.hire-us-box h2 {
  font-size: 34px;
  line-height: 130%;
  color: #fff;
  font-family: "DM Serif Display", serif;
  padding-bottom: 5px;
}

@media (max-width: 767px) {
  .hire-us-box h2 {
    font-size: 28px;
  }
}

.hire-us-box p {
  font-size: 14px;
  line-height: 147%;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
  .hire-us-box p {
    font-size: 12px;
  }
}

.hire-us-box .cta {
  padding-top: 25px;
}

.hire-us-box .btn-link--white {
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.hire-us-box .btn-link--white:hover {
  color: #e78125;
}

/* ============================================================
   HIRE US MODAL
   ============================================================ */
#hire-us-modal,
#callback-modal,
#ask-question-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#hire-us-modal.show,
#callback-modal.show,
#ask-question-modal.show {
  display: flex;
}

.gp-modal-inner {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.gp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #232528;
  line-height: 1;
  padding: 4px;
}

.gp-modal-close:hover {
  color: #e78125;
}

.gp-modal-inner h2 {
  font-size: 28px;
  color: #19263a;
  font-family: "DM Serif Display", serif;
  margin-bottom: 24px;
}

.gp-modal-inner .form-group {
  margin-bottom: 16px;
}

.gp-modal-inner .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #232528;
  margin-bottom: 6px;
}

.gp-modal-inner .form-group input,
.gp-modal-inner .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(123, 124, 126, 0.4);
  border-radius: 4px;
  font-size: 15px;
  color: #232528;
  background: #fff;
  outline: none;
  transition: border-color 0.3s;
}

.gp-modal-inner .form-group input:focus,
.gp-modal-inner .form-group textarea:focus {
  border-color: #e78125;
}

.gp-modal-inner .form-group textarea {
  height: 100px;
  resize: vertical;
}

.gp-modal-inner .form-footer {
  margin-top: 20px;
  text-align: right;
}

/* Inline validation errors — matches React .form-error */
.gp-modal-inner .form-group .form-error {
  font-size: 12px;
  font-weight: 500;
  color: #dc3545;
  padding-top: 4px;
  min-height: 0;
}

/* Submit button loading spinner */
.gp-btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gp-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

@keyframes gp-spin {
  to { transform: rotate(360deg); }
}

/* Success modal */
#gp-success-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#gp-success-modal.show {
  display: flex;
}

.gp-success-modal-inner {
  max-width: 453px;
}

.success-modal-content {
  text-align: center;
  padding: 26px 0;
}

.success-modal-content .img {
  max-width: 148px;
  margin: 0 auto;
  padding-bottom: 14px;
}

.success-modal-content .img img {
  width: 100%;
  height: auto;
}

.success-modal-content .txt p {
  font-size: 22px;
  line-height: 116%;
  color: #19263a;
  font-weight: 500;
  margin-bottom: 6px;
}

.success-modal-content .txt h3 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  font-family: "DM Serif Display", serif;
  color: #19263a;
  padding-bottom: 32px;
}

.success-modal-content .cta {
  margin-top: 0;
}
.collection-box--project {
  max-width: 100%;
}

.collection-box--project .collection-box__img button.js-project-popup {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.collection-box--project .collection-box__img button.js-project-popup img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   PROJECT IMAGE POPUP
   ============================================================ */
.gp-project-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-project-popup[hidden] {
  display: none;
}

.gp-project-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.gp-project-popup__inner {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

@media (max-width: 767px) {
  .gp-project-popup__inner {
    padding: 24px 20px;
  }
}

.gp-project-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #232528;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.gp-project-popup__close:hover {
  color: #e78125;
}

.gp-project-popup__title h2 {
  font-size: 24px;
  line-height: 130%;
  color: #19263a;
  font-family: "DM Serif Display", serif;
  margin-bottom: 20px;
  padding-right: 30px;
}

.gp-project-popup__img {
  margin-bottom: 20px;
}

.gp-project-popup__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.gp-project-popup__city {
  font-size: 18px;
  font-weight: 500;
  color: #232528;
  margin-bottom: 10px;
}

.gp-project-popup__excerpt {
  font-size: 15px;
  line-height: 160%;
  color: #7b7c7e;
  margin: 0;
}
.blog-cta-box {
  margin-top: 0;
}
.blog-cta-wrap {
  padding-top: 70px;
}
