/* Dental Tourism Worldwide - Custom Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #20b2aa;
    --primary-dark: #178b85;
    --secondary-color: #f8f9fa;
    --accent-color: #5cb3cc;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --gradient-primary: linear-gradient(135deg, #20b2aa 0%, #178b85 100%);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header and Navigation Styles */
header {
    z-index: 1030;
}

/* Horizontal Multi-level Dropdown Navigation */
.horizontal-menu {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1020;
}

ul.menu {
    display: flex;
    list-style: none;
    padding: 0.5rem 2rem;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

ul.menu > li {
    position: relative;
    padding: 0.75rem 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

ul.menu > li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

ul.menu > li:hover > ul.dropdown {
    display: block;
}

ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 0.5rem 0;
    z-index: 1000;
    min-width: 220px;
}

ul.dropdown li {
    padding: 0.7rem 1rem;
    white-space: nowrap;
}

ul.dropdown li:hover {
    background-color: #f0f0f0;
}

ul.dropdown li a {
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
}

/* Adjust body padding for fixed header and navbar */
body {
    padding-top: 120px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--light-color) !important;
    background-color: rgba(255,255,255,0.1);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    border-radius: 0;
    margin-top: 0;
}

.dropdown-item {
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .horizontal-menu {
        padding: 0.5rem;
    }

    ul.menu {
        flex-direction: column;
        padding: 0.5rem;
    }

    ul.menu > li {
        margin-bottom: 0.5rem;
        margin-right: 0;
        padding: 0.5rem;
    }

    ul.dropdown {
        position: static;
        box-shadow: none;
        background-color: rgba(255,255,255,0.95);
        border-radius: 0;
        margin-left: 1rem;
        min-width: auto;
    }
    
    header h3 {
        font-size: 1.3rem;
    }
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.dropdown-item:focus {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
    padding-top: 120px;
}

.hero-buttons .btn {
    margin-bottom: 1rem;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
    padding-top: 120px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    text-align: center;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

/* Service Cards */
.service-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-detail-card .service-image {
    height: 250px;
    overflow: hidden;
}

.service-detail-card .service-content {
    padding: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    margin-bottom: 0.5rem;
}



/* Destination Cards */
.destination-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.destination-image {
    height: 200px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-content {
    padding: 1.5rem;
}

.destination-feature-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.destination-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.destination-feature-card .destination-image {
    height: 250px;
    overflow: hidden;
}

.destination-feature-card .destination-info {
    padding: 2rem;
}

.destination-features {
    margin-top: 1rem;
}

.destination-features .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card-detailed {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.testimonial-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.patient-photo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.patient-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    margin: 1rem 0;
}

.patient-info {
    text-align: center;
}

.patient-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.location {
    font-size: 0.9rem;
}

.treatment-type {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-stats .stat {
    text-align: center;
    font-size: 0.9rem;
}

.testimonial-stats .stat i {
    display: block;
    margin-bottom: 0.25rem;
}

/* Doctor Cards */
.doctor-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    height: 300px;
    overflow: hidden;
}

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

.doctor-info {
    padding: 2rem;
}

.doctor-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.specialty {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.credentials {
    margin-bottom: 1rem;
}

.credentials .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.bio {
    margin-bottom: 1.5rem;
}

.doctor-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 10px;
}

.doctor-stats .stat {
    text-align: center;
}

.doctor-stats .stat strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.specialties h6 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.specialties ul {
    list-style: none;
    padding: 0;
}

.specialties li {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.specialties li:last-child {
    border-bottom: none;
}

/* Gallery Cards */
.gallery-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.1), rgba(23, 162, 184, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

/* Patient Portal Styles */
.resource-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.resource-icon i {
    font-size: 1.5rem;
    color: var(--light-color);
}

.education-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.education-image {
    height: 200px;
    overflow: hidden;
}

.education-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-content {
    padding: 1.5rem;
}

.topics {
    margin-top: 1rem;
}

.support-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.support-icon i {
    font-size: 1.25rem;
    color: var(--light-color);
}

.emergency-info {
    background: var(--gradient-primary) !important;
}

/* Chat Widget Styles */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle i {
    color: white;
    font-size: 1.5rem;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chat-window.open {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
}

.support-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.chat-header h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.status {
    font-size: 0.75rem;
    opacity: 0.9;
}

.status.online:before {
    content: '●';
    color: var(--success-color);
    margin-right: 0.25rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 3px;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.support {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.4;
}

.message.user .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.message.support .message-content {
    background: white;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

.chat-input-container {
    border-top: 1px solid var(--border-color);
    background: white;
}

.quick-replies {
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-reply {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    gap: 0.5rem;
}

#chat-input-field {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

#chat-input-field:focus {
    border-color: var(--primary-color);
}

#chat-send {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#chat-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chat-window {
        width: 300px;
        height: 450px;
        bottom: 70px;
        right: -10px;
    }
    
    #chat-widget {
        bottom: 15px;
        right: 15px;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Enhanced button animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Accessibility improvements */
.btn:focus,
.form-control:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .chat-widget,
    .navbar,
    .footer {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
    }
}

/* Appointment Calendar Styles */
.appointment-calendar {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.calendar-grid {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1rem;
}

.weekday {
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background: var(--light-color);
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.5;
}

.calendar-day.today {
    background: var(--accent-color);
    color: var(--light-color);
    font-weight: bold;
}

.calendar-day.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.available:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.3);
}

.day-number {
    font-size: 1rem;
    font-weight: 500;
}

.availability-indicator {
    width: 6px;
    height: 6px;
    background: var(--success-color);
    border-radius: 50%;
    margin-top: 0.25rem;
}

.time-slots-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.time-slots-container h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.time-slot {
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.time-slot.available:hover {
    background: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.time-slot.booked {
    background: var(--text-muted);
    color: var(--light-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.booked-label {
    font-size: 0.7rem;
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.appointment-confirmation {
    background: var(--success-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    animation: slideIn 0.3s ease;
}

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

/* Mobile responsiveness for calendar */
@media (max-width: 768px) {
    .calendar-day {
        min-height: 50px;
        padding: 0.5rem 0.25rem;
        font-size: 0.9rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.5rem;
    }
    
    .time-slot {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Admin Dashboard Styles */
.dashboard-header {
    background: var(--gradient-primary) !important;
}

.dashboard-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    min-width: 80px;
}

.stat-number {
    color: var(--light-color) !important;
    font-weight: bold;
}

.analytics-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.analytics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--light-color);
}

.card-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.trend.positive {
    color: var(--success-color);
}

.chart-card {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.chart-body {
    padding: 2rem;
    height: 300px;
    position: relative;
}

.activity-card,
.quick-actions-card,
.notifications-card {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.activity-header,
.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-header h4,
.card-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: var(--secondary-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
}

.activity-content {
    flex: 1;
}

.activity-content h6 {
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.activity-status .badge {
    font-size: 0.75rem;
}

.notification-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.notification-item:last-child {
    border-bottom: none;
}

.map-card {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.map-header h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-body {
    padding: 2rem;
}

.map-placeholder {
    background: var(--secondary-color);
    border-radius: 10px;
}

.country-stats {
    margin-top: 2rem;
}

.country-stats h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* Mobile responsiveness for dashboard */
@media (max-width: 768px) {
    .dashboard-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .analytics-card {
        padding: 1.5rem;
    }
    
    .chart-body {
        padding: 1rem;
        height: 250px;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

.before-after-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    left: 0;
}

.after-image {
    right: 0;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light-color);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.gallery-info {
    padding: 1.5rem;
}

.case-details {
    margin-top: 1rem;
}

.case-details .badge {
    margin-right: 0.5rem;
}

/* Form Styles */
.appointment-card,
.form-card {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.appointment-card .card-header,
.form-card .form-header {
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

.appointment-card .card-body,
.form-card form {
    padding: 2rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Process Steps */
.process-step {
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 2rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 2rem;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    max-width: 300px;
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-duration {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Contact Cards */
.contact-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 2rem;
}

.contact-details {
    text-align: left;
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* Office Cards */
.office-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.office-image {
    height: 200px;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-info {
    padding: 2rem;
}

/* Blog Cards */
.blog-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    margin-bottom: 1rem;
}

/* International Page Styles */
.step-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-card .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.language-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.language-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.metro-info-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 4px solid var(--secondary-color);
}

.metro-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* FAQ Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--secondary-color);
    color: white;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: white;
    padding: 1.5rem;
}

/* Dropdown Menu Enhancements */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 250px;
    z-index: 1050;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

/* Navigation enhancements for multiple dropdowns */
.navbar-nav .nav-item.dropdown {
    margin-right: 1rem;
}

.navbar-nav .nav-item.dropdown:last-child {
    margin-right: 0;
}

.blog-meta .badge {
    margin-right: 0.5rem;
}

.blog-meta .text-muted {
    font-size: 0.9rem;
}

/* Featured Article */
.featured-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
}

.article-meta {
    margin-bottom: 1rem;
}

.article-meta .badge {
    margin-right: 1rem;
}

/* Video Testimonials */
.video-testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.video-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-placeholder {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Statistics */
.stat-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.number-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.number-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.number-icon {
    margin-bottom: 1rem;
}

.number-icon i {
    font-size: 3rem;
}

.number-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.number-label {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Mission, Vision, Values */
.mvv-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.mvv-icon i {
    font-size: 2rem;
}

/* Leader Cards */
.leader-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.leader-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Certification Cards */
.certification-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Info Cards */
.info-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* Topic Cards */
.topic-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Support Items */
.support-item,
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.support-item i,
.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.support-item div,
.feature-item div {
    flex: 1;
}

.support-item h6,
.feature-item h6 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Filter Buttons */
.filter-buttons,
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-buttons .btn,
.category-filters .btn {
    margin: 0.25rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--light-color);
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

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

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--light-color);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .page-header {
        padding-top: 100px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        margin: 0 1rem 0 0;
    }
    
    .timeline-content {
        max-width: none;
    }
    
    .testimonial-stats {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-stats .stat {
        margin-bottom: 0.5rem;
    }
    
    .doctor-stats {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-stats .stat {
        margin-bottom: 1rem;
    }
}

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

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

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

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Infrastructure Section */
.infrastructure-section .infrastructure-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.infrastructure-section .infrastructure-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.infrastructure-section .infrastructure-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.infrastructure-section .infrastructure-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}
