/**
 * Custom Overrides CSS
 * 
 * This file contains custom CSS overrides that will take precedence over the main styles.
 * Use this file to modify existing styles without changing the core theme files.
 */

/* Add your custom CSS overrides below this line */ 
.site-header .container {
    flex-wrap: initial;
  }
  
  .custom-logo, .custom-logo-link {
    display: block;
  }

  .site-header .main-navigation {
    flex: 1;
  }

  #site-navigation button {
    border-radius: 12px !important;
  }

  .site-header .site-branding {
    max-width: initial;
  }

  .site-header .site-branding .custom-logo-link img {
    max-height: 45px;
  }

  .site-header {
    padding: 20px;
    border-bottom: 0;
  }

  .home .hero-section {
    min-height: 60vh;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  #page {
    display: block;
    min-height: initial;
    overflow-x: initial;
    overflow: initial;
  }

  h2 {
    font-weight: 700 !important;
    font-size: 42px !important;
    line-height: 1.125 !important;
  }

  .about-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    background-color: #F7EADD;
    padding: 40px;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 0;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
  }

  button, input[type="button"], input[type="reset"], input[type="submit"], .button {
    border-radius: 12px !important;
  }

  .about-button {
    justify-content: flex-start;
  }

  section {
    padding: 80px 0 !important;
  }

  .services-section .service-card {
    border-radius: 20px;
    padding: 35px;
  }

  h3 {
    font-weight: 700 !important;
  }

  .button-primary:hover, .button-primary:focus {
    color: #fff !important;
  }

  .about-button, .services-button, .cta-button {
    margin-top: 40px;
  }

  .meet-team-section .meet-team-member-image img {
    border-radius: 50%;
    width: 100%;
    height: initial;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

  .meet-team-section .meet-team-grid {
    flex-wrap: initial;
  }

  .meet-team-section .meet-team-member {
    max-width: 350px;
  }

  .meet-team-section .meet-team-button a {
    border-radius: 12px !important;
  }

  .testimonials-section .container {
    max-width: 1200px;
  }

  .testimonials-section .testimonial-nav {
    width: 25px;
    height: 25px;
  }

  .testimonials-section .testimonial-content::before {
    top: -15px !important;
    left: -15px !important;
    z-index: 10;
  }

  .testimonials-section .testimonials-slider {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .testimonials-slider::before, .testimonial-nav::after {
    display: none !important;
  }

  .testimonials-section .testimonial-nav.prev-testimonial {
    left: -25px;
  }

  .cta-section {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .cta-text p {
    font-size: 1.125em;
  }

  .post, .page {
    margin: 0;
  }

  .site-footer a:hover, .site-footer a:focus {
    text-decoration: none;
  }

  body:not(.home) .hero-section .container {
    align-items: center;
  }

  body:not(.home) .hero-section {
    min-height: 60vh;
  }

.team-section .team-member .team-member-photo {
  flex: 1;

}


.team-section .team-member .team-member-photo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
  }

  .team-section .team-member .container {
    gap: 100px;
  }

  .team-section .team-member .team-member-info .team-member-title {
    font-size: 1.25rem;
  }

  .team-section .team-member .team-member-info .team-member-bio {
    font-size: 1em;
    line-height: 1.5;
    margin-top: 2em;
  }

  .team-section .team-member .team-member-info .read-more-btn {
    font-weight: 600;
    text-decoration: underline;
  }

  .detailed-services-section .container {
    gap: 50px;
  }


  .detailed-services-section {
    padding-top: 0 !important;
  }

  .contact-information-section .contact-details .contact-method .contact-icon {
    margin-right: 25px;
  }

  .contact-information-section .contact-details .contact-method .contact-method-label {
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  b, strong {
    font-weight: 700;
  }

  .nf-form-fields-required {
    display: none;
  }

  .map-section {
    padding: 0 !important;
  }

  .map-section iframe {display: block;}

  .hero-section + .team-section {
    padding-top: 0 !important;
  }

  .testimonials-section .testimonials-container {
    justify-content: center;
  }

  /* Media Queries */

  @media (max-width: 1166px) {
    .main-navigation ul li a, .main-navigation button {
        font-size: .85em !important
      }
  }
  
  @media (max-width: 1024px) {
    .site-header .site-branding .custom-logo-link img {
        max-height: 35px;
      }
      .main-navigation ul li {
        position: relative;
        margin: 0;
      }
      button, input[type="button"], input[type="reset"], input[type="submit"], .button {
        padding: 12px 20px !important;
      }
  }

  @media (max-width: 900px) {
    .site-header .site-branding .custom-logo-link img {
        max-height: 25px;
      }
.site-header {
  padding: 10px 20px;
}
button, input[type="button"], input[type="reset"], input[type="submit"], .button {
    min-width: initial;
}
h2 {
    font-size: 30px !important;
}
h2 br {display: none;}
  }

  @media (max-width: 768px) {
        .site-header .container {
          padding: 0;
        }
      .site-header .site-branding .custom-logo-link img {
        max-height: 30px;
      }
      .site-header .main-navigation {
        flex-direction: row-reverse;
        justify-content: flex-start;
      }
      #site-navigation button {
        margin-left: 0 !important;
      }
      .menu-toggle {
        width: 50px;
      }
      .menu-toggle::after {
        display: none;
      }
      .about-content {
        flex-direction: column-reverse;
      }

      .about-content img {
        max-width: 300px;
        margin: 0 auto;
      }
      .detailed-services-section .container {
        gap: 0;
      }

      .team-section .team-member .team-member-photo img {
        max-width: 300px;
      }

      .team-section .team-member .container {
        gap: 20px;
      }
  }

  @media (max-width: 480px) {
    body:not(.home) .hero-section {
        min-height: 40vh;
      }
    .custom-logo-link {
        max-width: 35px;
        overflow: hidden;
      }
      .site-header .site-branding .custom-logo-link img {
        min-width: 200px;
      }
      .hero-section .hero-content {
        text-align: center;
      }
      .hero-section .hero-content .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 5px;
      }
      .home .hero-section {
        justify-content: center;
        min-height: 40vh;
      }
      section {
        padding: 40px 0 !important;
      }
      .cta-section {
        min-height: 40vh;
      }
      .detailed-services-section .service-content, .detailed-services-section .service-image {
        flex: 1;
        min-width: initial;
      }
      .custom-logo-link {
        max-width: initial !important;
      }
      .site-header .site-branding {
        max-width: initial;
        flex: 0;
        max-width: 50%;
      }
    
      #site-navigation {
        flex: 1;
        min-width: 50%;
      }
    
      .site-header .site-branding {
        max-width: initial !important;
        flex: 1 !important;
        max-width: 50% !important;
      }
      .site-header .site-branding .custom-logo-link img {
        min-width: 100%;
      }

  }

/* Testimonials Slider Enhanced Styles */
.testimonials-container {
  position: relative;
  margin: 0 auto;
  padding: 0 40px;
  max-width: 100%;
  display: flex;
  align-items: center;
}


.site-footer {
  background-color: #5d6772 !important;
}
.testimonials-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.testimonial-nav:hover {
  opacity: 1;
}

.testimonial-nav.prev-testimonial {
  left: 0;
  background: url("../img/chevron.png") no-repeat center center;
  background-size: contain;
  transform: translateY(-50%) rotate(0deg);
  font-size: 0;
}

.testimonial-nav.next-testimonial {
  right: 0;
  background: url("../img/chevron.png") no-repeat center center;
  background-size: contain;
  transform: translateY(-50%) rotate(180deg);
  font-size: 0;
}

@media screen and (max-width: 990px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media screen and (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 100%;
  }
  
  .testimonials-container {
    padding: 0 30px;
  }
}

/* Ensure existing styles continue below */