/* ===================================
    Crafto - Medical
====================================== */
/* font */
@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap");
/* variable */
:root {
  --base-color: rgb(216, 191, 160);
  --alt-font: "Alexandria", sans-serif;
  --primary-font: "Alexandria", sans-serif;
  --dark-gray: #303334;
  --red: #f45959;
  --medium-light-gray: #b4b4b4;
  --medium-gray: #848587;
  --secondary-color: rgb(147, 137, 128);
}
/* box layout */
.box-layout {
  padding: 0 100px;
}
body {
  font-size: 17px;
  line-height: 30px;
}
/* header */
.navbar .navbar-nav .nav-link {
  font-weight: 700;
  font-size: 18px;
  padding: 10px 22px;
}
header .container-fluid {
  padding-left: 85px;
  padding-right: 85px;
}
.sticky-wrap.shadow-in {
  left: 31px;
}
header .navbar-brand img {
  max-height: 40px;
}
/* bg color */
.bg-light-turquoise-blue {
  background-color: #edf9fa;
}
.bg-light-sea-green-transparent {
  background-color: rgba(22, 193, 204, 0.8);
}
.bg-light-sea-green-transparent-light {
  background-color: rgba(22, 193, 204, 0.15);
}
/* border color */
.border-color-transparent-dark-gray {
  border-color: rgba(39, 47, 48, 0.1) !important;
}
.border-color-red {
  border-color: var(--base-color) !important;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 25px;
}
/* btn */
.btn {
  text-transform: inherit;
  font-weight: 600;
  letter-spacing: 0px;
}
.btn.btn-extra-large {
  font-size: 18px;
}
.btn.btn-large {
  font-size: 17px;
}
.btn.btn-medium {
  font-size: 16px;
}
.btn.btn-small {
  font-size: 15px;
}
.btn.btn-very-small {
  font-size: 14px;
}
.btn.btn-dark-gray:hover,
.btn.btn-dark-gray:active,
.btn.btn-transparent-light-gray:hover,
.btn.btn-transparent-light-gray:active,
.btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:active {
  background-color: var(--base-color);
  border-color: var(--base-color);
  color: var(--white);
}
.btn.btn-base-color:hover {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
  color: var(--white);
}
/* page title */
.page-title-extra-large h2 {
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0px;
}
/* social media icon */
.social-icon-style-02 .small-icon li {
  margin: 0;
}
/* outside box right */
.outside-box-right-2 {
  margin-right: -2vw;
}
/* tab style 01 */
.tab-style-01 .nav-tabs .nav-link.show,
.tab-style-01 .nav-tabs .nav-link.active,
.tab-style-01 .nav-tabs .nav-link:hover {
  background-color: var(--base-color);
  color: var(--white);
}
.tab-style-01 .nav-tabs .nav-link {
  padding: 7px 29px;
  color: var(--dark-gray);
}
.tab-style-01 .nav-tabs > li.nav-item {
  padding: 0 13px;
}
/* time table */
.time-table-box .hover-detail {
  padding: 25px 30px;
}
/* accordion style 05 */
.accordion-style-05 .accordion-item {
  padding: 25px 35px 27px 75px;
}
/* footer */
footer .nav-link {
  color: var(--white);
}
.elements-social .light li a:hover {
  color: var(--base-color) !important;
}
footer .footer-logo img {
  max-height: 40px;
}
footer .elements-social ul li:last-child {
  margin-right: 0;
}
/* media query responsive */
@media (min-width: 768px) {
  .page-title-extra-large h1 {
    font-size: 3.8rem;
    line-height: 3.8rem;
  }
}
@media (max-width: 1600px) {
  .box-layout {
    padding: 0 60px;
  }
  .sticky-wrap.shadow-in {
    left: 10px;
  }
  header .container-fluid {
    padding-left: 45px;
    padding-right: 45px;
  }
}
@media (max-width: 1400px) {
  footer .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
@media (max-width: 1199px) {
  .box-layout {
    padding: 0 0;
  }
  .navbar .navbar-nav .nav-link {
    padding-left: 18px;
    padding-right: 18px;
  }
  header .btn.btn-switch-text.btn-small > span {
    padding: 8px 10px;
  }

  .tab-style-01 .nav-tabs > li.nav-item {
    padding: 0 8px;
  }
  header .navbar [class*="col-"] {
    padding: 0px;
  }
  .time-table-box {
    padding-left: 5px;
    padding-right: 5px;
  }
}
@media (max-width: 991px) {
  .tab-style-01 .nav-tabs .nav-link {
    padding: 5px 25px;
  }

  .time-schedule-scroll {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .time-schedule-scroll .time-schedule-min-width {
    min-width: 1050px;
  }
  .tab-style-01 .nav-tabs > li.nav-item {
    padding: 0 4px;
  }
  header .navbar [class*="col-"] {
    padding: 0 15px;
  }
}
@media (max-width: 767px) {
  .accordion-style-05 .accordion-item .number {
    top: 13px;
  }
}
.bg-secondary-color {
  background-color: var(--secondary-color) !important;
}
.text-secondary-color {
  color: var(--secondary-color) !important;
}
.bg-base-color-30 {
  background-color: rgba(216, 191, 160, 0.603) !important;
}
/* =========================
   HERO SLIDER RESPONSIVE
   ========================= */

.hero-content {
  position: relative;
}

/* Tablet */
@media (max-width: 991px) {
  .hero-content {
    max-width: 90%;
  }

  .hero-title {
    font-size: 52px !important;
    line-height: 1.15 !important;
  }

  .hero-description {
    font-size: 20px !important;
    line-height: 1.7 !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center !important;
  }

  .hero-title {
    font-size: 38px !important;
    line-height: 1.25 !important;
    letter-spacing: -1px !important;
    margin-bottom: 25px !important;
  }

  .hero-description {
    font-size: 17px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
  }

  .hero-content .btn {
    margin: 5px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-title {
    font-size: 25px !important;
    line-height: 1.3 !important;
  }

  .hero-description {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .hero-content .btn {
    width: 50%;
    margin: 5px 0 !important;
    padding: 5px 15px !important;
  }
}
@media (max-width: 767px) {
  .swiper-slide .cover-background {
    background-position: 100% start !important;
  }
}
.my-responsive-btn {
  /* Desktop */
  font-size: 16px;
  padding: 12px 24px;
}

@media (max-width: 576px) {
  .my-responsive-btn {
    /* Mobile */
    font-size: 13px;
    padding: 8px 16px;
  }
}
.bg-instagram {
  color: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.medical-reviews-section .swiper-wrapper {
  align-items: stretch;
}

.medical-reviews-section .swiper-slide {
  height: auto !important;
}

.medical-review-card {
  width: 100%;
  height: 100%;
  min-height: 390px;
  max-height: 390px;
  overflow: hidden;
}

.medical-review-card p {
  display: -webkit-box;

  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.medical-review-card .mt-5px.d-flex.align-items-center {
  margin-top: auto !important;
}

.medical-instagram-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(48, 51, 52, 0.1);
}

.medical-instagram-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.medical-instagram-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.medical-instagram-card:hover .medical-instagram-media img {
  transform: scale(1.05);
}

.medical-instagram-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark-gray);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.medical-instagram-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 24px;
}

.medical-instagram-date {
  margin-bottom: 12px;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 700;
}

.medical-instagram-title {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--dark-gray);
}

.medical-instagram-caption {
  margin-bottom: 22px;
  color: var(--medium-gray);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.medical-instagram-link {
  margin-top: auto;
  color: var(--dark-gray);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.medical-instagram-link:hover {
  color: var(--base-color);
}

@media (max-width: 991px) {
  .medical-reviews-section .outside-box-right-35 {
    margin-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .medical-reviews-section .swiper {
    overflow: visible;
  }

  .medical-reviews-section .swiper-wrapper {
    align-items: stretch;
  }

  .medical-reviews-section .swiper-slide {
    display: flex;
    justify-content: center;
    width: 78vw !important;
    max-width: 320px;
    margin-right: 16px !important;
  }

  .medical-review-card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 370px;
    max-height: 370px;
    padding: 24px 18px !important;
  }

  .medical-review-card .rounded-circle {
    width: 68px !important;
    height: 68px !important;
    margin-left: 12px;
  }

  .medical-review-card .alt-font {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }

  .medical-instagram-body {
    padding: 20px 18px;
  }

  .medical-instagram-title {
    font-size: 19px;
  }
}
.bg-nav-base {
  background: linear-gradient(
    270deg,
    #d2ab84 0%,
    #f0dfc8 20%,
    #e9d7c1 25%,
    #ecd9c0 55%,
    #e8cfb3 100%,
    /* #e0b98f 90%, */ #d9a878 100%
  );
}
.bg-nav-base-sub {
  background: linear-gradient(
    270deg,
    #d9a878 0%,
    #efd7c0 23%,
    #ecd9c0 55%,
    #efd7bf 70%,
    #e8cfb3 96%,
    /* #e0b98f 90%, */ #d9a878 100%
  );
}
.bg-content {
  background: linear-gradient(
    270deg,
    #d7be9f 0%,
    #f0dfc8 20%,
    #ecd9c0 55%,
    #e8cfb3 80%,
    #d7be9f 100%
  );
}
.bg-banner {
  background: #928980;
}
.value-item {
  transition: all 0.3s ease;
  border-color: #e9e5df !important;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.value-item span {
  color: #d7be9f;
}

.value-item h6 {
  color: #222;
  line-height: 1.6;
}

.value-item p {
  line-height: 1.9;
  font-size: 15px;
}

/* =========================
   ABOUT / CLINIC SECTION
========================= */

.story-box,
.info-card,
.value-card {
  background: #faf9f7;
  border: 1px solid #ebe7e1;
}

/* Story */

.story-box {
  position: relative;
  overflow: hidden;
}

.story-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: #d7be9f;
}

/* Section numbers */

.section-number {
  font-size: 14px;
  font-weight: 600;
  color: #d7be9f;
  letter-spacing: 1px;
}

/* Vision / Mission */

.info-card {
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Image */

.clinic-image {
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clinic-image:hover {
  transform: scale(1.02);
}

/* Values */

.value-card {
  background: #fff;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: #f4eee7;
  color: #b49a78;

  font-size: 14px;
  font-weight: 600;
}

/* Paragraph readability */

.story-box p,
.info-card p,
.value-card p {
  line-height: 2;
}

/* Mobile */

@media (max-width: 767.98px) {
  .clinic-image {
    height: 250px;
  }

  .story-box,
  .info-card,
  .value-card {
    padding: 25px !important;
  }

  .story-box p,
  .info-card p,
  .value-card p {
    font-size: 14px;
    line-height: 1.9;
  }
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.45);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10;

  cursor: pointer;

  transition: all 0.3s ease;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.75);
}

.gallery-prev {
  left: 20px !important;
  right: auto !important;
}

.gallery-next {
  right: 20px !important;
  left: auto !important;
}
@media (max-width: 991px) {
    .navbar-brand {
        display: flex !important;
        align-items: center;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-brand img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 192px !important;
        height: 40px !important;
        object-fit: contain;
    }
}