/* Who Are We - Page Specific Styles */

/* Hero Section with Background Image */
.who-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a2b5e;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.who-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 43, 94, 0.35) 0%,
    rgba(19, 29, 66, 0.3) 50%,
    rgba(26, 43, 94, 0.32) 100%
  );
  z-index: 1;
}

.who-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 4rem 2.5rem;
  text-align: center;
}

.who-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-align: center;
}

.who-hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

/* What We Do Section */
.what-we-do {
  background: #ffffff;
  padding: 4rem 2.5rem 5rem;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
  text-align: center;
}

.what-we-do-title {
  font-size: var(--subheading-font-size);
  font-weight: 700;
  color: #1a2b5e;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.what-we-do-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1a2b5e;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .what-we-do {
    padding: 3rem 1.5rem 4rem;
  }
}

@media (max-width: 480px) {
  .what-we-do {
    padding: 2rem 1rem 3rem;
  }

  .what-we-do-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }
}

.what-we-do-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.what-we-do-accordion {
  background: rgba(232, 236, 242, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(26, 43, 94, 0.08);
  overflow: hidden;
}

.what-we-do-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a2b5e;
  letter-spacing: 0.02em;
}

.what-we-do-accordion summary::-webkit-details-marker {
  display: none;
}

.what-we-do-accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #1a2b5e;
}

.what-we-do-accordion-icon svg {
  width: 100%;
  height: 100%;
}

.what-we-do-accordion-content {
  padding: 0 1.25rem 1.25rem 3.5rem;
}

.what-we-do-accordion-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1a2b5e;
}

.what-we-do-accordion-content li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.what-we-do-accordion-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a2b5e;
  font-weight: 700;
  font-size: 1rem;
}

.what-we-do-accordion-content li:last-child {
  margin-bottom: 0;
}

/* What We Work On Section */
.what-we-work-on {
  background: #ffffff;
  padding: 4rem 2.5rem 5rem;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
}

.what-we-title {
  font-size: var(--subheading-font-size);
  font-weight: 700;
  color: #1a2b5e;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.what-we-image-strip {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 43, 94, 0.1);
}

.what-we-image-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.what-we-items {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  flex-wrap: wrap;
}

.what-we-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1 1 0;
  max-width: 320px;
  min-height: 260px;
  text-align: center;
  padding: 2rem 1.75rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(26, 43, 94, 0.12);
  border: 1px solid rgba(26, 43, 94, 0.08);
}

.what-we-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  color: #1a2b5e;
}

.what-we-icon svg {
  width: 100%;
  height: 100%;
}

.what-we-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a2b5e;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .who-hero {
    min-height: 45vh;
  }

  .who-hero-content {
    padding: 3rem 1.5rem;
  }

  .who-hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .what-we-work-on {
    padding: 3rem 1.5rem 4rem;
  }

  .what-we-image-strip {
    margin-bottom: 2rem;
  }

  .what-we-image-strip img {
    height: 200px;
  }

  .what-we-items {
    flex-direction: column;
    align-items: center;
  }

  .what-we-item {
    max-width: 100%;
  }

  .what-we-icon {
    width: 48px;
    height: 48px;
  }

  .what-we-text {
    font-size: 1.1rem;
  }
}

/* Our Work Span Section */
.our-work-span {
  background: #ffffff;
  padding: 4rem 2.5rem 5rem;
  text-align: center;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
}

.work-span-title {
  font-size: var(--subheading-font-size);
  font-weight: 700;
  color: #1a2b5e;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.work-span-items {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.work-span-detail {
  flex: 1;
  min-width: 200px;
}

.work-span-item {
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a2b5e;
  padding: 0 1.5rem;
  cursor: pointer;
  list-style: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.work-span-item::-webkit-details-marker {
  display: none;
}

.work-span-item:hover {
  opacity: 0.8;
}

.work-span-dropdown {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(26, 43, 94, 0.06);
  border-left: 3px solid #1a2b5e;
  text-align: left;
}

.work-span-dropdown p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a2b5e;
}

.work-span-divider {
  width: 1px;
  align-self: stretch;
  min-height: 1.25em;
  background: #1a2b5e;
  opacity: 0.6;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .our-work-span {
    padding: 3rem 1.5rem 4rem;
  }

  .work-span-items {
    flex-direction: column;
    gap: 1.5rem;
  }

  .work-span-detail {
    min-width: 100%;
  }

  .work-span-divider {
    width: 100%;
    max-width: 80px;
    height: 1px;
    min-height: 1px;
    margin: 0 auto;
  }

  .work-span-item {
    padding: 0.5rem 0;
  }
}

/* How We Engage Section - content left, image right */
.how-we-engage-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  gap: 3rem;
  align-items: stretch;
  background: #ffffff;
  padding: 4rem 2.5rem 5rem;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
  max-width: 1200px;
  margin: 0 auto;
}

.how-we-engage-section::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  background: #ffffff;
  z-index: -1;
}

.how-we-engage-section .how-we-engage-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
}

.how-we-engage-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1a2b5e;
  max-width: 540px;
  margin: 0 auto;
}

.how-we-engage-section .how-we-engage-line {
  margin-left: auto;
  margin-right: auto;
}

.how-we-engage-image {
  min-height: 280px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.how-we-engage-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #e8ecf2;
  border-radius: 12px;
  overflow: hidden;
}

.how-we-engage-image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .how-we-engage-section {
    grid-template-columns: 1fr;
  }

  .how-we-engage-section .how-we-engage-content {
    align-items: center;
    text-align: center;
  }

  .how-we-engage-content {
    text-align: center;
  }

  .how-we-engage-line {
    margin-left: auto;
  }

  .how-we-engage-intro {
    margin: 0 auto;
  }

  .how-we-engage-image {
    min-height: 220px;
  }

  .how-we-engage-image-placeholder {
    min-height: 220px;
  }

  .how-we-engage-image-placeholder img {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .who-hero {
    min-height: 40vh;
  }

  .who-hero-content {
    padding: 2rem 1rem;
  }

  .who-hero-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .who-hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .what-we-work-on,
  .what-we-offer {
    padding: 2rem 1rem 3rem;
  }

  .what-we-title,
  .work-span-title,
  .how-we-engage-title,
  .what-we-offer-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .how-we-engage-section {
    padding: 2rem 1rem 3rem;
  }

  .how-we-engage-content {
    padding: 2rem 1rem 3rem;
  }
}

/* How We Engage + What We Look For - Side by Side */
.engage-lookfor-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
}

@media (max-width: 768px) {
  .engage-lookfor-wrapper {
    grid-template-columns: 1fr;
  }

  .how-we-engage.with-image {
    grid-template-columns: 1fr;
  }

  .how-we-engage.with-image:first-child .how-we-engage-image {
    order: 1;
  }

  .how-we-engage.with-image:first-child .how-we-engage-content {
    order: 2;
  }

  .how-we-engage.with-image:last-child .how-we-engage-image {
    order: 2;
  }

  .how-we-engage.with-image:last-child .how-we-engage-content {
    order: 1;
  }

  .how-we-engage-content {
    padding: 3rem 1.5rem 4rem;
  }

}

/* How We Engage Section */
.how-we-engage {
  background: #ffffff;
  text-align: center;
  border-right: 1px solid rgba(26, 43, 94, 0.12);
}


.how-we-engage-content {
  padding: 4rem 2.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.engage-lookfor-wrapper .how-we-engage:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .how-we-engage {
    border-right: none;
    border-bottom: 1px solid rgba(26, 43, 94, 0.12);
  }

}

.how-we-engage-title {
  font-size: var(--subheading-font-size);
  font-weight: 700;
  color: #1a2b5e;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.how-we-engage-line {
  width: 120px;
  height: 2px;
  background: #1a2b5e;
  margin: 0 auto 2rem;
}

.how-we-engage-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1a2b5e;
  max-width: 600px;
  margin: 0 auto;
}



@media (max-width: 768px) {
  .how-we-engage {
    padding: 3rem 1.5rem 4rem;
  }
}

/* What We Offer Section */
.what-we-offer {
  background: #f8f9fc;
  padding: 4rem 2.5rem 5rem;
  text-align: center;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
}

.what-we-offer-title {
  font-size: var(--subheading-font-size);
  font-weight: 700;
  color: #1a2b5e;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.what-we-offer-line {
  display: none;
}

.what-we-offer-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(26, 43, 94, 0.12);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.offer-card:hover {
  border-color: rgba(26, 43, 94, 0.25);
}

.offer-card[open] {
  box-shadow: 0 4px 12px rgba(26, 43, 94, 0.08);
}

.offer-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #1a2b5e;
  text-decoration: none;
}

.offer-summary::-webkit-details-marker {
  display: none;
}

.offer-summary::after {
  content: '▾';
  margin-left: auto;
  font-size: 1.2em;
  color: #1a2b5e;
  opacity: 0.6;
}

.offer-card[open] .offer-summary::after {
  content: '▴';
}

.offer-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 43, 94, 0.08);
  border-radius: 8px;
  color: #1a2b5e;
}

.offer-icon svg {
  width: 22px;
  height: 22px;
}

.offer-title {
  text-align: left;
  font-size: 1.05rem;
}

.offer-desc {
  margin: 0;
  padding: 0 1.5rem 1.25rem 4.5rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1a2b5e;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .what-we-offer {
    padding: 3rem 1.5rem 4rem;
  }

  .offer-summary {
    padding: 1rem 1.25rem;
  }

  .offer-desc {
    padding: 0 1.25rem 1rem 1.25rem;
  }

  .offer-icon {
    width: 36px;
    height: 36px;
  }

  .offer-icon svg {
    width: 18px;
    height: 18px;
  }
}
