/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

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

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

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

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

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

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

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

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

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

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

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

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

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

/* Custom Hero Banner Styles */
.hero-banner {
    background-color: #F1ECE6; /* Exact matching background of the doctor image */
    padding: 80px 0;
    overflow: hidden;
}

.hero-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-title-bold-black {
    font-weight: 700;
    color: #111111; /* Black Color */
}

.hero-title-teal {
    font-weight: 700;
    color: #13C5DD; /* Website's Teal/Cyan Primary Color */
}

.hero-para {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
    max-width: 600px;
}

.btn-orange {
    background-color: #F35D25; /* Energetic Orange from the screenshot */
    color: #FFFFFF;
    border: none;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-orange:hover {
    background-color: #D84B1A;
    color: #FFFFFF;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
}

/* Responsiveness adjustments */
@media (max-width: 991.98px) {
    .hero-banner {
        padding: 50px 0;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    .hero-para {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .hero-image {
        max-height: 380px;
        margin-bottom: 20px;
    }
}

/* ===== Video Testimonials Section ===== */
.video-testimonials-section {
    background: linear-gradient(135deg, #f8fbff 0%, #eef6fa 100%);
}

.video-testimonial-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    background: #000;
}

.video-testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(19, 197, 221, 0.25);
}

.video-testimonial-card video.preview-video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: brightness(0.75);
    transition: filter 0.4s ease;
}

.video-testimonial-card:hover video.preview-video {
    filter: brightness(0.55);
}

.video-testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(19, 197, 221, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(19, 197, 221, 0.5);
    animation: playPulse 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-testimonial-card:hover .video-play-btn {
    transform: scale(1.15);
    background: rgba(19, 197, 221, 1);
}

.video-play-btn i {
    color: #fff;
    font-size: 28px;
    margin-left: 4px;
}

@keyframes playPulse {
    0% { box-shadow: 0 0 0 0 rgba(19, 197, 221, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(19, 197, 221, 0); }
    100% { box-shadow: 0 0 0 0 rgba(19, 197, 221, 0); }
}

.video-testimonial-label {
    margin-top: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-testimonial-card:hover .video-testimonial-label {
    opacity: 1;
    transform: translateY(0);
}

/* Video Badge on card */
.video-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(19, 197, 221, 0.9);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
    backdrop-filter: blur(4px);
}

/* ===== Video Modal ===== */
.video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(19, 197, 221, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from { transform: scale(0.85) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.video-modal-content video {
    width: 100%;
    display: block;
    border-radius: 16px;
    max-height: 80vh;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(19, 197, 221, 0.8);
    transform: rotate(90deg);
}

/* Responsive video card heights */
@media (max-width: 768px) {
    .video-testimonial-card video.preview-video {
        height: 240px;
    }
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    .video-play-btn i {
        font-size: 22px;
    }
    .video-modal-content {
        width: 95%;
    }
    .video-modal-close {
        top: -45px;
    }
}

/* ===== Video Testimonial Carousel (Owl) ===== */
.video-testimonial-carousel .owl-nav {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.video-testimonial-carousel .owl-nav .owl-prev,
.video-testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(19, 197, 221, 0.85);
    border-radius: 50%;
    font-size: 24px;
    transition: 0.4s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(19, 197, 221, 0.3);
}

.video-testimonial-carousel .owl-nav .owl-prev:hover,
.video-testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    box-shadow: 0 6px 25px rgba(19, 197, 221, 0.5);
    transform: scale(1.1);
}

.video-testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 14px;
    height: 14px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 14px;
    transition: 0.4s;
}

.video-testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 75px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float .whatsapp-tooltip {
    visibility: hidden;
    width: 110px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 101;
    right: 75px;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float .whatsapp-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 20px;
        font-size: 26px;
    }
    .whatsapp-float .whatsapp-tooltip {
        display: none;
    }
}
