

/* HOME ABOUT SECTION */

.apm-expertise-section {
  position: relative;
  overflow: hidden;
  padding: 90px 6vw;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 154, 74, 0.10) 0%, rgba(217, 154, 74, 0) 28%),
    linear-gradient(135deg, #FFFFFF 0%, #F8FAFF 50%, #EEF4FF 100%);
  font-family: "Barlow", sans-serif;
  color: #10182F;
}

.apm-expertise-section * {
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}

.apm-expertise-wrap {
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.apm-expert-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  overflow: hidden;
  margin-bottom: 58px;
  border-radius: 28px;
  background: #0B163F;
  box-shadow: 0 26px 70px rgba(11, 22, 63, 0.20);
}

.apm-expert-content {
  padding: 54px 48px;
  color: #FFFFFF;
}

.apm-expert-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #E8B46C;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apm-expert-title {
  margin: 0;
  color: #FFFFFF !important;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.apm-expert-line {
  width: 72px;
  height: 4px;
  margin: 28px 0 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D99A4A, #E8B46C);
}

.apm-expert-text {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.84);
  font-size: 25px;
  line-height: 1.6;
  font-weight: 400;
}

.apm-expert-text strong {
  color: #E8B46C;
  font-weight: 800;
}

.apm-expert-visual {
  position: relative;
  min-height: 520px;
  padding: 48px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background:
    radial-gradient(circle at 75% 18%, rgba(217, 154, 74, 0.16) 0%, rgba(217, 154, 74, 0) 32%),
    linear-gradient(135deg, #101E49 0%, #0B163F 62%, #08112F 100%);
}

.apm-expert-visual::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(217, 154, 74, 0.28);
}

.apm-expert-visual::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: 46px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(217, 154, 74, 0.35) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: 0.7;
}

.apm-expert-profile {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 360px;
}

.apm-expert-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    url("https://agilepm.education/wp-content/uploads/2025/03/Levente-Antal-Szava-1.jpg");
  background-size: cover;
  background-position: center top;
  border: 3px solid rgba(217, 154, 74, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  margin-bottom: 18px;
}



.apm-expert-profile-name {
  margin: 0 0 2px !important;
  color: #FFFFFF;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.apm-expert-profile-founder {
  margin: 2px 0 0 !important;
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.apm-expert-profile-role {
  margin: 2px 0 0 !important;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
}

.apm-expert-tags {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 560px;
}

.apm-expert-tag {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(221, 229, 242, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.apm-expert-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F1F5FB;
  color: #0B163F;
}

.apm-expert-tag:nth-child(2n) .apm-expert-tag-icon {
  background: rgba(217, 154, 74, 0.14);
  color: #D99A4A;
}

.apm-expert-tag-text {
  margin: 0;
  color: #0B163F;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
}

.apm-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 30px 26px;
  border: 1px solid rgba(221, 229, 242, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(11, 22, 63, 0.08);
  backdrop-filter: blur(10px);
}

.apm-stat-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 10px 28px;
}

.apm-stat-item:not(:last-child) {
  border-right: 1px solid #DDE5F2;
}

.apm-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F1F5FB;
  color: #0B163F;
}

.apm-stat-number {
  margin: 0 0 6px;
  color: #0B163F;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.apm-stat-title {
  margin: 0 0 4px;
  color: #0B163F;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.apm-stat-text {
  margin: 0;
  color: #596579;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.apm-expert-tag,
.apm-stat-item {
  align-items: center !important;
}

.apm-expert-tag > div,
.apm-stat-item > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.apm-expert-tag > div:last-child,
.apm-stat-item > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.apm-expert-tag-text,
.apm-stat-number,
.apm-stat-title,
.apm-stat-text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.apm-stat-number {
  margin-bottom: 6px !important;
}

.apm-stat-title {
  margin-bottom: 4px !important;
}

@media (max-width: 1200px) {
  .apm-expert-block {
    grid-template-columns: 1fr;
  }

  .apm-expert-visual {
    min-height: auto;
  }

  .apm-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apm-stat-item {
    border-right: none !important;
    border-bottom: 1px solid #DDE5F2;
  }

  .apm-stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .apm-expertise-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 64px 0 !important;
    overflow-x: hidden !important;
  }

  .apm-expertise-wrap {
    width: 100% !important;
    max-width: none !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    margin: 0 auto !important;
  }

  .apm-expert-content {
    padding: 38px 28px;
  }

  .apm-expert-visual {
    padding: 38px 24px;
  }

  .apm-expert-photo {
    width: 112px;
    height: 112px;
  }

  .apm-expert-profile-name {
    font-size: 22px;
  }

  .apm-expert-tags {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .apm-expert-tag {
    min-height: auto;
  }

  .apm-stats-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .apm-stat-item {
    padding: 20px 6px;
  }

  .apm-stat-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #DDE5F2;
  }

  .apm-stat-item:last-child {
    border-bottom: none;
  }
}

/* Expertise Section - More Details Button under cards */
.apm-expert-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.apm-expert-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 16px 32px;
  border-radius: 13px;
  background: #DF9A63;
  color: #000000 !important;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.apm-expert-cta:hover {
  transform: translateY(-2px);
  background: #F1F8FE;
  color: #000000 !important;
  text-decoration: none;
  box-shadow: none;
}

.apm-expert-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.apm-expert-cta:hover .apm-expert-cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .apm-expert-cta-wrap {
    margin-top: 24px;
  }

  .apm-expert-cta {
    min-height: 54px;
    padding: 15px 27px;
    font-size: 16px;
  }
}