/* Extracted Inline Styles */

/* Common Utilities */
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.mx-auto { margin: 0 auto; }
.mb-48 { margin-bottom: 48px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.mb-0 { margin-bottom: 0; }
.text-left { text-align: left; }

/* Grid Layouts */
.grid-cards-300 {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px;
}

.grid-cards-230 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

/* Vision / Mission specific */
.vision-statement {
    font-size: 20px; 
    font-weight: 600; 
    color: var(--blue); 
    line-height: 1.8;
}

/* Sidebar specific */
.sidebar-list {
    max-height: 400px; 
    overflow-y: auto; 
    padding-right: 10px;
}
.sidebar-item-mt-10 { margin-top: 10px; }
.sidebar-item-mt-15 { margin-top: 15px; }

/* Patient Info specific */
.faq-question {
    color: var(--blue-ink); 
    font-weight: 700;
}

/* Index specific */
.hero-title {
    color: #fff;
}

/* Emergency Services specific */
.emergency-hero-bg {
    background-image: url('../images/hospital-facilities/emergency-&-trauma-care.jpeg');
}
.overview-section {
    padding-bottom: 48px;
}
.overview-image {
    width: 100%;
    height: 540px;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 24px 60px -28px rgba(12,44,77,.5);
}
.lead-margin-auto {
    margin-inline: auto;
}
.emergency-card {
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    background: #fff;
}
.emergency-flag {
    background: var(--blue-tint);
    color: var(--blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}
.emergency-sn {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}
.emergency-card-title {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}
.emergency-card-text {
    font-size: 14px;
    color: #555;
    margin: 0;
}
.emergency-acc-fig {
    position: relative;
    top: auto;
    overflow: hidden;
}
.emergency-acc-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 20px;
}
.faq-heading-margin-0 {
    margin-bottom: 0;
}
.emergency-cta-box {
    text-align: center; 
    padding: 60px 40px; 
    background: #fff; 
    border: 1px solid var(--line); 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
}
.emergency-cta-title {
    font-size: 32px; 
    font-weight: 700; 
    margin-bottom: 16px; 
    color: var(--blue);
}
.emergency-cta-text {
    margin-bottom: 32px; 
    margin-inline: auto;
}
.emergency-cta-buttons {
    display: flex; 
    gap: 16px; 
    justify-content: center; 
    flex-wrap: wrap;
}

/* Gallery Specific */
.gallery-hero-bg {
    background-image: url('../images/hospital/mahavir-hospitals.jpg');
}
.svc-gallery-s {
    padding: 60px 0 100px;
    background: #fdfdfd;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12,44,77,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-overlay i {
    color: #fff;
    font-size: 28px;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    .gallery-item img {
        height: 220px;
    }
}

.max-h-500 { max-height: 500px; }
