
:root {
            --primary: #0077b6;
            --secondary: #00b4d8;
            --accent: #e63946;
            --light: #f8f9fa;
            --dark: #212529;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .headerab {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 40px 20px;
            text-align: center;
            margin-bottom: 30px;
            border-radius: 0 0 15px 15px;
        }
        
        .header-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .specialty {
            font-size: 1.2rem;
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .profile-image {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            margin: 20px auto;
            display: block;
        }
        
        .section {
            background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }
        
        h2 {
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 1.8rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 3px;
            background: var(--secondary);
        }
        
        p {
            margin-bottom: 15px;
            font-size: 1.05rem;
        }
        
        .current-practice {
            margin-top: 30px;
        }
        .practice-icon i {
    font-size: 24px; /* default smaller size */

}

@media (max-width: 576px) {
    .practice-icon i {
        font-size: 10px; 
        border-radius: 10px;/* even smaller for mobile */
    }
}

        
        .practice-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 15px;
            background: rgba(0, 180, 216, 0.05);
            border-radius: 12px;
        }
        
        .practice-icon {
            width: 40px;
            height: 40px;
            background: var(--secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
            font-size: 1.2rem;
        }
        
        .values-mission {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .values-list, .mission-vision {
            background: rgba(0, 119, 182, 0.03);
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid var(--secondary);
        }
        
        .values-list h3, .mission-vision h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        
        .values-list ul {
            list-style-type: none;
        }
        
        .values-list li {
            margin-bottom: 12px;
            padding-left: 25px;
            position: relative;
        }
        
        .values-list li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--secondary);
        }
        
        /* Timeline Styles */
        .timeline-section {
            margin-top: 50px;
        }
        
        .timeline-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .timeline-header h2 {
            font-size: 2rem;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background: var(--secondary);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
            border-radius: 10px;
        }
        
        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
            margin-bottom: 30px;
        }
        
        .timeline-item::after {
            content: none;
            position: absolute;
            width: 20px;
            height: 20px;
            background: white;
            border: 4px solid var(--primary);
            border-radius: 50%;
            top: 20px;
            z-index: 1;
        }
        
        .left {
            left: 0;
            padding-right: 70px;
            text-align: right;
        }
        
        .right {
            left: 50%;
            padding-left: 70px;
        }
        
        .left::after {
            right: -12px;
        }
        
        .right::after {
            left: -12px;
        }
        
        .timeline-content {
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: relative;
        }
        
        .timeline-content::before {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            top: 20px;
            border: medium solid white;
        }
        
        .left .timeline-content::before {
            right: -15px;
            border-width: 15px 0 15px 15px;
            border-color: transparent transparent transparent white;
        }
        
        .right .timeline-content::before {
            left: -15px;
            border-width: 15px 15px 15px 0;
            border-color: transparent white transparent transparent;
        }
        
        .timeline-year {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .timeline-title {
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }
        
        .timeline-location {
            color: var(--secondary);
            font-style: italic;
            margin-bottom: 10px;
        }
        
        .timeline-image {
            width: 150%;
            border-radius: 8px;
            margin-top: 15px;
            height: 280px;
            object-fit: contain;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .image-slider {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
        }
        .image-slider {
  width: 100%;
  max-width: 600px; /* Or whatever max size you prefer */
}
        .slider-track {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .slider-image {
            min-width: 100%;
        }
        
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 16px;
        }
        
        .prev {
            left: 10px;
        }
        
        .next {
            right: 10px;
        }
        
        .slider-dots {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }
        
        .slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .slider-dot.active {
            background: var(--primary);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .values-mission {
                grid-template-columns: 1fr;
            }
            
            .timeline::after {
                left: 0px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 10px;
                padding-right: 0px;
            }
            
            .timeline-item::after {
                left: 0px;
            }
            
            .left, .right {
                left: 0;
                padding-right: 25px;
                text-align: left;
            }
            
            .left .timeline-content::before, .right .timeline-content::before {
                left: -15px;
                right: auto;
                border-width: 15px 15px 15px 0;
                border-color: transparent white transparent transparent;
            }
            
            .right {
                left: 0;
            }
        }
        
        @media (max-width: 576px) {
            h1 {
                font-size: 2rem;
            }
            
            .specialty {
                font-size: 1rem;
            }
            
            .profile-image {
                width: 150px;
                height: 150px;
            }
            
            .section {
                padding: 20px;
            }
            
            h2 {
                font-size: 1.5rem;
            }
        }
        
        /* Additional Elements */
        .patient-quote {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin: 40px 0;
            position: relative;
        }
        
        .quote-icon {
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.1);
            position: absolute;
            top: 20px;
            left: 20px;
        }
        
        .quote-text {
            font-size: 1.2rem;
            font-style: italic;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        
        .quote-author {
            font-weight: 600;
            text-align: right;
        }
        
        .awards-section {
            margin-top: 40px;
        }
        
        .awards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .award-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
        }
        
        .award-icon {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .award-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--primary);
        }
        
        .award-year {
            color: var(--secondary);
            font-weight: 500;
        }

        /* Landscape mode optimization for timeline images */
        @media (max-width: 768px) and (orientation: landscape) {
            .timeline-image {
                height: 250px; /* Increased height for landscape mode */
                width: 100%;
                object-fit: cover;
            }
            
            .image-slider {
                margin: 15px -20px; /* Negative margin to extend beyond the timeline card */
                width: calc(100% + 40px); /* Compensate for the negative margins */
                max-width: none;
                border-radius: 0; /* Remove border radius for full-width appearance */
            }
            
            .timeline-content {
                padding-left: 0;
                padding-right: 0;
                padding-bottom: 0; /* Remove bottom padding to let image touch the bottom */
            }
            
            .slider-track {
                height: 250px; /* Match the image height */
            }
            
            /* Adjust slider navigation for better visibility */
            .slider-nav {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
        }

        /* Additional optimization for very small landscape devices */
        @media (max-width: 576px) and (orientation: landscape) {
            .timeline-image {
                height: 200px; /* Slightly smaller height for very small devices */
            }
            
            .slider-track {
                height: 200px; /* Match the image height */
            }
        }
