/* ==========================================================================
   Sangameshwar Hospital - Ultra-Luxury Facilities Master Page
   Light Aesthetic, Jelly Liquid Animation, Stethoscope Watermark,
   Zero Distortion Cards, No Stats Bar, Full Mobile Responsiveness
   ========================================================================== */

@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 {
    --fac-primary: #184a2f;
    --fac-primary-dark: #0f3320;
    --fac-primary-light: #eaf5ee;
    --fac-accent: #2e9e62;
    --fac-accent-bright: #38b76c;
    --fac-btn-bg: #3c5d48;
    --fac-bg-light: #f7faf8;
    --fac-border: #e2ede6;
    --fac-text-dark: #12281c;
    --fac-text-muted: #56695e;
    --fac-card-bg: #ffffff;
    --fac-shadow-sm: 0 4px 20px rgba(18, 48, 32, 0.05);
    --fac-shadow-md: 0 12px 30px rgba(18, 48, 32, 0.08);
    --fac-shadow-hover: 0 20px 45px rgba(18, 48, 32, 0.12);
}

/* Page Base */
.facilities-luxury-page {
    background-color: #f7faf8;
    position: relative;
    overflow-x: hidden;
    padding-top: 140px;
    padding-bottom: 70px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--fac-text-dark);
}

@media (max-width: 991px) {
    .facilities-luxury-page {
        padding-top: 110px;
    }
}

/* ==========================================================================
   JELLY LIQUID FLOWING ANIMATION BACKGROUND
   ========================================================================== */
.jelly-bg-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.jelly-blob {
    position: absolute;
    filter: blur(45px);
    opacity: 0.55;
    mix-blend-mode: multiply;
    animation: jellyMorph 16s ease-in-out infinite alternate;
}

.jelly-blob-1 {
    top: -5%;
    left: -5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(168, 222, 191, 0.75) 0%, rgba(209, 240, 222, 0.15) 70%);
    animation-duration: 14s;
}

.jelly-blob-2 {
    bottom: 5%;
    right: -5%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(144, 212, 172, 0.65) 0%, rgba(220, 246, 230, 0.15) 70%);
    animation-duration: 18s;
    animation-delay: -4s;
}

.jelly-blob-3 {
    top: 35%;
    right: 20%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(185, 230, 203, 0.55) 0%, rgba(230, 247, 238, 0.1) 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, -35px) rotate(45deg) scale(1.05);
    }
    66% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: translate(-30px, 25px) rotate(90deg) scale(0.96);
    }
    100% {
        border-radius: 50% 60% 30% 60% / 50% 40% 60% 50%;
        transform: translate(20px, 30px) rotate(135deg) scale(1.04);
    }
}

/* Stethoscope Watermark */
.bg-stethoscope-watermark {
    position: absolute;
    top: 300px;
    right: -40px;
    width: 680px;
    height: 680px;
    opacity: 0.038;
    pointer-events: none;
    z-index: 1;
    animation: stethoscopeFloat 14s ease-in-out infinite alternate;
}

@keyframes stethoscopeFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-25px) rotate(4deg); }
}

/* ==========================================================================
   HEADER ROW (Slogan, Title, CTA)
   ========================================================================== */
.fac-main-header {
    position: relative;
    z-index: 5;
    margin-bottom: 35px;
}

.fac-slogan-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fac-cross-icon {
    width: 42px;
    height: 42px;
    color: #41be7b;
    opacity: 0.9;
    flex-shrink: 0;
}

.fac-cursive-text {
    font-family: 'Caveat', cursive;
    color: #1e5237;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
}

.fac-cursive-line {
    width: 75px;
    height: 2px;
    background: #41be7b;
    margin-top: 3px;
    border-radius: 2px;
}

.fac-headline-center {
    text-align: center;
}

.fac-badge-overline {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #387b58;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.fac-badge-overline::before,
.fac-badge-overline::after {
    content: '';
    width: 25px;
    height: 1.5px;
    background: #387b58;
    opacity: 0.6;
}

.fac-title-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: #113322;
    margin-bottom: 10px;
    line-height: 1.18;
}

.fac-title-serif span.accent {
    color: #1e5237;
}

.fac-subtitle-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--fac-text-muted);
    max-width: 620px;
    margin: 0 auto;
}

.fac-cta-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.fac-pill-btn {
    background: #3c5d48;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(30, 82, 55, 0.2);
    transition: all 0.3s ease;
}

.fac-pill-btn .arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.fac-pill-btn:hover {
    background: #184a2f;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 82, 55, 0.3);
}

.fac-pill-btn:hover .arrow-circle {
    transform: translateX(3px);
    background: #41be7b;
}

/* ==========================================================================
   CATEGORY FILTER TABS
   ========================================================================== */
.fac-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 5;
    margin: 25px 0 45px;
}

.fac-filter-tab {
    background: #ffffff;
    border: 1px solid #dce8e1;
    color: var(--fac-text-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.fac-filter-tab i {
    font-size: 13px;
    color: var(--fac-accent);
}

.fac-filter-tab:hover {
    background: #f0f7f2;
    border-color: #bcdac7;
    transform: translateY(-2px);
}

.fac-filter-tab.active {
    background: var(--fac-primary);
    border-color: var(--fac-primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(24, 74, 47, 0.28);
}

.fac-filter-tab.active i {
    color: #4ade80;
}

/* ==========================================================================
   FACILITIES GRID & ZERO-DISTORTION CARDS
   ========================================================================== */
.fac-grid-row {
    position: relative;
    z-index: 5;
    margin-bottom: 50px;
}

.fac-card-lux {
    background: #ffffff;
    border: 1px solid #e1eee6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--fac-shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fac-card-lux:hover {
    transform: translateY(-7px);
    box-shadow: var(--fac-shadow-hover);
    border-color: #b9ded0;
}

/* Image Container with precise aspect-ratio */
.fac-card-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0f3020;
}

.fac-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fac-card-lux:hover .fac-card-img-box img {
    transform: scale(1.08);
}

/* Number Tag (01, 02, etc.) */
.fac-card-num-badge {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.fac-card-num-badge::after {
    content: '';
    width: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
}

/* Live Ready Status Dot */
.fac-card-status-dot {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    color: #0f3722;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.fac-pulse-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Card Content Area */
.fac-card-content {
    background: #ffffff;
    padding: 16px 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-grow: 1;
}

.fac-card-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #143e2a;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.fac-card-lux:hover .fac-card-icon-circle {
    background: #1e5a39;
    color: #ffffff;
    transform: scale(1.1);
}

.fac-card-text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fac-card-text-block h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #12281c;
    margin-bottom: 4px;
    line-height: 1.25;
}

.fac-card-text-block p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--fac-text-muted);
    margin-bottom: 10px;
    flex-grow: 1;
}

.fac-card-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.fac-tech-tag {
    background: #f1f7f3;
    color: #1a4d33;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e1eee6;
}

.fac-card-read-link {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--fac-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-end;
    margin-top: auto;
    transition: all 0.2s ease;
}

.fac-card-read-link i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.fac-card-lux:hover .fac-card-read-link {
    color: var(--fac-accent);
}

.fac-card-lux:hover .fac-card-read-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   BOTTOM TRUST FEATURES BAR (Matching user preference image)
   ========================================================================== */
.fac-bottom-trust-strip {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e1eee6;
    border-radius: 20px;
    padding: 18px 25px;
    position: relative;
    z-index: 5;
    box-shadow: var(--fac-shadow-md);
    margin-top: 15px;
    margin-bottom: 40px;
}

.fac-trust-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fac-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf5ee;
    color: #184a2f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.fac-trust-info h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #12281c;
    margin-bottom: 2px;
}

.fac-trust-info p {
    font-size: 11.5px;
    color: var(--fac-text-muted);
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .fac-title-serif { font-size: 32px; }
    .fac-main-header .row > div { text-align: center; margin-bottom: 16px; }
    .fac-slogan-box { justify-content: center; }
    .fac-cta-box { justify-content: center; }
    .fac-card-img-box { height: 180px; }
    .fac-bottom-trust-strip .row > div { margin-bottom: 12px; }
    .fac-bottom-trust-strip .row > div:last-child { margin-bottom: 0; }
}

@media (max-width: 575px) {
    .fac-title-serif { font-size: 26px; }
    .fac-subtitle-text { font-size: 13.5px; }
    .fac-filter-tab { font-size: 12px; padding: 8px 15px; }
    .fac-card-img-box { height: 165px; }
}
