/* Hospital Detail Styles */
.hospital-detail-section {
    padding: 100px 0;
    margin: 0;
    background: #f8fafc;
    position: relative;
    min-height: 100vh;
}
.page-title.page-title-3 .title{
    padding-top:400px!important;
}
.hospital-detail-section .container {
    position: relative;
}

.hospital-detail-section .row {
    align-items: flex-start;
}

.team-member .team-content{
    padding:20px 30px!important; 
}
/* Tab Navigation */
.tab-navigation {
    padding: 15px;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tab-navigation .nav-tabs {
    border: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    border-radius: 12px;
}

.tab-navigation .nav-tabs::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% / 7 - 8px);
    height: calc(100% - 16px);
    background: linear-gradient(135deg, var(--global--color-primary) 0%, var(--global--color-secondary) 100%);
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 10px rgba(37, 184, 197, 0.3);
}

.tab-navigation li {
    width: 14.28%;
}

.tab-navigation .nav-link {
    position: relative;
    padding: 0;
    z-index: 2;
    flex: 1;
    text-align: center;
    border: none;
    width: 100%;
    background: none;
    color: var(--global--color-text);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab-navigation .nav-link:hover {
    color: var(--global--color-primary);
    background: rgba(255, 255, 255, 0.5);
}

.tab-navigation .nav-link.active {
    color: var(--global--color-white);
    background: none;
}

.tab-content-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 12px 8px;
}

.tab-content-wrapper i {
    font-size: 24px;
    color: currentColor;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.tab-content-wrapper i::before {
    margin: 0;
}

.tab-navigation .nav-link:hover .tab-content-wrapper i {
    transform: scale(1.1);
}

.tab-navigation .nav-link.active .tab-content-wrapper i {
    transform: scale(1.1);
}

.tab-content-wrapper span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

/* Tab Content */
.tab-content {
    position: relative;
    z-index: 1;
}

.tab-pane {
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tab-pane.show.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Headers - Left Aligned */
.section-header,
.heading.heading-5 {
    text-align: left;
    margin-bottom: 30px;
}

.section-title,
.heading-title {
    font-family: var(--global--font-heading);
    color: var(--global--color-secondary)!important;
    margin-bottom: 20px;
    position: relative;
    display: block;
}



.section-subtitle,
.heading-desc {
    font-family: var(--global--font-body);
    font-size: 16px;
    color: var(--global--color-text);
    line-height: 1.6;
    margin: 0;
}

/* Navigation Sidebar */
.sticky-sidebar {
    transition: top 0.3s ease, left 0.3s ease;
}

.tab-navigation-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}



.tab-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}



/* Vertical Tab Navigation */
.vertical-tab-navigation {
    padding: 0;
    margin-bottom: 0;
}

.vertical-tab-navigation .nav-pills {
    gap: 8px;
}

.vertical-tab-navigation .nav-item {
    width: 100%;
}

.vertical-tab-navigation .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #ffffff;
    width:100%;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vertical-tab-navigation .nav-link:hover {
    background: #f8fafc;
    border-color: var(--global--color-primary);
    color: var(--global--color-primary);
    transform: translateX(4px);
}

.vertical-tab-navigation .nav-link.active {
    background: linear-gradient(135deg, var(--global--color-primary) 0%, var(--global--color-secondary) 100%);
    border-color: var(--global--color-primary);
    color: #ffffff;
    transform: translateX(4px);
}

.vertical-tab-navigation .nav-link i {
    font-size: 20px;
    transition: all 0.3s ease;
    width: 20px;
    flex-shrink: 0;
}
    .vertical-tab-navigation .nav-link i:before{
        margin-left:0
    }

    .vertical-tab-navigation .nav-link:hover i {
        transform: scale(1.1);
    }

.vertical-tab-navigation .nav-link.active i {
    transform: scale(1.1);
}



/* Tab Content */

.tab-pane {
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tab-pane.show.active {
    opacity: 1;
    transform: translateY(0);
}

/* Tab Content Styles */

/* General Info Tab */


.hospital-info {
    background: #ffffff;
    border-radius: 8px 8px 0 8px;
    padding: 24px;
    transition: all 0.3s ease;
}
.hospital-info strong {
    color: var(--global--color-heading);
    font-weight: 500;
    font-size: 17px;
}

.hospital-info p .btn {
    min-width: 480px;
    font-family: var(--global--font-body)!important;
    font-size: 15px;
    padding:20px 25px!important;
    height:unset!important;
    display:block;
    font-weight:500!important;
    display:inline-flex;
    align-items:center;
}

.hospital-description {
    margin-bottom: 40px;
}

.hospital-description p {
    font-family: var(--global--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--global--color-text);
    margin-bottom: 20px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: center;
}

.action-buttons .btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Theme button styles - will inherit from main theme */
.action-buttons .btn--primary {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.action-buttons .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 184, 197, 0.3);
}

.action-buttons .btn--bordered {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.action-buttons .btn--bordered:hover {
    transform: translateY(-2px);
}

/* Gallery Styles - Full Width */
.gallery-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
}

.gallery-container .swiper {
    border-radius: 12px;
}

.gallery-container .swiper-slide {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-container .swiper-slide:hover {
    transform: scale(1.02);
}

.gallery-container .swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gallery-container .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(20%);
    display: flex;
    gap: 8px;
}

.gallery-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-container .swiper-pagination-bullet-active {
    background: var(--global--color-primary);
    transform: scale(1.2);
}
@media only screen and (max-width: 768px) {
    .hospital-info p .btn {
        min-width: unset;
        width: 100%;
    }
    .gallery-container .swiper-pagination {
        padding: 0 15px;
        transform: unset !important;
    }

    .gallery-container .swiper-pagination-bullet {
        min-width: 15px!important;
        height: 15px!important;
    }
    .direction-header h4{
        font-size:18px;
    }
}

.gallery-container .swiper-button-next,
.gallery-container .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--global--color-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-container .swiper-button-next:hover,
.gallery-container .swiper-button-prev:hover {
    background: var(--global--color-primary);
    color: var(--global--color-white);
    transform: scale(1.1);
}

.gallery-container .swiper-button-next:after,
.gallery-container .swiper-button-prev:after {
    font-size: 15px;
    font-weight: 600;
}

/* Rooms Tab */
.rooms-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.room-category {
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.room-category:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--global--color-primary);
}

.room-info {
    padding-right: 30px;
}

.room-info .room-title {
    font-family: var(--global--font-heading);
    font-size: 26px;
    font-weight: 500;
    color: var(--global--color-secondary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.room-info .room-title::after {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--global--color-primary) 0%, var(--global--color-secondary) 100%);
    border-radius: 2px;
}

.room-description {
    font-family: var(--global--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--global--color-text);
    margin-bottom: 24px;
}

.room-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--global--font-body);
    font-size: 15px;
    color: var(--global--color-text);
    margin-bottom: 12px;
}

.room-features li i {
    color: var(--global--color-primary);
    font-size: 14px;
}

.room-gallery {
    margin-left: 30px;
}

.room-gallery .swiper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
}

.room-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.room-gallery .swiper-slide:hover img {
    transform: scale(1.05);
}

.room-gallery .swiper-pagination {
    bottom: 15px;
}

.room-gallery .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.room-gallery .swiper-pagination-bullet-active {
    background: var(--global--color-primary);
    transform: scale(1.2);
}

/* Departments Tab */


.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.department-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.department-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--global--color-primary);
}

.department-item i::before {
    color: var(--global--color-primary);
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 30px;
    margin-left: 0;
}

.department-item:hover i {
    transform: scale(1.1);
}

.department-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.department-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Directions Tab */


.directions-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.direction-item {
    background: var(--global--color-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
    .direction-item p strong {
        color: var(--global--color-primary);
        margin-bottom: 8px;
        display:block;
        font-size: 18px;
        font-weight: 600;
    }

    .direction-item:hover {
        transform: translateY(-3px);
        box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
    }

.direction-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.direction-header i {
    color: var(--global--color-primary);
}
    .direction-header i:before {
        margin-left: 0;
        font-size: 32px;
    }

.direction-content p {
    font-family: var(--global--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--global--color-text);
    margin: 0;
}

    .direction-content ol li, .direction-content ul li {
        list-style: decimal;
        margin-left: 20px;
        margin-bottom: 10px;
    }
.hospital-info ul li{
    list-style: disc;
    margin-left:20px;
    margin-bottom:10px;
}
/* Services Tab */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 184, 197, 0.05), transparent);
    transition: transform 0.6s ease;
    transform: rotate(45deg) translate(-100%, -100%);
}

.service-item:hover::before {
    transform: rotate(45deg) translate(0%, 0%);
}

    .service-item i {
        color: var(--global--color-primary);
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        margin-bottom: 30px;
        display:block
    }
    .service-item i:before {
        font-size: 40px;
        margin-left: 0;
        background: #59c8db17;
        border-radius: 50%;
        padding: 20px;
    }

    .service-item:hover i {
        transform: scale(1.15);
        color: var(--global--color-secondary);
    }

.service-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 1;
}

.service-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Technology Tab */


.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.technology-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.technology-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.technology-item:nth-child(even) {
    flex-direction: row-reverse;
}



.technology-item:hover .tech-image img {
    transform: scale(1.05);
}

.tech-content {
    padding: 24px;
}

.tech-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.tech-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Doctors Tab - Team Modern Style */


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.team-member {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}


.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-img img {
    transform: scale(1.05);
}

.team-content {
    padding: 24px;
    text-align: center;
}

.team-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.team-content .specialty {
    color: var(--global--color-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.department-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: var(--global--color-text);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.department-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--global--color-primary);
    color: var(--global--color-text);
    text-decoration: none;
}



.department-item:hover i {
    transform: scale(1.1);
    color: var(--global--color-secondary);
}

.department-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--global--color-secondary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.department-item p {
    font-size: 13px;
    color: var(--global--color-text);
    line-height: 1.4;
    margin: 0;
    opacity: 0.8;
}

#page-title .hero-action {
    position: absolute;
    right: 0;
    bottom: -45px;
    display: flex;
    gap: 10px;
}

    #page-title .hero-action .btn {
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
        padding: 30px !important;
        width: 190px;
    }

/* Responsive for departments grid */
@media (max-width: 768px) {
  
    #page-title .hero-action {
        padding: 15px;
        flex-direction: unset;
        width: 100%;
    }
    #page-title .hero-action .btn {
        min-width: unset;
        width: 100%;
        font-size: 11px;
        padding: 12px !important;
    }
    .page-title.page-title-3 .title {
        padding-top: 150px!important;
    }
    .hospital-detail-section {
        padding: 60px 0
    }
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .department-item {
        padding: 20px 12px;
    }
    
    .department-item i {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .department-item h4 {
        font-size: 14px;
    }
    
    .department-item p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .department-item i::before{
        margin-bottom:0
    }
    .departments-grid {
        gap: 12px;
    }
    
    .department-item {
        padding: 18px 16px;
    }
}

/* Directions Tab */


.directions-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.direction-item {
    background: var(--global--color-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.direction-item:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.direction-header i {
    font-size: 32px;
    color: var(--global--color-primary);
}

.direction-header h4 {
    font-family: var(--global--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--global--color-secondary);
    margin: 0;
}

.direction-content p {
    font-family: var(--global--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--global--color-text);
    margin: 0;
}

/* Services Tab */


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 184, 197, 0.05), transparent);
    transition: transform 0.6s ease;
    transform: rotate(45deg) translate(-100%, -100%);
}

.service-item:hover::before {
    transform: rotate(45deg) translate(0%, 0%);
}

    .service-item i {
        color: var(--global--color-primary);
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        margin-bottom: 30px;
        display:block
    }
    .service-item i:before {
        font-size: 40px;
        margin-left: 0;
        background: #59c8db17;
        border-radius: 50%;
        padding: 20px;
    }

    .service-item:hover i {
        transform: scale(1.15);
        color: var(--global--color-secondary);
    }

.service-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 1;
}

.service-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Technology Tab */


.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.technology-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.technology-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.technology-item:nth-child(even) {
    flex-direction: row-reverse;
}



.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.technology-item:hover .tech-image img {
    transform: scale(1.05);
}

.tech-content {
    padding: 24px;
}

.tech-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.tech-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Doctors Tab - Team Modern Style */


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.team-member {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.team-img {
    overflow: hidden;
    height: 400px;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-img img {
    transform: scale(1.05);
}

.team-content {
    padding: 24px;
    text-align: center;
}

.team-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.team-content .specialty {
    color: var(--global--color-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sticky-sidebar {
        margin-bottom: 32px;
    }
    
    .tab-navigation-card {
        padding: 20px;
    }

    
    .tab-card-title {
        margin-bottom: 16px;
    }

    .vertical-tab-navigation .nav-link {
        padding: 12px 0;
        font-size: 12px;
        display: block;
        width: 150px;
        text-align:center;
        margin:0
    }
    
    .room-info {
        padding-right: 15px;
        margin-bottom: 0;
    }
    
    .room-gallery {
        margin-left: 0;
    }
    
    .vertical-tab-navigation .nav-link i {
        font-size: 16px;
    }
    
    .section-title,
    .heading-title {
        font-size: 28px;
    }
    
    .room-category {
        margin-bottom: 30px;
    }
    .room-gallery{
        margin-top:0;
    }
    .room-info {
        padding: 0;
    }
    .room-description:last-child{
        margin-bottom:0
    }

    .room-title {
        font-size: 20px;
    }
    
    .room-gallery .swiper {
        height: 300px;
    }
    
    .room-gallery .swiper-slide img {
        height: 300px;
    }
    .vertical-tab-navigation .nav-pills {
        display: flex !important;
        overflow: auto;
        flex-flow: row;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
        .vertical-tab-navigation .nav-pills::-webkit-scrollbar {
            display: none;
        }

        .vertical-tab-navigation .nav-link i {
            display: none;
        }
}

@media (max-width: 768px) {
    .lightbox-content{
        max-width:77%!important;
    }
    .sticky-sidebar {
        margin-bottom: 24px;
    }
    
    .tab-navigation-card {
        border-radius: 12px;
    }
    
    .tab-card-title {
        margin-bottom: 12px;
    }
    
    .room-category {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .room-info {
        padding: 0;
        margin-bottom: 0;
    }
    
    .room-gallery .swiper {
        height: 250px;
    }
    
   
    
    .section-title,
    .heading-title {
        font-size: 24px;
    }
    
    .section-subtitle,
    .heading-desc {
        font-size: 15px;
    }
    
    .department-grid,
    .services-grid,
    .technology-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .room-gallery {
        grid-template-columns: 1fr;
    }
    
   
    
    .room-title {
        font-size: 18px;
    }
    
    .room-gallery .swiper {
        height: 250px;
    }
    
    .room-gallery .swiper-slide img {
        height: 250px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-container .swiper-slide img {
        height: 250px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: -60px;
    }
    
    .lightbox-next {
        right: -60px;
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
   
    
    .tab-card-title {
        margin-bottom: 10px;
    }
    
    
    .room-category {
        padding: 15px;
    }
    
    .room-info .room-title {
        font-size: 20px;
    }
    
    .room-gallery .swiper {
        height: 200px;
    }
}



/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 1200px;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-nav i {
    font-size: 24px;
    font-weight: bold;
}

.lightbox-close i {
    font-size: 20px;
}

/* Gallery container styles */
.gallery-container {
}

.gallery-container .swiper-slide {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-container .swiper-slide:hover {
    transform: scale(1.05);
}

.gallery-container .swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Room gallery styles */
.room-gallery {
    margin-top: 20px;
}

.room-gallery .swiper-slide {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.room-gallery .swiper-slide:hover {
    transform: scale(1.05);
}

.room-gallery .swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Room Gallery Navigation Buttons */
.room-gallery .swiper-button-next,
.room-gallery .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--global--color-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.room-gallery .swiper-button-next:hover,
.room-gallery .swiper-button-prev:hover {
    background: #fff;
    color: var(--global--color-secondary);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.room-gallery .swiper-button-next::after,
.room-gallery .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.room-gallery .swiper-button-next {
    right: 10px;
}

.room-gallery .swiper-button-prev {
    left: 10px;
}

/* Room Gallery Pagination */
.room-gallery .swiper-pagination {
    bottom: 10px;
}

.room-gallery .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.room-gallery .swiper-pagination-bullet-active {
    background: var(--global--color-primary);
    transform: scale(1.2);
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content img{
        max-width:390px;
        height:auto;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
    
    .lightbox-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .lightbox-prev {
        left: -40px;
    }
    
    .lightbox-next {
        right: -40px;
    }
    
    .lightbox-close {
        top: -35px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

/* Single Image Swiper Styles */
.swiper-container.single-image .swiper-button-next,
.swiper-container.single-image .swiper-button-prev,
.swiper-container.single-image .swiper-pagination {
    display: none !important;
}

.swiper.single-image .swiper-button-next,
.swiper.single-image .swiper-button-prev,
.swiper.single-image .swiper-pagination {
    display: none !important;
}

/* Hide navigation when only one slide */
.swiper-wrapper:has(.swiper-slide:only-child) + .swiper-pagination,
.swiper-wrapper:has(.swiper-slide:only-child) ~ .swiper-button-next,
.swiper-wrapper:has(.swiper-slide:only-child) ~ .swiper-button-prev {
    display: none !important;
}

/* Ensure single image is centered and properly displayed */
.swiper-slide:only-child img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Additional styling for better single image presentation */
.swiper:has(.swiper-slide:only-child) {
    cursor: default;
}

.swiper:has(.swiper-slide:only-child) .swiper-slide {
    cursor: zoom-in;
}

/* Sticky Sidebar Styles */
.sticky-sidebar {
    transition: none !important;
    will-change: transform;
}

.sticky-sidebar.now-sticky {
    animation: stickyFadeIn 0.3s ease-out;
}

.sticky-sidebar.now-bottom {
    top: auto !important;
    bottom: 0 !important;
    left:auto!important;
}

@keyframes stickyFadeIn {
    from {
        opacity: 0.8;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure sticky sidebar stays within viewport */
.sticky-sidebar.now-sticky .tab-navigation-card {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

/* Custom scrollbar for sticky sidebar */
.sticky-sidebar.now-sticky .tab-navigation-card::-webkit-scrollbar {
    width: 3px;
}

.sticky-sidebar.now-sticky .tab-navigation-card::-webkit-scrollbar-track {
    background: #f5faff;
    border-radius: 3px;
}

.sticky-sidebar.now-sticky .tab-navigation-card::-webkit-scrollbar-thumb {
    background: var(--global--color-primary-light);
    border-radius: 3px;
}

.sticky-sidebar.now-sticky .tab-navigation-card::-webkit-scrollbar-thumb:hover {
    background: var(--global--color-primary-dark);
}

/* Mobile: disable sticky */
@media (max-width: 991px) {
    .sticky-sidebar.now-sticky,
    .sticky-sidebar.now-bottom {
        position: static !important;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08) !important;
    }
    
    .sticky-sidebar.now-sticky .tab-navigation-card {
        max-height: none;
        overflow-y: visible;
    }
    
}



/* Ensure smooth transitions */
.tab-navigation-card {
    transition: box-shadow 0.3s ease;
}

.list-style-dotted{
    margin:15px;
}
.list-style-dotted li {
   list-style:disc;
}

/* View All Doctors Button */
.btn-viewall-doctors {
    padding: 20px;
    font-size: 14px;
    width: 100%;
    font-weight: 600;
    border-radius: 8px 8px 0 8px;
    background: #fff;
    color: var(--global--color-secondary);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-viewall-doctors:hover {
    transform: translateY(-3px);
    color: #fff;
}

.btn-viewall-doctors i {
    transition: transform 0.3s ease;
}

.btn-viewall-doctors:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .btn-viewall-doctors {
        padding: 14px 30px;
        font-size: 14px;
        width: 100%;
    }
}