/* ==========================================================================
   PHYSIO WELLNESS CLINIC - ABOUT PAGE
   Visual system adapted from index.css
   ========================================================================== */

:root {
  --color-primary: #2e6f40;
  --color-primary-dark: #1e4a2b;
  --color-primary-light: #3e8e54;
  --color-primary-subtle: #e8f4ec;
  --color-secondary: #1f4d8d;
  --color-secondary-dark: #153562;
  --color-accent: #f04d23;
  --color-accent-hover: #d33c14;
  --color-accent-subtle: #feeeea;
  --color-bg-dark: #2e6f40;
  --color-bg-light: #ffffff;
  --color-bg-surface: #f9fbf9;
  --color-text-white: #ffffff;
  --color-text-heading: #172d1f;
  --color-text-body: #374151;
  --color-text-muted: #6b7280;
  --color-text-light-muted: rgba(255,255,255,.86);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Crimson Text', Georgia, serif;
  --font-mono: 'Anonymous Pro', monospace;

  --shadow-sm: 0 2px 5px rgba(0,0,0,.08);
  --shadow-md: 0 5px 15px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 30px rgba(0,0,0,.18);
  --shadow-card: 0 6px 24px rgba(0,0,0,.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max-width: 1240px;
  --header-height: 85px;
  --transition-fast: .2s cubic-bezier(.4,0,.2,1);
  --transition-normal: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-surface);
  color: var(--color-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast), color var(--transition-fast),
              transform var(--transition-fast), background var(--transition-fast);
}

button { font: inherit; cursor: pointer; border: 0; background: none; }

ul { list-style: none; }

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding { padding: 5.5rem 0; }

.section-title {
  font-size: 2.45rem;
  font-weight: 700;
  margin-bottom: .85rem;
  letter-spacing: -.01em;
  text-align: center;
}

.section-title.dark { color: var(--color-primary); }
.section-title.light { color: #fff; }
.section-title.left { text-align: left; }

.section-subtitle,
.section-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 720px;
}

.section-lead {
  margin: 0 auto;
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 3rem;
  text-align: center;
}

.section-subtitle.dark { color: var(--color-text-body); }
.section-subtitle.light { color: var(--color-text-light-muted); }

.section-intro { text-align: center; max-width: 850px; margin: 0 auto 3rem; }
.section-intro.light { color: #fff; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(240,77,35,.2);
  padding: .35rem .9rem;
  border-radius: var(--radius-full);
}

.light-tag {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31,77,141,.35);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,77,141,.45);
}

/* --------------------------------------------------------------------------
   HEADER / NAVIGATION
   -------------------------------------------------------------------------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: .5rem 0;
  background: transparent;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  position: fixed;
  background: rgba(46,111,64,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 6px 22px rgba(0,0,0,.2);
  padding: 0;
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header logo pinned flush to the container's LEFT edge; the nav bar gets its
   own right breathing room while staying pinned to the RIGHT edge. */
.site-header .brand-logo {
  padding-left: 0;
  margin-right: 4rem; /* guaranteed breathing room between the logo & nav */
}

.site-header .nav-links {
  margin-right: 4rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: .875rem;
  z-index: 101;
}

.brand-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-icon-wrapper { transform: scale(1.05); }
.brand-icon-wrapper img { width: 100%; height: 100%; object-fit: contain; }

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(255,255,255,.85);
}

.site-header.scrolled .brand-name { color: #fff; text-shadow: none; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .35rem .6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.site-header.scrolled .nav-links {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: .5rem 1.1rem;
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--color-primary-dark);
  background: rgba(255,255,255,.8);
}

.nav-link.active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(46,111,64,.35);
}

.site-header.scrolled .nav-link { color: rgba(255,255,255,.9); }
.site-header.scrolled .nav-link:hover { background: rgba(255,255,255,.15); color: #fff; }
.site-header.scrolled .nav-link.active { background: #fff; color: var(--color-primary); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #2e6f40;
  color: #ffffff;
  z-index: 101;
}

/* Social Media Icons (displayed right after the navigation links) */
.nav-social {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-left: .9rem;
  padding-left: .95rem;
  border-left: 1px solid rgba(46,111,64,.3);
  flex-shrink: 0;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 5px rgba(0,0,0,.08);
  transition: all var(--transition-fast);
}

.nav-social-link svg { width: 16px; height: 16px; fill: currentColor; display: block; }

.nav-social-link:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46,111,64,.35);
}

/* Social icons on the solid green (scrolled) header */
.site-header.scrolled .nav-social { border-left-color: rgba(255,255,255,.3); }
.site-header.scrolled .nav-social-link {
  background: rgba(255,255,255,.15);
  color: #fff;
  box-shadow: none;
}
.site-header.scrolled .nav-social-link:hover { background: #fff; color: var(--color-primary); }

/* --------------------------------------------------------------------------
   PAGE HEADER (ABOUT TITLE)
   -------------------------------------------------------------------------- */

.about-page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-primary);
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  color: #fff;
}

.about-page-header::before,
.about-page-header::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.about-page-header::before {
  width: 460px;
  height: 460px;
  top: -130px;
  right: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
}

.about-page-header::after {
  width: 420px;
  height: 420px;
  bottom: -150px;
  left: -110px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%);
}

.about-page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  animation: fadeInUp .8s ease-out both;
}

.about-page-header-inner .section-tag { margin-bottom: 1.25rem; }

.about-page-header-inner h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -.01em;
}

.about-page-header-inner p {
  color: rgba(255,255,255,.9);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   WHO WE ARE
   -------------------------------------------------------------------------- */

.who-section { background: #fff; }

.who-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 3rem;
  align-items: stretch;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.who-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,.2);
}

.who-copy p {
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
  line-height: 1.8;
}

.who-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.highlight-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
}

.who-highlight h3 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: .85rem;
}

.who-highlight p {
  color: var(--color-text-body);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 640px;
}

/* Image column shown alongside the Who We Are copy */
.who-image {
  display: flex;
  align-items: stretch;
  min-height: 320px;
}

.who-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

/* --------------------------------------------------------------------------
   VISION / MISSION / VALUES
   -------------------------------------------------------------------------- */

.identity-section {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.identity-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 2.75rem 2.5rem;
  background: rgba(217,217,217,.18);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
}

.identity-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.identity-card::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: transform var(--transition-slow);
}

.identity-card:hover::after { transform: scale(1.35); }

.identity-card.values-card { grid-column: 1 / -1; min-height: auto; }

.card-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,.55);
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
}

.identity-card h3 {
  font-size: 1.7rem;
  margin-bottom: .9rem;
}

.identity-card > p {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 650px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.value-list li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.value-list strong { font-size: 1rem; color: #fff; }
.value-list span { font-size: .94rem; color: rgba(255,255,255,.78); line-height: 1.55; }

/* --------------------------------------------------------------------------
   CLINICAL PHILOSOPHY
   -------------------------------------------------------------------------- */

.philosophy-section { background: var(--color-bg-surface); }

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.philosophy-heading { padding-right: 1rem; }

.philosophy-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-top: 1.25rem;
}

/* Image beneath the philosophy paragraph — kept at its natural 4:3 aspect
   ratio so it is never cropped. The grid stretches both columns to the same
   height so the left column and the treatment panel stay level. */
.philosophy-image {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(46,111,64,.12);
}

.philosophy-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.philosophy-panel {
  padding: 2.5rem;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240,77,35,.2);
  box-shadow: var(--shadow-card);
}

.panel-intro {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
}

.philosophy-list div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e8eee9;
}

.philosophy-list span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
}

.philosophy-list strong {
  color: var(--color-accent);
  font-size: .98rem;
}

/* --------------------------------------------------------------------------
   MULTIDISCIPLINARY TEAM
   -------------------------------------------------------------------------- */

.team-section {
  background: var(--color-primary);
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-info-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(217,217,217,.18);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.team-info-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.25);
  box-shadow: var(--shadow-lg);
}

.team-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.team-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: .75rem;
}

.team-info-card p {
  color: rgba(255,255,255,.84);
  font-size: .96rem;
  line-height: 1.65;
}

.team-info-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}

.team-info-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 5px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: var(--shadow-card);
  margin-bottom: 0;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.team-info-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}

.team-info-card:hover .team-info-avatar {
  transform: scale(1.05);
}

.team-info-card .team-info-name {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,.95);
  margin: 0;
  flex: 1;
  min-width: 0;
}

.team-info-card h3.team-info-role {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .6rem;
}

.team-info-bio {
  color: rgba(255,255,255,.84);
  font-size: .96rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: var(--radius-full);
  padding: .7rem 1.5rem;
  font-size: .9rem;
  box-shadow: none;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

.team-info-card .btn-view-profile {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Team Profile Modal --- */
.team-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 32, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.team-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.team-modal-card {
  background: #ffffff;
  color: var(--color-text-body);
  border-radius: var(--radius-lg);
  max-width: 740px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.75rem;
}

.team-modal-backdrop.open .team-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f3;
  color: var(--color-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.team-modal-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 2rem;
}

.profile-avatar-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: var(--color-primary);
  padding: 5px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.profile-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}

.profile-header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-badge {
  display: inline-block;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.profile-name {
  font-size: 1.75rem;
  color: var(--color-text-heading);
  margin-bottom: 0.25rem;
}

.profile-role {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.profile-creds {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.profile-branch {
  font-size: 0.9rem;
  color: var(--color-text-body);
  font-weight: 500;
}

.profile-body {
  display: flex;
  flex-direction: column;
}

.profile-section-title {
  font-size: 1.25rem;
  color: var(--color-text-heading);
  margin-bottom: 0.65rem;
}

.profile-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
}

.profile-specialties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.profile-spec-tag {
  background: #f0f7f2;
  color: var(--color-primary-dark);
  border: 1px solid rgba(46, 111, 64, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

.profile-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.profile-modal-actions .btn {
  width: auto;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US
   -------------------------------------------------------------------------- */

.why-section { background: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2.4rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-8px);
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: .8rem;
}

.why-card p {
  color: rgba(255,255,255,.88);
  font-size: .96rem;
  line-height: 1.65;
}

.why-card:nth-child(4),
.why-card:nth-child(5) {
  grid-column: span 1;
}

/* --------------------------------------------------------------------------
   COMPLIANCE
   -------------------------------------------------------------------------- */

.compliance-section { background: var(--color-bg-surface); }

.compliance-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: #c62828;
  border: 1px solid rgba(198,40,40,.35);
  box-shadow: var(--shadow-card);
}

.compliance-card h2 {
  color: #fff;
  font-size: 2rem;
  margin: .2rem 0 1rem;
}

.compliance-card p {
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: .75rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-primary-dark);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.site-footer .brand-logo { text-decoration: none; }

.site-footer .footer-brand-name { color: #fff; text-shadow: none; white-space: nowrap; }

.footer-desc {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 320px;
}

/* Social media icons (footer brand column) */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: .25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  transition: all var(--transition-fast);
}

.footer-social-link svg { width: 17px; height: 17px; fill: currentColor; display: block; }

.footer-social-link:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-links a { color: rgba(255,255,255,.82); font-size: .95rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}

/* --------------------------------------------------------------------------
   ANIMATION
   -------------------------------------------------------------------------- */

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  :root { --container-max-width: 960px; }
  .nav-link { padding: .45rem .85rem; font-size: .9rem; }
  /* Not enough room for the inline social icons between 993px–1200px —
     they reappear inside the mobile drawer below 992px. */
  .nav-social { display: none; }
  .who-card { padding: 2.75rem 2.25rem; }
  .philosophy-layout { gap: 2.5rem; }
}

@media (max-width: 992px) {
  :root { --container-max-width: 720px; }
  .section-padding { padding: 4.5rem 0; }
  .section-title { font-size: 2.15rem; }

  .mobile-toggle { display: flex; }

  .site-header .brand-logo { padding-left: 0; margin-right: 2rem; }
  .site-header .nav-links { margin-right: 2rem; }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-primary);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: .75rem;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-top: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .45s ease, visibility .45s ease;
    /* Keep the drawer within the viewport once the services submenu expands */
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Keep the drawer solid green when the header is scrolled too
     (the global .site-header.scrolled .nav-links rule sets transparent) */
  .site-header.scrolled .nav-links {
    background: var(--color-primary);
  }

  .nav-link {
    font-size: 1.1rem;
    padding: .85rem 1.25rem;
    border-radius: var(--radius-sm);
    text-align: center;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
  }

  .nav-link:hover,
  .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.3);
  }

  /* Social icons inside the mobile navigation drawer */
  .nav-social {
    display: flex;
    margin: .5rem 0 0;
    padding: 1.1rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.2);
    justify-content: center;
    gap: .9rem;
  }

  .nav-social-link {
    width: 42px;
    height: 42px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: none;
  }

  .nav-social-link svg { width: 18px; height: 18px; }

  .nav-social-link:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
    transform: none;
  }

  .about-page-header { min-height: auto; padding-top: calc(var(--header-height) + 1.5rem); }
  .about-page-header-inner h1 { font-size: 2.4rem; }

  .who-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .who-image { min-height: 280px; }

  .who-copy {
    padding-right: 0;
    padding-bottom: 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .identity-grid { grid-template-columns: 1fr; }
  .identity-card.values-card { grid-column: auto; }
  .value-list { grid-template-columns: 1fr 1fr; }

  .philosophy-layout { grid-template-columns: 1fr; }
  .philosophy-heading { padding-right: 0; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Team Profile Modal Responsive */
  .team-modal-card {
    padding: 2rem;
    max-width: 640px;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .profile-avatar-wrap {
    width: 110px;
    height: 110px;
  }

  .profile-header-info {
    align-items: center;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-role {
    font-size: 1.05rem;
  }

  .profile-modal-actions {
    justify-content: center;
  }

  .profile-modal-actions .btn {
    width: 100%;
  }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .site-header .brand-logo { padding-left: 0; margin-right: 1rem; }
  .site-header .nav-links { margin-right: 1.5rem; }
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 2rem; }

  .about-page-header-inner h1 { font-size: 2.2rem; }

  .who-card { padding: 2rem 1.5rem; }
  .who-copy p { font-size: 1rem; }
  .who-image { min-height: 220px; }

  .identity-card { padding: 2.25rem 1.75rem; }
  .value-list { grid-template-columns: 1fr; }

  .philosophy-panel { padding: 2rem 1.5rem; }

  .team-grid,
  .why-grid { grid-template-columns: 1fr; }

  .team-info-head { gap: .8rem; }
  .team-info-avatar { width: 72px; height: 72px; }
  .team-info-card .team-info-name { font-size: .98rem; }

  /* Team Profile Modal Mobile */
  .team-modal-card {
    padding: 1.5rem;
    max-height: 85vh;
  }

  .team-modal-content {
    gap: 1.5rem;
  }

  .profile-header {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .profile-avatar-wrap {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 1.35rem;
  }

  .modal-close-btn {
    top: 0.85rem;
    right: 0.85rem;
  }

  .compliance-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .section-subtitle, .section-lead { font-size: 1rem; }

  .about-page-header-inner h1 { font-size: 2rem; }
  .about-page-header-inner p { font-size: 1rem; }

  .identity-card { min-height: auto; }
  .who-highlight h3 { font-size: 1.45rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
/* --------------------------------------------------------------------------
   SERVICES NAV DROPDOWN (shared with Services page)
   -------------------------------------------------------------------------- */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}

.nav-dropdown-arrow {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .6rem;
  background: #fff;
  border: 1px solid rgba(46, 111, 64, .16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 130;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: .55rem .95rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text-heading);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-link:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 992px) {
  /* Stack the Services tab and its submenu so the tab fills the drawer width
     and matches the size of the other nav tabs. */
  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-trigger {
    justify-content: center;
    display: flex;
    width: 100%;
  }

  /* Mobile/tablet: the submenu is collapsed by default and drops down when the
     Services tab is tapped (JS toggles the .open class on .nav-dropdown). */
  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0 .35rem;
    margin-top: 0;
    transition: max-height .35s ease, opacity .35s ease, padding .35s ease,
                margin-top .35s ease, visibility .35s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    padding: .35rem;
    margin-top: .25rem;
  }

  .nav-dropdown-link {
    text-align: center;
    white-space: normal;
    color: #fff;
  }

  .nav-dropdown-link:hover { background: var(--color-primary); color: #fff; }

  /* Keep the chevron visible on mobile so users know the Services tab expands,
     and flip it while the submenu is open. */
  .nav-dropdown-arrow { width: 16px; height: 16px; flex-shrink: 0; }
  .nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
}
/* --------------------------------------------------------------------------
   FOOTER SOCIAL ICONS - SELF-CONTAINED SIZING (MOBILE-SAFE)
   These rules style the footer social icons only. The selectors
   (.footer-social / .footer-social-link) are intentionally separate from the
   header and mobile-drawer social icons (.nav-social / .nav-social-link), so
   the two groups never share CSS and can never affect each other.
   -------------------------------------------------------------------------- */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.footer-social-link svg {
  display: block;
  width: 17px;
  height: 17px;
  max-width: 100%;
  max-height: 100%;
  fill: currentColor;
}

/* Phones / tablets: keep the footer icons compact instead of oversized */
@media (max-width: 768px) {
  .footer-social { gap: 0.45rem; }
  .footer-social-link { width: 32px; height: 32px; max-width: 32px; max-height: 32px; }
  .footer-social-link svg { width: 15px; height: 15px; }
}

@media (max-width: 480px) {
  .footer-social { gap: 0.4rem; }
  .footer-social-link { width: 30px; height: 30px; max-width: 30px; max-height: 30px; }
  .footer-social-link svg { width: 14px; height: 14px; }
}
