/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 23 2025 | 16:22:52 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

/* ============================== */
/* Hero Section Container */
/* ============================== */
.wp-site-blocks > *,
.wp-site-blocks > * > *,
.wp-site-blocks > * > * > * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.the-team-hero {
  position: relative !important;
  width: 100vw !important;
  min-height: 75vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background:
    url('/wp-content/uploads/2025/12/the-team-page_colorful-workspace_hero-section-scaled.png') center/cover no-repeat;
	
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
	
/* override parent constraints */
  max-width: 100vw !important;
  left: 0;
  right: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Dark and blurred overlay */
.the-team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit; /* Use the same background as .hero */
  filter: brightness(0.6) blur(2px); /* Darken and blur */
  z-index: 0;
}


.the-team-hero > * {
  position: relative;
  z-index: 2;
}

/* Glass Card */
.the-team-hero-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 750px;
  width: 100%;
  gap: 2rem;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
	  /* Add margin for spacing from screen edges */
  margin: 5.0rem 2.5rem; 
}

/* Hero Image */
  .the-team-hero-image {
    width: 400px;     /* fixed width */
    height: auto;     /* allow natural stretch */
    flex: 1 0 auto;   /* grow vertically with the card */
    overflow: hidden; /* crop the image */
    border-radius: 1.5rem;
    flex-shrink: 0;
  }

  .the-team-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* zoom + crop */
    object-position: center; /* target the middle */
    display: block;
  }

/* Hero Text */
.the-team-hero-text {
  color: #f8f8f4;
  max-width: 600px;
  text-align: left;
}

.the-team-hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.the-team-hero-text h1 span {
	color: #31d200; 
	font-family: 'Playfair Display', serif !important;
	font-weight: 600;
}

.the-team-hero-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #f8f8f4;
}





@media (max-width: 1023px) {
  .the-team-hero-card {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
	align-items: center;
  }

  /* Move text above the image */
  .the-team-hero-text {
    order: 1;
    text-align: center;
  }
	
  .the-team-hero-image {
	order: 2;
    width: 90vw;           /* 40% of viewport width */
    max-width: 750px;      /* don’t get too wide */
	height: 480px;
    overflow: hidden;
    border-radius: 1.5rem;
    flex-shrink: 0;
    display: flex;          /* enable flex centering */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
  }

  .the-team-hero-image img {
    width: 100%;
    height: auto;        /* fills square */
    object-fit: cover;  /* crop the sides but keep height natural */
    object-position: center;
    display: block;
  }

  .the-team-hero-text h1 {
    font-size: 2rem;
  }

  .the-team-hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .the-team-hero-image {
	order: 2;
    width: 80vw;           /* 40% of viewport width */
    max-width: 480px;      /* don’t get too wide */
	height: auto;
    overflow: hidden;
    border-radius: 1.5rem;
    flex-shrink: 0;
  }

  .the-team-hero-image img {
    width: 100%;
    height: auto;        /* fills square */
    object-fit: cover;  /* crop the sides but keep height natural */
    object-position: center;
    display: block;
  }
}

.the-team-hero-card,
.the-team-hero-image,
.the-team-hero-text {
  will-change: opacity, transform;
}
/* Hero Section Container */
/* ============================== */
/* Consultants Section */
/* ============================== */
.the-team-consultant-carousel.alignfull {
  position: relative;          /* keep positioning for carousel buttons */
  width: 100vw !important;     /* full viewport width */
  max-width: 100vw !important; /* prevent horizontal constraint */
  left: 50%;                   /* reset Gutenberg offset */
  right: 50%;
  margin-left: -50vw;           /* pull section fully left */
  margin-right: -50vw;          /* pull section fully right */
  padding: 4rem 2rem;          /* internal padding */
  box-sizing: border-box;
  overflow: hidden;
}


.the-team-consultant-carousel {
  width: 100%;
  height: 100%; /* fill height of section */
  margin: 0 auto;             /* center carousel */
  padding: 4rem 3rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Track wrapper */
.the-team-carousel-track-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;    /* center cards */
  overflow: hidden;
  box-sizing: border-box;
}


/* Individual card styling */
.the-team-carousel-card {
  flex: 0 0 350px;            /* maintain original min-width */
  max-width: 400px;           /* maintain original max-width */
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.the-team-carousel-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  z-index: 10;
}

.the-team-carousel-card .the-team-card-image {
  height: 50%;
  width: 100%;
  overflow: hidden;
}

.the-team-carousel-card .the-team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.the-team-carousel-card .the-team-card-content {
  padding: 1.5rem;
  text-align: center;
}

.the-team-carousel-card h3 {
  margin-bottom: 0.5rem;
}

.the-team-carousel-card .the-team-card-content p {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.85;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.2px;
}

/* Navigation buttons */
.the-team-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 1.5rem;
  backdrop-filter: blur(8px);
  display: none; /* hidden by default, JS shows on mobile */
}

.the-team-carousel-btn.prev { left: 0.5rem; }
.the-team-carousel-btn.next { right: 0.5rem; }

/* Scroll animation */
.the-team-scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.the-team-carousel-card:not(.the-team-scroll-animate) {
  opacity: 0;
  transform: translateY(50px);
}

/* ==============================
   Desktop (≥1024px): flex grid with wrapping
   ============================== */
@media (min-width: 1024px) {
  .the-team-carousel-track-wrapper {
    overflow: visible;
    width: 100%;
    justify-content: center; /* center all rows */
  }

  .the-team-carousel-track {
    display: flex;
    flex-wrap: wrap;          /* allow multiple rows */
    justify-content: center;  /* center all rows */
    gap: 2rem;
    transform: none !important; /* disable JS carousel */
  }

  .the-team-carousel-card {
    flex: 1 1 350px;          /* allow cards to shrink if needed */
    max-width: 400px;
    min-width: 300px;         /* prevent cards from being too small */
  }

  .the-team-carousel-btn {
    display: none !important; /* hide arrows */
  }
}

/* ==============================
   Mobile/Tablet (≤1023px): carousel active
   ============================== */
@media (max-width: 1023px) {
  .the-team-consultant-carousel.alignfull {
    width: 100%;       /* full width of parent */
    max-width: 100%;   /* prevent horizontal overflow */
    padding: 2rem 0.5rem;  
    box-sizing: border-box;    /* include padding in width calculations */
  }

  .the-team-carousel-track-wrapper {
    width: 100%;
    height: auto;
    min-height: 60vh;      /* stabilize section */
	padding: 2.5rem 0.5rem;  /* ⬅️ more vertical padding */
    overflow: visible;       /* show shadows */
    position: relative;
    box-sizing: border-box;
  }

  .the-team-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    overflow: visible;       /* allow shadows */
    box-sizing: border-box;
  }

.the-team-carousel-card {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(100%);
  position: absolute; /* stack cards */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 60vh;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1;
  padding: 0; /* remove internal horizontal padding to avoid double space */
}

.the-team-carousel-card.active {
  opacity: 1;
  position: relative;
  transform: translateX(0);
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2); /* shadow visible */
}
	
.the-team-carousel-card .the-team-card-content {
  padding-top: 0;
  padding-right: 0.5rem;
  padding-bottom: 1.5rem;
  padding-left: 0.5rem;
  text-align: center;
}
	
 .the-team-carousel-card .the-team-card-content p {
  font-size: 0.75rem;
}

  .the-team-carousel-card.scroll-animate-mobile {
    transform: translateX(var(--carousel-x, 0)) translateY(0); /* keep X from carousel */
  }

  /* Slide animations */
  .the-team-slide-in-right { animation: slideInFromRight 0.6s forwards; }
  .the-team-slide-in-left  { animation: slideInFromLeft 0.6s forwards; }
  .the-team-slide-out-right { animation: slideOutToRight 0.6s forwards; }
  .the-team-slide-out-left  { animation: slideOutToLeft 0.6s forwards; }

  @keyframes slideInFromRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
  @keyframes slideInFromLeft  { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
  @keyframes slideOutToRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
  @keyframes slideOutToLeft  { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }
	
  /* Scroll animations */	
  .the-team-consultant-carousel.mobile-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .the-team-consultant-carousel {
    opacity: 0;
    transform: translateY(40px);
  }

  /* Navigation buttons */
  .the-team-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.3);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 1.5rem;
    backdrop-filter: blur(8px);
  }
  .the-team-carousel-btn.prev { left: 0.5rem; }
  .the-team-carousel-btn.next { right: 0.5rem; }
}
/* Consultants Section */

