/********** Template CSS **********/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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 {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-dark,
.btn.btn-outline-dark:hover {
    color: var(--bs-white);
    font-weight: 500;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    border-color: var(--bs-dark);
}

.btn.btn-dark:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 10px 0;
    color: var(--bs-secondery);
    font-size: 17px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .navbar-nav .dropdown-item:hover,
.navbar .navbar-nav .dropdown-item.active {
    background: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn-light {
    font-weight: 500;
    color: var(--bs-secondery);
}

.navbar .btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Hero ***/
.hero-header {
    background: url(../img/banner.png) top right no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}

.page-header {
    background: url(../img/hero.jpg) center right no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-secondery)
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--bs-primary);
}


/*** Appointment ***/
@media (min-width: 992px) {
    .container.appointment {
        max-width: 100% !important;
    }

    .container.appointment .appointment-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.appointment .appointment-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.appointment .appointment-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.appointment .appointment-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.appointment .appointment-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.appointment .appointment-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.appointment .appointment-text {
        background: linear-gradient(rgb(243 34 125), rgb(204 106 223)), url(../img/service-4.jpg) center center no-repeat;
    background-size: cover;

}

.container.appointment .appointment-form {
    background: linear-gradient(rgb(140 69 153), rgb(55 47 44 / 95%)), url(../img/service-1.jpg) center center no-repeat;
    background-size: cover;
}

.container.appointment .appointment-text .h-100,
.container.appointment .appointment-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item .service-text {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.service-item .service-img {
    transition: .5s;
}

.service-item:hover .service-img {
    transform: scale(1.2) rotate(7deg);
}



/*** Team ***/
.team {
    position: relative;
}

.team::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 110px;
    left: 0;
    bottom: 3rem;
    background: var(--bs-light);
    z-index: -1;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    position: relative;
    transform: scale(1.1);
    transition: .5s;
}

.team .team-item:hover img {
    margin-top: -30px;
    padding-bottom: 30px;
}

.team .team-text {
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team .team-text-overflow {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-text-overflow {
    bottom: 0;
    opacity: 1;
}



/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    animation: pulse-img 5s ease-out infinite;
}

@keyframes pulse-img {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 0;
    }

    50% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 0;
    }
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    background: var(--bs-primary);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark);
}


/*** Footer ***/
.footer {
    color: rgba(256, 256, 256, .6);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(256, 256, 256, .6);
    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;
    color: rgba(256, 256, 256, .6);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(256, 256, 256, .6);
    border: 1px solid rgba(256, 256, 256, .6);
}

.footer .btn.btn-square:hover {
    color: var(--bs-white);
    border-color: var(--bs-primary);
    background: var(--bs-primary);
}

.footer .form-control {
    color: var(--bs-light);
    border-color: rgba(256, 256, 256, .6);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}






/* Specific Pink Color from your Image */
.bg-pink {
    background-color: #f7b7cc !important; /* Soft Pink */
}

.bg-pink-light {
    background-color: #fce4ec !important; /* Lighter Pink for Menu bar */
}

/* Navbar Link Styling */
.navbar-light .navbar-nav .nav-link {
    padding: 25px 15px;
    font-weight: 500;
    color: #444;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #d81b60; /* Darker Pink/Red for active state */
}

/* Appointment Button Styling */
.btn-appointment {
    background-color: #fff5f7;
    color: #d81b60;
    border: 1px solid #fce4ec;
    font-weight: 600;
    transition: 0.5s;
}

.btn-appointment:hover {
    background-color: #d81b60;
    color: #ffffff;
}

/* Social Icon Circles */
.btn-sm-square {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/*  team css */

/* Modern Doctor Card Styling */
.doctor-profile-card {
    transition: all 0.4s ease;
    border: none;
}

.doctor-profile-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.doctor-profile-card img {
    height: 350px;
    object-fit: cover;
    object-position: top;
}

/* Float Badge for Experience/Title */
.doctor-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #d81b60; /* Your Brand Pink */
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.doctor-profile-card h3 {
    color: #333;
    font-weight: 700;
}

.doctor-profile-card .card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}



/*  before and after gallery */

/* Gallery Styling */
.gallery-item {
    transition: .5s;
    border: 1px solid #f1f1f1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Adjust height as needed */
    object-fit: cover;
}

/* Floating Labels */
.gallery-label {
    position: absolute;
    bottom: 10px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    color: #fff;
    letter-spacing: 1px;
}

.label-before {
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
}

.label-after {
    right: 10px;
    background: #d81b60; /* Your Brand Pink */
}

/* Hover Zoom Effect */
.gallery-item .w-50 {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}



/*  faq */

/* FAQ Accordion Styling */
.accordion-button:not(.collapsed) {
    color: #d81b60; /* Brand Pink */
    background-color: #fff5f7;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(216, 27, 96, 0.1);
}

.accordion-item {
    border: 1px solid #eee !important;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-body {
    color: #666;
    line-height: 1.6;
    background-color: #fff;

}


/* course */

/* Course Section Styling */
.course-item img {
    transition: .5s;
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.course-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(216, 27, 96, 0.9)); /* Brand Pink Gradient */
    opacity: 0;
    transition: .5s;
}

.course-item:hover .course-overlay {
    opacity: 1;
}

.course-item:hover img {
    transform: scale(1.1);
}

.course-text {
    transform: translateY(20px);
    transition: .5s;
}

.course-item:hover .course-text {
    transform: translateY(0);
}

/* For Mobile: Show text partially so users know to tap */
@media (max-width: 991px) {
    .course-overlay {
        opacity: 0.85;
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    }
}


/* video gallery section */

/* Video Gallery Styling */
.video-item {
    transition: all 0.3s ease;
    border: none;
    background-color: #f8f9fa;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

/* Ensure consistent card height */
.video-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.video-item p {
    line-height: 1.4;
}

/* Button Styling */
.btn-primary {
    background-color: #d81b60; /* Brand Pink */
    border-color: #d81b60;
}

.btn-primary:hover {
    background-color: #ad1457;
    border-color: #ad1457;
}

/* blog */

/* Blog Section Styling */
.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #d81b60; /* Brand Pink */
    border-radius: 5px;
    z-index: 1;
}

.blog-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    transition: .3s;
}

.blog-item h4:hover {
    color: #d81b60;
}

.blog-item a {
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
}



/* about  us in  */

.why-choose {
    padding: 80px 20px;
    background: #f9f4f6;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #5b1c0d;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #5b1c0d;
}

.why-card p {
    font-size: 14px;
    color: #666;
}




/* ===================== */

.mission-vision {
    padding: 80px 20px;
    background: #ffffff;
}

.mission-wrapper {
    display: flex;
    gap: 30px;
}

.mission-box, .vision-box {
    flex: 1;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7d4e2, #f9e6ef);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.mission-box h2,
.vision-box h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #5b1c0d;
}

.mission-box p,
.vision-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}
/*  */




/* doctor profile */

.doctor-section{
    background:#f8f9fc;
}

.section-subtitle{
    color:#d63384;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
}

.section-title{
    font-size:42px;
    font-weight:700;
    margin-top:10px;
}

.section-desc{
    color:#777;
    max-width:700px;
    margin:auto;
}

.doctor-card{

    display:flex;
    align-items:center;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,.08);

}

.doctor-image{

    width:38%;
    position:relative;
}

.doctor-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.experience-badge{

    position:absolute;
    bottom:20px;
    left:20px;
    background:#d63384;
    color:#fff;
    padding:10px 18px;
    border-radius:30px;
    font-weight:600;
    font-size:14px;
}

.doctor-content{

    width:62%;
    padding:55px;
}

.doctor-tag{

    color:#d63384;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.doctor-content h2{

    font-size:42px;
    font-weight:700;
    margin:10px 0;
}

.doctor-content h5{

    color:#777;
    margin-bottom:25px;
}

.doctor-content p{

    color:#555;
    line-height:1.9;
}

.doctor-speciality{

    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:30px 0;
}

.doctor-speciality span{

    padding:10px 18px;
    border-radius:30px;
    background:#f4f4f4;
    font-size:14px;
    font-weight:600;
}

.doctor-btns{

    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn{

    padding:12px 28px;
    border-radius:40px;
    font-weight:600;
}

.btn-primary{

    background:#d63384;
    border:none;
}

.btn-primary:hover{

    background:#b91d6f;
}

.btn-outline-primary{

    border:2px solid #d63384;
    color:#d63384;
}

.btn-outline-primary:hover{

    background:#d63384;
    color:#fff;
}

/* Tablet */

@media(max-width:991px){

.doctor-card{

flex-direction:column;
}

.doctor-image,
.doctor-content{

width:100%;
}

.doctor-content{

padding:35px;
}

.doctor-content h2{

font-size:34px;
}

}

/* Mobile */

@media(max-width:576px){

.section-title{

font-size:30px;
}

.doctor-content{

padding:25px;
text-align:center;
}

.doctor-content h2{

font-size:28px;
}

.doctor-speciality{

justify-content:center;
}

.doctor-btns{

justify-content:center;
}

.experience-badge{

left:50%;
transform:translateX(-50%);
bottom:15px;
white-space:nowrap;
}

}



/* whatapp direct booking  css */

    /*==============*/
        
     
.dept-chip.active { border-color: #25d366 !important; background: #e8f8ed; color: #166534 !important; font-weight: 600; }
.dept-chip:hover:not(.active) { background: #f5f5f5; }
@media (max-width: 576px) {
  #deptGrid { grid-template-columns: repeat(2,1fr) !important; }
}

/* end  */