/**********************************************************************************************/
/************************** HOME-SECTION6-HOME - Agile Courses ******************************/
/**********************************************************************************************/
.apm-home-agile-courses {
  position: relative;
  overflow: hidden;
  padding: 90px 6vw;
  background:
    radial-gradient(circle at 8% 4%, rgba(217, 154, 74, 0.10) 0%, rgba(217, 154, 74, 0) 26%),
    radial-gradient(circle at 92% 96%, rgba(217, 154, 74, 0.08) 0%, rgba(217, 154, 74, 0) 30%),
    linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 52%, #FFFFFF 100%);
  font-family: "Barlow", "Inter", Arial, sans-serif;
  color: #10182F;
}

.apm-home-agile-courses::before {
  content: "";
  position: absolute;
  top: -190px;
  left: -190px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(11, 22, 63, 0.14);
  box-shadow: 0 0 0 28px rgba(217, 154, 74, 0.06);
  z-index: 0;
}

.apm-home-agile-courses::after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(11, 22, 63, 0.14);
  box-shadow: 0 0 0 28px rgba(217, 154, 74, 0.06);
  background: transparent;
  z-index: 0;
}

.apm-home-agile-courses-wrap {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
}

.apm-home-agile-courses-header {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.apm-home-agile-courses-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 154, 74, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0B163F;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.apm-home-agile-courses-title {
  margin: 0;
  color: #0B163F;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.apm-home-agile-courses-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  color: #222;
  font-size: 25px;
  line-height: 1.55;
}

.apm-home-agile-courses-line {
  width: 72px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #D99A4A, #E8B46C);
}

.apm-home-agile-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.apm-home-agile-courses-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 30px;
  border: 1px solid rgba(221, 229, 242, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(11, 22, 63, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.apm-home-agile-courses-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 154, 74, 0.55);
  box-shadow: 0 24px 58px rgba(11, 22, 63, 0.13);
}

.apm-home-agile-courses-top {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

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

.apm-home-agile-courses-card:nth-child(2) .apm-home-agile-courses-icon,
.apm-home-agile-courses-card:nth-child(3) .apm-home-agile-courses-icon {
  background: rgba(217, 154, 74, 0.14);
  color: #D99A4A;
}

.apm-home-agile-courses-card-title {
  margin: 0 0 10px;
  color: #0B163F;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.apm-home-agile-courses-intro {
  margin: 0;
  color: #25334D;
  font-size: 16px;
  line-height: 1.5;
}

.apm-home-agile-courses-details {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid #DDE5F2;
}

.apm-home-agile-courses-meta {
  display: grid;
  gap: 13px;
}

.apm-home-agile-courses-meta-row {
  display: grid;
  grid-template-columns: 28px 76px 1fr;
  align-items: start;
  gap: 10px;
  color: #21304C;
  font-size: 15px;
  line-height: 1.35;
}

.apm-home-agile-courses-meta-icon {
  display: inline-flex;
  color: #0B163F;
}

.apm-home-agile-courses-meta-label {
  color: #0B163F;
  font-weight: 800;
}

.apm-home-agile-courses-focus-box {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid #DDE5F2;
}

.apm-home-agile-courses-focus-icon {
  color: #D99A4A;
}

.apm-home-agile-courses-focus-title {
  display: block;
  margin-bottom: 5px;
  color: #0B163F;
  font-size: 15px;
  font-weight: 800;
}

.apm-home-agile-courses-focus-text {
  margin: 0;
  color: #25334D;
  font-size: 15px;
  line-height: 1.45;
}

.apm-home-agile-courses-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
  padding: 16px 20px;
  border: 2px solid #0B163F;
  border-radius: 12px;
  color: #0B163F;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.apm-home-agile-courses-cta:hover {
  background: #0B163F;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.apm-home-agile-courses-cta span {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .apm-home-agile-courses-grid {
    grid-template-columns: 1fr;
  }

  .apm-home-agile-courses-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .apm-home-agile-courses {
    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-home-agile-courses-wrap {
    width: 100% !important;
    max-width: none !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    margin: 0 auto !important;
  }

  .apm-home-agile-courses::after {
    right: -150px;
    bottom: -150px;
    width: 320px;
    height: 320px;
  }

  .apm-home-agile-courses-header {
    margin-bottom: 36px;
    text-align: left;
  }

  .apm-home-agile-courses-line {
    margin-left: 0;
  }

  .apm-home-agile-courses-subtitle {
    font-size: 18px;
  }

  .apm-home-agile-courses-card {
    padding: 24px;
  }

  .apm-home-agile-courses-top {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }

  .apm-home-agile-courses-icon {
    width: 62px;
    height: 62px;
  }

  .apm-home-agile-courses-card-title {
    font-size: 22px;
  }

  .apm-home-agile-courses-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apm-home-agile-courses-focus-box {
    padding-left: 0;
    border-left: none;
    padding-top: 18px;
    border-top: 1px solid #DDE5F2;
  }

  .apm-home-agile-courses-meta-row {
    grid-template-columns: 26px 72px 1fr;
  }
}

/* View all Courses CTA button */
.apm-home-agile-courses-footer {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.apm-home-agile-courses-main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.apm-home-agile-courses-main-cta:hover {
  transform: translateY(-2px);
  background: #1e293b;
  color: #ffffff;
}

.apm-home-agile-courses-main-cta span {
  font-size: 18px;
  line-height: 1;
}