/* ============================================
   Hospital Appointment System - Main Styles
   ============================================ */

:root {
    --primary-color: #137fec;
    --primary-dark: #0d6fd6;
    --primary-light: #e3f2fd;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #111418;
    --light-bg: #f6f7f8;
    --border-color: #e5e7eb;
    --text-primary: #111418;
    --text-secondary: #617589;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --border-radius: 1rem;
    --border-radius-lg: 1.5rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(19, 127, 236, 0.3);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 127, 236, 0.4);
}

.btn-outline-custom {
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    background: white;
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f6f7f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(19, 127, 236, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(19, 127, 236, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
    overflow: hidden;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Feature Section */
.feature-card {
    padding: 2.5rem;
    height: 100%;
}

/* Doctor Cards */
.doctor-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--light-bg);
    transition: var(--transition);
}

.doctor-card:hover .doctor-avatar {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: var(--success-color);
    border-radius: 50%;
    border: 2px solid white;
}

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.star-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #1a232e;
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

/* Booking Wizard */
.booking-wizard {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin: 2rem 0;
}

.progress-bar-custom {
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.progress-bar-custom .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4dabf7);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(19, 127, 236, 0.5);
}

/* Calendar */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--light-bg);
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(19, 127, 236, 0.4);
}

/* Time Slots */
.time-slot {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
}

.time-slot:hover:not(.disabled):not(.selected) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.time-slot.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.time-slot.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(19, 127, 236, 0.3);
}

/* Form Styles */
.form-control-custom {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    transition: var(--transition);
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(19, 127, 236, 0.25);
}

/* Summary Card */
.summary-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Extra Large Devices (Large Desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 991px) {
    /* Navbar */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .nav-link {
        margin: 0.25rem 0;
        padding: 0.5rem 0;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section-modern {
        padding: 6rem 0 4rem;
    }
    
    .stats-section {
        margin-top: -60px;
    }
    
    .stat-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Features */
    .modern-feature-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    /* Doctor Cards */
    .doctor-card-modern {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .doctor-avatar {
        width: 100px;
        height: 100px;
    }
    
    /* Testimonial */
    .testimonial-modern {
        padding: 2.5rem;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer .col-lg-2,
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Process Timeline */
    .process-timeline::before {
        left: 30px;
    }
    
    .process-item {
        padding-left: 70px !important;
        padding-right: 0 !important;
    }
    
    .process-item-icon {
        left: 30px;
    }
    
    /* Calendar */
    .calendar-grid {
        gap: 0.5rem;
    }
    
    /* Summary Card */
    .summary-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    /* Admin Sidebar */
    .sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s ease;
        z-index: 1050;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    main {
        margin-left: 0;
    }
    
    /* Admin Cards */
    .stats-card {
        margin-bottom: 1rem;
    }
    
    /* Charts */
    .chart-container {
        margin-bottom: 1.5rem;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand .icon {
        font-size: 1.5rem;
    }
    
    .btn-primary-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    .hero-section-modern {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .stats-section {
        margin-top: -40px;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Features */
    .modern-feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    /* Doctor Cards */
    .doctor-card-modern {
        padding: 1.25rem;
    }
    
    .doctor-avatar,
    .doctor-avatar-modern {
        width: 80px;
        height: 80px;
    }
    
    .doctor-profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    /* Testimonial */
    .testimonial-modern {
        padding: 2rem;
    }
    
    /* Blog */
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-body {
        padding: 1.5rem;
    }
    
    /* Forms */
    .form-control-custom {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Calendar */
    .calendar-grid {
        gap: 0.25rem;
    }
    
    .calendar-day {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    /* Time Slots */
    .time-slot {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Section Spacing */
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
        text-align: center;
    }
    
    .footer .col-md-4,
    .footer .col-md-2 {
        margin-bottom: 1.5rem;
    }
    
    /* Admin Dashboard */
    .admin-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-header .btn {
        width: 100%;
    }
    
    /* Tables */
    table {
        font-size: 0.8rem;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    /* Cards */
    .card-custom {
        margin-bottom: 1rem;
    }
    
    /* Filter Section */
    .filter-section-modern {
        padding: 1.5rem;
        margin-top: -20px;
    }
    
    /* Pagination */
    .pagination-modern {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Charts */
    .dashboard-revenue-chart-area,
    .revenue-chart-area {
        min-height: 250px;
        padding-left: 50px;
    }
    
    .dashboard-revenue-chart-y-axis,
    .revenue-chart-y-axis {
        width: 50px;
    }
    
    /* Toast */
    .toast-custom {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575px) {
    /* Container */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-section-modern {
        padding: 4rem 0 2rem;
    }
    
    /* Stats */
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Features */
    .modern-feature-card {
        padding: 1.25rem;
    }
    
    /* Doctor Cards */
    .doctor-card-modern {
        padding: 1rem;
    }
    
    .doctor-avatar,
    .doctor-avatar-modern {
        width: 70px;
        height: 70px;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Calendar */
    .calendar-day {
        font-size: 0.7rem;
        padding: 0.4rem;
    }
    
    /* Time Slots */
    .time-slot {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    
    /* Section Spacing */
    .section-padding {
        padding: 2.5rem 0;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    /* Admin */
    .admin-card {
        padding: 1rem;
    }
    
    /* Tables */
    table {
        font-size: 0.75rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
    
    /* Charts */
    .dashboard-revenue-chart-area,
    .revenue-chart-area {
        min-height: 200px;
        padding-left: 40px;
    }
    
    .dashboard-revenue-chart-y-axis,
    .revenue-chart-y-axis {
        width: 40px;
    }
    
    .dashboard-revenue-chart-y-label,
    .revenue-chart-y-label {
        font-size: 0.65rem;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    /* Floating Shapes */
    .floating-shape {
        display: none;
    }
    
    /* Image Zoom */
    .image-zoom:hover {
        transform: none;
    }
}

/* Loading Spinner */
.spinner-custom {
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Toast Notifications */
.toast-custom {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: slideInUp 0.5s ease-out;
}

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

/* Admin Dashboard */
.sidebar {
    min-height: 100vh;
    background: white;
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin: 0.5rem 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.stats-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(19, 127, 236, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #4dabf7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.rounded-custom-lg {
    border-radius: var(--border-radius-lg);
}

/* Enhanced Professional Styles */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4dabf7 100%);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-zoom {
    transition: transform 0.5s ease;
    overflow: hidden;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Card Styles */
.blog-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: var(--primary-light);
    color: var(--primary-color);
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Doctor Profile Styles */
.doctor-profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4dabf7 100%);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.doctor-profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.doctor-profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.process-item {
    position: relative;
    margin-bottom: 4rem;
}

.process-item:nth-child(odd) {
    padding-right: 50%;
}

.process-item:nth-child(even) {
    padding-left: 50%;
}

.process-item-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 2;
}

.process-item-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Trust Badges */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

/* Technology Stack Grid */
.tech-stack-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tech-stack-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-stack-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

/* Module Card */
.module-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    background: white;
    height: 100%;
}

.module-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.module-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Enhanced Responsive */
@media (max-width: 991px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .process-item {
        padding-left: 70px !important;
        padding-right: 0 !important;
    }
    
    .process-item-icon {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .doctor-profile-avatar {
        width: 150px;
        height: 150px;
    }
    
    .blog-card-image {
        height: 200px;
    }
}

/* Admin Pages - Prevent Horizontal Overflow */
main .row {
    max-width: 100%;
    overflow-x: hidden;
}
@media (max-width: 991px) {
    main .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    main .row > [class*='col-'] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }
}
