/* Decorative underline under headings */
.h-decor {
    width: 80px;
    height: 3px;
    background-color: #0d6efd;
    margin-top: 10px;
}

.bg-purple {
    background: #333258;
    color: #ffffff;
}

.slide-txt1 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;

    @media (min-width: 768px) {
        font-size: 3rem;
    }

    @media (min-width: 1200px) {
        font-size: 4rem;
    }
}

/* Breadcrumbs spacing */
.breadcrumbs-wrap {}

.breadcrumb {
    background: transparent;
}

/* Marker list styling similar to reference */
.marker-list-md {
    /* list-style: none; */
    padding-left: 0;
    list-style: none;
}

.marker-list-md li {
    position: relative;
    /* padding-left: 1.5rem; */
    margin-bottom: .5rem;
    list-style: none;
}

/* Service cards for Treatments page */
.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .05);
}

.service-card-photo img {
    border-radius: .5rem;
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
}

.service-card-name {
    margin-bottom: .25rem;
}

.service-card .btn {
    margin-top: .5rem;
}

/* Video library styles (Testimonials) */
.media-library {
    list-style: none;
    padding-left: 0;
    background: #f8f9fa;
}

.video-library-item {
    border-top: 1px solid rgba(0, 0, 0, .1);
    cursor: pointer;
}

.video-library-item:first-child {
    border-top: 0;
}

.video-library-item.active {
    background: #e9f2ff;
}

.video-library-item .img-thumbnail {
    border-radius: 0;
    margin: 0;
}

/* Enforce sticky navbar (override vendor rules if any) */
.navbar.sticky-top {
    position: sticky !important;
    top: 0;
    z-index: 1030;
}

/* Back to top button */
.back-to-top{
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #0d6efd 0%, #5ba8ff 100%);
    box-shadow: 0 8px 24px rgba(13,110,253,.35);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
}
.back-to-top i{ font-size: 18px; }
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,110,253,.45); }

@media (prefers-reduced-motion: reduce){
    .back-to-top{ transition: none; }
}
/* Floating Social Links (Mobile Only) */
.floating-social-links {
    position: fixed;
    left: 16px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: fadeInRight 0.6s ease;
}

.floating-social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: white;
}

.floating-social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.floating-social-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.floating-social-link.google {
    background: linear-gradient(135deg, #ea4335 0%, #d33426 100%);
}

.floating-social-link.facebook:hover {
    background: linear-gradient(135deg, #0d65d9 0%, #1877f2 100%);
}

.floating-social-link.twitter:hover {
    background: linear-gradient(135deg, #0c85d0 0%, #1da1f2 100%);
}

.floating-social-link.google:hover {
    background: linear-gradient(135deg, #d33426 0%, #ea4335 100%);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-social-link {
        animation: none;
    }
}

/* ===== MODERN HOMEPAGE STYLES ===== */

/* Modern Feature Cards */
.modern-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 20px;
    background: white;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd 0%, #0dcaf0 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.15);
}

.modern-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.modern-card-treatments .modern-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.modern-card-gallery .modern-card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

.modern-card:hover .modern-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.modern-card-content {
    position: relative;
    z-index: 1;
}

.modern-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.modern-card-text {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.btn-modern {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
    transition: left 0.3s ease;
}

.btn-modern span,
.btn-modern i {
    position: relative;
    z-index: 1;
}

.btn-modern:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    color: white;
}

.btn-modern:hover::before {
    left: 0;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-box {
    max-width: 900px;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #dc3545;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Doctor Profile Card */
.doctor-profile-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.doctor-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.doctor-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.doctor-image-wrapper:hover .doctor-image {
    transform: scale(1.05);
}

.doctor-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: slideUp 0.6s ease 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.doctor-info {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (min-width: 992px) {
        align-items: flex-start;
        padding: 0 2rem;
    }
}

.doctor-name {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.doctor-name .degree {
    color: #667eea;
    font-weight: 600;
}

.doctor-title {
    font-size: 1.125rem;
    color: #718096;
    font-weight: 500;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.doctor-bio {
    margin-bottom: 2rem;
}

.doctor-bio p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.doctor-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-details a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .doctor-profile-card {
        padding: 2rem;
    }
    
    .modern-card {
        padding: 2rem;
    }
    
    .highlight-box {
        padding: 2rem;
    }
    
    .doctor-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .doctor-info {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .modern-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .modern-card-title {
        font-size: 1.5rem;
    }
    
    .doctor-name {
        font-size: 1.5rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
    
    .doctor-profile-card {
        padding: 1.5rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
}
