* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", "Open Sans", sans-serif;
    background: #f0fdfa;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Poppins", "Montserrat", sans-serif;
}

.blue {
    color: #2e86c1;
}

.teal {
    color: #1abc9c;
}

.topbar {
    background-color: #1abc9c;
    /* medical teal */
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.topbar i {
    color: #fff;
    font-size: 1.1rem;
}

.topbar a {
    color: #fff;
    transition: 0.3s;
    padding: 8px;
    /* background-color:#2e86c1; */
    border-radius: 50%;
}

.topbar a:hover i {
    opacity: 0.6;
}

.topbar ul {
    padding: 0;
}

/* Navbar Base */
.main-navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.navbar {
    padding: 15px 0;
}

/* Menu */
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

/* Active underline */
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1abc9c;
    left: 0;
    bottom: 0;
}

/* Call Button */
.call-btn {
    position: relative;
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid #1abc9c;
    color: #1abc9c;
    background: #fff;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
    text-decoration: none;
    border-radius: 30px;
}

.call-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #1abc9c;
    z-index: -1;
    transition: width 0.4s ease;
}

.call-btn:hover::before {
    width: 100%;
}

.call-btn:hover {
    color: #fff;
}

/* Desktop Only Full Layout */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }
}

/* Mobile Layout */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none;
        width: 100%;
        padding-top: 15px;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-call-btn {
        text-align: center;
        margin-top: 15px;
    }
}

.info-cards .info-card {
    background-color: #1abc9c;
    /* Teal background */
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.info-cards .info-card i {
    color: #fff;
}

.info-cards .info-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.info-cards .info-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* Hover effect */
.info-cards .info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.doctor-about-card {
    border-radius: 20px;
    overflow: hidden;
}

.doctor-img {
    max-height: 420px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .doctor-img {
        max-height: 300px;
    }
}

.doctor-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.doctor-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.doctor-stat-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 151, 167, 0.12);
    color: #0097a7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.doctor-stat-card h5 {
    margin: 0;
    font-weight: 700;
    color: #0097a7;
}

.doctor-stat-card small {
    color: #666;
    font-size: 13px;
}

.btn-outline-teal {
    position: relative;
    overflow: hidden;
    border: 2px solid #0097a7;
    background: #fff;
    color: #0097a7;
    border-radius: 50px;
    font-weight: 600;
    transition: color 0.4s ease;
    text-decoration: none;
    top: 25px;
}

/* TEXT stays ABOVE */
.btn-outline-teal span,
.btn-outline-teal {
    z-index: 2;
}

/* Hover fill layer stays BELOW text */
.btn-outline-teal::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0%;
    background: #0097a7;
    z-index: 2;
    transition: width 0.4s ease;
    border-radius: 50px;
}

.btn-outline-teal:hover::before {
    width: 100%;
    overflow: hidden;
}

.btn-outline-teal:hover {
    color: #fff;

}

.btn-outline-teal span {
    position: relative;
    z-index: 2;
}

/* Section line */
.title-line {
    width: 70px;
    height: 3px;
    background: #0097a7;
}

/* Card */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Image */
.service-img {
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

/* Icon */
.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #0097a7;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 151, 167, 0.5);
}

/* Body */
.service-body {
    padding: 25px;
}

.service-body h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.service-body p {
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
}

.service-body a {
    color: #0097a7;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-body a i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-body a:hover i {
    transform: translateX(5px);
}

.appointment-cta {
    background: linear-gradient(135deg, #0097a7, #00b4c6);
    border-radius: 24px;
    margin: 60px 20px;
    box-shadow: 0 25px 50px rgba(0, 151, 167, 0.35);
}

/* Main Button */
.cta-btn {
    position: relative;
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #0097a7;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.4s ease;
}

.cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: #0097a7; */
    width: 0%;
    z-index: -1;
    transition: width 0.4s ease-in-out;
}

.cta-btn:hover::before {
    width: 100%;
}

.cta-btn:hover {
    scale: 1.1;
}

/* Secondary Link */
.cta-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.cta-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

.title-line {
    width: 70px;
    height: 3px;
    background: #0097a7;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.quote-icon {
    font-size: 40px;
    color: rgba(0, 151, 167, 0.15);
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-user img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0097a7;
}

.testimonial-user h6 {
    margin: 0;
    font-weight: 700;
}

.testimonial-user span {
    font-size: 13px;
    color: #777;
}

:root {
    --teal: #0097a7;
    --teal-dark: #007a82;
}

.footer {
    background-color: #006064;
    /* tealish background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-teal {
    color: #00bcd4 !important;
}

.footer-link {
    color: #e0f7fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00bcd4;
}

.social-icon {
    color: #e0f7fa;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #00bcd4;
}

.btn-teal {
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    padding: 8px 10px;
}

.btn-teal:hover {
    background-color: #0097a7;
}

.form-control-sm {
    border-radius: 20px;
    border: 1.5px solid #ccc;
}

.form-control-sm:focus {
    box-shadow: 0 0 8px #00bcd4;
    border-color: #00bcd4;
    outline: none;
}

.map-container iframe {
    border-radius: 16px;
    min-height: 320px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-section {
    padding: 100px 20px;
    background: #f0fdfa;
    font-family: "Poppins", sans-serif;
}

.contact-heading {
    text-align: center;
    margin-bottom: 60px;
}

.contact-heading h2 {
    font-size: 2.6rem;
    color: #0f766e;
    margin-bottom: 10px;
}

.contact-heading p {
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(15, 118, 110, 0.25);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
}

.contact-card h4 {
    font-size: 1.3rem;
    color: #0f766e;
    margin-bottom: 15px;
}

.contact-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-form-section {
    padding: 100px 20px;
    background: #ffffff;
    font-family: "Poppins", sans-serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Map */
.map-box {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}

/* Form */
.form-box {
    background: #f0fdfa;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.form-box h3 {
    font-size: 2rem;
    color: #0f766e;
    margin-bottom: 10px;
}

.form-box p {
    color: #475569;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-box iframe {
        min-height: 300px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Preloader Background */
#preloader {
    position: fixed;
    inset: 0;
    background: #0b1c1f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Heart Rate Container */
.heart-rate {
    text-align: center;
}

/* SVG ECG */
.heart-rate svg {
    width: 320px;
    height: 80px;
}

.heart-rate polyline {
    fill: none;
    stroke: #00ff9c;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: heartbeat 1.5s linear infinite;
}

/* Text */
.heart-rate span {
    display: block;
    margin-top: 15px;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 2px;
}

/* Animation */
@keyframes heartbeat {
    0% {
        stroke-dashoffset: 600;
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
}

/* Container */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common Button Style */
.fabs {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

/* Hover */
.fabs:hover {
    transform: scale(1.1);
}

/* Individual Colors */
.fabs.call {
    background: #007bff;
}

.fabs.whatsapp {
    background: #25D366;
}

.fabs.top {
    background: #dc3545;
    display: none;
}

.fabs .bi {
    font-size: 22px;
    line-height: 50px;
}

.achievement-section {
    background-color: #f4fbfb;
}

.section-title {
    color: #008080;
    font-weight: 700;
}

.achievement-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 500px;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.2);
}

.achievement-card img {
    border-radius: 8px;
    height: 100%;
    /* object-fit: cover; */
}

.achievement-caption {
    background-color: #008080;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    padding: 8px;
    border-radius: 0 0 8px 8px;
}

.achievement-slider .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 128, 128, 0.15);
}

.gallery-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
}

.image-slider .item img {
    width: 100%;
    border-radius: 10px;
}

/* Custom Dots */
.owl-theme .owl-dots .owl-dot span {
    width: 14px;
    height: 14px;
    background: #ccc;
    border-radius: 50%;
    transition: 0.3s;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #007bff;
    transform: scale(1.2);
}

/* Navigation Arrows */
.owl-nav button {
    position: absolute;
    top: 40%;
    background: #007bff !important;
    color: #fff !important;
    padding: 8px 24px !important;
    border-radius: 50% !important;
}

.owl-nav .owl-prev {
    left: -25px;
}

.owl-nav .owl-next {
    right: -25px;
}
.banner-section {
  width: 100%;
}

.banner-section img {
  width: 100%;
  height: auto;
  display: block;
}