/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/* Consultants Page Template Styles */



.consultants-intro {
  padding-right: 30px;
  margin-bottom: 2rem;
  text-align: left;
}

.consultants-intro h2 {
   color: #0556a7;
}

.consultants-intro h3 {
    margin-bottom: 50px !important;
}

.consultants-intro .howitworks .wpb_wrapper {
    max-width: 100%;
}

.howitworks, .howitworks p, .howitworks h4 {
    color: white;
}

.howitworks .vc_column-inner {
    border-radius: 20px !important;
}

.howitworks h4 {
    font-size: 20px;
    text-transform: uppercase;
}

.howitworks li {
    font-size: 1rem;
    line-height: 1.9rem;
    margin-bottom: 10px;
}


.consultant-filters {
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}


.consultant-filters button,
.consultant-filters input[type="text"] {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  background: transparent;
  font-weight: 500;
   color: white;
  min-width: 200px;
}


.consultant-filters select {
    color: black;
    width: 300px;
    display: inline-block;
    margin-right: 20px;
}

#consultant-filter-form {
    display: flex;
    max-width: 700px;
}

.consultant-filters select:focus,
.consultant-filters input[type="text"]:focus {
  outline: none;
  border-color: #0556a7;
}

.consultants-grid {
    margin-bottom: 40px;
}



.consultants-grid-inner {
   display: flex;
  justify-content: center;
  gap: 2rem 4rem;
    flex-wrap: wrap;
}

.consultant-card {
      display: flex;
    flex-direction: column;
    height: 415px; 
    width: 270px;
  text-align: center;
  padding: 0px 0px 15px;
  background: #fff;
  box-shadow: 0 6px 12px 2px rgba(0,0,0,0.05);
  max-width: 300px;
}

.consultant-card img {
  width: 100%;
  max-width: 300px;
  border: 8px solid rgba(54, 111, 180, 0.2);
  box-shadow: 0 0 0 2px white inset;
  margin: 0 auto 1.5rem;
  display: block;
}

.consultant-card .consultant-photo {
    height: 300px;
    width: 100%;
    position: relative;
}

.consultant-card .consultant-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.consultant-card h3 {
    color: #0556a7;
    height: 63px;
    font-size: 25px !important;
    line-height: 29px !important;
    margin: 15px 15px 0px;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.consultant-card p.consultant-title {
  font-size: 0.85rem;
  margin: 0px 15px;
  padding: 0px;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
}

.consultant-card .location {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.consultant-info {
    display: flex;
    flex-direction: column;
    flex: 1; 
    justify-content: space-between;
}

.consultant-card a.consultant-cta {
  display: block;
  width: auto;
  margin: 10px 15px 0px;
  padding: 0.5rem 1.25rem;
  color: white;
  border-radius: 30px;
  background-color: #0556a7;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.consultant-card a.consultant-cta:hover {
    background-color: #366FB4;
}

.consultant-buttons {
    flex-direction: column;
  
    display: flex;
    gap: 5px; 
}

@media (max-width: 768px) {
  .consultant-filters {
    flex-direction: column;
    align-items: center;
  }
    
    #consultant-filter-form {
        flex-wrap: wrap;
    }
    
#consultant-filter-form button[type=submit] {
    margin-top: 15px;
    }
    
    .consultant-filters select {
         margin-top: 15px;
    }
}

/* Single Consultant Styles */

.single-consultant .consultant-single-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.single-consultant .consultant-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.single-consultant .consultant-photo {
  height: 400px;
  position: relative;
 
}

.single-consultant .consultant-col1 {
     flex: 1 1 300px;
     height: 450px;
     position: relative;
}

.single-consultant .consultant-col1 a.button {
    margin-top: 15px;
}

.single-consultant .consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  border: 8px solid rgba(54, 111, 180, 0.2);
  box-shadow: 0 0 0 2px white inset;
}

.single-consultant .consultant-details {
  flex: 2 1 400px;
}

.single-consultant .consultant-details h1 {
    font-size: 2rem;
    line-height: 2rem;
    color: #0556a7;
    margin-bottom: 10px;
}

.single-consultant .consultant-title {
    font-size: 1rem;
    line-height: 1.3rem;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.single-consultant .consultant-bio {
  font-size: 1rem;
    line-height: 1.6rem;
  margin-bottom: 1rem;
  color: #000;
}

.consultant-specialties {
   font-size: 0.9rem;
    line-height: 1.6rem;
  margin-bottom: 3rem;
  color: #0556a7;
}

.single-consultant .consultant-contact {
  list-style: none;
  padding: 0;
    margin-left: 0px;
}

.single-consultant .consultant-contact li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
    list-style-type: none;
}

.single-consultant .consultant-contact a {
  color: #0556a7;
  text-decoration: none;
}

.single-consultant .button.blue, .booking-modal-body input[type="submit"] {
    text-align: center;
    display: block;
    width: auto;
    margin: 10px auto 0px;
    padding: 0.75rem 2.25rem;
    color: white;
    border-radius: 30px;
    max-width: 300px;
    background-color: #0556a7;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.5;
}

.single-consultant .button.blue:hover {
    background: #366FB4;
    transition: 0.4s all;
    color: white;
}

.nf-error-msg, .ninja-forms-req-symbol {
        color: #66a5d9 !important;
}


@media (max-width: 768px) {

.single-consultant .consultant-col1 {
    height: auto;
}
    
}

.byyintro h3, .byyintro p {
    color: white;
}

/* Consultant Slider */

.consultants-slider-section {
    margin-bottom: 40px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.slider-viewport {
    overflow: hidden;
    width: calc(3 * 270px + 2 * 2rem);
}

.slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-track .consultant-card {
    flex: 0 0 270px;
}

.slider-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #0556a7;
    background: white;
    color: #0556a7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.slider-arrow:hover:not(.disabled) {
    background: #0556a7;
    color: white;
}

.slider-arrow.disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d0d0d0;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
    background: #0556a7;
    transform: scale(1.3);
}

@media (max-width: 950px) {
    .slider-viewport {
        width: calc(2 * 270px + 1 * 2rem);
    }
}

@media (max-width: 620px) {
    .slider-viewport {
        width: 270px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }
}

/* Booking Modal */

.booking-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 20, 50, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.booking-modal-overlay.active {
    display: flex;
}

.booking-modal-content {
    background: #fff;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(3, 20, 50, 0.3);
}

.booking-modal-header {
    background: #0556a7;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.booking-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.booking-modal-body {
    padding: 2rem 2.25rem 2.25rem;
    overflow-y: auto;
}

.booking-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.booking-modal-close:hover {
    color: #fff;
}

.booking-modal-body label,
.booking-modal-body .nf-field-label label,
.booking-modal-body .field-wrap label,
.booking-modal-body .field-wrap select {
    color: #555 !important;
    font-size: 1rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.booking-modal-body {
   font-size: 1rem !important;
}

.booking-modal-body .field-wrap select {
    text-transform: none;
}

.booking-modal-body p,
.booking-modal-body .nf-before-form-content,
.booking-modal-body .nf-form-fields-required, 
{
    font-size: 1rem;
    color: #555;
}

.nf-after-field .nf-error-msg {
      font-size: 1rem;
}

.booking-modal-body .nf-field-container {
    margin-bottom: 15px;
}

@media (max-width: 620px) {
    .booking-modal-header {
        padding: 1.1rem 1.25rem;
    }

    .booking-modal-body {
        padding: 1.5rem 1.25rem;
    }
}

