/* (Removed body.service-color-* rules; now in style.css for global use) */

/* Team Ask Block Styles */
.team-ask-block {
  width: 100%;
  margin: 0 auto 48px auto;
  max-width: 900px;
  position: relative;
  direction: inherit;
}
.team-ask-slider {
  position: relative;
  overflow: visible;
  outline: none;
}
.team-ask-slide {
  transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
  opacity: 1;
  will-change: opacity, transform;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(25,78,130,0.08);
  padding: 32px 24px;
  margin: 0 auto;
  min-height: 320px;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 700px;
}
.team-ask-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #16B8E6;
  background: #EBF6FA;
  display: block;
}
.team-ask-info {
  flex: 1;
  min-width: 0;
}
.team-ask-name {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #194E82;
}
.team-ask-role {
  font-size: var(--font-size-lg);
  color: #6759D9;
  margin-bottom: 8px;
}
.team-ask-quote {
  margin: 0 0 16px 0;
}
.team-ask-arrow {
  padding: 16px;
}
.team-ask-popup-btn {
  background: linear-gradient(90deg, #194E82 0%, #16B8E6 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s;
  outline: none;
}
.team-ask-popup-btn:focus {
  box-shadow: 0 0 0 3px #16B8E6;
}
.team-ask-arrow:focus {
  box-shadow: 0 0 0 3px #16B8E6;
}
.team-ask-arrow-prev {
  left: -64px;
  right: auto;
}
.team-ask-arrow-next {
  right: -64px;
  left: auto;
}
[dir='rtl'] .team-ask-arrow-prev {
  right: -64px;
  left: auto;
}
[dir='rtl'] .team-ask-arrow-next {
  left: -64px;
  right: auto;
}
@media (max-width: 900px) {

  .team-ask-arrow-prev, .team-ask-arrow-next, [dir='rtl'] .team-ask-arrow-prev, [dir='rtl'] .team-ask-arrow-next {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: -56px;
    transform: none;
  }
  .team-ask-arrow-next { left: auto; right: 8px; }
  [dir='rtl'] .team-ask-arrow-next { right: auto; left: 8px; }
}
@media (max-width: 600px) {
  .team-ask-slide {
    flex-direction: column;
    padding: 20px 8px;
    gap: 16px;
    min-height: 0;
  }
  .team-ask-image img {
    width: 80px;
    height: 80px;
  }
}
.team-ask-popup {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; 
  top: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(25, 78, 130, 0.8);
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}
.team-ask-popup[aria-hidden='false'] {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
}
.team-ask-popup-content {
  background: #fff;
  border-radius: 18px;
  max-width: 800px;
  width: 100%;
  padding: 32px 24px;
  position: relative;
  box-shadow: 0 8px 40px rgba(25,78,130,0.18);
  outline: none;
  margin: auto;
  z-index: 100000;
}
.team-ask-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
[dir='rtl'] .team-ask-popup-close {
  right: auto;
  left: 16px;
}
.team-ask-popup-close {
  background: none;
  border: none;
  font-size: var(--font-size-6xl);
  color: #194E82;
  cursor: pointer;
  outline: none;
  padding: 0 16px;
}
.team-ask-popup-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #194E82;
  margin-bottom: 8px;
}
.team-ask-popup-role {
  font-size: var(--font-size-lg);
  color: var(--Navy);
  margin-bottom: 12px;
}
.team-ask-popup-body {
  color: #636E7B;
  font-size: var(--font-size-lg);
  line-height: 1.6;
}
@media (max-width: 600px) {
  .team-ask-popup-content {
    padding: 16px;
  }
}

/* Full-width Team Ask Block, centered with 4vw margin */
.team-ask-block-gradient {
  width: 92vw;
  max-width: 100vw;
  margin-left: 4vw;
  margin-right: 4vw;
  margin-top: 2%;
  margin-bottom: 2%;
  background: var(--service-gradient, var(--service-gradient-green));
  border-radius: 32px;
  padding: 50px;
  min-height: 500px;
  overflow: visible;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
}

.team-ask-arrows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
[dir='rtl'] .team-ask-arrows-wrapper {
  right: auto;
  left: 60px;
}

.team-ask-slider-outer {
  align-items: center;
  width: 100%;
  position: relative;
  overflow: visible;
}

.team-ask-image-oval {
  border-radius: 50%;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.team-ask-image-oval img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  background: #EBF6FA;
  border: none;
}

.team-ask-slide-figma {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 110px;
  width: 100%;
  justify-content: center;
  overflow: visible;
}
[dir='rtl'] .team-ask-slide-figma {
  flex-direction: row-reverse;
}

.team-ask-content-figma {
  max-width: 863px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: visible;
}

.team-ask-content-figma blockquote {
  border: none;
  text-align: start;
  padding: 0;
}

.team-ask-title {
  font-size: var(--font-size-10xl);
  font-weight: 700;
  line-height: 58px;
  margin-bottom: 0;
  letter-spacing: -0.5px;
  color: var(--color-black-0);
  overflow: visible;
}

.team-ask-quote {
  font-size: var(--font-size-6xl);
  font-weight: 500;
  line-height: 38px;
  margin-bottom: 0;
  color: var(--color-black-0);
  overflow: visible;
}

.team-ask-meta {
  font-size: var(--font-size-2xl);
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 0;
  color: var(--color-black-0);
  overflow: visible;
}

.team-ask-popup-btn-figma {
  border: 1px solid var(--color-black-0);
  border-radius: 69px;
  background: transparent;
  color: var(--color-black-0);
  font-size: var(--font-size-2xl);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
  width: fit-content;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  overflow: visible;
}

.team-ask-popup-btn-figma:hover,
.team-ask-popup-btn-figma:focus {
  background: var(--color-black-0);
  color: #16b8e6;
  outline: none;
  border: 1px solid var(--color-black-0);
  text-decoration: none;
}

.team-ask-popup-btn-figma .arrow-svg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-2xl);
  overflow: visible;
}

.team-ask-popup-btn-figma .arrow-svg img {
  transition: filter 0.2s, -webkit-filter 0.2s;
  filter: none;
}
.team-ask-popup-btn-figma:hover .arrow-svg img,
.team-ask-popup-btn-figma:focus .arrow-svg img {
  /* If the SVG is monochrome (white), this will tint it blue */
  filter: brightness(0) saturate(100%) invert(44%) sepia(97%) saturate(749%) hue-rotate(163deg) brightness(97%) contrast(101%);
}

@media (max-width: 1200px) {
  .team-ask-slider-outer,
  .team-ask-slide-figma {
    gap: 40px;
    padding: 0 16px;
  }
  .team-ask-image-oval {
    width: 220px;
    height: 220px;
  }
  .team-ask-image-oval img {
    width: 160px;
    height: 160px;
  }
  .team-ask-title {
    font-size: var(--font-size-7xl);
    line-height: 40px;
  }
  .team-ask-quote {
    font-size: var(--font-size-2xl);
    line-height: 28px;
  }
  .team-ask-meta {
    font-size: var(--font-size-base);
    line-height: 22px;
  }
  .team-ask-arrows-wrapper {
    right: 16px;
  }
  [dir='rtl'] .team-ask-arrows-wrapper {
    left: 16px;
  }
}

@media (max-width: 700px) {
  .team-ask-block-gradient {
    padding: 24px 0;
    min-height: 0;
  }
  .team-ask-slider-outer,
  .team-ask-slide-figma {
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
    padding: 0 8px;
    flex-wrap: wrap;
  }
  .team-ask-popup-btn-figma .arrow-svg {
    font-size: var(--font-size-base);
}
  .team-ask-image-oval {
    width: 240px;
    height: 240px;
  }
  .team-ask-image-oval img {
    width: 240px;
    height: 240px;
  }
  .team-ask-content-figma {
    align-items: center;
}
  .team-ask-title {
    font-size: var(--font-size-4xl);
    line-height: 28px;
  }
  .team-ask-quote {
    font-size: var(--font-size-xl);
    line-height: 24px;
    text-align: center;
  }
  .team-ask-meta {
    font-size: var(--font-size-base);
    line-height: 16px;
    text-align: center;
  }
  .team-ask-arrows-wrapper {
    flex-direction: row;
    position: static;
    transform: none;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 8px;
    right: auto;
    left: auto;
  }
}

@media (max-width: 900px) {
  .team-ask-block-gradient {
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 24px;
    border-radius: 0;
    overflow: visible;
  }
}

.team-ask-arrows-inline {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.team-ask-arrow {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(25,78,130,0.08);
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.team-ask-arrow:hover{
  border: 1px solid var(--color-black-0);
  background: var(--color-black-0);
}
.team-ask-arrow:hover img, .team-ask-arrow:focus img {
  filter: brightness(0) saturate(100%) invert(44%) sepia(97%) saturate(749%) hue-rotate(163deg) brightness(97%) contrast(101%);
}
.team-ask-arrow:focus {
  box-shadow: 0 0 0 3px var(--Blue);
}
@media (max-width: 700px) {
  .team-ask-arrows-inline {
    gap: 8px;
    margin-top: 16px;
  }
}
