.leadership-entire-page *{
  hyphens: none;
  word-break: normal;
}
.leadership-entire-page p{
font-size:16px !important;
  }
.page-header {
  background: url('/drupal/sites/default/files/2025-03/Leadership-hero-background.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white !important;
  min-height: 29.75rem;
  width: 100%;
}
.header-content{
max-width: 1440px;
}

.header-content h1 {
  font-size: 4rem; 
  font-weight: bold;
  color: white;
  font-family:'Roboto';
}


/* Responsive behavior For Header Part */

/* Medium screens */
@media (max-width: 1024px) {
  .page-header {
      min-height: 24rem;
  }
  .header-content h1 {
      font-size: 3rem;
  }
}

/* Small tablets */
@media (max-width: 768px) {
  .page-header {
      min-height: 20rem;
  }
  .header-content h1 {
      font-size: 2.5rem;
  }
  
}




/* Mobile devices */
@media (max-width: 480px) {
  .page-header {
      min-height: 16rem;
      padding: 1.5rem;
  }
  .header-content h1 {
      font-size: 2rem;
  }
}

.team-header-heading {
font-family: "Roboto", sans-serif;
  font-weight: Bold;
font-size: 3rem;
color: #343741;
  /* Small gap */
margin-bottom: 5px;
text-align: center
}

.team-header-subtext {
font-family: "Roboto", sans-serif;
  font-weight: Regular;
font-size: 0.875rem;
color: #343741;
  /* Small gap */
margin-bottom: 5px;
  
}

/* Team Section Styles */
.team-section {
padding: 40px 0 100px;
background-image: url('/drupal/sites/default/files/2025-03/Team-Section.png');
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
}

.team-container {
max-width: 1440px;
margin: 0 auto;
padding: 0 20px;
}

.team-header {
text-align: center;
margin-bottom: 60px;
}

.team-header-heading {
font-size: 3rem;
font-weight: 700;
margin-bottom: 15px;
color: #333;
}

.team-header-subtext {
font-size: 0.875rem;
color: #555;
max-width: 800px;
margin: 0 auto;
line-height: 1.6;
padding: 0 22px;
}

/* Team Carousel */
.team-carousel-container {
position: relative;
padding: 120px 0 80px;
}

.team-carousel {
display: flex;
justify-content: center;
align-items: flex-end;
position: relative;
height: 300px;
width: 100%;
margin: 0 auto;
}

/* Team Member Styles - Optimized transition timing */
.team-member {
position: absolute;
border-radius: 50%;
overflow: hidden;
transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Faster and smoother easing */
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
cursor: pointer;
}

.team-member.no-transition {
transition: none !important;
}

/* Size variations based on position classes instead of attributes */
.team-member.position-4,
.team-member.position--4 {
width: 140px;
height: 140px;
z-index: 1;
opacity: 1;
}

.team-member.position-3,
.team-member.position--3 {
width: 160px;
height: 160px;
z-index: 2;
opacity: 1;
}

.team-member.position-2,
.team-member.position--2 {
width: 180px;
height: 180px;
z-index: 3;
opacity: 1;
}

.team-member.position-1,
.team-member.position--1 {
width: 200px;
height: 200px;
z-index: 4;
opacity: 1;
}

.team-member.position-0 {
width: 220px;
height: 220px;
z-index: 5;
opacity: 1;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
cursor: pointer;
}

/* Active member hover effect - also optimized */
.team-member.position-0:hover {
transform: translateY(-10px) scale(1.05) !important;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Faster hover transition */
}

/* Responsive Adjustments for Member Images */
/* Medium screens (768px - 1200px) */
@media (max-width: 1200px) and (min-width: 769px) {
  .team-member.position-4,
  .team-member.position--4 {
    width: 120px;
    height: 120px;
  }

  .team-member.position-3,
  .team-member.position--3 {
    width: 140px;
    height: 140px;
  }

  .team-member.position-2,
  .team-member.position--2 {
    width: 160px;
    height: 160px;
  }

  .team-member.position-1,
  .team-member.position--1 {
    width: 180px;
    height: 180px;
  }

  .team-member.position-0 {
    width: 200px;
    height: 200px;
  }
}

/* Small tablets (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .team-member.position-4,
  .team-member.position--4 { 
    display: none; 
  }

  .team-member.position-3,
  .team-member.position--3 {
    width: 100px;
    height: 100px;
  }

  .team-member.position-2,
  .team-member.position--2 {
    width: 120px;
    height: 120px;
  }

  .team-member.position-1,
  .team-member.position--1 {
    width: 140px;
    height: 140px;
  }

  .team-member.position-0 {
    width: 160px;
    height: 160px;
  }

  .team-carousel {
    height: 200px;
  }
}

/* Mobile devices (up to 480px) */
@media (max-width: 480px) {
  .team-member.position-4,
  .team-member.position--4,
  .team-member.position-3,
  .team-member.position--3 { 
    display: none; 
  }

  .team-member.position-2,
  .team-member.position--2 {
    width: 80px;
    height: 80px;
  }

  .team-member.position-1,
  .team-member.position--1 {
    width: 100px;
    height: 100px;
  }

  .team-member.position-0 {
    width: 120px;
    height: 120px;
  }

  .team-carousel {
    height: 150px;
  }
}

/* Extra small screens (up to 360px) */
@media (max-width: 360px) {
  .team-member.position-2,
  .team-member.position--2 {
    width: 70px;
    height: 70px;
  }

  .team-member.position-1,
  .team-member.position--1 {
    width: 85px;
    height: 85px;
  }

  .team-member.position-0 {
    width: 100px;
    height: 100px;
  }

  .team-carousel {
    height: 130px;
  }

  .member-info-callout {
    min-width: 250px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .member-info-callout h3 {
    font-size: 16px;
  }

  .member-info-callout p {
    font-size: 13px;
  }
}


/* Horizontal positioning with position classes */
.team-member.position--4 { transform: translateX(-544px); }
.team-member.position--3 { transform: translateX(-425px) translateY(-3px); }
.team-member.position--2 { transform: translateX(-302px) translateY(-5px); }
.team-member.position--1 { transform: translateX(-158px) translateY(-10px); }
.team-member.position-0 { transform: translateX(0) translateY(-15px); }
.team-member.position-1 { transform: translateX(158px) translateY(-10px); }
.team-member.position-2 { transform: translateX(302px) translateY(-5px); }
.team-member.position-3 { transform: translateX(425px) translateY(-3px); }
.team-member.position-4 { transform: translateX(544px); }

/* Responsive adjustments */
@media (max-width: 1200px) {
.team-member.position--4 { transform: translateX(-400px); }
.team-member.position--3 { transform: translateX(-300px); }
.team-member.position--2 { transform: translateX(-200px); }
.team-member.position--1 { transform: translateX(-100px); }
.team-member.position-1 { transform: translateX(100px); }  
.team-member.position-2 { transform: translateX(200px); }
.team-member.position-3 { transform: translateX(300px); }
.team-member.position-4 { transform: translateX(400px); }
}

@media (max-width: 768px) {
.team-member.position--4,
.team-member.position-4 { display: none; }

.team-member.position--3 { transform: translateX(-250px); }
.team-member.position--2 { transform: translateX(-170px); }
.team-member.position--1 { transform: translateX(-90px); }
.team-member.position-1 { transform: translateX(90px); }  
.team-member.position-2 { transform: translateX(170px); }
.team-member.position-3 { transform: translateX(250px); }
}

@media (max-width: 480px) {
.team-member.position--3,
.team-member.position-3 { display: none; }

.team-member.position--2 { transform: translateX(-140px); }
.team-member.position--1 { transform: translateX(-80px); }
.team-member.position-1 { transform: translateX(80px); }  
.team-member.position-2 { transform: translateX(140px); }
}

.team-member img {
width: 100%;
height: 100%;
object-fit: cover;
}

.team-member.active {
opacity: 1;
z-index: 10;
}

/* Member Info Callout - also optimized for smoother animation */
.member-info-callout {
position: absolute;
left: 50%;
transform: translateX(-50%) translateY(-80%);
background-color: white;
padding: 15px 25px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
z-index: 20;
min-width: 200px;
text-align: center;
opacity: 0;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Optimized callout transition */
line-height: 0.5;
}

.member-info-callout:after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -40px;
width: 0;
height: 0;
border-left: 40px solid transparent;
border-right: 40px solid transparent;
border-top: 40px solid white;
margin-top:-1px;
}

.member-info-callout.active {
opacity: 1;
transform: translateX(-50%) translateY(-90%);
}

.member-info-callout h3 {
margin: 0 0 5px;
font-family: "Roboto", sans-serif;
font-weight: 600 !important;
font-size: 20px;
color: #343741;
}

.member-info-callout p {
margin: 0 0 10px;
font-family: "Roboto", sans-serif;
font-weight: 400 !important;
font-size: 16px;
color: #343741;
}

.linkedin-icon {
display: inline-block;
color: #0077B5;
}

/* Navigation Buttons */
.carousel-navigation {
position: absolute;
left: 0;
right: 0;
display: flex;
justify-content: center;
gap: 20px;
padding: 20px 0;
margin-top: 2%;
}

.nav-btn {
background: transparent;
border: none;
height: 40px;
cursor: pointer;
}

.nav-btn svg {
width: 100%;
height: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.team-member[data-carousel-position="-4"] { transform: translateX(-400px); }
.team-member[data-carousel-position="-3"] { transform: translateX(-300px); }
.team-member[data-carousel-position="-2"] { transform: translateX(-200px); }
.team-member[data-carousel-position="-1"] { transform: translateX(-100px); }
.team-member[data-carousel-position="1"] { transform: translateX(100px); }  
.team-member[data-carousel-position="2"] { transform: translateX(200px); }
.team-member[data-carousel-position="3"] { transform: translateX(300px); }
.team-member[data-carousel-position="4"] { transform: translateX(400px); }
}

@media (max-width: 768px) {
.team-header-heading {
  font-size: 28px;
}

.team-header-subtext {
  font-size: 16px;
}

.team-member[data-carousel-position="-4"],
.team-member[data-carousel-position="4"] { display: none; }

.team-member[data-carousel-position="-3"] { transform: translateX(-250px); }
.team-member[data-carousel-position="-2"] { transform: translateX(-170px); }
.team-member[data-carousel-position="-1"] { transform: translateX(-90px); }
.team-member[data-carousel-position="1"] { transform: translateX(90px); }  
.team-member[data-carousel-position="2"] { transform: translateX(170px); }
.team-member[data-carousel-position="3"] { transform: translateX(250px); }

.team-carousel {
  height: 240px;
}
.member-info-callout.active {
  opacity: 1;
  transform: translateX(-56%) translateY(-142%);
}
}

@media (max-width: 480px) {
.team-member[data-carousel-position="-3"],
.team-member[data-carousel-position="3"] { display: none; }

.team-member[data-carousel-position="-2"] { transform: translateX(-140px); }
.team-member[data-carousel-position="-1"] { transform: translateX(-80px); }
.team-member[data-carousel-position="1"] { transform: translateX(80px); }  
.team-member[data-carousel-position="2"] { transform: translateX(140px); }

.team-carousel {
  height: 130px;
}

.member-info-callout {
  min-width: 270px;
  padding: 10px 15px;
}
.member-info-callout.active {
  opacity: 1;
  transform: translateX(-51%) translateY(-184%);
}

}


/* DEPARTMENT SECTION */

/* .managers-section {
  background: linear-gradient(45deg,#005A9B, #0099D9);
  padding: 60px 20px 90px;
  text-align: center;
} */

.managers-section {
  position: relative;
  background-color: #004c97;
  padding: 60px 20px 90px;
  text-align: center;
  overflow: hidden; /* Ensure ::before stays clipped */
}

.managers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/drupal/sites/default/files/2025-04/department-managers-background-mask.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
  scale: 1.2;
  pointer-events: none; /* Allow clicking through */
}

.managers-section > * {
  position: relative;
  z-index: 1; /* Lift content above the mask */
}


.section-title {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 40px;
  text-align: center;
  padding: 0 15px;
  line-height: 100%;
}

.managers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 1440px;
}

/* Manager cards hover animation - also optimized */
.manager-card {
background-color: white;
border-radius: 1.25rem;
min-width: 287px;
max-width: 287px;
text-align: center;
padding: 15px 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Optimized manager card transition */
}

.manager-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Adds a subtle shadow */
}

.manager-image-container {
  width: 100%;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
}

.manager-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.manager-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap:10px;
}

.manager-name {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #343741;
  margin-bottom: 0 !important;
  margin-top: 0;
}


@media (min-width: 43.75rem) {
.manager-info p {
  margin-block-start: 0;
  margin-block-end: 0;
}
}
.manager-position {
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #343741;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 8px;
}

/* LinkedIn Button as Image */
.linkedin-link {
  display: inline-block;
  width: 24px;
  height: 24px;
}

.linkedin-link img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s ease;
}

.linkedin-link:hover img {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .managers-grid {
      padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .section-title {
      font-size: 32px;
      text-align: center;
  }
  
  .manager-card {
      width: calc(50% - 20px);
      min-width: 200px;
  }
}

@media (max-width: 480px) {
  .manager-card {
      width: 100%;
      max-width: 280px;
  }
  
  .section-title {
      font-size: 28px;
  }
}


/* Leadership final secion */



.leadership-final-section {
  background-color: white;
  padding: 60px 20px 90px;
  text-align: left;
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width: 1440px;
  margin: auto;
}

.leadership-title {
font-family: "Roboto", sans-serif;
font-weight: Bold;
font-size: 48px;
color: #343741;
  margin-bottom: 30px;
  text-align: center;
}

/* Cards container */
.leadership-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

/* Common styles for both cards */
.leadership-card {
  background-color: white;
  border: 1px solid #31AEE3;
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 45%
}

/* Image styling */
.leadership-card img {
  width: auto;
  height: auto;
}

/* Title styling */
.leadership-card h3 {
font-family: "Roboto", sans-serif;
font-weight: Bold;
font-size: 24px;
color: #343741;
  margin-block: 15px !important;
}

/* Text styling */
.leadership-card p {
  font-family: "Roboto", sans-serif;
font-weight: Regular;
font-size: 14px;
color: #343741;
  line-height: 1.6;
}

@media (min-width: 43.75rem) {
.leadership-card p,
.cke_editable p {
  margin-block-start: 0;
  margin-block-end: 0;
}
}

/* Responsive behavior */
@media (min-width: 768px) {
  .leadership-cards {
      justify-content: space-around;
      max-width: 1300px;
  }

  .leadership-card {
      width: 45%; /* Ensures two cards fit in one row */
  }
  
}

@media (max-width: 767px) {
  .leadership-card {
      width: 100%; /* Stacks cards on smaller screens */
  }
.leadership-title{
line-height:1.2;
}
}

@media (max-width: 480px) {
.leadership-title{
font-size:28px;
}
}
@media (min-width: 1800px){
.leadership-entire-page p{
font-size:16px;
}
}