.specialist-section {
    background: linear-gradient(135deg, #f8fcfb 0%, #e8f3f2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.specialist-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 107, 104, 0.15);
    transition: all 0.4s ease;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

    .specialist-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, #0f6b68, #1a8c89, #4ecdc4);
    }

.specialist-image {
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 107, 104, 0.1), rgba(15, 107, 104, 0.3)), url('https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.specialist-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.specialist-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specialist-name {
    color: #0d5855;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.2;
}

.specialist-title {
    color: #0f6b68;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.specialist-qualifications {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.qualification-badge {
    background: rgba(15, 107, 104, 0.1);
    color: #0d5855;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .qualification-badge:hover {
        background: #0f6b68;
        color: white;
        border-color: #0f6b68;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(15, 107, 104, 0.2);
    }

.specialist-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    padding-right: 20px;
}

.specialist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: rgba(15, 107, 104, 0.05);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .stat-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, #0f6b68, #4ecdc4);
    }

    .stat-box:hover {
        border-color: #0f6b68;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(15, 107, 104, 0.1);
    }

.stat-box-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f6b68;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-box-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.clinic-hours {
    background: rgba(15, 107, 104, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #0f6b68;
}

.hours-title {
    color: #0d5855;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.hours-schedule {
    color: #0f6b68;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

/* Floating Elements Animation */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(15, 107, 104, 0.05);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

    .floating-element:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 10%;
        left: 5%;
        animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
        width: 120px;
        height: 120px;
        bottom: 10%;
        right: 5%;
        animation-delay: 2s;
    }

    .floating-element:nth-child(3) {
        width: 60px;
        height: 60px;
        top: 50%;
        left: 8%;
        animation-delay: 4s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 992px) {
    .specialist-image {
        min-height: 400px;
    }

    .specialist-info {
        padding: 40px 30px;
    }

    .specialist-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .specialist-section {
        padding: 60px 0;
    }

    .specialist-image {
        min-height: 300px;
    }

    .specialist-stats {
        grid-template-columns: 1fr;
    }

    .specialist-qualifications {
        justify-content: center;
    }

    .specialist-badge {
        top: 20px;
        right: 20px;
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
    .specialist-info {
        padding: 30px 20px;
    }

    .specialist-name {
        font-size: 1.8rem;
    }

    .specialist-title {
        font-size: 1.1rem;
    }

    .specialist-description {
        font-size: 1rem;
        padding-right: 0;
    }
}

.navbar-brand {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 107, 104, 0.9) 0%, rgba(26, 140, 137, 0.85) 100%), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, var(--light-bg), transparent);
    }

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(to right, var(--primary-color), var(--accent-color));
        border-radius: 2px;
    }

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 107, 104, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    }

    .feature-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 40px rgba(15, 107, 104, 0.15);
        border-color: var(--primary-light);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
}

.feature-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Timeline/Process Section */
.process-step {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

    .process-step:hover {
        transform: translateX(10px);
    }

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonial Section */
.testimonial-section {
    background: white;
    padding: 100px 0;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
    position: relative;
    border: 2px solid rgba(15, 107, 104, 0.1);
}

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: -25px;
        left: 30px;
        font-size: 6rem;
        color: var(--primary-color);
        opacity: 0.2;
        font-family: Georgia, serif;
        line-height: 1;
    }

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-primary-custom::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
        transition: left 0.5s ease;
        z-index: -1;
    }

    .btn-primary-custom:hover::before {
        left: 0;
    }

    .btn-primary-custom:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(15, 107, 104, 0.3);
    }

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

    .btn-outline-custom:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-3px);
    }

/* Specialist Section */
.specialist-section {
    background: linear-gradient(135deg, #f8fcfb 0%, #e8f3f2 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.specialist-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 107, 104, 0.15);
    transition: all 0.4s ease;
    max-width: 1000px;
    margin: 0 auto;
}

    .specialist-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 35px 70px rgba(15, 107, 104, 0.2);
    }

.specialist-image {
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 107, 104, 0.1), rgba(15, 107, 104, 0.3)), url('https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.specialist-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gold-color);
    color: #333;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.specialist-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specialist-name {
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.specialist-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.specialist-qualifications {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.qualification-badge {
    background: rgba(15, 107, 104, 0.1);
    color: var(--primary-dark);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .qualification-badge:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

.specialist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: rgba(15, 107, 104, 0.05);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .stat-box:hover {
        border-color: var(--primary-color);
        transform: translateY(-5px);
    }

.stat-box-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-box-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 100px 0;
    background: white;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: 25px;
    padding: 50px;
    color: white;
    text-align: center;
    height: 100%;
    box-shadow: 0 20px 40px rgba(15, 107, 104, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

    .contact-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(15, 107, 104, 0.3);
    }

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

.contact-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(10deg);
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info {
    font-size: 1.3rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-action {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

    .contact-action:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

    .floating-element:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
        width: 120px;
        height: 120px;
        bottom: 20%;
        right: 10%;
        animation-delay: 2s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    body {
        padding-top: 70px;
    }

    .specialist-image {
        min-height: 300px;
    }

    .specialist-info {
        padding: 30px;
    }

    .specialist-name {
        font-size: 2rem;
    }

    .specialist-stats {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px;
        margin-bottom: 30px;
    }
}

/* Doctor Carousel Styles */
.doctor-carousel .item {
    padding: 5px;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    height: 100%;
}

.doctor-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.doctor-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0f6b68, #159c97);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

    .doctor-avatar i {
        font-size: 32px;
        color: white;
    }

.doctor-info {
    flex: 1;
}

.doctor-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.doctor-qualification {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

.doctor-details {
    margin-bottom: 20px;
}

.speciality, .timing {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

    .speciality i, .timing i {
        width: 24px;
        color: #128783;
        margin-right: 10px;
        text-align: center;
    }

    .speciality span, .timing span {
        color: #495057;
    }

.doctor-actions {
    display: flex;
    gap: 10px;
}

    .doctor-actions .btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 6px;
    }

/* Video Carousel Styles */
.video-carousel-container {
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.video-carousel .item {
    padding: 10px;
}

.video-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: #fff;
    height: 100%;
    min-height: 90px;
}

    .video-item:hover {
        background: #f8f9fa;
        border-color: #dee2e6;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .video-item.active {
        background: #e7f3ff;
        border-color: #0d6efd;
    }

.number-indicator {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
}

.video-item:hover .number-indicator {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.item-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-preview {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

.item-info {
    flex: 1;
}

.title-line-1 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.title-line-2 {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Owl Carousel Navigation Customization */
.owl-nav {
    text-align: center;
    margin-top: 15px;
}

    .owl-nav button {
        width: 30px;
        height: 30px;
        background: #128783 !important;
        color: white !important;
        border-radius: 50% !important;
        margin: 0 5px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

        .owl-nav button:hover {
            background: #0d6efd !important;
        }

        .owl-nav button span {
            font-size: 20px;
            line-height: 1;
        }

.owl-dots {
    text-align: center;
    margin-top: 10px;
}

.owl-dot {
    width: 10px;
    height: 10px;
    background: #dee2e6 !important;
    border-radius: 50%;
    margin: 0 3px;
    display: inline-block;
}

    .owl-dot.active {
        background: #128783 !important;
    }

/* Modal styles */
.modal-header {
    background-color: #343a40;
    color: white;
    border-bottom: none;
}

.modal-body {
    padding: 0;
    background-color: #000;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .doctor-avatar {
        width: 60px;
        height: 60px;
    }

        .doctor-avatar i {
            font-size: 28px;
        }

    .doctor-name {
        font-size: 16px;
    }

    .doctor-qualification {
        font-size: 13px;
    }

    .video-preview {
        width: 50px;
        height: 50px;
    }

    .number-indicator {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}