﻿/* ==========================================================================
   Advanced Medical Facilities - Luxury Showcase Section
   Jelly Liquid Flow Animation + Doctor Stethoscope Background
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --fshow-primary: #184a2f;
    --fshow-primary-dark: #0f3320;
    --fshow-accent: #2e9e62;
    --fshow-btn-bg: #415943;
    --fshow-bg-light: #f6faf7;
    --fshow-border: #e2ede6;
    --fshow-text-dark: #12281c;
    --fshow-text-muted: #56695e;
}

/* Main Section Wrapper */
.facilities-showcase-section {
    position: relative;
    background: #f8fbf9;
    padding: 85px 0 65px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--fshow-text-dark);
}

/* ==========================================================================
   JELLY LIQUID FLOWING ANIMATION BACKGROUND
   ========================================================================== */
.jelly-bg-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Floating Jelly Liquid Blobs */
.jelly-blob {
    position: absolute;
    filter: blur(40px);
    opacity: 0.55;
    mix-blend-mode: multiply;
    animation: jellyMorph 16s ease-in-out infinite alternate;
}

.jelly-blob-1 {
    top: -8%;
    left: -5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(168, 222, 191, 0.8) 0%, rgba(209, 240, 222, 0.2) 70%);
    animation-duration: 14s;
}

.jelly-blob-2 {
    bottom: -10%;
    right: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(144, 212, 172, 0.7) 0%, rgba(220, 246, 230, 0.2) 70%);
    animation-duration: 18s;
    animation-delay: -4s;
}

.jelly-blob-3 {
    top: 40%;
    right: 25%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(185, 230, 203, 0.6) 0%, rgba(230, 247, 238, 0.15) 70%);
    animation-duration: 20s;
    animation-delay: -8s;
}

@keyframes jellyMorph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0px, 0px) rotate(0deg) scale(1);
    }
    33% {
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
        transform: translate(30px, -40px) rotate(45deg) scale(1.06);
    }
    66% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: translate(-35px, 25px) rotate(90deg) scale(0.95);
    }
    100% {
        border-radius: 50% 60% 30% 60% / 50% 40% 60% 50%;
        transform: translate(20px, 35px) rotate(135deg) scale(1.04);
    }
}

/* Background Animated Liquid Mesh Flow */
.liquid-wave-layer {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(46, 158, 98, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(74, 222, 128, 0.12) 0%, transparent 50%);
    animation: liquidDrift 10s ease-in-out infinite alternate;
}

@keyframes liquidDrift {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.05) translateY(-20px); }
}

/* ==========================================================================
   DOCTOR STETHOSCOPE WATERMARK & BOTANICAL CORNER ACCENTS
   ========================================================================== */
.bg-stethoscope-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 780px;
    height: 780px;
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    animation: stethoscopeFloat 12s ease-in-out infinite alternate;
}

@keyframes stethoscopeFloat {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    100% { transform: translate(-50%, -53%) rotate(4deg) scale(1.03); }
}

.bg-corner-leaves-left {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 220px;
    height: 220px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.bg-corner-leaves-right {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 240px;
    height: 240px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   TOP HEADER AREA
   ========================================================================== */
.fshow-header-row {
    position: relative;
    z-index: 2;
    margin-bottom: 45px;
}

/* Left Cross Emblem + Cursive Slogan */
.fshow-brand-slogan {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fshow-cross-icon {
    width: 48px;
    height: 48px;
    color: #41966a;
    opacity: 0.75;
    flex-shrink: 0;
}

.fshow-slogan-text {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    line-height: 1.15;
    color: #4a7558;
}

.fshow-slogan-text span {
    display: block;
}

/* Centered Main Title */
.fshow-center-title {
    text-align: center;
}

.fshow-sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #4b6655;
    margin-bottom: 6px;
}

.fshow-sub-heading::before,
.fshow-sub-heading::after {
    content: '';
    width: 38px;
    height: 1px;
    background: #a9c7b5;
}

.fshow-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--fshow-primary);
    margin: 0 0 10px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.fshow-title-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fshow-text-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* Right Explore Button */
.fshow-explore-btn-wrap {
    display: flex;
    justify-content: flex-end;
}

.fshow-explore-btn {
    background: #415943;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(65, 89, 67, 0.2);
}

.fshow-explore-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.fshow-explore-btn:hover {
    background: #25442e;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 22px rgba(37, 68, 46, 0.3);
}

.fshow-explore-btn:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   8-CARD MODERN GRID
   ========================================================================== */
.fshow-cards-grid {
    position: relative;
    z-index: 2;
}

.fshow-card-item {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 237, 230, 0.9);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(18, 57, 35, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.fshow-card-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 34px rgba(24, 74, 47, 0.12);
    border-color: #bfe0cd;
}

/* Image Container */
.fshow-card-img-wrap {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #0e2e1e;
}

.fshow-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fshow-card-item:hover .fshow-card-img-wrap img {
    transform: scale(1.08);
}

/* Number Label (e.g. 01 ——) */
.fshow-card-number {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.fshow-card-number::after {
    content: '';
    width: 14px;
    height: 1.5px;
    background: #ffffff;
    opacity: 0.8;
}

/* Card Content Box */
.fshow-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
    position: relative;
}

/* Floating Circular Green Badge Icon */
.fshow-card-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #174229;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(23, 66, 41, 0.25);
    transition: transform 0.3s ease, background 0.3s ease;
}

.fshow-card-item:hover .fshow-card-icon-badge {
    transform: scale(1.1) rotate(6deg);
    background: #235c3c;
}

.fshow-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    color: #123321;
    margin: 0 0 6px;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.fshow-card-item:hover .fshow-card-title {
    color: var(--fshow-accent);
}

.fshow-card-desc {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--fshow-text-muted);
    margin: 0 0 14px;
    flex-grow: 1;
}

/* Learn More Link */
.fshow-card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #184a2f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: all 0.25s ease;
}

.fshow-card-link i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.fshow-card-item:hover .fshow-card-link {
    color: var(--fshow-accent);
}

.fshow-card-item:hover .fshow-card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   BOTTOM FEATURES STRIP (ECG + 4 TRUST PILLARS)
   ========================================================================== */
.fshow-bottom-strip {
    position: relative;
    z-index: 2;
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid rgba(197, 222, 208, 0.6);
}

.fshow-strip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ECG Line Graphic */
.fshow-ecg-widget {
    display: flex;
    align-items: center;
    min-width: 100px;
    flex-shrink: 0;
}

.fshow-ecg-svg {
    height: 38px;
    width: 110px;
    overflow: visible;
}

.fshow-ecg-pulse-line {
    stroke: #2e9e62;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: fshowEcgFlow 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(46, 158, 98, 0.4));
}

@keyframes fshowEcgFlow {
    0% { stroke-dashoffset: 400; opacity: 0.3; }
    45% { stroke-dashoffset: 0; opacity: 1; }
    85% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -400; opacity: 0.3; }
}

/* Trust Pillar Item */
.fshow-pillar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fshow-pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5f2eb;
    color: #1a4f32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.fshow-pillar-item:hover .fshow-pillar-icon {
    background: #1a4f32;
    color: #ffffff;
    transform: scale(1.1);
}

.fshow-pillar-info h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #123321;
    margin: 0 0 2px;
}

.fshow-pillar-info p {
    font-size: 12px;
    color: #657b6f;
    margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    .fshow-main-title { font-size: 38px; }
}

@media (max-width: 991px) {
    .fshow-header-row { text-align: center; }
    .fshow-brand-slogan { justify-content: center; margin-bottom: 20px; }
    .fshow-explore-btn-wrap { justify-content: center; margin-top: 20px; }
    .fshow-main-title { font-size: 32px; }
    .fshow-strip-content { justify-content: center; gap: 25px; }
}

@media (max-width: 575px) {
    .fshow-main-title { font-size: 27px; }
    .fshow-title-desc { font-size: 13.5px; }
    .fshow-card-img-wrap { height: 160px; }
    .fshow-strip-content { flex-direction: column; align-items: flex-start; }
}
