/* ==========================================================================
   Sangameshwar Hospital - Modern Interactive Footer Design System
   Exact match to uploaded design with ECG pulse & hover animations
   ========================================================================== */

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

:root {
    --ft-primary: #1e7046;
    --ft-primary-light: #eaf6ee;
    --ft-primary-hover: #155734;
    --ft-accent: #2fb36d;
    --ft-text-dark: #1b2d24;
    --ft-text-muted: #526359;
    --ft-dark-bg: #092318;
    --ft-dark-surface: #0e2e21;
    --ft-border: #e2ece6;
}

/* Base Footer Container */
.luxury-footer {
    background-color: #fbfcfa;
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ft-text-dark);
    padding-top: 50px;
    border-top: 1px solid #e9f2ec;
}

/* Background Hospital Building Image on Right */
.luxury-footer .footer-bg-building {
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 42%;
    max-width: 580px;
    height: 85%;
    background-size: cover;
    background-position: center right;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 25%, rgba(0,0,0,1) 75%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 25%, rgba(0,0,0,1) 75%);
}

/* Left Bottom Organic Green Waves */
.luxury-footer .footer-wave-shape {
    position: absolute;
    left: -20px;
    bottom: 55px;
    width: 320px;
    height: 220px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

/* Top Right Cursive Slogan */
.footer-top-slogan {
    position: absolute;
    top: 25px;
    right: 8%;
    font-family: 'Caveat', cursive;
    color: #1e7046;
    font-size: 28px;
    line-height: 1.15;
    text-align: right;
    transform: rotate(-6deg);
    z-index: 3;
    pointer-events: none;
    animation: sloganFloat 4s ease-in-out infinite alternate;
}

.footer-top-slogan svg {
    display: block;
    margin-top: 2px;
    margin-left: auto;
}

@keyframes sloganFloat {
    0% { transform: rotate(-6deg) translateY(0px); }
    100% { transform: rotate(-4deg) translateY(-6px); }
}

/* Main Content Area */
.footer-main-area {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}

/* Brand Column */
.footer-brand-wrap {
    max-width: 330px;
}

.footer-brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-brand-titles h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #133a28;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin: 0;
}

.footer-brand-titles span {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #3b7b5c;
    letter-spacing: 2px;
    display: block;
    text-transform: uppercase;
}

/* Tagline Bar */
.footer-tagline-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-tagline-bar .tag-line-dash {
    width: 28px;
    height: 3px;
    background: #41966a;
    border-radius: 2px;
}

.footer-tagline-bar .tag-line-text {
    font-size: 13px;
    font-weight: 700;
    color: #265f42;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.footer-desc-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ft-text-muted);
    margin-bottom: 22px;
}

/* Trust Badges */
.footer-health-pills {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.footer-pill-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-pill-icon {
    width: 36px;
    height: 36px;
    color: #1e7046;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    14% { transform: scale(1.18); }
    28% { transform: scale(1); }
    42% { transform: scale(1.12); }
    70% { transform: scale(1); }
}

.footer-pill-text {
    font-size: 12px;
    font-weight: 700;
    color: #183e2b;
    line-height: 1.25;
    font-family: 'Outfit', sans-serif;
}

.footer-pill-divider {
    width: 1px;
    height: 32px;
    background: #d1dfd6;
}

.footer-healing-cursive {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: 700;
    color: #1e7046;
    line-height: 1;
    transform: rotate(-3deg);
}

/* Follow Us Row */
.footer-follow-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-follow-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a3828;
    font-family: 'Outfit', sans-serif;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8f4ed;
    color: #175333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.footer-social-btn:hover {
    background: #1e7046;
    color: #ffffff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 14px rgba(30, 112, 70, 0.25);
}

/* Nav Column Headers */
.footer-widget-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.footer-header-badge {
    width: 36px;
    height: 36px;
    background: #e5f4ea;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e7046;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-widget-header:hover .footer-header-badge {
    transform: rotate(10deg) scale(1.08);
}

.footer-widget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #113322;
    margin: 0;
}

/* Navigation Links */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: #3b4e43;
    text-decoration: none;
    padding-right: 15px;
    transition: all 0.25s ease;
}

.footer-nav-link i {
    font-size: 11px;
    color: #6d8677;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-nav-link:hover {
    color: #1e7046;
    font-weight: 600;
    transform: translateX(4px);
}

.footer-nav-link:hover i {
    color: #1e7046;
    transform: translateX(3px);
}

/* Contact Details Column */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item-icon {
    color: #1e7046;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item-content a,
.footer-contact-item-content span {
    font-size: 13.5px;
    font-weight: 500;
    color: #2c4135;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.footer-contact-item-content a:hover {
    color: #1e7046;
    font-weight: 600;
}

/* Get Directions Button */
.footer-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eaf6ee;
    color: #185434;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 8px rgba(30,112,70,0.08);
}

.footer-directions-btn i.fa-location-dot {
    color: #1e7046;
    font-size: 15px;
}

.footer-directions-btn i.fa-arrow-right {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.footer-directions-btn:hover {
    background: #1e7046;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30,112,70,0.22);
}

.footer-directions-btn:hover i.fa-location-dot {
    color: #ffffff;
}

.footer-directions-btn:hover i.fa-arrow-right {
    transform: translateX(4px);
    color: #ffffff;
}

/* Bottom Dark Green Bar */
.footer-bottom-bar {
    background: linear-gradient(180deg, #0d2b1f 0%, #081d15 100%);
    position: relative;
    z-index: 10;
    padding: 16px 0;
    color: #c0d8cc;
    font-size: 13px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Animated ECG Pulse Graphic */
.footer-ecg-box {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 140px;
}

.footer-ecg-svg {
    height: 34px;
    width: 160px;
    overflow: visible;
}

.footer-ecg-path {
    stroke: #41be7b;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: ecgFlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(65, 190, 123, 0.6));
}

@keyframes ecgFlow {
    0% {
        stroke-dashoffset: 600;
        opacity: 0.2;
    }
    40% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    85% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -600;
        opacity: 0.2;
    }
}

/* Copyright Text */
.footer-copyright {
    margin: 0;
    color: #d1e5db;
    font-size: 13px;
    font-weight: 400;
}

.footer-copyright span {
    font-weight: 600;
    color: #ffffff;
}

/* Bottom Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal-links li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-legal-links li:not(:last-child)::after {
    content: '|';
    color: #38614e;
    font-size: 12px;
}

.footer-legal-links a {
    color: #a4c9b8;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #41be7b;
    text-decoration: underline;
}

/* Scroll To Top Round Button in Bottom Bar */
.footer-scroll-top-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #143d2c;
    border: 1px solid #275942;
    color: #55d691;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-scroll-top-btn:hover {
    background: #206145;
    color: #ffffff;
    border-color: #55d691;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(85, 214, 145, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .luxury-footer .footer-bg-building {
        width: 35%;
        opacity: 0.45;
    }
    .footer-top-slogan {
        font-size: 24px;
        right: 4%;
    }
}

@media (max-width: 991px) {
    .luxury-footer .footer-bg-building {
        display: none;
    }
    .footer-top-slogan {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        text-align: left;
        margin-bottom: 25px;
        display: inline-block;
        animation: none;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .footer-brand-wrap {
        max-width: 100%;
    }
    .footer-health-pills {
        flex-wrap: wrap;
    }
    .footer-wave-shape {
        display: none;
    }
}
