/* Hospital Common CSS - Used across all hospital pages */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --secondary-light: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-dark: #1f2937;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #eff6ff;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* For Chrome, Edge, Safari, Opera */
::-webkit-scrollbar {
  width: 10px;               /* Width of vertical scrollbar */
  height: 10px;              /* Height of horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;       /* Track background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #007bff; /* Scroll thumb color */
  border-radius: 10px;
  border: 2px solid #f1f1f1; /* Adds spacing look */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0056b3; /* Hover color */
}

/* For Firefox */
* {
  scrollbar-width: thin;           /* Options: auto, thin, none */
  scrollbar-color:#d5d5d5 #f1f1f1; /* thumb color | track color */
}


body {
  font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: auto; /* Show scrollbar only when needed */
  scrollbar-gutter: stable; /* Keeps layout stable when scrollbar appears */
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

iframe {
    width: 100%;
    /* height: 100%; */
}

/* Common Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hospital Header Styles */
.hospital-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: white !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding:0.2rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color, #2563eb) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    height:65px;
}

.hospital-logo {
    height: 55px;
    object-fit: contain;
    margin-right: 0.75rem;
    border-radius: 8px;
}

.hospital-name {
    font-weight: 700;
    color: var(--primary-color, #2563eb);
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem !important;
    font-weight: 500;
    color: var(--text-dark, #1f2937) !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
    text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color, #2563eb) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.header-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.contact-doctor {
    background: var(--primary-color, #2563eb);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-doctor:hover {
    background: var(--primary-dark, #1d4ed8);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hospital Banner */
.hospital-banner {
    background: linear-gradient(135deg, var(--primary-color, #2563eb) 0%, var(--secondary-color, #10b981) 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 80px;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hospital-info {
    flex: 1;
}

.hospital-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hospital-tagline {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hospital-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.meta-item i {
    font-size: 1rem;
    opacity: 0.8;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.quick-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Common Page Styles */
.page-header {
    background: var(--bg-primary);
    padding: 2rem 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0;
}

.content-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Common Card Styles */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Common Button Styles */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hospital-logo {
        height: 43px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem !important;
        font-size: 0.9rem;
    }
    
    .header-actions {
        margin-left: 0.5rem;
    }
    
    .header-actions .btn,
    .contact-doctor {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hospital-title,
    .page-title {
        font-size: 2rem;
    }
    
    .hospital-tagline,
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .hospital-meta {
        justify-content: center;
        gap: 1rem;
    }
    
    .meta-item {
        font-size: 0.9rem;
    }
    
    .quick-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .quick-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    

    
    
}

@media (max-width: 576px) {
    
    
    .hospital-title,
    .page-title {
        font-size: 1.75rem;
    }
    
    .hospital-tagline,
    .page-subtitle {
        font-size: 1rem;
    }
    
    .hospital-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .navbar-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .hospital-logo {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .navbar-nav .nav-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .meta-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .quick-actions .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-doctor {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-primary,
[dir="rtl"] .btn-outline-primary {
    flex-direction: row-reverse;
}

/* ===== HOSPITAL PAGE STYLES ===== */

/* Hero Section with Cover Photo */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    background: #000000;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
  
    padding: 0 20px;
    top: -30px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Profile Section */
.profile-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

.profile-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.profile-header {
     grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    margin-top:-150px;
    padding-bottom: 2rem;
   
}

.profile-photo {
    width: 300px;
    height: 150px;
    border-radius: 7%;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.profile-info h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.profile-stats{
align-items: center;
justify-content: center;
}

.stat-item {
   text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    background: linear-gradient(135deg, #0d3b74 0%, #4a90e2 100%);
    height: auto;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s 
ease;
    /*border: 1px solid var(--border-color);*/
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    /*display: block;*/
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
}

.profile-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Rating System Styles */
.rating-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.rating-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rating-score {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.rating-star {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.rating-star.empty {
    color: var(--border-color);
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.rating-distribution {
    flex: 1;
    max-width: 300px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-bar-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-width: 20px;
}

.rating-bar-fill {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-progress {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-bar-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-width: 30px;
    text-align: right;
}

.reviews-section {
    margin-top: 2rem;
}



.review-author {
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.review-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-service {
    background: var(--bg-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    color: var(--primary-color);
}

.rating-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.star-input {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: var(--border-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-label:hover,
.star-label.active {
    color: var(--accent-color);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

/* Contact & Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--bg-secondary);
    padding: 2rem;
    margin:2px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    height: 430px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius-sm);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.info-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

/* Departments Section */
.departments-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.home-department-card
{
     background: var(--bg-secondary);
     padding: 12px 16px; margin: 2px 3px; 
     border-radius: var(--border-radius); 
     border: 1px solid var(--border-color); 
     height: 203px; 
     overflow-y: scroll; 
     overflow-x: hidden;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.department-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.department-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.department-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    /*margin-bottom: 1rem;*/
    color: var(--text-primary);
}

.department-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.department-card p {
    color: var(--text-secondary);
    /*margin-bottom: 1.5rem;*/
    line-height: 1.6;
    font-size: 1rem;
    text-align:left;
}

/* Doctors Section */
.doctors-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.doctor-image {
    width: 100%;
    height: 250px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
}

.doctor-info {
    padding: 0.7rem;
}

.doctor-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

.doctor-description {
    color: var(--text-secondary);
    /*margin-bottom: 1.5rem;*/
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.reviewer-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reviewer-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.review-stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    /* aspect-ratio: 4/3; */
    cursor: pointer;
    margin:8px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 2rem;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    opacity: 0.9;
    margin: 0;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--primary-color);
    color: white;
}

.lightbox-prev {
    left: -25px;
}

.lightbox-next {
    right: -25px;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: -58;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-color);
    color: white;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 2rem;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Footer */
.footer {
    background:#0f2a6f;
    color: white;
    padding: 2rem 0 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    font-size:14px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* ===== ABOUT PAGE STYLES ===== */

/* Hero Section for About */
.about-hero {
    background: #0f2a6f;
    padding: 100px 15px 20px 2px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;*/
    background-size: cover;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

.about-hero .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Styles */
.section-padding {
    padding: 6rem 0;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Vision Mission Cards */
.vision-mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.vm-icon.vision {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
}

.vm-icon.mission {
    background: linear-gradient(135deg, var(--secondary-color), #34d399);
}

/* FAQ Styles */
.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Cards */
.contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.contact-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-card .contact-info {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-card .contact-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Map Container */
.map-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 300px;
}

.map-overlay h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-overlay p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.form-control::placeholder {
    color: var(--text-light);
}

.required {
    color: #ef4444;
}

/* ===== WHATSAPP CHAT STYLES ===== */

/* Floating Chat Button */
.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.chat-toggle img {
    width: 35px;
    height: 35px;
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 90px;
    right: 50px;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
  font-family: 'Poppins', sans-serif;
    z-index: 1000;
}

/* Header */
.chat-header {
    background: #075E54;
    color: white;
    padding: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.chat-header small {
    font-weight: normal;
    font-size: 12px;
    display: block;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Body */
.chat-body {
    background: #ECE5DD;
    padding: 15px;
    min-height: 300px;
}

.message {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    max-width: 80%;
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
}

.message:after {
    content: "";
    position: absolute;
    left: -8px;
    top: 10px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent white transparent transparent;
}

.time {
    display: block;
    text-align: right;
    font-size: 11px;
    color: gray;
    margin-top: 3px;
}

/* Footer */
.chat-footer {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #ece5dd;
}

.chat-footer input {
    flex: 1;
    padding: 13px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

.chat-footer button {
    background: #25d366;
    border: none;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 16px;
}

/* ===== ANIMATION CLASSES ===== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .doctor-image {
        height:150px;
}
.doctor-info h3
{
    font-size:1rem;
}
.doctor-specialty
{
     font-size:0.8rem;
     margin-bottom: 0rem;
}
.doctor-description
{
     font-size:0.7rem;
}
     .about-hero .hero-title
    {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 15px;
    }

   .about-hero
   {
        /*padding: 4rem 0;*/
   }
   .gallery-item
   {
       height:150px;
       margin:0;
   }
    .hero-subtitle {
        font-size: 15px;
        margin-bottom:10px;
        margin-top:5px;
    }
    .info-card
    {
        padding:0.7rem;
    }
    .department-card h3
    {
        font-size:16px;
    }
.info-card h3
{
    font-size:18px;
}
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .profile-header {
         text-align: center;
        gap: 1.5rem;
        margin-top:-165px;
    }
    .stat-item
    {
        margin-top:10px;
    }
    .profile-photo {
        width: 250px;
        height: 120px;
        margin: 0 auto;
    }

    .profile-stats {
        justify-content: center;
    }
    .profile-description {
        font-size:15px;
       /*padding:0px 11.2px; */
}
.hero-section
{
    height:500px;
    min-height: 0;
}
.btn-outline
{
    font-size: 14px;
    padding: 0.5rem 0.7rem;
}
.profile-header
{
    display:none;
}
    .section-title {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .departments-grid,
    .doctors-grid,
    .reviews-grid,
    .gallery-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: -20px;
    }

    .lightbox-next {
        right: -20px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-counter {
        bottom: -40px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .blog-card {
        margin-bottom: 1rem;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-title {
        font-size: 1.125rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        /*text-align: center;*/
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero-section.about-hero .hero-title {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .chat-box {
        width: 300px;
        right: 25px;
    }

    /* RTL Mobile adjustments */
    [dir="rtl"] .lightbox-prev {
        right: -20px;
        left: auto;
    }

    [dir="rtl"] .lightbox-next {
        left: -20px;
        right: auto;
    }

    [dir="rtl"] .chat-box {
        right: auto;
        left: 10px;
    }

    [dir="rtl"] .chat-toggle {
        right: auto;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .department-card
    {
        margin-top:35px;
    }
    .home-department-card
    {
                 margin: -25px 1px;
                 border-top-left-radius: 0px;
                 border-top-right-radius: 0px;
                 border-bottom-left-radius: 15px;  
                 border-bottom-right-radius: 15px;
    }
    .info-card
    {
        margin-top:20px;
    }
    .contact-card h4
    {
        font-size:18px;
    }
    .contact-card .contact-info {
        font-size:16px;
}


    .review-card
    {
        padding:1.88rem;
        font-weight:500;
    }
    .reviewer-info h4 {
    font-size:16px;
}
 .review-text {
         font-size:15px;

}
    .about-hero .hero-title
    {
        font-size:2rem;
    }
    .hero-title {
        font-size: 1.5rem;
        font-weight:500;
    }
    .vision-mission-card h3
    {
        font-size:20px;
    }
    .section-title {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 22px;
    }
    
    .profile-container {
        padding: 2rem 1.5rem;
    }
.feature-card h4
{
    font-size:18px;
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}
.feature-card p
{
    font-size:15px;
}
.btn-submit
{
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s 
ease;
    font-size: 15px;
}
    .department-card,
    .doctor-card,
    .review-card,
    .blog-card {
        /*padding: 1.5rem;*/
    }

    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: -15px;
    }

    .lightbox-next {
        right: -15px;
    }

    .lightbox-close {
        top: -50px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .lightbox-counter {
        bottom: -35px;
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .blog-grid {
        gap: 1rem;
    }

    .blog-image {
        height: 160px;
    }

    .blog-content {
        padding: 0.75rem;
    }

    .blog-title {
        font-size: 1rem;
    }

    .blog-excerpt {
        font-size: 0.875rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .chat-box {
       width: 315px;
        right: 11px;
        bottom:70px;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .chat-toggle img {
        width: 30px;
        height: 30px;
    }

    /* RTL Mobile small screen adjustments */
    [dir="rtl"] .lightbox-prev {
        right: -15px;
        left: auto;
    }

    [dir="rtl"] .lightbox-next {
        left: -15px;
        right: auto;
    }

    [dir="rtl"] .chat-box {
        right: auto;
        left: 5px;
    }

    [dir="rtl"] .chat-toggle {
        right: auto;
        left: 15px;
    }
}

/* ===== COMPREHENSIVE RTL SUPPORT ===== */

[dir="rtl"] .lightbox-prev {
    right: -25px;
    left: auto;
}

[dir="rtl"] .lightbox-next {
    left: -25px;
    right: auto;
}

[dir="rtl"] .lightbox-close {
    right: auto;
    left: 0;
}

[dir="rtl"] .blog-read-more {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-read-more:hover {
    gap: 0.75rem;
}

[dir="rtl"] .blog-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-date {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-section:last-child {
    text-align: left;
}

[dir="rtl"] .navbar-nav .nav-link {
    margin: 0 0.5rem;
}

[dir="rtl"] .social-links {
    justify-content: flex-end;
}

[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .profile-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .rating-overview {
    flex-direction: row-reverse;
}

[dir="rtl"] .rating-bar {
    flex-direction: row-reverse;
}

[dir="rtl"] .review-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .review-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .department-card {
    text-align: right;
}

[dir="rtl"] .doctor-info {
    text-align: right;
}

[dir="rtl"] .reviewer-info {
    text-align: right;
}

[dir="rtl"] .contact-card {
    text-align: right;
}

[dir="rtl"] .feature-card {
    text-align: right;
}

[dir="rtl"] .vision-mission-card {
    text-align: right;
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-group {
    text-align: right;
}

[dir="rtl"] .form-control {
    text-align: right;
}

[dir="rtl"] .chat-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .chat-footer input {
    text-align: right;
}

[dir="rtl"] .message {
    text-align: right;
}

[dir="rtl"] .message:after {
    left: auto;
    right: -8px;
    border-color: transparent transparent transparent white;
}
