/*--------------------------------------------------------------
  About Section (Skill Manthra) - custom addition
  Does not modify style.css; reuses theme variables + section-title
--------------------------------------------------------------*/

.sm-about {
  position: relative;
  display: block;
  padding: 110px 0 110px;
  overflow: hidden;
  z-index: 1;
}

.sm-about__img-box {
  position: relative;
  display: block;
  max-width: 480px;
}

.sm-about__img-box--vertical {
  max-width: 420px;
  margin-left: auto;
}

/* Decorative offset frame that sits behind the vertical photo */
.sm-about__img-frame {
  position: absolute;
  top: -24px;
  right: -24px;
  bottom: 40px;
  left: 24px;
  border: 3px solid var(--sm-gold);
  border-radius: 20px;
  z-index: 0;
}

.sm-about__img-main {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(13, 46, 98, 0.15);
  z-index: 1;
}

.sm-about__img-box--vertical .sm-about__img-main {
  aspect-ratio: 3 / 4;
}

.sm-about__img-main img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.sm-about__img-box--vertical .sm-about__img-main img {
  height: 100%;
  object-fit: cover;
}

.sm-about__img-badge {
  position: absolute;
  left: -30px;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--glorify-white);
  border: 4px solid var(--sm-gold);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: 0 20px 40px rgba(13, 46, 98, 0.18);
  z-index: 2;
}

.sm-about__img-badge span {
  font-size: 42px;
  color: var(--sm-gold);
  line-height: 1;
}

.sm-about__img-badge h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--sm-navy);
  line-height: 1em;
  margin: 0;
}

.sm-about__img-badge p {
  font-size: 13px;
  font-weight: 600;
  color: var(--glorify-gray);
  text-transform: uppercase;
  margin: 4px 0 0;
}

.sm-about__right {
  position: relative;
  display: block;
  margin-top: 40px;
}

.sm-about__text {
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 35px;
}

.sm-about__points {
  position: relative;
  display: block;
  margin: 0 0 40px;
  padding: 0;
}

.sm-about__points li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  list-style: none;
  border-bottom: 1px solid rgba(var(--glorify-gray-rgb), .15);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.sm-about__points li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.sm-about__points-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(var(--sm-gold-rgb), .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-about__points-icon span {
  font-size: 28px;
  color: var(--sm-navy);
}

.sm-about__points-content h4 {
  font-size: 19px;
  font-weight: 600;
  line-height: 24px;
  color: var(--sm-navy);
  margin: 0 0 8px;
}

.sm-about__points-content p {
  font-size: 15px;
  line-height: 24px;
  margin: 0;
}

@media (max-width: 991px) {
  .sm-about__img-box {
    max-width: 400px;
    margin: 0 auto 60px;
  }

  .sm-about__img-box--vertical {
    margin: 0 auto 60px;
  }

  .sm-about__right {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .sm-about__img-badge {
    left: 0;
    bottom: -20px;
    padding: 14px 18px;
  }

  .sm-about__img-badge span {
    font-size: 32px;
  }

  .sm-about__img-badge h3 {
    font-size: 22px;
  }

  .sm-about__img-frame {
    top: -14px;
    right: -14px;
    left: 14px;
  }
}

/*--------------------------------------------------------------
  Features Section (Skill Manthra) - custom redesign
  Independent "sm-feature-card" system; does not touch style.css
--------------------------------------------------------------*/

.sm-features {
  position: relative;
  display: block;
  padding: 110px 0 120px;
  overflow: hidden;
  z-index: 1;
}

.sm-features__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.sm-features__blob--1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -140px;
  background: rgba(var(--sm-gold-rgb), .10);
}

.sm-features__blob--2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: -160px;
  background: rgba(var(--sm-navy-rgb), .06);
}

.sm-feature-card {
  position: relative;
  display: block;
  height: 100%;
  background-color: var(--glorify-white);
  border-radius: 18px;
  padding: 44px 30px 38px;
  box-shadow: 0 15px 40px rgba(13, 46, 98, 0.08);
  border: 1px solid rgba(var(--sm-navy-rgb), .06);
  overflow: hidden;
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.sm-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(13, 46, 98, 0.16);
}

/* Gold "certificate corner" fold - the signature detail, echoing the
   institute's certifications */
.sm-feature-card__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, transparent 50%, var(--sm-gold) 50%);
  transition: width 350ms ease, height 350ms ease;
}

.sm-feature-card:hover .sm-feature-card__corner {
  width: 52px;
  height: 52px;
}

.sm-feature-card__icon {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--sm-navy), #163f86);
  box-shadow: 0 12px 24px rgba(13, 46, 98, 0.25);
  transition: background 400ms ease, transform 400ms ease;
}

.sm-feature-card__icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--sm-gold-rgb), .55);
}

.sm-feature-card__icon span {
  position: relative;
  font-size: 36px;
  color: var(--sm-gold);
  transition: color 400ms ease, transform 400ms ease;
}

.sm-feature-card:hover .sm-feature-card__icon {
  background: linear-gradient(145deg, var(--sm-gold), #f6c452);
  transform: rotate(-6deg);
}

.sm-feature-card:hover .sm-feature-card__icon span {
  color: var(--sm-navy);
  transform: rotate(6deg);
}

.sm-feature-card__title {
  position: relative;
  display: inline-block;
  font-size: 21px;
  font-weight: 700;
  line-height: 28px;
  color: var(--sm-navy);
  margin: 0 0 14px;
  padding-bottom: 12px;
}

.sm-feature-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background-color: var(--sm-gold);
  border-radius: 2px;
  transition: width 400ms ease;
}

.sm-feature-card:hover .sm-feature-card__title::after {
  width: 60px;
}

.sm-feature-card__text {
  font-size: 15px;
  line-height: 25px;
  color: var(--glorify-gray);
  margin: 0;
}

@media (max-width: 575px) {
  .sm-feature-card {
    padding: 36px 24px 30px;
  }

  .sm-feature-card__icon {
    width: 70px;
    height: 70px;
  }

  .sm-feature-card__icon span {
    font-size: 30px;
  }
}
