/* FoundationPillarsMat styles (migrated from React component) */
.fp-foundation-pillars-section {
  text-align: center;
  padding: 40px 10px;
  margin-bottom: 150px;
}

.fp-foundation-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 40px;
  color: #092c5c;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Mobile carousel hidden by default; shown via media query on small screens */
.fp-mobile-carousel {
  display: none;
}

.fp-honeycomb-wrap {
  position: relative;
  width: 690px;
  height: 690px;
  margin: 0 auto;
}

.fp-honeycomb-cell {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease;
}

.fp-honeycomb-cell:hover {
  transform: scale(1.07);
}

.fp-hex-center {
  left: 36%;
  top: 36%;
  z-index: 2;
}
.mat-hex-top          { left: 43%; top: 2%; }
.mat-hex-topRight     { left: 75%; top: 18%; }
.mat-hex-bottomRight  { left: 75%; top: 59%; }
.mat-hex-bottom       { left: 10%; top: 60%; }
.mat-hex-bottomLeft   { left: 8%; top: 20%; }


.fp-hex-wrapper, .fp-hex-middle-border, .fp-hex-inner-border {
  clip-path: polygon(
    25% 6%, 75% 6%,
    100% 50%, 75% 94%,
    25% 94%, 0% 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.fp-hex-wrapper {
  box-sizing: border-box;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.fp-hex-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px 6px rgba(255, 204, 0, 0.6);
}
.fp-hex-wrapper {
  /* outer layer (layer 1) - subtle elevation and gradient handled inline */
  position: relative; /* for pseudo outline */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(9, 44, 92, 0.08);
}

/* thin outline that follows hex clip-path for crisp edge */
.fp-hex-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inherit;
  border: 2px solid rgba(255,255,255,0.06);
  mix-blend-mode: screen;
  border-radius: 0;
}
.fp-hex-middle-border { box-sizing: border-box; }
.fp-hex-middle-border { box-sizing: border-box;
  /* middle layer (layer 2) - subtle inner glow */
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: inset 0 6px 18px rgba(9,44,92,0.04);
}
.fp-hex-inner-border { box-sizing: border-box; background: #fff; 
  /* inner layer (layer 3) - content background with soft inset */
  box-shadow: inset 0 2px 8px rgba(9,44,92,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.fp-hex-img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  border-radius: 0;
  clip-path: inherit;
  background: #fff;
  display: block;
}

/* Hover intensify the layered borders */
.fp-hex-wrapper:hover { box-shadow: 0 14px 44px rgba(9,44,92,0.12); }
.fp-hex-wrapper:hover::after { border-color: rgba(255,255,255,0.14); }

.fp-hex-label {
  margin-top: 12px;
  text-align: center;
}

.fp-center-label {
  margin-top: 5px;
  text-align: center;
}

.fp-center-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d3a80;
  margin-top: -20px !important;
}

.fp-hex-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d3a80;
}
.fp-hex-role {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}
.fp-hex-center .fp-hex-label .fp-hex-name {
  color: #ffa315;
  font-weight: 900;
  text-decoration: underline;
}
.fp-hex-center .fp-hex-label .fp-hex-role {
  color: #555;
}

/* :::::: Mobile Styles for Slick Card :::::: */
@media (max-width: 700px) {
  /* Show the stacked/mobile carousel on small screens */
  .fp-mobile-carousel {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  /* Hide the desktop honeycomb on small screens */
  .fp-honeycomb-wrap {
    display: none;
  }
  .fp-mobile-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 285px;
  }
  .fp-mobile-card .fp-hex-wrapper {
    width: 250px !important;
    height: 250px !important;
    padding: 7px !important;
  }
  .fp-mobile-card .fp-hex-middle-border {
    padding: 1px !important;
  }
  .fp-mobile-card .fp-hex-inner-border {
    padding: 1px !important;
  }
  .fp-mobile-card .fp-hex-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
  }
  .fp-mobile-hex-label {
    margin-top: 20px !important;
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  .fp-mobile-hex-label .fp-hex-name {
    font-size: 1.55rem;
    font-weight: 800;
    word-break: break-word;
    margin-bottom: 6px;
    color: #143b76;
  }
  .fp-mobile-hex-label .fp-hex-role {
    font-size: 1.15rem;
    color: #555 !important;
    word-break: break-word;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: .01em;
  }
}

/* For very small screens, keep things looking good */
@media (max-width: 420px) {
  .fp-mobile-card .fp-hex-wrapper {
    width: 120px;
    height: 120px ;
  }
  .fp-mobile-hex-label {
    margin-top: 10px !important;
    max-width: 160px;
  }
  .fp-mobile-hex-label .fp-hex-name { font-size: 1.1rem; }
  .fp-mobile-hex-label .fp-hex-role { font-size: 0.91rem; }
}
