/* ================================
   Hospital Website - Main Styles
   ================================ */

/* CSS Variables */
:root {
    --primary-color: #3E4095;      /* Primary Blue */
    --secondary-color: #91D8F6;     /* Light Blue */
    --accent-color: #DA212C;        /* Red Accent */
    --emergency-color: #DA212C;     /* Red - Emergency */
    --dark-color: #3E4095;          /* Dark Blue for headers */
    --light-color: #f8f9fa;
    --text-color: #1a1a1a;          /* Near black for better readability */
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0c2b57;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #003580;
}

.btn-emergency {
    background-color: var(--emergency-color);
    color: #fff;
}

.btn-emergency:hover {
    background-color: #c82333;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 102, 204, 0.223), rgba(0, 74, 153, 0.218)), 
                url('../images/home.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Quick Access Section */
.quick-access {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid var(--secondary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #fff;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #003580;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

/* ================================
   Page-Specific Styles
   ================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* About Us Page */
.mission-section {
    padding: 4rem 0;
    background-color: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
}

.mission-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* History Timeline */
.history-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.history-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    min-width: 80px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Leadership Section */
.leadership-section {
    padding: 4rem 0;
    background-color: #fff;
}

.leadership-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.leader-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid var(--secondary-color);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.leader-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ddd;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.leader-card .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-card .bio {
    font-size: 0.9rem;
    color: #666;
}

/* Accreditations */
.accreditations-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.accreditations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.accreditation-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.accreditation-item .badge {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.accreditation-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Statistics Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Page */
.services-intro {
    padding: 3rem 0;
    background-color: #fff;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.departments-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.departments-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--dark-color);
}

.additional-services {
    padding: 4rem 0;
    background-color: #fff;
}

.additional-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
}

.service-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-secondary {
    border: 1px solid #fff;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color)
}

/* Contact Page */
.contact-info-section {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    border-bottom: 3px solid var(--secondary-color);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

.contact-form-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.form-container h2,
.map-container h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.required {
    color: var(--emergency-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.directions-info {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.directions-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.directions-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.department-contacts {
    padding: 4rem 0;
    background-color: #fff;
}

.department-contacts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.dept-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dept-contact {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.dept-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.emergency-notice {
    padding: 3rem 0;
    background-color: var(--light-color);
}

.notice-box {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.notice-box h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.notice-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ===========================
   Blog Page Styles
   =========================== */
.blog-section {
    padding: 3rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog-content h2 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.blog-meta .author::before {
    content: "👤 ";
}

.blog-meta .date::before {
    content: "📅 ";
}

.blog-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-posts h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.no-posts p {
    color: #666;
    font-size: 1.1rem;
}

/* ===========================
   Testimonials Page Styles
   =========================== */
.testimonials-section {
    padding: 3rem 0;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.intro-content h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.intro-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-bottom: 3px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.patient-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.patient-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patient-info h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.treatment-type {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
    color: #ffc107;
}

.rating i {
    font-size: 1rem;
}

.testimonial-content {
    position: relative;
    margin-bottom: 1rem;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.testimonial-content p {
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.testimonial-footer .date {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-testimonials {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state {
    background: #f8f9fa;
    padding: 4rem 2rem;
    border-radius: 8px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.empty-state h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
}

.blog-categories {
    padding: 2rem 0 4rem;
    background: #f8f9fa;
}

.categories-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 0 auto;
}

.categories-box h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--primary-color);
    color: #fff;
    padding-left: 1rem;
}

/* ===========================
   Blog Post Detail Page Styles
   =========================== */
.blog-post-content {
    padding: 3rem 0;
    background: #f8f9fa;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.post-main {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header .post-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.page-header .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-share {
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-share.facebook {
    background: #1877f2;
    color: white;
}

.btn-share.facebook:hover {
    background: #145dbf;
}

.btn-share.twitter {
    background: #1da1f2;
    color: white;
}

.btn-share.twitter:hover {
    background: #0d8bd9;
}

.btn-share.linkedin {
    background: #0077b5;
    color: white;
}

.btn-share.linkedin:hover {
    background: #005885;
}

.btn-share.email {
    background: #666;
    color: white;
}

.btn-share.email:hover {
    background: #444;
}

.post-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.author-info {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post-item h4 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-item h4 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sidebar-widget .category-list {
    list-style: none;
    padding: 0;
}

.sidebar-widget .category-list li {
    margin-bottom: 0.5rem;
}

.sidebar-widget .category-list a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-widget .category-list a:hover {
    background: var(--primary-color);
    color: white;
    padding-left: 1rem;
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
}

.cta-widget h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.cta-widget p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cta-widget .btn {
    background: white;
    color: var(--primary-color);
    width: 100%;
    text-align: center;
}

.cta-widget .btn:hover {
    background: #f0f0f0;
}

/* ===========================
   Doctors Page Styles
   =========================== */
.doctors-filter {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark-color);
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 250px;
}

.doctors-section {
    padding: 3rem 0;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.doctor-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f0f0f0;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    padding: 1.5rem;
}

.doctor-info h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.doctor-info .specialty {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.doctor-info .qualification {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.doctor-info .experience {
    color: #555;
    margin-bottom: 1rem;
}

.doctor-info .bio {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.doctor-contact {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.doctor-contact p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.doctor-contact i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.read-more-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-results h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.no-results p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===========================
   Doctor Profile Page Styles
   =========================== */
.doctor-profile-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.profile-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
}

.profile-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.profile-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.profile-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.profile-specialty {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #555;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.profile-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.profile-contact h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.profile-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-actions .btn {
    width: 100%;
    text-align: center;
}

.profile-content {
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.bio-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.specialization-box {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.specialization-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.specialization-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.specialization-box p {
    opacity: 0.9;
}

.qualifications-list {
    display: grid;
    gap: 1rem;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.qualification-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.qualification-item span {
    color: #555;
    font-weight: 500;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.expectation-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.expectation-item:hover {
    transform: translateY(-5px);
}

.expectation-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expectation-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.expectation-item p {
    color: #666;
    font-size: 0.9rem;
}

/* ===========================
   Patient Resources Page Styles
   =========================== */
.resources-grid {
    padding: 3rem 0;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.resource-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-section {
    padding: 3rem 0;
}

.info-section.alt-bg {
    background: #f8f9fa;
}

.info-section h2 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-box h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.info-box ul li:last-child {
    border-bottom: none;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h3 {
    color: var(--primary-color);
    margin-top: 2rem;
}

.content-section ul,
.content-section ol {
    color: #555;
    line-height: 1.8;
    margin: 1rem 0 1.5rem 1.5rem;
}

.content-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.insurance-list {
    columns: 2;
    column-gap: 2rem;
}

.health-topics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.topic-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.topic-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.topic-card ul {
    list-style: none;
    padding: 0;
}

.topic-card ul li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.topic-card ul li:last-child {
    border-bottom: none;
}

.cta-box {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ===========================
   Careers Page Styles
   =========================== */
.why-work-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.why-work-section h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.jobs-filter {
    padding: 2rem 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.jobs-section {
    padding: 3rem 0;
}

.jobs-section h2 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-title-section h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.job-department,
.job-location {
    color: #666;
    font-size: 0.9rem;
}

.job-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-type-full-time {
    background: #d4edda;
    color: #155724;
}

.job-type-part-time {
    background: #fff3cd;
    color: #856404;
}

.job-type-contract {
    background: #d1ecf1;
    color: #0c5460;
}

.job-type-internship {
    background: #e2e3e5;
    color: #383d41;
}

.job-salary {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.job-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-requirements {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-requirements strong {
    color: var(--dark-color);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.job-dates {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-jobs h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-jobs p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hr-contact-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.hr-contact-section h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.hr-info {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hr-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item {
    color: #555;
    text-align: center;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.equal-opportunity {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* ===========================
   Emergency Page Styles
   =========================== */
.emergency-banner {
    padding: 0;
    background: var(--emergency-color);
}

.emergency-alert {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.alert-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.alert-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.emergency-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 1rem 0;
    letter-spacing: 0.1em;
}

.emergency-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.emergency-address {
    font-size: 1.1rem;
    opacity: 0.9;
}

.when-to-visit {
    padding: 4rem 0;
    background: #fff;
}

.when-to-visit h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.symptom-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.symptom-card.critical {
    border-color: var(--emergency-color);
}

.symptom-card:hover {
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.2);
    transform: translateY(-3px);
}

.symptom-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.symptom-card h3 {
    color: var(--emergency-color);
    margin-bottom: 1rem;
}

.symptom-card ul {
    list-style: none;
    padding: 0;
}

.symptom-card ul li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.symptom-card ul li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.symptom-card ul li:last-child {
    border-bottom: none;
}

.er-vs-urgent {
    padding: 4rem 0;
    background: #f8f9fa;
}

.er-vs-urgent h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.comparison-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin: 0;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.critical-badge {
    background: #dc3545;
    color: #fff;
}

.urgent-badge {
    background: #ffc107;
    color: #000;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.comparison-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #555;
    position: relative;
}

.comparison-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.wait-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.what-to-expect {
    padding: 4rem 0;
    background: #fff;
}

.what-to-expect h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.what-to-bring {
    padding: 4rem 0;
    background: #f8f9fa;
}

.what-to-bring h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.bring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.bring-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bring-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bring-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bring-item p {
    color: #666;
}

.bring-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
}

.ed-info {
    padding: 4rem 0;
    background: #fff;
}

.ed-info h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: #555;
    line-height: 1.8;
}

.info-card .highlight {
    color: var(--emergency-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.emergency-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    text-align: center;
}

.emergency-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.emergency-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===========================
   Legal Pages Styles
   =========================== */
.legal-content {
    padding: 4rem 0;
    background: #fff;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: #555;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: #555;
    margin: 1rem 0 1.5rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--dark-color);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--dark-color);
}

.contact-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.accessibility-notice {
    background: #e8f4f8;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.accessibility-notice p {
    margin-bottom: 0.5rem;
}

.accessibility-notice strong {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float i {
    line-height: 60px;
}

/* Pulse animation for WhatsApp button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

a.text-muted {
    color: #fff !important;
}

/* Neuro Rehabilitation Highlight Section */
.rehab-highlight {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #fff, rgba(145, 216, 246, 0.1));
}

.rehab-highlight h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.rehab-highlight .intro-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.rehab-highlight .unique-position {
    text-align: center;
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(62, 64, 149, 0.1), rgba(145, 216, 246, 0.1));
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

.rehab-programs h3 {
    text-align: center;
    color: var(--primary-color);
    margin: 3rem 0 2rem;
    font-size: 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(62, 64, 149, 0.2);
}

.program-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Admissions Page Styles */
.admissions-section {
    padding: 4rem 0;
    background-color: #fff;
}

.admissions-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.admission-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.admission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.admission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(62, 64, 149, 0.2);
}

.admission-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.admission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.admission-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.admission-card li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.process-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.process-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    flex-shrink: 0;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step p {
    text-align: center;
    line-height: 1.6;
}

.requirements-section {
    padding: 4rem 0;
    background: white;
}

.requirements-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--secondary-color);
}

.requirement-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-item ul {
    list-style: none;
    padding: 0;
}

.requirement-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.requirement-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid #000000;
    color: #000000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: #000000;
    border-color: #000000;
}

/* Clinics Page Styles */
.clinics-intro {
    padding: 4rem 0;
    background-color: #fff;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.clinics-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(145, 216, 246, 0.05), #fff);
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.clinic-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(62, 64, 149, 0.15);
}

/* Responsive adjustments for clinics to avoid horizontal overflow on small devices */
@media (max-width: 480px) {
    .clinics-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }

    .clinic-card {
        margin: 0;
    }

    .clinic-header {
        padding: 1.5rem 1rem;
    }

    .clinic-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1rem;
        border-width: 2px;
    }

    .clinic-icon i {
        font-size: 2.25rem;
    }

    .clinic-content {
        padding: 1rem;
    }
}

.clinic-header {
    background: linear-gradient(135deg, var(--primary-color), rgba(62, 64, 149, 0.8));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.clinic-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.clinic-icon i {
    font-size: 3.5rem;
    color: white;
}

.clinic-icon.cardiology {
    background: rgba(218, 33, 44, 0.2);
    border-color: rgba(218, 33, 44, 0.3);
}

.clinic-header h2 {
    font-size: 2rem;
    margin: 0;
    color: white;
}

.clinic-content {
    padding: 2.5rem;
}

.clinic-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.clinic-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.services-list li {
    padding: 0.7rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.6;
}

.services-list i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.clinic-cta {
    margin-top: 2rem;
    text-align: center;
}

.why-choose-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.why-choose-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(62, 64, 149, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(62, 64, 149, 0.1), rgba(145, 216, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(145, 216, 246, 0.4);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box p {
    line-height: 1.6;
    color: var(--text-color);
}

