/*! ----- CSS Trang chu home-v2.css ---------*/

.text-justify-custom {
  text-align: justify;
}

.section-banner {
	margin-bottom: 15px;
}                
.section-banner video{
	width: 100%;
	display: block;
	margin: 0;
	height: 620px;
	object-fit: cover;
}

.banner-ratio {
    /* Mobile: 500x300, tỉ lệ là 300/500 = 0.6 = 60% */
    --bs-aspect-ratio: 60%;
}

@media (min-width: 1024px) {
    .banner-ratio {
        /* PC: 1920x650, tỉ lệ là 650/1920 ≈ 0.3385 = 33.85% */
        --bs-aspect-ratio: 33.85%;
    }
}


.solugan-ratio {
    --bs-aspect-ratio: calc(80 / 480 * 100%);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.border-col {
    border-right: 2px solid #00AEEF;
}

.text-h1-counter {
  font-weight: bold;
  line-height: 1;
  font-size: calc(0.80rem + 3.18vw);
}
@media (min-width: 1200px) {
  .text-h1-counter {
    font-size: 4.5rem;
  }
}

.text-h2-counter {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.73rem + 0.59vw);
}
@media (min-width: 1200px) {
  .text-h2-counter {
    font-size: 1.4rem;
  }
}

.text-h1-svc {
  font-weight: bold;
  line-height: 1;
  font-size: calc(0.95rem + 3.8vw);
}
@media (min-width: 1200px) {
  .text-h1-svc {
    font-size: 2.3rem;
  }
}

.text-h2-svc {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.85rem + 2.85vw);
}
@media (min-width: 1200px) {
  .text-h2-svc {
    font-size: 1.6rem;
  }
}

.text-doctor {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(1.5rem + 3.5vw);
}
@media (min-width: 1200px) {
  .text-doctor {
    font-size: 3rem;
  }
}


.text-cust {
  font-weight: bold;
  line-height: 1.5;
  font-size: calc(0.85rem + 3.0vw);
}
@media (min-width: 1200px) {
  .text-cust {
    font-size: 2.5rem;
  }
}

.text-b4After {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.90rem + 3.5vw);
}
@media (min-width: 1200px) {
  .text-b4After {
    font-size: 2.5rem;
  }
}

.text-space {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(1.2rem + 3.80vw);
}
@media (min-width: 1200px) {
  .text-space {
    font-size: 4rem;
  }
}

.text-tech {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.75rem + 2.0vw);
}
@media (min-width: 1200px) {
  .text-tech {
    font-size: 2.0rem;
  }
}

.text-know {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.95rem + 3.6vw);
}
@media (min-width: 1200px) {
  .text-know {
    font-size: 3rem;
  }
}

.text-h1-drnhan {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.82rem + 2.5vw)
}
@media (min-width: 1200px) {
  .text-h1-drnhan {
    font-size: 2.28rem;
  }
}

.text-h2-drnhan {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.6rem + 0.65vw);
}
@media (min-width: 1200px) {
  .text-h2-drnhan {
    font-size: 1.22rem;
  }
}

.text-news {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(1.4rem + 3.0vw);
}
@media (min-width: 1200px) {
  .text-news {
    font-size: 2.5rem;
  }
}


.text-promo {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(1.2rem + 2.9vw);
}
@media (min-width: 1200px) {
  .text-promo {
    font-size: 2.5rem;
  }
}



.text-paper {
  font-weight: bold;
  line-height: 1.2;
  font-size: calc(0.80rem + 2.50vw);
}
@media (min-width: 1200px) {
  .text-paper {
    font-size: 2.5rem;
  }
}

.bg-dichvu {
    position: relative;
    overflow: hidden;
}

.bg-dichvu::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background-color: #00AEEF;
    z-index: -1;
}

@media (min-width: 1200px) {
    .bg-dichvu::before {
        height: 70%;
    }
}

.ratio-400x160 {
    --bs-aspect-ratio: 36%;
}

.box-dichvu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.2);
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .3s ease;
    padding: 10px;
    height: 100%;
}

    .box-dichvu img {
        object-fit: contain;
        transition: filter .3s ease;
    }

    .box-dichvu span {
        font-weight: bold;
        font-size: calc(0.6rem + 0.73vw);
        color: #000;
        padding: 5px 0px;
        text-align: center;
        transition: color .3s ease;
    }

    .box-dichvu:hover {
        background-color: #00AEEF;
    }

        .box-dichvu:hover img {
            filter: brightness(0) invert(1); /* icon trắng */
        }

        .box-dichvu:hover span {
            color: #fff;
        }

/*------ doctor: đội ngủ bác sĩ ------*/

    .doctor-card {
      text-align: center;
      padding: 0px 15px 15px 15px
    }

    .doctor-card img {
      width: 100%;
      border-radius: 8px;
    }

    .doctor-card .btn {
      background-color: #008CFF;
      color: white;
      padding: 8px 16px;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      text-decoration: none;
      font-size: 14px;
      display: inline-block;
      margin-top: 10px;
    }

/*------ trai nghiem khach hang ------*/
.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.btn-tab {
    background-color: #fff;
    color: #212529;
    padding: 5px 10px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 5px;
}

    .btn-tab:hover {
        background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
        background-size: 200% 100%;
        background-color: transparent;
        background-position: right center;
        color: white;
        border-radius: 5px;
    }

    .btn-tab.active {
        background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
        background-size: 200% 100%;
        background-color: transparent;
        background-position: right center;
        color: white;
        border-radius: 5px;
        border: 1px solid transparent;
    }

.tabs-button span {
    color: #6c757d;
    margin: 0 5px;
}

.customer-tab-section .ratio {
    width: 100%;
    height: auto;
}

    .customer-tab-section .ratio img,
    .customer-tab-section .ratio iframe {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0.3rem;
    }

.customer-tab-section .btn-link {
    display: block;
    text-align: left;
    text-decoration: none;
    padding: 0;
}
    .customer-tab-section .btn-link.active {
        background-color: #f0f0f0;
        border-radius: 0.3rem;
    }
/* Thêm media query để áp dụng fs-6 trên mobile */
@media (max-width: 767.98px) {
    .customer-tab-section .btn-link.fs-5 {
        font-size: 1rem !important; /* Tương đương fs-6 */
    }
}


#drnhan hr {
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #00f, #f0f);
    border-image-slice: 1;
    width: 35%;
    margin-left: 0;
    margin-right: auto;
}
#drnhan p{
  text-align: justify;
  line-height: 2.0;
}


