/*================================================================
  12. About Section
==================================================================*/
.cs_about_style_1 {
  padding: 120px 0 85px;

  .cs_about_img {
    width: calc(100% + 40px);
    transform: translateX(-150px);

    img {
      width: 100%;
    }
  }

  .cs_about_rating {
    width: 238px;
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 20px;

    .cs_rating_text {
      margin-bottom: 8px;
    }

    .cs_rating_value {
      margin-bottom: 12px;
    }
  }

  .cs_rating_star {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .cs_section_heading_style_1 {
    margin-bottom: 24px;

    .cs_section_subtitle {
      margin-bottom: 17px;
    }
  }

  blockquote {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5em;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    padding: 10px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: rgba(200, 221, 255, 0.80);
  }

  .cs_about_text {
    padding-left: 100px;
  }

  .cs_about_desc {
    margin-bottom: 48px;
  }

  .cs_btns_wrapper {
    display: flex;
    gap: 20px 30px;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .cs_btn_style_1 {
    border: 1px solid var(--accent-color);

    &::before,
    &::after {
      background-color: var(--accent-color);
    }

    &:hover {
      color: var(--white-color);
    }
  }

  .cs_trusted_by {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;

  }

  .cs_avatar_wrapper {
    display: flex;
  }

  .cs_avatar {
    width: 50px;
    height: 50px;
    flex: none;
    margin-left: -10px;
    border: 2px solid var(--white-color);

    &:first-child {
      margin-left: 0;
    }

    img {
      width: 100%;
    }
  }

  .cs_funfact_style_1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    .cs_funfact_item {
      position: relative;

      &::after {
        content: "";
        width: 1px;
        height: 68px;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background-color: rgba(134, 148, 167, 0.50);
      }

      &:last-child {
        margin-left: auto;

        &::after {
          display: none;
        }
      }
    }
  }

  @media (max-width:1650px) {
    .cs_about_img {
      transform: translateX(-80px);
    }

    .cs_about_text {
      padding-left: 60px;
    }
  }

  @media (max-width:1500px) {
    .cs_about_img {
      width: calc(100% + 12px);
      transform: translateX(-30px);
    }
  }

  @media (max-width:1399px) {
    .cs_about_img {
      width: 100%;
      transform: translateX(0);
    }

    .cs_about_text {
      padding-left: 0;
    }

    .cs_about_desc,
    .cs_btns_wrapper {
      margin-bottom: 30px;
    }
  }

  @media (max-width:991px) {
    padding: 70px 0;
  }

  @media (max-width:575px) {
    .cs_funfact_style_1 {
      gap: 24px;
      grid-template-columns: repeat(1, 1fr);

      .cs_funfact_item {
        &:last-child {
          margin-left: 0;
        }

        &::after {
          display: none;
        }
      }
    }

    .cs_btns_wrapper {
      flex-direction: column;
    }

    .cs_about_rating {
      padding: 20px 15px;
    }
  }
}

.cs_about_style_2 {
  padding: 120px 0;

  .cs_about_content {
    padding-left: 112px;
  }

  .cs_about_img {
    width: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .cs_about_features_list {
    display: grid;
    gap: 20px;
    margin-bottom: 58px;
    grid-template-columns: repeat(2, 1fr);
  }

  .cs_about_testimonial_wrap {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .cs_testimonial {
    min-width: 648px;
    padding: 24px;

    .cs_quote_icon {
      position: absolute;
      right: 30px;
      bottom: 30px;
      border-radius: 0;
    }
  }

  .cs_award {
    min-width: 312px;
    padding: 24px 24px 40px;
    display: flex;
    gap: 24px;
    align-items: flex-end;

    .cs_award_icon {
      flex: none;
    }
  }

  blockquote {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5em;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    margin-bottom: 48px;
  }

  .cs_about_shape_1 {
    top: -200px;
    right: 0;
    filter: blur(50px);
    z-index: -1;
  }

  @media (max-width:1399px) {
    .cs_about_content {
      padding-left: 0;
    }
  }

  @media (max-width:1199px) {
    .cs_about_features_list {
      gap: 12px;
      margin-bottom: 30px;
    }

    .cs_about_text {
      margin-bottom: 30px;
    }

    .cs_about_testimonial_wrap {
      flex-direction: column;
    }

    blockquote {
      margin-bottom: 20px;
    }

    .cs_testimonial {
      min-width: auto;

      p {
        position: relative;
        z-index: 1;
      }

      .cs_quote_icon {
        right: 15px;
        bottom: 15px;
      }
    }

    .cs_award {
      min-width: auto;
      padding: 24px;
    }
  }

  @media (max-width: 991px) {
    padding: 70px 0 0;
  }

  @media (max-width: 575px) {
    .cs_about_features_list {
      grid-template-columns: repeat(1, 1fr);
    }

    .cs_award {
      gap: 15px;
      padding: 20px 15px;
    }

    .cs_testimonial {
      padding: 20px 15px;

      .cs_quote_icon {
        display: none;
      }
    }
  }
}

/*====================================================
 About Section 3
======================================================*/
.cs_about_style_3 {
  padding: 120px 0;

  .cs_section_heading_style_1 {
    width: min(100%, 1196px);
    margin: 0 auto inherit;
  }

  .cs_about_img {
    width: 100%;
    height: 100%;
    min-height: 330px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .cs_funfact_style_1 {
    width: calc(100% - 48px);
    max-width: 563px;
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    display: grid;
    gap: 20px 0;
    grid-template-columns: repeat(2, auto);
    background: rgba(19, 109, 244, 0.70);
    padding: 15px 30px;

    .cs_funfact_number {
      line-height: 1em !important;
    }
  }

  .cs_funfact_item {
    position: relative;

    &::after {
      content: "";
      width: 1px;
      height: 68px;
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.60);
    }

    &:last-child {
      margin-left: auto;

      &::after {
        display: none;
      }
    }
  }

  .cs_about_content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }


  .cs_btn_style_2 {
    width: max-content;
    border-color: var(--primary-color);

    img {
      transition: filter 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.55);
      filter: brightness(0) saturate(100%) invert(13%) sepia(11%) saturate(1768%) hue-rotate(176deg) brightness(99%) contrast(92%);
    }

    &:hover {
      color: var(--white-color);

      img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(185deg) brightness(105%) contrast(101%);
      }
    }
  }

  .cs_about_extras {
    display: grid;
    gap: 24px;
    align-items: stretch;
    margin-top: auto;
    grid-template-columns: minmax(140px, 180px) 1fr;

  }

  .cs_about_doctors_img {
    width: 100%;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.55);
    }

    &:hover img {
      transform: scale(1.03);
    }
  }

  .cs_about_hours {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cs_about_hours_title {
    line-height: 1.2;
  }

  .cs_about_hours_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;

    li {
      display: grid;
      grid-template-columns: 60px 1fr;
      gap: 12px;
      align-items: baseline;
      font-size: 14px;
      color: var(--secondary-color);
    }

    .cs_about_hours_day {
      color: var(--primary-color);
      font-weight: 500;
    }
  }

  @media (max-width: 1199px) {
    .cs_about_extras {
      grid-template-columns: minmax(120px, 150px) 1fr;
    }

    .cs_about_hours {
      padding: 18px 20px;
    }
  }

  @media (max-width: 991px) {
    padding: 60px 0;

    .cs_section_title {
      font-size: 30px;
    }

    .cs_about_extras {
      grid-template-columns: minmax(140px, 200px) 1fr;
    }
  }

  @media (max-width: 575px) {

    .cs_funfact_style_1 {
      padding: 15px;
      grid-template-columns: repeat(1, 1fr);
    }

    .cs_funfact_item {
      &:last-child {
        margin-left: 0;
      }

      &::after {
        display: none;
      }
    }

    .cs_about_extras {
      grid-template-columns: 1fr;
    }
  }
}

/*====================================================
  About Us Style 4
======================================================*/
.cs_about_style_4 {
  padding: 120px 0;

  .cs_about_heading {
    width: min(100%, 540px);
  }


  .cs_about_features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    li {
      padding-left: 34px;
      position: relative;
    }

    img {
      width: 24px;
      height: 24px;
      position: absolute;
      left: 0;
      top: 0;
    }
  }

  .cs_about_img {
    width: 100%;
    height: 100%;
    position: relative;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .cs_experience_badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 15px 30px;
    background-color: rgba(19, 109, 244, 0.70);

    .cs_experience_number {
      line-height: 1em;
      margin-bottom: 2px;
      font-family: var(--primary-font);
    }
  }

  .cs_about_content {
    padding-left: 110px;
  }

  .cs_about_desc {
    margin-bottom: 48px;
  }

  .cs_about_actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 48px;
  }

  .cs_btn_style_2 {
    border-color: var(--accent-color);
    color: var(--primary-color);

    img {
      filter: brightness(0) saturate(100%) invert(12%) sepia(14%) saturate(1565%) hue-rotate(175deg) brightness(97%) contrast(90%);
    }

    &:hover {
      color: var(--white-color);
      border-color: var(--accent-color);
      background-color: var(--accent-color);

      img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(2%) hue-rotate(166deg) brightness(104%) contrast(101%);
      }
    }
  }

  .cs_about_quote {
    display: flex;
    gap: 12px;
    align-items: flex-start;

    .cs_quote_icon {
      width: 50px;
      flex: none;
    }
  }

  .cs_about_recognition {
    display: flex;
    gap: 16px;
    padding: 20px 10px;

    .cs_recognition_icon {
      width: 50px;
      flex: none;
      border-radius: 0;
    }

    .cs_about_recognition_title {
      color: var(--secondary-color);
    }

    .cs_about_recognition_desc {
      margin: 0;
      color: var(--secondary-color);
      font-size: 14px;
    }
  }

  @media (max-width: 1399px) {
    .cs_about_content {
      padding-left: 0;
    }
  }

  @media (max-width: 1199px) {
    padding: 100px 0;
  }

  @media (max-width: 991px) {
    padding: 60px 0;

    .cs_about_heading {
      width: 100%;
    }

    .cs_about_desc,
    .cs_about_actions {
      margin-bottom: 24px;
    }
  }

  @media (max-width: 575px) {
    .cs_about_features {
      grid-template-columns: 1fr;
    }

    .cs_about_actions {
      flex-direction: column;
      align-items: flex-start;
    }

    .cs_experience_badge {
      right: 16px;
      bottom: 16px;
      padding: 14px 18px;
    }

    .cs_about_recognition {
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
    }
  }
}

/*====================================================
  Before & After Transformations Section
======================================================*/
.cs_transform_section_1 {
  padding: 120px 0 0;


  .cs_transform_content {
    width: min(100%, 420px);
  }

  .cs_transform_img {

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

  @media (max-width: 1199px) {
    padding: 100px 0;
  }

  @media (max-width: 991px) {
    padding: 70px 0 0;

    .cs_transform_content {
      width: 100%;
    }
  }
}

/*================================================================
  About Style 5
==================================================================*/
.cs_about_style_5 {
  padding: 120px 0;

  .cs_about_top {
    margin-bottom: 56px;
  }

  .cs_about_desc {
    width: 59%;
    margin-left: auto;
  }

  .cs_accredited_badge {
    width: 140px;
    height: 140px;
    padding: 10px;
    position: absolute;
    top: -70px;
    left: -82px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cs_circular_text {
    animation: circularRotation 10s linear infinite;
  }

  .cs_call_btn {
    width: 75px;
    height: 75px;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 10px;
    transform: translate(-50%, -50%);
    background-color: var(--white-color);
    transition: all 0.3s ease;

    img {
      border-radius: 0;
      transition: transform 0.2s cubic-bezier(0.445, 0.5, 0.55, 1.5);
    }

    &:hover {
      img {
        transform: scale(1.03);
      }
    }
  }

  .cs_about_card {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 24px;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.45, 0.45, 0.5, 0.55);

    &:hover {
      transform: translateY(-4px);
    }
  }

  .cs_card_icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cs_about_image {
    width: 100%;
    height: 100%;
    overflow: hidden;

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s cubic-bezier(0.35, 0.45, 0.55, 0.65);
    }

    &:hover img {
      transform: scale(1.03);
    }
  }

  @media (max-width: 1199px) {
    .cs_about_card {
      padding: 24px 15px;
    }
  }

  @media (max-width: 991px) {
    padding: 70px 0;

    .cs_about_desc {
      width: 100%;
    }

    .cs_about_top {
      margin-bottom: 40px;
    }

    .cs_about_card {
      padding: 24px 15px;
    }

    .cs_accredited_badge {
      width: 110px;
      height: 110px;
      top: -40px;
      left: -67px;
    }

    .cs_call_btn {
      width: 50px;
      height: 50px;
    }
  }

  @media (max-width: 575px) {
    .cs_accredited_badge {
      display: none;
    }

    .cs_card_icon {
      margin-left: 0;
    }
  }
}

/*===============================================
 Features Section
=================================================*/
.cs_feature_section_5 {
  @extend .cs_about_style_5;

  .cs_about_card {
    &.cs_color_1 {
      background-color: #E4DDCD;
    }

    &.cs_color_2 {
      background-color: #DBD5F7;
    }

    &.cs_color_3 {
      background-color: #BFD4CD;
    }

    .cs_card_header {
      display: flex;
      gap: 24px;
      align-items: center;
    }
  }
}