/* ACTIVE NAV */
.nav-links a.active {
  color: #4b0082;
  font-weight: 600;
  border-bottom: 2px solid #4b0082;
  padding-bottom: 2px;
}

/* HERO */
.about-hero {
  background: url("img/header-background.png") center/cover no-repeat;
  height: 320px;
  position: relative;
}

.about-hero-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(to top, rgba(75,0,130,0.88), rgba(0,0,0,0.2));
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.about-hero-text {
  padding-bottom: 52px;
  color: #fff;
}

.about-hero-sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.about-hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

/* SECTION BASE */
.about-section {
  padding: 80px 0;
}

.about-section.light {
  background: #fff;
}

.about-section.dark {
  background: #1a1a2e;
  color: #fff;
}

.about-section.accent {
  background: #4b0082;
  color: #fff;
}

/* TWO-COLUMN LAYOUT */
.about-two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

.about-label-col {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fpci-inline-logo {
  width: 100%;
  max-width: 160px;
}

#chapterLogo {
  filter: brightness(0) saturate(100%) invert(8%) sepia(90%) saturate(5000%) hue-rotate(270deg) brightness(55%) contrast(120%);
}

.about-section-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #922f16;
  display: block;
  border-left: 3px solid #922f16;
  padding-left: 12px;
}

.about-text-col h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-text-col p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.about-text-col p:last-child {
  margin-bottom: 0;
}

.about-text-col em {
  font-style: italic;
  color: #4b0082;
  font-weight: 500;
}

/* CENTERED SECTION TITLE */
.section-title-center {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 52px;
}

/* OUR LOGO */
.about-section.logo-section {
  background: #111118;
  color: #fff;
}

.about-section.logo-section .section-title-center {
  color: #fff;
}

.logo-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 20px;
}

.logo-display {
  max-width: 420px;
  width: 100%;
  filter: brightness(0) invert(1);
}

/* FOUNDERS */
.founders-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  overflow: hidden;
  flex-shrink: 0;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-photo.placeholder {
  background-color: rgba(255,255,255,0.1);
}

.founder-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.founder-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* DIVISIONS */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start; /* prevents rows from stretching cards */
}

.division-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
}

.division-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.division-card a,
a.division-card {
  color: #fff;
  text-decoration: none;
}

.division-card-img-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 0;
  padding-bottom: 125% !important; /* 4:5 ratio — !important overrides * { padding: 0 } in style.css */
}

.division-card-img-wrap::after {
  content: '';
  display: table;
  clear: both;
}

.division-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.division-card-label {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  align-items: center;
}

/* WHAT WE DO */
.whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wwd-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.wwd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.wwd-icon {
  font-size: 28px;
  line-height: 1;
}

.wwd-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

/* VISION & MISSION (inline under Our Chapter) */
.vm-inline {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1.5px solid #e8e0f0;
}

.vm-inline-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.vm-box {
  background: #f8f5ff;
  border-radius: 12px;
  padding: 24px 22px;
}

.vm-box-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4b0082;
  margin-bottom: 12px;
}

.vm-box p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.vm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-list li {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  padding-left: 16px;
  position: relative;
}

.vm-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4b0082;
  font-weight: 700;
}

@media (max-width: 640px) {
  .vm-grid { grid-template-columns: 1fr; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .divisions-grid,
  .whatwedo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero-text h1 {
    font-size: 34px;
  }

  .about-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .founders-grid {
    gap: 40px;
  }

  .divisions-grid,
  .whatwedo-grid {
    grid-template-columns: 1fr;
  }
}