/*
 Theme Name:   SDS Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* .fluentform form.fluent_form_1 button.ff-btn-submit {
    background-color: #1d314c;
    color: #ffffff;
    border-radius: 6px;
    padding: 14px 28px;
    font-weight: 600;
} */

/* Frontend */
.wp-block-quote {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  font-style: normal;
  text-align: center;
}

.wp-block-quote::before,
.wp-block-quote::after {
  display: none;
}

.wp-block-quote p {
  margin: 0;
}

.wp-block-quote p::before {
  content: '\201C';
  font-size: 2em;
  color: #999;
  margin-right: 0.1em;
}

.wp-block-quote p::after {
  content: '\201D';
  font-size: 2em;
  color: #999;
  margin-left: 0.1em;
}

.wp-block-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.8;
}

.wp-block-quote p::before,
.wp-block-quote p::after {
  display: inline;
  vertical-align: middle;
  line-height: 1;
}



.client_list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 2rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .client_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .client_list {
    grid-template-columns: 1fr;
  }
}

.client_list li {
  margin: 0;
}


.whak-logo-cards .whak-logo-card {
  border: 1px solid rgba(139, 115, 85, 0.451);
}

/************************************************/



/* Base color variable */
:root {
  --accordion-accent: #8b7355;
}


/* Container */
.accordion_set {
  padding: 60px 40px;
  position: relative;
}

.gb-accordion__item {
  background: rgba(139,115,85,0.03)!important;
}

.accordion_set::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accordion-accent);
}

/* Accordion items */
.gb-accordion__item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accordion-accent);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.gb-accordion__item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Toggle button */
.gb-accordion__toggle {
  position: relative;
  padding: 24px 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Underline effect */
.gb-accordion__toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accordion-accent);
  transition: width 0.3s ease;
}

.gb-accordion__item:hover .gb-accordion__toggle::after,
.gb-accordion__toggle[aria-expanded="true"]::after {
  width: 100%;
}

/* Arrow icon color */
.gb-accordion__toggle-icon svg {
  stroke: var(--accordion-accent);
}



/*****************************************/


/* Remove flex from parent container */
.bio-section {
  display: block;
}

/* Float the image container */
.bio-image-container {
  float: left;
  margin-right: 40px;
  margin-bottom: 20px;
  max-width: 450px; /* adjust as needed */
}

/* Let text container flow naturally */
.bio-text-container {
  display: block;
  width: 100%;
}

@media (max-width: 1024px) {
  .bio-image-container {
    float: none;
    margin: 0 auto 30px;
    max-width: 350px;
  }
}

/*****************************************/

/* The animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply to your CTA container */
.hero-cta {
  animation: fadeInUp 1.8s ease-out forwards;
}


/*****************************************/

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial hidden state */
.lawyer-box-left,
.lawyer-box-right {
  opacity: 0;
}

/* When in view */
.lawyer-box-left.in-view {
  animation: slideInLeft 0.8s ease-out forwards;
}

.lawyer-box-right.in-view {
  animation: slideInRight 0.8s ease-out 0.2s forwards;
}


.what-we-do {
  opacity: 0;
}

.what-we-do.in-view {
  animation: fadeInUp 0.8s ease-out forwards;
}

.testimonials-section {
  opacity: 0;
}

.testimonials-section.in-view {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo-slider {
  opacity: 0;
}

.logo-slider.in-view {
  animation: fadeIn 2.8s ease-out forwards;
}
