/* About Page Specific Styles - Restored and Refined */

.fs-body {
    font-size: 0.95rem; /* SMALLER TEXT AS REQUESTED */
    line-height: 1.6;
    color: var(--text-light); /* Softer color */
}

.text-center { text-align: center; }

.about-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start; /* Push grid items to start at the top */
    max-width: 1300px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════ */
/* ANIMATION KEYFRAMES                        */
/* ═══════════════════════════════════════════ */
@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

@keyframes textShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero Section */
.about-hero {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../images/hospital_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    animation: heroZoom 10s ease-out forwards;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(transparent, var(--bg));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content h1 span {
    background: linear-gradient(90deg, #60efff, #00ff87, #60efff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 10px;
    animation: textShimmer 3s linear infinite;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Vision Grid */
.mv-section {
    padding: 0 5%;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mv-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(2, 132, 199, 0.08);
    border-color: var(--secondary-glow);
}

.mv-icon {
    width: 70px; height: 70px;
    background: var(--secondary-glow);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 2.2rem;
    transition: transform 0.4s;
}

.mv-card:hover .mv-icon {
    background: var(--secondary);
    color: white;
    transform: rotate(360deg) scale(1.1);
}

.mv-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem; /* Smaller text */
}

/* Story Section */
.story-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 { margin-bottom: 25px; }

.story-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%; height: auto; display: block;
    transition: transform 0.8s ease;
}

.story-image:hover img { transform: scale(1.05); }

.premium-badge-section {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px;
}

.insurance-badge {
    background: var(--white);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.insurance-badge i { color: var(--secondary); font-size: 1.1rem; }

.insurance-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary-glow);
}

.image-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--secondary); color: white;
    padding: 20px 30px; border-radius: 20px;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.2);
    z-index: 2; text-align: center;
    animation: float 4s ease-in-out infinite;
}

.image-badge span {
    display: block; font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1px; opacity: 0.8; margin-bottom: 5px;
}

.image-badge strong { font-size: 1.3rem; display: block; }

/* Excellence Grid */
.excellence-section {
    padding: 80px 5%;
    background: var(--bg-alt); /* Changed background slightly for contrast */
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 50px auto 0;
}

.excellence-card {
    padding: 35px 30px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.excellence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 168, 168, 0.08);
    border-color: var(--secondary);
}

.excellence-card i {
    font-size: 3rem; color: var(--secondary);
    margin-bottom: 20px; display: block;
}

.excellence-card h4 { margin-bottom: 12px; font-size: 1.25rem; }
.excellence-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* Journey / Timeline */
.journey-section { padding: 80px 5%; background: var(--white); }

.timeline {
    position: relative; padding-left: 40px;
    border-left: 2px dashed rgba(2, 132, 199, 0.3);
    margin: 30px 0;
}

.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
    content: ''; position: absolute;
    left: -48px; top: 4px; width: 16px; height: 16px;
    background: var(--white); border: 4px solid var(--secondary);
    border-radius: 50%; box-shadow: 0 0 0 6px var(--secondary-glow);
    transition: transform 0.3s;
}

.timeline-item:hover::before { transform: scale(1.3); background: var(--secondary); }
.timeline-item h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; }

/* Professional Why Choose Us Card Restyling */
.why-card {
    background: var(--white);
    display: block !important; /* Prevent style.css Flex inheritance causing side-by-side title and list */
    padding: 50px 40px; 
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative; 
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-card h3 {
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    border-bottom: 2px solid rgba(2, 132, 199, 0.1);
    padding-bottom: 15px;
}

.why-list {
    position: relative;
    z-index: 1;
}

.why-item { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 20px !important; 
    align-items: flex-start;
    padding: 25px;
    border-radius: 16px;
    background: #f8fafc !important; /* Very light slate */
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.why-item:last-child { margin-bottom: 0 !important; }

.why-item:hover {
    transform: translateY(-5px) !important;
    background: var(--white) !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.08) !important;
}

.why-item i { 
    font-size: 1.8rem !important; 
    color: var(--secondary) !important; 
    background: rgba(2, 132, 199, 0.08) !important;
    width: 60px !important; height: 60px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.why-item:hover i {
    background: var(--secondary) !important;
    color: var(--white) !important;
}

.why-item h5 { 
    color: var(--primary) !important; 
    margin-bottom: 8px !important; 
    font-size: 1.2rem !important; 
    font-weight: 700 !important;
}

.why-item p { 
    font-size: 0.95rem !important; 
    color: var(--text-light) !important; 
    line-height: 1.6 !important; 
    margin: 0 !important;
}

/* Stats Strip */
.stats-strip {
    background: var(--dark-grad);
    padding: 80px 5%; color: white;
    position: relative; overflow: hidden;
}

.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; max-width: 1200px; margin: 0 auto;
    text-align: center;
}

.stat-item { padding: 0 10px; background: transparent !important; box-shadow: none !important; }
.stat-item:not(:last-child)::after { display: none !important; }
.stat-icon {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.05); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px; font-size: 2rem; color: var(--secondary);
    transition: transform 0.3s;
}
.stat-item:hover .stat-icon { transform: translateY(-5px); background: var(--secondary); color: white; }
.stat-item h2 { font-size: 2.8rem; color: var(--white); margin-bottom: 5px; font-weight: 800; line-height: 1; }
.stat-item p { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; font-size: 0.8rem; }

/* Leadership Section */
.leadership-section { padding: 80px 5%; background: var(--bg-alt); }

.leader-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
    max-width: 900px; margin: 50px auto 0;
}

.leader-card {
    background: var(--white); padding: 40px; border-radius: 24px;
    text-align: center; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}
.leader-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }

.leader-img {
    width: 120px; height: 120px; border-radius: 50%;
    margin: 0 auto 20px; overflow: hidden; border: 4px solid var(--bg-alt);
}
.leader-img img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h4 { font-size: 1.4rem; margin-bottom: 5px; }
.designation {
    color: var(--secondary); font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; font-size: 0.8rem; margin-bottom: 15px; display: block;
}
.leader-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* Technology Section */
.tech-section { padding: 80px 5%; background: var(--white); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1300px; margin: 0 auto; align-items: center; }

.tech-list { margin-top: 30px; }
.tech-item {
    margin-bottom: 20px; padding: 25px;
    background: var(--bg); border-radius: 16px; border-left: 4px solid var(--secondary);
    transition: transform 0.3s;
}
.tech-item:hover { transform: translateX(10px); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.tech-item h5 { color: var(--primary); margin-bottom: 8px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.tech-item h5 i { color: var(--secondary); }

@media (max-width: 992px) {
    .mission-vision-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .excellence-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .story-section, .tech-grid, .leader-grid, .about-grid-2 { grid-template-columns: 1fr !important; gap: 40px !important; display: grid !important; }
    .about-hero { height: auto !important; padding: 120px 20px 80px !important; }
}

@media (max-width: 768px) {
    .mission-vision-grid, .excellence-grid, .stats-grid { grid-template-columns: 1fr !important; }
    .story-image-wrap { display: none !important; }
    .journey-section, .story-section, .tech-section, .excellence-section, .leadership-section { padding: 50px 20px !important; }
    .mv-section { padding: 0 20px !important; margin-top: -30px !important; }
    .hero-content h1 { font-size: 2rem !important; }
    .stats-strip { padding: 50px 20px !important; }
    .excellence-card { padding: 25px 20px !important; }
    .stat-item { padding: 25px 0 !important; }
    
    /* FIX: Why Card Overflow and Width */
    .why-card { padding: 30px 20px !important; border-radius: 20px !important; width: 100% !important; box-sizing: border-box !important; }
    .why-card::after { display: none !important; }
    .why-item { padding: 20px 15px !important; gap: 15px !important; width: 100% !important; box-sizing: border-box !important; flex-wrap: wrap !important;}
    .why-item i { width: 50px !important; height: 50px !important; font-size: 1.5rem !important; }
    .why-item h5 { font-size: 1.15rem !important; }
    
    /* FIX: Journey Timeline Misalignment */
    .timeline { padding-left: 25px !important; margin-left: 10px !important; }
    .timeline-item::before { left: -33px !important; width: 14px !important; height: 14px !important; }
    
    /* FIX: Leader Img Sizing */
    .leader-card { padding: 30px 20px !important; width: 100% !important; box-sizing: border-box !important; }
    .leader-img { width: 100px !important; height: 100px !important; margin: 0 auto 15px auto !important; }
    
    /* FIX OVERFLOW */
    .about-grid-2 { display: grid !important; grid-template-columns: 1fr !important; width: 100% !important; overflow: hidden !important; }
    html, body { overflow-x: hidden !important; max-width: 100% !important; }
}
