@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Color System */
    --primary: #0d9488;          /* Teal */
    --primary-hover: #0f766e;    /* Dark Teal */
    --primary-light: #f0fdfa;    /* Very Light Teal */
    --secondary: #e0f2fe;        /* Light Blue */
    --secondary-hover: #bae6fd;  /* Medium Light Blue */
    --secondary-text: #0369a1;   /* Rich Blue for Text */
    --accent: #22c55e;           /* Soft Green Accent */
    --accent-hover: #16a34a;     /* Darker Green Accent */
    --accent-light: #f0fdf4;     /* Very Light Green */
    --danger: #ef4444;           /* Coral/Red for Emergency */
    --danger-light: #fef2f2;
    --dark: #0f172a;             /* Slate 900 */
    --gray-dark: #334155;        /* Slate 700 */
    --gray-medium: #64748b;      /* Slate 500 */
    --gray-light: #e2e8f0;       /* Slate 200 */
    --bg-light: #f8fafc;         /* Slate 50 */
    --bg-white: #ffffff;
    
    /* Layout Constants */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(13, 148, 136, 0.08);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 600;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 1050;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.emergency-banner a {
    color: var(--bg-white);
    text-decoration: underline;
    font-weight: 700;
}

/* Navigation Bar Styling */
.custom-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition-smooth);
    padding: 0.75rem 0;
}
.custom-navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-brand span {
    color: var(--dark);
}
.nav-link {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    color: var(--bg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}
.btn-secondary-custom {
    background-color: var(--secondary);
    color: var(--secondary-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(3, 105, 161, 0.1);
    transition: var(--transition-smooth);
}
.btn-secondary-custom:hover {
    background-color: var(--secondary-hover);
    color: var(--secondary-text);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.6) 0%, rgba(240, 253, 250, 0.4) 90.1%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 2.5rem;
}

/* Decorative grid pattern in Hero */
.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(rgba(13, 148, 136, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* Premium Healthcare Cards */
.premium-card {
    background: var(--bg-white);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary-text) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(13, 148, 136, 0.15);
}
.premium-card:hover::before {
    opacity: 1;
}
.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}
.premium-card:hover .card-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Feature Badge/Trust Icons */
.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.feature-icon-wrapper {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Section Header Styling */
.section-tag {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--primary-light);
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.section-subtitle {
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Partner Highlight Box */
.partner-highlight-box {
    background: linear-gradient(135deg, #ffffff 0%, rgba(224, 242, 254, 0.3) 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}
.partner-tag {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-block;
}

/* Booking Panel styling */
.booking-panel {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.15);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2.25rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition-smooth);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.star-rating {
    color: #f59e0b; /* Amber */
    margin-bottom: 1rem;
}
.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.client-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary-text);
}

/* Health Tips Cards */
.tip-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: var(--transition-smooth);
}
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.tip-category {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.tip-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

/* Footer & Floating Widgets */
.main-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem 0;
    font-size: 0.95rem;
    border-top: 5px solid var(--primary);
}
.main-footer h5 {
    color: var(--bg-white);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}
.main-footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}
.main-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.main-footer a:hover {
    color: var(--primary);
    padding-left: 4px;
}
.footer-contact-list {
    list-style: none;
    padding-left: 0;
}
.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-contact-list i {
    color: var(--primary);
    margin-top: 0.25rem;
}
.bottom-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.875rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--bg-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    background-color: #20ba5a;
    color: var(--bg-white);
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive Custom Utilities */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-section {
        padding: 6rem 0 4rem 0;
    }
}
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Specific Services styles (Tabs / Pills overrides) */
.services-pills .nav-link {
    border: 1px solid var(--gray-light);
    background-color: var(--bg-white);
    color: var(--gray-dark) !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.services-pills .nav-link.active {
    background-color: var(--primary) !important;
    color: var(--bg-white) !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

/* Conditions List for Physiotherapy */
.condition-card {
    background: var(--bg-white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}
.condition-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.condition-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Alert notifications dynamic banner wrapper */
.toast-container-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}
