/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 110, 253, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.doctor-image {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.doctor-image i {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.8);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 100px;
    color: var(--primary-color);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 35px;
    color: white;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Qualification Cards */
.qualification-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.qualification-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.qualification-icon i {
    font-size: 30px;
    color: white;
}

.qualification-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.qualification-card ul li {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 60px;
    color: var(--primary-color);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.blog-content h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.blog-content p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-content .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    transition: color 0.3s ease;
}

.blog-content .btn-link:hover {
    color: #0056b3;
}

/* Video Gallery */
.nav-pills .nav-link {
    color: var(--dark-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    background: var(--light-color);
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.video-info p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.video-meta {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding: 120px 0 60px;
    margin-top: 70px;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: white;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
}

.search-box button {
    padding: 0.6rem 1rem;
    border-radius: 10px;
}

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

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list li a:hover {
    color: var(--primary-color);
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.recent-posts li a:hover {
    color: var(--primary-color);
}

.recent-posts small {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-cloud .badge {
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-cloud .badge:hover {
    background: var(--primary-color);
    color: white;
}

.cta-widget {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.cta-widget h4 {
    margin-bottom: 0.75rem;
}

.cta-widget p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-widget .btn {
    background: white;
    color: var(--primary-color);
}

.cta-widget .btn:hover {
    background: var(--light-color);
}

/* Blog Details */
.blog-detail {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-featured-image {
    height: 300px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-image i {
    font-size: 100px;
    color: var(--primary-color);
}

.blog-detail .blog-meta {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.blog-detail h1 {
    font-weight: 700;
    line-height: 1.3;
}

.blog-detail h3 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-detail p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-detail ul {
    color: var(--secondary-color);
    line-height: 1.8;
    padding-left: 1.5rem;
}

.blog-detail li {
    margin-bottom: 0.5rem;
}

.treatment-box {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.treatment-box h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-tags {
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.blog-tags .badge {
    padding: 0.4rem 0.8rem;
    text-decoration: none;
}

.blog-share {
    padding: 1rem 0;
}

.author-box {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 30px;
    color: white;
}

.author-box h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-box p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.related-posts {
    margin-top: 2rem;
}

.related-posts h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-post-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-post-icon i {
    font-size: 25px;
    color: white;
}

.related-post-content h6 {
    margin-bottom: 0.25rem;
}

.related-post-content h6 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h6 a:hover {
    color: var(--primary-color);
}

.related-post-content small {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.testimonial-author .author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author .author-avatar i {
    font-size: 20px;
    color: white;
}

.author-info h5 {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
}

.author-info small {
    color: var(--secondary-color);
}

/* FAQ */
.accordion-button {
    font-weight: 500;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.accordion-body {
    color: var(--secondary-color);
    line-height: 1.8;
}

/* Appointment Form */
.appointment-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.appointment-form .form-control,
.appointment-form .form-select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Contact Items */
.contact-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 30px;
    color: white;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.clinic-hours {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.clinic-hours h4 {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .doctor-image {
        width: 300px;
        height: 300px;
    }
    
    .doctor-image i {
        font-size: 120px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .doctor-image {
        width: 250px;
        height: 250px;
        margin-top: 2rem;
    }
    
    .doctor-image i {
        font-size: 100px;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .appointment-form {
        padding: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Animation on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
