/* --- Ricaedia’s People Four-Box Layout --- */
.who-people-flex {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 1.2em;
  justify-content: center;
}
.who-people-flex .why-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(44,62,80,0.10), 0 1.5px 6px rgba(44,62,80,0.08);
  padding: 1em 0.7em 0.7em 0.7em;
  min-width: 180px;
  max-width: 220px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.who-people-flex .why-card:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.18), 0 3px 12px rgba(44,62,80,0.12);
  transform: translateY(-4px) scale(1.03);
}
.who-people-flex .why-heading {
  font-size: 1.12em;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.6em;
  text-align: center;
}
.who-people-flex .why-list {
  color: #34495e;
  font-size: 1em;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
  text-align: center;
}
.who-people-flex .why-icon {
  margin-bottom: 0.5em;
}
@media (max-width: 900px) {
  .who-people-flex {
    gap: 1em;
  }
  .who-people-flex .why-card {
    min-width: 180px;
    max-width: 100%;
    padding: 1em 0.7em;
  }
}
@media (max-width: 600px) {
  .who-engagement-card {
    padding-left: 1em !important;
    padding-right: 1em !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .who-people-flex {
    flex-direction: column;
    gap: 1em;
    align-items: stretch;
  }
  .who-people-flex .why-card {
    min-width: 0;
    max-width: 100%;
    padding: 1em 0.5em;
    max-height: 65vh;
    overflow-y: auto;
  }
}
/* --- Who We Are Page Polished Styles --- */
.who-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2em;
  margin-top: 2.5em;
}

.who-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10), 0 1.5px 6px rgba(44, 62, 80, 0.08);
    word-break: normal !important;
  padding: 2.2em 2em 1.5em 2em;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

    overflow-x: hidden !important;
.who-card:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18), 0 3px 12px rgba(44, 62, 80, 0.12);
  transform: translateY(-4px) scale(1.02);
}

.who-card-title {
  font-size: 1.45em;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
}

.who-3c-divider {
  border: none;
  border-top: 2px solid #e1e4ea;
  margin: 0 0 1.2em 0;
}

  .who-card {
    width: 100% !important;
    min-width: 220px !important;
    max-width: 98vw !important;
    box-sizing: border-box !important;
    margin: 0 auto 1.5em auto !important;
    padding: 1.2em 1em !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    background: #fff !important;
    border-radius: 1.1em !important;
    border: 1.5px solid #e0e0e0 !important;
    box-shadow: 0 2px 12px rgba(163,0,0,0.07) !important;
  max-height: none !important;
  overflow-y: visible !important;
  }
  .who-focus-card {
    width: 100% !important;
    min-width: 220px !important;
    max-width: 98vw !important;
    box-sizing: border-box !important;
    margin: 0 auto 1.2em auto !important;
    padding: 1em 0.8em !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    background: #fff !important;
    border-radius: 1em !important;
    border: 1.5px solid #e0e0e0 !important;
    box-shadow: 0 2px 12px rgba(163,0,0,0.07) !important;
  max-height: none !important;
  overflow-y: visible !important;
  }

.who-card-list li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.who-card-highlight {
  font-size: 1.08em;
  color: #2980b9;
  margin-bottom: 0.7em;
  font-weight: 600;
}

.who-card-quote {
  margin: 0 0 1.2em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #2980b9;
  color: #555;
  font-style: italic;
  background: #f7faff;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .who-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.2em;
    margin-top: 1.2em;
  }
  .who-card {
    padding: 1.2em 1em 1em 1em;
  }
  .who-card-title {
    font-size: 1.18em;
  }
}
/* Mobile Optimization */
@media (max-width: 600px) {
  body {
    font-size: 1em;
    padding: 0 0.5em;
  }
  .hero-modern-content img,
  .hero-modern-image img {
    width: 90vw !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto 1em auto !important;
    border-radius: 1em !important;
  }
  .home-services-title {
    font-size: 1.3em !important;
    text-align: center !important;
    margin: 1em 0 0.7em 0 !important;
  }
  .home-services-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2em !important;
    align-items: center !important;
    padding: 0 !important;
  }
  .home-service-card {
    min-width: 0 !important;
    max-width: 98vw !important;
    width: 100% !important;
    font-size: 1em !important;
    padding: 1.2em 0.7em !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .pillar-icon, .home-service-icon {
    font-size: 2em !important;
    margin-bottom: 0.5em !important;
  }
  .home-service-card h3 {
    font-size: 1.1em !important;
    margin-bottom: 0.5em !important;
  }
  .home-service-card p {
    font-size: 0.98em !important;
    margin-bottom: 0.2em !important;
  }
  #compBenefitsDialog {
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  #compBenefitsDialog > div {
    max-width: 98vw !important;
    min-width: 0 !important;
    padding: 1em 0.5em !important;
    margin: 10vw auto !important;
    font-size: 1em !important;
  }
  .nav-links {
    flex-direction: column !important;
    gap: 0.7em !important;
    font-size: 1em !important;
    padding: 0.5em 0 !important;
  }
  .burger {
    display: block !important;
    margin-left: auto !important;
  }
}
.who-3c-bulletlist li strong {
    color: #1a4a6a; /* Match the color of 'Compensation & Benefits' heading */
}
.who-3c-bulletlist li {
    color: #000;
}
.who-3c-bulletlist li strong {
    color: inherit;
}
/* --- What We Do Redesign --- */
.what-redesign {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
}
.what-pillars-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.what-pillar-card.redesign {
background: none;
    border: 2px solid #A30000;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(163,0,0,0.07);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 260px;
    min-height: 180px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s, background 0.2s;
    position: relative;
}
.what-pillar-card.redesign:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
    background: #fff;
}
.what-pillar-title {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: center;
}
.pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.pillar-hc,
.pillar-cb,
.pillar-ma,
.pillar-se,
.pillar-comm {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #A30000;
}
@media (max-width: 900px) {
    .what-pillars-flex {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .what-pillar-card.redesign {
        min-width: 0;
        max-width: 100%;
    }
}
/* --- Who We Are: Justify Capability / Competencies Content --- */
.who-3c-bulletbox .who-3c-bulletlist {
    text-align: justify;
}
/* --- Who We Are: Justify Our Team Content --- */
.justify-text {
    text-align: justify;
}
/* --- Who We Are: 3C Bullet Box for Compensation & Benefits --- */
.who-3c-bulletbox {
    background: #fff6f6;
    border: 2px solid #A30000;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(163,0,0,0.07);
    max-width: 270px;
}
.who-3c-bulletlist {
    list-style: disc inside;
    color: #A30000;
    font-size: 1.05rem;
    margin: 0;
    padding-left: 0.5em;
    background: #f8f8f8;
    border-radius: 0.7rem;
    box-shadow: 0 1px 6px rgba(163,0,0,0.04);
    padding: 1rem 1.2rem;
    margin-bottom: 0.7rem;
    margin-top: 0.5rem;
}
@media (max-width: 700px) {
    .who-3c-bulletbox {
        max-width: 100%;
        padding: 0.7rem 0.7rem;
    }
    .who-3c-bulletlist {
        font-size: 0.98rem;
    }
}
/* --- Human Capital Strategy page styles --- */
.hc-strategy-content {
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-top: 2rem;
}
.hc-strategy-desc {
    font-size: 1.13rem;
    color: #333;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}
.hc-strategy-services-title {
    color: #A30000;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.hc-strategy-list {
    list-style: disc inside;
    padding-left: 0.5em;
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.7em;
}
/* --- Reach Us page: improved contact layout --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    margin-top: 2rem;
}
.contact-info {
    flex: 1 1 320px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 1.2rem;
}
.contact-info h3 {
    color: #A30000;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.contact-details p {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.7rem;
}
.contact-details a {
    color: #0056b3;
    text-decoration: underline;
}
.contact-form {
    flex: 1 1 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(163,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.contact-form h3 {
    color: #A30000;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8f9fa;
    margin-bottom: 0.2rem;
}
.cta-button {
    background: #A30000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cta-button:hover {
    background: #0056b3;
}
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
}
.what-pillars-grid.revert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: center;
    margin-top: 2rem;
}
.what-pillars-grid.revert-row .what-pillar-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    min-width: 220px;
    max-width: 320px;
    min-height: 120px;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 1.2rem;
}
.what-pillars-grid.revert-row .what-pillar-card:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
    background: #fff6f6;
}
.what-pillars-grid.revert-row .what-pillar-title {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: center;
}
@media (max-width: 900px) {
    .what-pillars-grid.revert-row {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .what-pillars-grid.revert-row .what-pillar-card {
        min-width: 0;
        max-width: 100%;
    }
}
/* --- What We Do page: improved card layout --- */
.what-pillars-grid.no-images {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}
.what-row {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.what-row .what-pillar-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    min-width: 220px;
    max-width: 320px;
    min-height: 120px;
    cursor: pointer;
    text-decoration: none;
}
.what-row .what-pillar-card:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
    background: #fff6f6;
}
.what-row .what-pillar-title {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: center;
}
.bottom-row {
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .what-row {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .what-row .what-pillar-card {
        min-width: 0;
        max-width: 100%;
    }
}
/* --- What We Do page: custom row layout for cards --- */
.what-pillars-grid.no-images {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    margin-top: 1.2rem;
}
.what-row {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
}
.what-row:first-child .what-pillar-card {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 340px;
}
.what-row:last-child .what-pillar-card {
    flex: 1 1 0;
    min-width: 260px;
    max-width: 400px;
}
.what-pillar-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
    min-height: 120px;
    cursor: pointer;
}
.what-pillar-card:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
}
.what-pillar-title {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: left;
}
.what-desc {
    font-size: 1.08rem;
    color: #333;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}
.what-services-title {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 0.5rem;
}
.what-list {
    list-style: disc inside;
    padding-left: 0.5em;
    margin: 0 0 0.7em 0;
    font-size: 1.01rem;
    color: #333;
}
.what-list ul {
    list-style: circle inside;
    margin-left: 1em;
}
@media (max-width: 900px) {
    .what-row {
        flex-direction: column;
        gap: 2rem;
    }
    .what-row .what-pillar-card {
        min-width: 0;
        max-width: 100%;
    }
}
/* --- What We Do page: no-images card styles --- */
.what-pillars-grid.no-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem;
    margin-top: 1.2rem;
}
.what-pillars-grid.no-images .what-pillar-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
    min-height: 260px;
}
.what-pillars-grid.no-images .what-pillar-card:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
}
.what-pillars-grid.no-images .what-pillar-title {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: left;
}
.what-pillars-grid.no-images .what-desc {
    font-size: 1.08rem;
    color: #333;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}
.what-pillars-grid.no-images .what-services-title {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 0.5rem;
}
.what-pillars-grid.no-images .what-list {
    list-style: disc inside;
    padding-left: 0.5em;
    margin: 0 0 0.7em 0;
    font-size: 1.01rem;
    color: #333;
}
.what-pillars-grid.no-images .what-list ul {
    list-style: circle inside;
    margin-left: 1em;
}
@media (max-width: 900px) {
    .what-pillars-grid.no-images {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* --- Redesigned What We Do page styles --- */
.what-section.redesigned {
    position: relative;
    padding: 2.5rem 1rem 2.5rem 2rem;
    background: #fff;
    min-height: 520px;
}
.what-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
}
.what-title {
    color: #A30000;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}
.what-overview {
    font-size: 1.13rem;
    color: #333;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.what-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    margin-top: 1.2rem;
}
.what-pillar-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.what-pillar-card:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
}
.what-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    margin-bottom: 0.7rem;
}
.what-pillar-title {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: left;
}
.what-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.05rem;
    color: #333;
    text-align: left;
}
.what-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.2em;
}
@media (max-width: 900px) {
    .what-pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* --- Redesigned Why Us page styles --- */
.why-section.redesigned {
    position: relative;
    padding: 2.5rem 1rem 2.5rem 2rem;
    background: #fff;
    min-height: 520px;
}
.why-bg-shape {
    position: absolute;
    top: 30px;
    right: 0;
    width: 320px;
    height: 380px;
    background: #e5e5e5;
    border-radius: 60px 60px 0 0;
    opacity: 0.7;
    z-index: 0;
}
.why-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
}
.why-title {
    color: #A30000;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}
.why-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: space-between;
    align-items: stretch;
}
.why-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}
.why-card:hover {
    box-shadow: 0 4px 24px rgba(163,0,0,0.13);
}
.why-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    margin-bottom: 0.7rem;
}
.why-heading {
    color: #A30000;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: center;
}
.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.05rem;
    color: #333;
    text-align: left;
}
.why-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.2em;
}
.why-card.thrust {
    border-top: 4px solid #A30000;
}
.why-card.passion {
    border-top: 4px solid #e67e22;
}
.why-card.trust {
    border-top: 4px solid #2980b9;
}
.why-card.team {
    border-top: 4px solid #16a085;
}
@media (max-width: 900px) {
    .why-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .why-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        max-height: 65vh;
        overflow-y: auto;
    }
}
/* --- Redesigned Who We Are page styles --- */
.who-section.redesigned {
    position: relative;
    padding: 2.5rem 1rem 2.5rem 2rem;
    background: #fff;
    min-height: 520px;
}
.who-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
}
.who-main-card {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    flex: 2;
    min-width: 320px;
}
.who-intro {
    font-size: 1.13rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.who-highlight {
    background: #ffeaea;
    color: #A30000;
    font-weight: 600;
    padding: 0.1em 0.3em;
    border-radius: 6px;
}
.who-3c-card {
    margin-top: 1.2rem;
}
.who-3c-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.7rem;
}
.who-3c-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
}
.who-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.who-list-red {
    color: #A30000;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.who-team-card {
    background: #fff6f6;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(163,0,0,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1;
    min-width: 260px;
    margin-top: 0.5rem;
}
.who-team-title {
    color: #A30000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.who-team-desc {
    color: #333;
    font-size: 1.08rem;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .who-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .who-main-card, .who-team-card {
        min-width: 0;
        width: 100%;
    }
}
/* --- Custom styles for Who We Are page --- */
.who-section {
    position: relative;
    padding: 2.5rem 1rem 2.5rem 2rem;
    background: #fff;
    min-height: 480px;
}
.who-bg-shape {
    position: absolute;
    top: 30px;
    right: 0;
    width: 320px;
    height: 380px;
    background: #e5e5e5;
    border-radius: 60px 60px 0 0;
    opacity: 0.7;
    z-index: 0;
}
.who-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
}
.who-title {
    color: #A30000;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}
.who-content p {
    color: #333;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}
.who-sub {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #222;
}
.who-3c {
    font-weight: 700;
    color: #A30000;
}
.who-list {
    list-style: none;
    margin: 0 0 1.2rem 0;
    padding: 0;
}
.who-list-item {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.who-list-red {
    color: #A30000;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.who-team {
    color: #333;
    font-size: 1.08rem;
    margin-top: 1.2rem;
    line-height: 1.7;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Basic Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo a {
    color: #0056b3;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    padding: 0 1.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0056b3;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background: #fff;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

.hero-boxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-box {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 2.5rem;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 320px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hero-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.hero-box h3 {
    margin: 0 0 1rem 0;
    color: #0056b3;
    font-size: 1.5rem;
}

.hero-box p {
    margin: 0;
    font-size: 1rem;
}

.hero-image-box img {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

/* --- Modern Home Page Styles --- */
.hero-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 2rem 2.5rem 2rem;
    background: linear-gradient(90deg, #f8f8f8 60%, #fff 100%);
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-modern-content {
    flex: 2 1 340px;
    max-width: 600px;
}
.hero-modern-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #A30000;
    margin-bottom: 1.1rem;
    line-height: 1.15;
}
.hero-modern-subtitle {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.5;
}
.hero-modern-cta {
    display: inline-block;
    background: #A30000;
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.hero-modern-cta:hover {
    background: #7a0000;
}
.hero-modern-image {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}
.hero-modern-image img {
    max-width: 340px;
    width: 100%;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(163,0,0,0.08);
}

.home-services {
    padding: 3rem 2rem 2.5rem 2rem;
    background: #fff;
    text-align: center;
}
.home-services-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2.2rem;
}
.home-services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.home-service-card {
    background: #f8f8f8;
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem 1.3rem 1.5rem 1.3rem;
    max-width: 260px;
    min-width: 180px;
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.2s, transform 0.2s;
}
.home-service-card:hover {
    box-shadow: 0 6px 24px rgba(163,0,0,0.13);
    transform: translateY(-6px) scale(1.03);
}
.home-service-icon {
    font-size: 2.2rem;
    color: #A30000;
    margin-bottom: 0.7rem;
}
.home-service-card h3 {
    margin: 0.5rem 0 0.7rem 0;
    font-size: 1.15rem;
    color: #222;
    font-weight: 600;
    text-align: center;
}
.home-service-card p {
    font-size: 1rem;
    color: #444;
    text-align: center;
    margin: 0;
}
@media (max-width: 900px) {
    .hero-modern {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2.2rem 1rem 1.5rem 1rem;
    }
    .hero-modern-content, .hero-modern-image {
        max-width: 100%;
        min-width: 0;
        width: 95%;
    }
    .home-services-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
}
/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section h2 {
    text-align: left !important;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    color: #0056b3;
}
.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    color: #0056b3;
}

.content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}

.bg-light {
    background: #fff;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.service-card img {
    max-width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #0056b3;
}

/* Footer */
footer {
  background: #e0e0e0 !important;
  color: #555 !important;
  font-size: 0.85em !important;
  height: 32px !important;
  min-height: 24px !important;
  padding: 4px 0 !important;
  text-align: center !important;
  border-top: 1px solid #ccc !important;
  box-sizing: border-box !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* --- Modern Who We Are Page Styles --- */
.who-flex-modern {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.who-main-card-modern {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2.2rem 2rem 2rem 2rem;
    max-width: 480px;
    min-width: 300px;
    flex: 2 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.who-3c-card-modern {
    margin-top: 2rem;
    width: 100%;
}
.who-3c-list-modern {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.who-3c-item-modern {
    background: #f8f8f8;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(163,0,0,0.06);
    padding: 1.2rem 1rem 1rem 1rem;
    min-width: 200px;
    max-width: 260px;
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}
.who-3c-icon {
    font-size: 2.2rem;
    color: #A30000;
    margin-bottom: 0.7rem;
}
.who-3c-bulletbox-modern {
    margin-bottom: 0.5rem;
}
.who-3c-bulletlist-modern {
    padding-left: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #444;
}
.who-list-red-modern {
    color: #A30000;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 0.2rem;
    text-align: center;
}
.who-team-card-modern {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2.2rem 2rem 2rem 2rem;
    max-width: 350px;
    min-width: 220px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.who-team-desc-modern {
    font-size: 1rem;
    color: #444;
    text-align: justify;
    margin: 0;
}
.who-intro-modern {
    font-size: 1.08rem;
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
}
/* Divider for Who We Are 3Cs and Team boxes */
.who-3c-divider {
    border: none;
    border-top: 1.5px solid #A30000;
    margin: 0.7rem 0 1rem 0;
    width: 60%;
    align-self: center;
}
.who-3c-divider-capacity {
    margin-left: 0;
    margin-right: auto;
    display: block;
    width: 60%;
}
.who-3c-item .who-3c-bulletlist,
.who-3c-item .who-3c-bulletlist.capacity-align {
    margin-left: 0;
    padding-left: 0;
}
.who-3c-item:not(:last-child) .who-3c-bulletlist {
    margin-left: 1.5rem;
}
/* Stronger mobile rules to prevent overlap on Who We Are, What We Do, Why Us, Reach Us */
@media (max-width: 700px) {
  .container,
  .who-container,
  .what-container,
  .why-container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 2em 0.5em !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .content-section {
    padding: 2em 0.2em !important;
  }
  .who-flex,
  .why-flex,
  .who-people-flex,
  .contact-container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 2.5em !important;
    min-height: 1px !important;
  }
  .who-card,
  .why-card,
  .who-main-card,
  .who-3c-card,
  .contact-info,
  .contact-form {
    width: 100% !important;
    min-width: 0 !important;
    margin: 2em 0 !important;
    box-sizing: border-box;
    padding: 2em 0.7em !important;
    min-height: 1px !important;
    background: #fff !important;
    border-radius: 1em !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
  }
  .who-bg-shape,
  .why-bg-shape {
    display: none !important;
  }
  h2,
  h3,
  .who-title,
  .why-title {
    font-size: 1.25em !important;
    text-align: center !important;
    margin-bottom: 1.5em !important;
  }
  .why-list,
  .who-list {
    font-size: 1em !important;
    padding-left: 1em !important;
    margin-bottom: 1.5em !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 1.5em !important;
    display: block !important;
  }
  .form-group input,
  .form-group textarea {
    width: 100% !important;
    font-size: 1em !important;
    margin-bottom: 1.5em !important;
    box-sizing: border-box !important;
  }
  .cta-button {
    width: 100% !important;
    font-size: 1.1em !important;
    padding: 1em !important;
    margin-top: 1.5em !important;
  }
}
/* Mobile: Prevent content overlap for Who We Are, What We Do, Why Us, Reach Us */
@media (max-width: 700px) {
  .container,
  .who-container,
  .what-container,
  .why-container {
    width: 98vw !important;
    max-width: 98vw !important;
    padding: 1.2em 0.7em !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  .content-section {
    padding: 1.2em 0.2em !important;
  }
  .who-flex,
  .why-flex,
  .who-people-flex,
  .contact-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2em !important;
  }
  .who-card,
  .why-card,
  .who-main-card,
  .who-3c-card,
  .contact-info,
  .contact-form {
    width: 100% !important;
    min-width: 0 !important;
    margin: 1.2em 0 !important;
    box-sizing: border-box;
    padding: 1.2em 0.7em !important;
  }
  .who-bg-shape,
  .why-bg-shape {
    display: none !important;
  }
  h2,
  h3,
  .who-title,
  .why-title {
    font-size: 1.25em !important;
    text-align: center !important;
    margin-bottom: 1em !important;
  }
  .why-list,
  .who-list {
    font-size: 1em !important;
    padding-left: 1em !important;
    margin-bottom: 1em !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 1em !important;
  }
  .form-group input,
  .form-group textarea {
    width: 100% !important;
    font-size: 1em !important;
    margin-bottom: 1em !important;
  }
  .cta-button {
    width: 100% !important;
    font-size: 1.1em !important;
    padding: 0.7em !important;
    margin-top: 1em !important;
  }
}
/* Add mobile compatibility for Who We Are, What We Do, Why Us, Reach Us pages */
@media (max-width: 700px) {
  .container,
  .who-container,
  .what-container,
  .why-container {
    width: 98vw !important;
    max-width: 98vw !important;
    padding: 0.5em 0.5em !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  .content-section {
    padding: 0.5em 0.2em !important;
  }
  .who-flex,
  .why-flex,
  .who-people-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1em !important;
  }
  .who-card,
  .why-card,
  .who-main-card,
  .who-3c-card,
  .contact-info,
  .contact-form {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0.7em 0 !important;
    box-sizing: border-box;
  }
  .contact-container {
    flex-direction: column !important;
    gap: 1em !important;
  }
  .who-bg-shape,
  .why-bg-shape {
    display: none !important;
  }
  h2,
  h3,
  .who-title,
  .why-title {
    font-size: 1.25em !important;
    text-align: center !important;
  }
  .why-list,
  .who-list {
    font-size: 1em !important;
    padding-left: 1em !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  .form-group input,
  .form-group textarea {
    width: 100% !important;
    font-size: 1em !important;
  }
  .cta-button {
    width: 100% !important;
    font-size: 1.1em !important;
    padding: 0.7em !important;
  }
}

/* Add strong mobile override for service cards */
@media (max-width: 700px) {
  .home-service-card {
    width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
    margin: 0 0 1.2em 0 !important;
    border-radius: 1em !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
    overflow-y: auto !important;
    max-height: 350px !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  .home-service-card *,
  .who-card *,
  .what-card *,
  .why-card *,
  .contact-card * {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
}
/* Desktop/laptop view for service cards */
@media (min-width: 701px) {
  .home-service-card {
    width: 85% !important;
    transform: scale(0.93) !important;
    border-radius: 1em !important;
  }
  .home-service-card.highlight-comp-benefits {
    border: 3px solid #F9A602 !important;
  }
  .home-service-card[href="human-capital-strategy.html"] { border: 3px solid #0077B6 !important; }
  .home-service-card[href="mergers-and-acquisitions.html"] { border: 3px solid #43A047 !important; }
  .home-service-card[href="communication.html"] { border: 3px solid #8E24AA !important; }
  .home-service-card[href="sales-effectiveness.html"] { border: 3px solid #0077B6 !important; }
}

/* Force override for Our Engagement Philosophy box (desktop/laptop view) */
.who-engagement-card {
  background: transparent !important;
  box-shadow: none !important;
  border: 2.5px solid #a30000 !important;
  border-radius: 1.1em !important;
  padding: 2em 2em !important;
  color: #111 !important;
  max-width: 650px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  overflow: hidden !important;
}