/********** Template CSS **********/
:root {
    --primary: #00ae9a;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: black;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    text-align: justify;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
    text-align: justify;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

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

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

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

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#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;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    position: 60%;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
    
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
    
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/expert.JPG) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/patient.JPG) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: #00ae9a;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
    
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/reception.JPG) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: #00ae9a;
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-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: 2px;
    font-size: 22px;
    transition: .5s;
}

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

.bg-testimonial {
    background: url(../img/patient\ 2.png) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: #00ae9a;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: green;
    background:  white ;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

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

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}




/* THIS CSS FOR MY BLOG PAGE */
/* General Section Styling */
.ftco-section {
    padding: 4rem 0;
  }
  
  .ftco-section.bg-light {
    background-color: #f8f9fa;
  }
  
  /* Blog Entry Card */
  .blog-entry {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
  }
  
  .blog-entry:hover {
    transform: translateY(-5px);
  }
  
  /* Blog Image with Date Badge */
  .blog-entry .block-20 {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .meta-date {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #333;
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 2;
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .meta-date span {
    display: block;
    font-size: 12px;
    line-height: 1.2;
  }
  
  .meta-date .day {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
  }
  
  /* Blog Text Content */
  .blog-entry .text {
    padding: 1.5rem;
  }
  
  .blog-entry .heading {
    font-size: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .blog-entry .heading a {
    text-decoration: none;
    color: #212529;
    transition: color 0.3s ease;
  }
  
  .blog-entry .heading a:hover {
    color: #007bff;
  }
  
  /* Button Styling */
  .btn.btn-primary {
    background-color: #00ae9a;
    border: none;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .btn.btn-primary:hover {
    background-color: #00ae9a;
  }
  
  /* Blog Meta (Author and Comments) */
  .meta-chat,
  .blog-entry .ml-auto a {
    color: #6c757d;
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
  }
  
  .meta-chat:hover,
  .blog-entry .ml-auto a:hover {
    color: #007bff;
  }
  
  /* Pagination (if used) */
  .block-27 ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .block-27 ul li {
    margin: 0 5px;
  }
  
  .block-27 ul li a,
  .block-27 ul li span {
    display: block;
    padding: 0.5rem 0.75rem;
    background: #fff;
    color: #007bff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: 0.3s;
  }
  
  .block-27 ul li.active span,
  .block-27 ul li a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
  }

  
 /* our gallary card */

 .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 174, 154, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.gallery-card .text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}


/* button  contact */

/* Floating Buttons Container */
.fixed-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
  }
  
  /* Individual Button Styling */
  .fixed-buttons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2.5s infinite;
  }
  
  .fixed-buttons a:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  /* Button Icons */
  .fixed-buttons img {
    width: 50px;
    height: 50px;
  }
  
  /* Tooltip Styling */
  .fixed-buttons a::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: #00ae9a;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.3s ease;
    font-size: 14px;
    pointer-events: none;
  }
  
  .fixed-buttons a:hover {
    opacity: 1;
    background-color: lightcyan;
  }
  
  /* Pulse Animation */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(0, 174, 154, 0.5);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(0, 174, 154, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(0, 174, 154, 0);
    }
  }
  
  /* Mobile Responsive */
  @media (max-width: 576px) {
    .fixed-buttons {
      right: 15px;
      bottom: 15px;
      gap: 10px;
    }
  
    .fixed-buttons a {
      width: 50px;
      height: 50px;
    }
  
    .fixed-buttons img {
      width: 100px;
      height: 100px;
    }
  
    .fixed-buttons a::after {
      font-size: 12px;
      right: 60px;
    }
  }
  
  .icon-facebook {
   font-size: 40px;
   color: blue;
  }

  .whatsapp-button{
    font-size: 40px;
    color: rgb(6, 248, 6);

  }

  .contact-button{
    font-size: 40px;
    color: blue;
  }

  .youtube-button{
    font-size: 40px;
    color: red;
  }

  .instagram-button{
    font-size: 40px;
    color: red;
  }

  .facebook-button{
    font-size: 40px;
    color: blue;
  }

