/* 
   SPOXTALE POIE - 'About Us' Sub-Folder Premium Stylesheet
   Contains unique layouts, distinct class names prefixed with 'poie-ab-' to prevent conflicts, and responsive flex grids.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --poie-ab-primary-blue: #00a2e8;
  --poie-ab-primary-blue-hover: #008cc9;
  --poie-ab-dark-navy: #151c2d;
  --poie-ab-light-slate: #60687a;

  --poie-ab-color-pink-start: #ec3b83;
  --poie-ab-color-pink-end: #a82062;
  --poie-ab-color-yellow-start: #ffd700;
  --poie-ab-color-yellow-end: #eeb902;
  --poie-ab-color-teal-start: #1aa495;
  --poie-ab-color-teal-end: #0e7066;
  --poie-ab-color-pink-dark-start: #be185d;
  --poie-ab-color-pink-dark-end: #9d174d;

  --poie-ab-font-headings: var(--font-headings);
  --poie-ab-font-body: var(--font-body);
}

.poie-ab-body-wrapper {
  font-family: var(--poie-ab-font-body);
  background-color: #ffffff;
  color: var(--poie-ab-dark-navy);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 0 !important;
  overflow-x: hidden;
}

/* Hero Section styling */
.poie-ab-hero-sec {
  padding: 40px 0 20px 0;
  background: #ffffff;
  width: 100%;
}

.poie-ab-hero-container,
.poie-ab-split-container,
.poie-ab-cards-container,
.poie-ab-vision-mission-container,
.poie-ab-full-width-container {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding-left: 6%;
  padding-right: 6%;
  box-sizing: border-box;
}

.poie-ab-hero-container {
  /* Inherits base container styles */
}

.poie-ab-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--poie-ab-light-slate);
  margin-bottom: 24px;
  font-weight: 500;
}

.poie-ab-breadcrumb a {
  text-decoration: none;
  color: var(--poie-ab-light-slate);
  transition: color 0.2s ease;
}

.poie-ab-breadcrumb a:hover {
  color: var(--poie-ab-dark-navy);
}

.poie-ab-hero-title {
  font-family: var(--poie-ab-font-headings);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--poie-ab-dark-navy);
  text-transform: uppercase;
}

.poie-ab-cyan-text {
  color: var(--poie-ab-primary-blue);
}

.poie-ab-hero-subtitle {
  font-size: 17px;
  color: var(--poie-ab-light-slate);
  max-width: 100%;
  line-height: 1.6;
  font-weight: 400;
}

/* Split Image & Text Layout */
.poie-ab-split-section {
  padding: 60px 0;
  background: #ffffff;
  width: 100%;
}

.poie-ab-split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.poie-ab-split-left {
  display: flex;
  flex-direction: column;
}

.poie-ab-split-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.poie-ab-split-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(21, 28, 45, 0.1);
  object-fit: cover;
  display: block;
}

.poie-ab-section-title {
  font-family: var(--poie-ab-font-headings);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--poie-ab-dark-navy);
  margin-bottom: 32px;
}

.poie-ab-section-desc {
  font-size: 17px;
  color: var(--poie-ab-light-slate);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Card Grid Layouts */
.poie-ab-cards-section {
  padding: 70px 0 90px 0;
  background-color: #f8fafc;
  width: 100%;
}

.poie-ab-cards-container {
  /* Inherits base container styles */
}

.poie-ab-grid-layout-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  width: 100%;
}

.poie-ab-card-item {
  background-color: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 290px;
  min-height: 310px;
}

@media (min-width: 992px) {

  .poie-ab-card-item:nth-child(4),
  .poie-ab-card-item:nth-child(5) {
    flex: 0 1 calc(50% - 15px);
  }
}

.poie-ab-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(21, 28, 45, 0.08);
}

.poie-ab-card-item.poie-ab-tint-pink {
  border-top: 4px solid var(--poie-ab-color-pink-end);
}

.poie-ab-card-item.poie-ab-tint-yellow {
  border-top: 4px solid var(--poie-ab-color-yellow-end);
}

.poie-ab-card-item.poie-ab-tint-teal {
  border-top: 4px solid var(--poie-ab-color-teal-end);
}

.poie-ab-card-item.poie-ab-tint-pink-dark {
  border-top: 4px solid var(--poie-ab-color-pink-dark-end);
}

.poie-ab-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.95rem;
}

.poie-ab-box-pink {
  background-color: rgba(236, 59, 131, 0.1);
  color: var(--poie-ab-color-pink-end);
}

.poie-ab-box-yellow {
  background-color: rgba(238, 185, 2, 0.12);
  color: var(--poie-ab-color-yellow-end);
}

.poie-ab-box-teal {
  background-color: rgba(26, 164, 149, 0.1);
  color: var(--poie-ab-color-teal-end);
}

.poie-ab-box-pink-dark {
  background-color: rgba(190, 24, 93, 0.1);
  color: var(--poie-ab-color-pink-dark-end);
}

.poie-ab-card-title {
  font-family: var(--poie-ab-font-headings);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--poie-ab-dark-navy);
}

.poie-ab-card-desc {
  font-size: 17px;
  color: var(--poie-ab-light-slate);
  line-height: 1.6;
}



/* Responsiveness overrides */
@media (max-width: 1200px) {

  .poie-ab-hero-container,
  .poie-ab-split-container,
  .poie-ab-cards-container,
  .poie-ab-vision-mission-container,
  .poie-ab-full-width-container {
    padding-left: 6%;
    padding-right: 6%;
  }
}

@media (max-width: 992px) {

  .poie-ab-hero-container,
  .poie-ab-split-container,
  .poie-ab-cards-container,
  .poie-ab-vision-mission-container,
  .poie-ab-full-width-container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .poie-ab-body-wrapper {
    margin-top: 0 !important;
  }

  .poie-ab-split-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .poie-ab-split-right {
    order: -1;
  }

  .poie-ab-card-item {
    flex: 1 1 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .poie-ab-hero-title {
    font-size: 2.2rem;
  }

  .poie-ab-card-item {
    flex: 1 1 100%;
  }
}

/* Button styling */
.poie-ab-btn-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.poie-ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background-color: var(--poie-ab-primary-blue);
  color: #ffffff;
  border: none;
  padding: 16px 36px;
  border-radius: 4px;
  font-family: var(--poie-ab-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 162, 232, 0.2);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.poie-ab-btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.poie-ab-btn:hover {
  background-color: var(--poie-ab-primary-blue-hover);
  box-shadow: 0 8px 25px rgba(0, 162, 232, 0.3);
  transform: translateY(-2px);
}

.poie-ab-btn:hover i {
  transform: translateX(4px);
}

.poie-ab-btn.poie-ab-btn-secondary {
  background-color: var(--poie-ab-dark-navy);
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.2);
}

.poie-ab-btn.poie-ab-btn-secondary:hover {
  background-color: #242f4c;
  box-shadow: 0 8px 25px rgba(21, 28, 45, 0.3);
}

/* Vision & Mission Styling */
.poie-ab-vision-mission-sec {
  padding: 60px 0;
  background-color: #ffffff;
  width: 100%;
}

.poie-ab-vision-mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.poie-ab-vm-card {
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 15px 35px rgba(21, 28, 45, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poie-ab-vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(21, 28, 45, 0.08);
}

.poie-ab-vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.poie-ab-vm-vision .poie-ab-vm-icon {
  background-color: rgba(236, 59, 131, 0.1);
  color: var(--poie-ab-color-pink-end);
}

.poie-ab-vm-mission .poie-ab-vm-icon {
  background-color: rgba(26, 164, 149, 0.1);
  color: var(--poie-ab-color-teal-end);
}

.poie-ab-vm-title {
  font-family: var(--poie-ab-font-headings);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--poie-ab-dark-navy);
}

.poie-ab-vm-desc {
  font-size: 17px;
  color: var(--poie-ab-light-slate);
  line-height: 1.7;
}

/* Grid Layout 6 values */
.poie-ab-grid-layout-6 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  width: 100%;
}

@media (min-width: 992px) {
  .poie-ab-grid-layout-6 .poie-ab-card-item {
    flex: 0 1 calc(33.333% - 20px) !important;
  }
}

@media (max-width: 768px) {
  .poie-ab-vision-mission-container {
    grid-template-columns: 1fr;
  }
}

/* Grid Layout 8 benefits */
.poie-ab-grid-layout-8 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  width: 100%;
}

.poie-ab-grid-layout-8 .poie-ab-card-item {
  flex: 1 1 calc(25% - 18px);
  min-width: 260px;
  min-height: 280px;
  padding: 36px 24px;
}

@media (max-width: 1200px) {
  .poie-ab-grid-layout-8 .poie-ab-card-item {
    flex: 1 1 calc(33.333% - 16px);
  }
}

@media (max-width: 992px) {
  .poie-ab-grid-layout-8 .poie-ab-card-item {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 576px) {
  .poie-ab-grid-layout-8 .poie-ab-card-item {
    flex: 1 1 100%;
  }
}

/* Benefits list pointers style (Checklist cards style matching admissions checklist) */
.poie-ab-benefits-section {
  padding: 10px 0 60px 0;
  background-color: #ffffff;
  width: 100%;
}

.poie-ab-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin: 30px 0 0 0;
}

.poie-ab-checklist-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poie-ab-checklist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(21, 28, 45, 0.08);
}

.poie-ab-checklist-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
}

.poie-ab-bg-teal {
  background-color: #e8f7f5;
  color: #0e7066;
}

.poie-ab-bg-pink {
  background-color: #fde8f2;
  color: #a82062;
}

.poie-ab-bg-yellow {
  background-color: #fefae8;
  color: #b69600;
}

.poie-ab-checklist-text {
  font-family: var(--poie-ab-font-body);
  font-size: 1.05rem;
  color: var(--poie-ab-dark-navy);
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 768px) {
  .poie-ab-checklist-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Photo box for leadership cards */
.poie-ab-photo-box {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(21, 28, 45, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.poie-ab-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Management Profiles container classes */
.poie-ab-management-profiles-sec {
  padding-top: 10px !important;
  padding-bottom: 0px !important;
  /* Reduced bottom padding */
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: left;
  /* Left align text */
}

.poie-ab-management-profiles-sec .poie-ab-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 32px !important;
  /* Slightly smaller size than 42px */
  font-weight: 900 !important;
  color: #151c2d !important;
  /* Black/dark-navy */
  margin-bottom: 16px;
}

.poie-ab-management-profiles-sec .poie-ab-section-desc {
  max-width: 100%;
  margin: 0 0 20px 0;
  text-align: left;
  /* Left align */
}

.poie-ab-full-width-container {
  /* Inherits base container styles */
}

.poie-ab-img-cover {
  object-fit: cover !important;
}

.poie-ab-team-cards-sec {
  padding-top: 10px !important;
  /* Less space between narrative and cards */
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Horizontal cards for team profiles */
.poie-ab-team-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 10px;
}

.poie-ab-team-card {
  display: flex;
  flex-direction: row;
  /* image left, text right */
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(21, 28, 45, 0.08);
  /* More highlighted shadow */
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  width: 100%;
}

.poie-ab-team-card:hover {
  transform: translateY(-6px);
  /* Highlighted hover lift */
  box-shadow: 0 25px 50px rgba(21, 28, 45, 0.15);
}

.poie-ab-team-card.poie-ab-tint-pink {
  border-left: 6px solid var(--poie-ab-color-pink-end);
  /* Left border highlight */
}

.poie-ab-team-card.poie-ab-tint-teal {
  border-left: 6px solid var(--poie-ab-color-teal-end);
  /* Left border highlight */
}

/* Row reverse support for alternating cards (image on right, text on left) */
.poie-ab-team-card.poie-ab-row-reverse {
  flex-direction: row-reverse;
}

.poie-ab-team-card.poie-ab-row-reverse .poie-ab-team-img-col {
  border-left: 1px solid #eef1f6;
  border-right: none;
}

.poie-ab-team-img-col {
  flex: 0 0 320px;
  /* 320px width for the image column */
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  border-right: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poie-ab-team-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fixes the whole photo in the card */
  object-position: center center;
}

.poie-ab-team-text-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.poie-ab-team-role {
  font-family: var(--poie-ab-font-body);
  font-size: 0.95rem;
  color: var(--poie-ab-primary-blue);
  margin-bottom: 20px;
  font-weight: 600;
  display: inline-block;
}

.poie-ab-card-desc p {
  margin-bottom: 16px;
  font-size: 17px;
  color: var(--poie-ab-light-slate);
  line-height: 1.6;
}

.poie-ab-card-desc p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .poie-ab-team-card {
    flex-direction: column;
  }

  .poie-ab-team-card.poie-ab-row-reverse {
    flex-direction: column;
    /* Stacks image on top on mobile */
  }

  .poie-ab-team-card.poie-ab-row-reverse .poie-ab-team-img-col {
    border-left: none;
    border-bottom: 1px solid #eef1f6;
  }

  .poie-ab-team-card.poie-ab-tint-pink {
    border-left: none;
    border-top: 6px solid var(--poie-ab-color-pink-end);
  }

  .poie-ab-team-card.poie-ab-tint-teal {
    border-left: none;
    border-top: 6px solid var(--poie-ab-color-teal-end);
  }

  .poie-ab-team-img-col {
    flex: 0 0 320px;
    height: 320px;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eef1f6;
  }

  .poie-ab-team-text-col {
    padding: 30px 24px;
  }
}

/* Mobile alignment matching the contact us page margins */
@media (max-width: 991px) {

  .poie-ab-hero-sec,
  .poie-ab-split-section,
  .poie-ab-cards-section,
  .poie-ab-vision-mission-sec,
  .poie-ab-benefits-section,
  .poie-ab-management-profiles-sec,
  .poie-ab-team-cards-sec {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .poie-ab-hero-container,
  .poie-ab-split-container,
  .poie-ab-cards-container,
  .poie-ab-vision-mission-container,
  .poie-ab-full-width-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .poie-ab-checklist-grid,
  .poie-ab-team-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
