/********** Template CSS **********/
:root {
    --primary: #189aaa;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: #74787C;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/* @font-face {
    font-family: 'Lemonade Stand';
    src: url('fonts/LemonadeStand.woff2') format('woff2'),
         url('fonts/LemonadeStand.woff') format('woff'),
         url('fonts/LemonadeStand.ttf') format('truetype');
} */


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Playfair Display', cursive !important;
    font-weight: 500;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 400;
}

.font-secondary {
    font-family: 'Playfair Display', cursive !important;
}


/*** Navbar ***/

.logo-icon {
  display: inline-block;
  cursor: pointer;
}

/* Spin and jump to the right */
.logo-icon.jump-spin-right {
  animation: jump-rotate-right 0.7s ease forwards;
}

/* Spin and jump to the left */
.logo-icon.jump-spin-left {
  animation: jump-rotate-left 0.7s ease forwards;
}

@keyframes jump-rotate-right {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

@keyframes jump-rotate-left {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(-180deg);
  }
  100% {
    transform: translateY(0) rotate(-360deg);
  }
}


.navbar .navbar-nav .nav-link {
    display: inline-block;
    position: relative;
    color: #066472;
    background-image: linear-gradient(to right, #000, #000 50%, var(--primary) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeSlideIn 0.6s ease forwards;
    animation-delay: 0.2s;
    padding: 30px 15px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover {
    background-position: right bottom;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar .navbar-nav .nav-link:hover {
    color: #17a2b8; 
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-item:nth-child(1) .nav-link { animation-delay: 0.1s; }
.navbar .navbar-nav .nav-item:nth-child(2) .nav-link { animation-delay: 0.2s; }
.navbar .navbar-nav .nav-item:nth-child(3) .nav-link { animation-delay: 0.3s; }
.navbar .navbar-nav .nav-item:nth-child(4) .nav-link { animation-delay: 0.4s; }
.navbar .navbar-nav .nav-item:nth-child(5) .nav-link { animation-delay: 0.5s; }


.navbar .navbar-nav .nav-link.active {
    color: #17a2b8;
    -webkit-text-fill-color: #17a2b8;
    background-image: none;
    background-size: 0;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
        box-shadow: 0 0.125rem 0.25rem #17a2b8; 
    }
}

.dropdown-menu .dropdown-item {
  color: #000000;
  transition: color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  color: #17a2b8;  
}

.dropdown-menu .dropdown-item:hover.active {
    color: #ffde15;
    -webkit-text-fill-color: #ffde15;
    background-image: none;
    background-size: 0;
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .1)), url(../img/carousel-1.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Appointment ***/
.responsive-image {
  width: 100%;
  max-width: 700px;
  min-height: 60vh; /* At least 60% of viewport height */
  height: auto;
  /* object-fit: contain; */
}



/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}

.classes-item .rounded-circle:hover {
    background: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 55%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}




.owl-carousel {
  padding: 20px 0;
}

.testimonial-item-modern {
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  border-radius: 25px;
  padding: 30px 35px;
  box-shadow:
    0 10px 20px rgba(23, 162, 184, 0.2),
    inset 0 -4px 10px rgba(23, 162, 184, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 600px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
}

.testimonial-item-modern:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 30px rgba(23, 162, 184, 0.4),
    inset 0 -4px 10px rgba(23, 162, 184, 0.2);
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: #004d40;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  margin-bottom: 3rem;
}

.testimonial-footer {
  background: #ffffffdd;
  padding: 12px 20px;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.15);
  align-items: center;
  display: flex;
  flex-direction: row !important;
}

.testimonial-photo-wrapper {
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #17a2b8;
  box-shadow: 0 0 8px rgba(23, 162, 184, 0.6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-info {
  padding-left: 20px;
  flex-grow: 1;
}

.testimonial-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #00796b;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.testimonial-role {
  font-size: 0.95rem;
  color: #004d40;
  font-weight: 500;
  opacity: 0.75;
}

.testimonial-quote {
  font-size: 3rem;
  color: #00796b;
  opacity: 0.15;
  margin-left: auto;
  user-select: none;
  pointer-events: none;
}

.testimonial-style-link {
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    background-color: transparent;
    border: none;
    text-align: center;
  }

.google-word {
    display: inline;
    white-space: nowrap;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
  }

.testimonial-style-link:hover {
    color: #103741;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px var(--primary);
    border-radius: 45px;
  }


@media (max-width: 768px) {
  .testimonial-item-modern {
    height: auto; 
    padding: 25px 30px;
    max-width: 100%;
    min-height: 370px !important;
  }

  .testimonial-text {
    -webkit-line-clamp: 6;
    margin-bottom: 3rem;
  }

  .testimonial-footer {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
    margin-top: 2rem;
  }

  .testimonial-info {
    padding-left: 0;
    margin-top: 10px;
  }

  .testimonial-quote {
    margin-left: 0;
    margin-top: 10px;
  }

  .testimonial-carousel .owl-nav {
    top: 55%;
  }
}

@media (max-width: 480px) {
  .testimonial-item-modern {
    min-height: 350px !important;
    }

  .testimonial-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

    .testimonial-footer {
    margin-top: 3rem;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }

  .testimonial-carousel .owl-nav {
    top: 55%;
  }
  .testimonial-style-link {
    font-size: 0.8125rem;
  }

  .testimonial-style-link:hover {
    font-size: 0.875rem;
  }
}

.testimonial-item-modern.item-modern-color-man {
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  box-shadow:
    0 10px 20px rgba(23, 162, 184, 0.2),
    inset 0 -4px 10px rgba(23, 162, 184, 0.15);
}

.testimonial-item-modern.item-modern-color-grandma {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  box-shadow:
    0 10px 20px rgba(255, 152, 0, 0.2),
    inset 0 -4px 10px rgba(255, 152, 0, 0.15);
}

.testimonial-item-modern.item-modern-color-mother {
  background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%);
  box-shadow:
    0 10px 20px rgba(156, 39, 176, 0.2),
    inset 0 -4px 10px rgba(156, 39, 176, 0.15);
}



.testimonial-item-modern.item-modern-color-man:hover {
  box-shadow:
    0 20px 30px rgba(23, 162, 184, 0.4),
    inset 0 -4px 10px rgba(23, 162, 184, 0.2);
}

.testimonial-item-modern.item-modern-color-grandma:hover {
  box-shadow:
    0 20px 30px rgba(255, 152, 0, 0.4),
    inset 0 -4px 10px rgba(255, 152, 0, 0.2);
}

.testimonial-item-modern.item-modern-color-mother:hover {
  box-shadow:
    0 20px 30px rgba(156, 39, 176, 0.4),
    inset 0 -4px 10px rgba(156, 39, 176, 0.2);
}




/*** Footer ***/
.footer-galery-item:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
    box-shadow: 0 4px 20px var(--primary);
}


.links-footer {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-footer::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #17a2b8;
  transition: width 0.3s ease;
}

.links-footer:hover {
  color: #17a2b8;
}

.links-footer:hover::after {
  width: 100%;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright .text-bg-copyright,
.footer .copyright .text-bg-copyright a {
    color: #113740 !important;
}

.footer .copyright .text-bg-copyright:hover,
.footer .copyright .text-bg-copyright a:hover {
    /* color: rgba(255,255,255,0.5) !important; */
    color: #103741 !important;
}

.co-fou-text {
    font-size: .655em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.about-list {
    list-style-type: none;
    padding: 0;
}

.about-list .about-list-item {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.about-list .about-list-item::before {
    content: "•";
    color: #189aaa;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: 0;
}

.justify-text {
    text-align: justify !important;
}

.text-align-center {
    text-align: center;
}

/* Popup Modal */
    .modal-content {
        background: linear-gradient(135deg, #ffcc00, #189aaa);
        color: white;
        border-radius: 15px;
        text-align: center;
    }

    /* Animated modal entrance */
    .modal.fade .modal-dialog {
        transition: transform 0.3s ease-in-out;
        transform: scale(0.8);
    }

    .modal.show .modal-dialog {
        transform: scale(1);
    }

    /* Bright social icons */
    .btn-social {
        font-size: 24px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px;
    }

    .btn-social i {
        color: white;
    }

    /* Customize colors for each platform */
    .btn-instagram { background: #E1306C; }
    .btn-facebook { background: #1877F2; }
    .btn-tiktok { background: #000000; }
    .btn-telegram { background: #0088cc; }

    /* Social Icon Hover Animation */
    .btn-social {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-social:hover {
        transform: scale(1.2);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }


   /* Modal for Full Image Gallery */
    .footer-image-modal {
        z-index: 10;
        display: none;
        position: fixed;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        width: 500px;
        height: 500px;
        background: linear-gradient(135deg, #189aaa, #ffcc00);
        border-radius: 12px;
        text-align: center;
        padding: 50px;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    .footer-image-modal .modal-content {
        width: 400px;
        height: 400px;
        object-fit: contain;
        border-radius: 12px;
        opacity: 0;
        animation: scaleUp 0.4s ease-in-out forwards;

    }

    /* BIG Close Button */
    .footer-image-modal .close {
        position: absolute;
        top: -10px;
        right: 10px;
        font-size: 60px;
        color: white;
        cursor: pointer;
        transition: transform 0.3s ease-in-out;
    }

    .footer-image-modal .close:hover {
        transform: scale(1.2);
    }

    /* Arrows Styling */
    .footer-image-modal .arrow {
        position: absolute;
        top: 50%;
        font-size: 50px;
        color: white;
        cursor: pointer;
        background: transparent;
        border: none;
        transform: translateY(-50%);
        transition: opacity 0.3s ease-in-out;
    }

    .footer-image-modal .arrow.left { left: 10px; }
    .footer-image-modal .arrow.right { right: 10px; }

    /* Hover Effects */
    .footer-image-modal .arrow:hover {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.2);
    }

    /* Fade-in effect for smooth display */
    @keyframes scaleUp {
        0% { opacity: 0; transform: scale(0.6); }
        100% { opacity: 1; transform: scale(1); }
    }


    #feedback {
        position: fixed;
        bottom: 30%;
        left: 50%;
        transform: translateX(-50%);
        padding: 12px 20px;
        color: #fff;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 6px;
        max-width: 90%;
        text-align: center;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        z-index: 9999;
        display: none;
        opacity: 0;
        pointer-events: none;
        transition: opacity 1s ease;
        }


