/* Dr. Feysel Dermatology Website Styles */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Header Logo Image */
.header-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
}

.header-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.brand-text {
    display: inline-block;
    vertical-align: middle;
}

/* Fallback for missing image */
.header-logo[src=""], .header-logo:not([src]) {
    display: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #4361ee !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    background: white;
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    border-color: #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    position: relative;
}

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

.testimonial-card.featured {
    border-left: 4px solid #4361ee;
}

.testimonial-rating {
    color: #ffc107;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* Gallery Styles */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
}

.gallery-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

/* Video Cards */
.video-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Virtual Tour */
.virtual-tour-preview {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.virtual-tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.virtual-tour-preview:hover .virtual-tour-overlay {
    opacity: 1;
}

/* Contact Forms */
.contact-form-card,
.contact-info-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-card:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.map-container {
    border-radius: 15px;
    overflow: hidden;
}

.map-placeholder {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    margin-top: 15px;
}

.social-links i {
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-links i:hover {
    color: #4361ee !important;
}

/* Tech Cards */
.tech-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

/* Facility Cards */
.facility-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

/* Original System Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-outline-primary {
    border: 2px solid #4361ee;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #4361ee;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Modern Gradient Tour Button */
.btn-gradient-tour {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.btn-gradient-tour:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-gradient-tour i {
    transition: transform 0.3s ease;
}

.btn-gradient-tour:hover i {
    transform: scale(1.1);
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.1);
}

/* Avatar */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    font-weight: 600;
}

.avatar.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

.avatar.avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 6px;
}

/* Table */
.table {
    margin-bottom: 0;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #dee2e6;
}

.table thead th {
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 6px;
    padding: 1rem 1.25rem;
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Dashboard Stats */
.stats-card {
    border-left: 4px solid #4361ee;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Image Preview */
.image-preview-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-preview-container:hover {
    border-color: #4361ee;
    background-color: #f0f4ff;
}

.image-preview-container i {
    font-size: 2.5rem;
    color: #adb5bd;
}

/* Rating System */
.rating-input {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.rating-star {
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-star:hover {
    transform: scale(1.1);
}

/* Accordion */
.accordion-button {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Office Hours */
.office-hours-card {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: #1a1a1a;
}

footer h5 {
    color: #4361ee;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #4361ee !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4361ee;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .header-logo {
        height: 50px !important;
        border-radius: 10px !important;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .service-card,
    .testimonial-card,
    .gallery-card,
    .team-card {
        margin-bottom: 30px;
    }
    
    .contact-form-card,
    .map-container {
        margin-bottom: 30px;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    /* Enhanced Navigation for Tablets */
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .header-logo {
        height: 45px !important;
        border-radius: 8px !important;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card,
    .gallery-card,
    .team-card {
        margin-bottom: 25px;
    }
    
    .contact-form-card,
    .map-container {
        margin-bottom: 25px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* Mobile Navigation Improvements */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.2rem 0;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(67, 97, 238, 0.1);
    }
    
    /* Mobile Forms */
    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 44px; /* Minimum touch target size */
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Mobile Cards */
    .feature-card,
    .service-card,
    .testimonial-card,
    .team-card {
        padding: 1.5rem;
        margin-bottom: 20px;
    }
    
    .feature-icon,
    .service-icon,
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Mobile Gallery */
    .gallery-image-container {
        height: 200px;
    }
    
    .gallery-info h5 {
        font-size: 1rem;
    }
    
    /* Mobile Tables */
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
    
    /* Mobile Stats */
    .stats-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    /* Mobile Footer */
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 30px;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .header-logo {
        height: 40px !important;
        border-radius: 6px !important;
    }
    
    .brand-text {
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-icon,
    .service-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-image-container {
        height: 180px;
    }
    
    /* Small Mobile Cards */
    .feature-card,
    .service-card,
    .testimonial-card,
    .team-card {
        padding: 1rem;
        margin-bottom: 15px;
    }
    
    /* Small Mobile Forms */
    .form-control,
    .form-select {
        padding: 8px 10px;
        font-size: 16px;
    }
    
    /* Small Mobile Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    /* Small Mobile Stats */
    .stats-card {
        padding: 1rem;
    }
    
    .stats-number {
        font-size: 1.75rem;
    }
    
    /* Small Mobile Footer */
    footer {
        padding: 2rem 0 1rem;
    }
    
    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Small Mobile Tables */
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.4rem;
    }
    
    /* Small Mobile Navigation */
    .navbar {
        padding: 0.4rem 0.8rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 50px 0 25px;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.3rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .header-logo {
        height: 35px !important;
        border-radius: 5px !important;
    }
    
    .brand-text {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Ultra Small Mobile */
    .feature-card,
    .service-card,
    .testimonial-card,
    .team-card {
        padding: 0.75rem;
        margin-bottom: 12px;
    }
    
    .feature-icon,
    .service-icon,
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .gallery-image-container {
        height: 150px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .form-control,
    .form-select {
        padding: 6px 8px;
        font-size: 16px;
    }
}

/* Landscape Mobile Improvements */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0 30px;
        min-height: auto;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 0.3rem 0.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .gallery-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .card:hover,
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .card:active,
    .service-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Custom Utilities */
.cursor-pointer {
    cursor: pointer;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Custom Form Elements */
.form-check-input:checked {
    background-color: #4361ee;
    border-color: #4361ee;
}

/* Custom Badge Variants */
.badge-outline {
    background-color: transparent;
    border: 1px solid currentColor;
}

/* Custom Tabs */
.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #4361ee;
    background-color: transparent;
    border-bottom: 2px solid #4361ee;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #4361ee;
}

/* Enhanced Modernized Treatment Steps Slider */
.hero-slider.enhanced {
    position: relative;
    z-index: 2;
    transform: scale(1.05);
}

.modern-card.enhanced {
    background-size: cover;
    background-position: center;
    border-radius: 50px 50px 25px 25px / 100px 100px 50px 50px;
    overflow: hidden;
    min-height: 450px;
    max-height: 500px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.modern-card.enhanced:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.card-content {
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.step-number {
    font-size: 4rem;
    font-weight: 950;
    color: #ffffff !important;
    color: white !important;
    line-height: 1;
    text-shadow: 0 6px 20px rgba(0,0,0,0.8), 0 2px 10px rgba(0,0,0,0.6);
    min-width: 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

/* Additional specificity for STEP text */
.treatment-step-card .step-number {
    color: #ffffff !important;
    color: white !important;
    font-weight: 950 !important;
}

.step-title h4 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 6px 20px rgba(0,0,0,0.8), 0 2px 10px rgba(0,0,0,0.6);
    letter-spacing: 1px;
}

.step-title p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}

.step-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.detail-item:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.detail-item i {
    font-size: 1.5rem;
    min-width: 25px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.detail-item span {
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}

/* Enhanced Carousel Controls */
#treatmentStepsSlider .carousel-control-prev,
#treatmentStepsSlider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.hero-slider.enhanced:hover .carousel-control-prev,
.hero-slider.enhanced:hover .carousel-control-next {
    opacity: 1;
}

.control-btn.enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #4361ee;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.4s ease;
    border-radius: 50%;
}

#treatmentStepsSlider .carousel-control-prev:hover .control-btn.enhanced,
#treatmentStepsSlider .carousel-control-next:hover .control-btn.enhanced {
    color: #fff;
    background: #4361ee;
    border-radius: 50%;
    transform: scale(1.1);
}

/* Enhanced Carousel Indicators */
#treatmentStepsSlider .carousel-indicators {
    bottom: -50px;
}

#treatmentStepsSlider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin: 0 10px;
    transition: all 0.4s ease;
}

#treatmentStepsSlider .carousel-indicators .active {
    background-color: #4361ee;
    border-color: #4361ee;
    width: 35px;
    border-radius: 6px;
}

/* Responsive Design for Enhanced Slider */
@media (max-width: 992px) {
    .hero-slider.enhanced {
        transform: scale(1);
    }
    
    .modern-card.enhanced {
        min-height: 400px;
        max-height: 450px;
    }
    
    .card-content {
        padding: 40px 30px;
    }
    
    .step-number {
        font-size: 3rem;
        min-width: 80px;
        padding: 15px;
    }
    
    .step-title h4 {
        font-size: 1.8rem;
    }
    
    .detail-item {
        padding: 15px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .modern-card.enhanced {
        min-height: 450px;
        max-height: 500px;
    }
    
    .card-content {
        padding: 30px 20px;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step-number {
        font-size: 2.5rem;
        min-width: 70px;
        padding: 12px;
    }
    
    .step-title h4 {
        font-size: 1.6rem;
    }
    
    .step-title p {
        font-size: 1rem;
    }
    
    .detail-item {
        padding: 12px;
        gap: 12px;
    }
    
    .detail-item i {
        font-size: 1.2rem;
    }
    
    .detail-item span {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .modern-card.enhanced {
        min-height: 480px;
        max-height: 520px;
    }
    
    .card-content {
        padding: 25px 15px;
    }
    
    .step-number {
        font-size: 2rem;
        min-width: 60px;
        padding: 10px;
    }
    
    .step-title h4 {
        font-size: 1.4rem;
    }
    
    .detail-item {
        padding: 10px;
        gap: 10px;
    }
    
    .detail-item i {
        font-size: 1rem;
    }
    
    .detail-item span {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .video-play-button {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
