* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #111827;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.brand-logo img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 1rem;
    color: #e5e7eb;
}

.brand-slogan {
    font-size: 0.8rem;
    color: #9ca3af;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.nav-item-has-submenu {
    position: relative;
}

.nav-link {
    font-size: 0.9rem;
    color: #d1d5db;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #0ea5e9);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-has-submenu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-link-has-submenu i {
    font-size: 0.7rem;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 180px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1001;
}

/* Override flex layout inherited from .main-nav ul so submenu is vertical */
.main-nav ul.nav-submenu {
    display: block;
}

.nav-submenu li {
    display: block;
}

.nav-submenu li a {
    display: block;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #e5e7eb;
    white-space: nowrap;
}

.nav-submenu li a:hover {
    background: rgba(15, 23, 42, 0.9);
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #f9fafb;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.6);
}

.btn-ghost {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.9);
}

.btn-accent {
    background: rgba(14, 165, 233, 0.12);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.6);
}

.btn-accent:hover {
    background: rgba(14, 165, 233, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
}

.site-main {
    padding-top: 40px;
}

.hero {
    padding: 60px 0 60px;
    background: radial-gradient(circle at top left, #0ea5e9 0, transparent 55%),
                radial-gradient(circle at bottom right, #22c55e 0, transparent 55%),
                linear-gradient(135deg, #020617, #020617 40%, #0b1120);
    color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-title span.highlight,
.hero-title .hero-line-secondary {
    position: relative;
    display: inline-block;
    color: transparent;
    background-image: linear-gradient(120deg, #f9fafb 0%, #f9fafb 40%, rgba(249, 250, 251, 0.15) 60%, #f9fafb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 100%;
    animation: heroTextMask 3s ease-in-out infinite;
}

@keyframes heroTextMask {
    0% {
        background-position: -100% 0;
    }
    50% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.hero-subtitle {
    font-size: 0.95rem;
    max-width: 480px;
    color: #e5e7eb;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: #cbd5f5;
}

.hero-visual {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    padding-bottom: 70px; /* extra space for bottom pill so it does not overlap next section */
    z-index: 1;
}

.hero-god-image {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.hero-god-image img {
    max-height: 190px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.8));
    animation: heroGodGlow 4.5s ease-in-out infinite;
}

@keyframes heroGodGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7)) drop-shadow(0 0 18px rgba(34, 197, 94, 0.4));
        transform: translateY(0);
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(56, 189, 248, 1)) drop-shadow(0 0 28px rgba(34, 197, 94, 0.7));
        transform: translateY(-3px);
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7)) drop-shadow(0 0 18px rgba(34, 197, 94, 0.4));
        transform: translateY(0);
    }
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.32), transparent 60%),
                radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.36), transparent 60%),
                rgba(15, 23, 42, 0.97);
    border-radius: 26px;
    padding: 20px 24px 18px 20px; /* extra right padding so text does not sit under pill */
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

.hero-metrics {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-metrics-item {
    flex: 1 1 90px;
    padding: 10px 12px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.18), transparent 65%),
                rgba(15, 23, 42, 0.9);
    font-size: 0.78rem;
}

.hero-metrics-item strong {
    display: block;
    font-size: 1.1rem;
}

.hero-floating-pill {
    position: absolute;
    right: 12px;
    top: 22px;
    background: #0ea5e9;
    color: #f9fafb;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.7);
    z-index: 2; /* sit above hero-card */
    animation: float 5s ease-in-out infinite;
}

.hero-floating-pill.secondary {
    left: 18px;
    right: 18px;
    bottom: 8px; /* keep inside hero visual so it does not overlap the next section */
    top: auto;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    box-shadow: 0 22px 50px rgba(22, 163, 74, 0.7);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    z-index: 2;
}

/* Doctor pill sits just above the nurse pill at the bottom of the hero visual */
.hero-floating-pill.hero-floating-pill-doctor {
    left: 18px;
    right: 18px;
    bottom: 44px; /* slightly above the nurse pill (bottom: 8px) */
    top: auto;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Scroll-reveal base */
[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].in-view {
    opacity: 1;
    transform: none;
}

/* Slightly stagger cards inside animated sections */
.section[data-animate] .categories-grid .category-card:nth-child(1),
.section[data-animate] .featured-grid .feature-card:nth-child(1),
.section[data-animate] .steps-grid .step-card:nth-child(1) {
    transition-delay: 0.05s;
}
.section[data-animate] .categories-grid .category-card:nth-child(2),
.section[data-animate] .featured-grid .feature-card:nth-child(2),
.section[data-animate] .steps-grid .step-card:nth-child(2) {
    transition-delay: 0.12s;
}
.section[data-animate] .categories-grid .category-card:nth-child(3),
.section[data-animate] .featured-grid .feature-card:nth-child(3),
.section[data-animate] .steps-grid .step-card:nth-child(3) {
    transition-delay: 0.18s;
}
.section[data-animate] .categories-grid .category-card:nth-child(4),
.section[data-animate] .featured-grid .feature-card:nth-child(4),
.section[data-animate] .steps-grid .step-card:nth-child(4) {
    transition-delay: 0.24s;
}

.section {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 24px;
}

.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f766e;
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.section-subtitle {
    font-size: 0.92rem;
    color: #6b7280;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.category-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(34, 197, 94, 0.5);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
    margin-bottom: 4px;
}

.category-title {
    font-weight: 600;
    color: #0f172a;
}

.category-text {
    font-size: 0.85rem;
    color: #6b7280;
}

.badge-pill {
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.06);
    color: #16a34a;
    margin-top: auto; /* push badge to bottom so all badges align in a row */
}

/* Animated "Coming soon" badge used on homepage categories */
.badge-coming-soon {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.06);
    color: #b91c1c;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    animation: badge-pulse 1.6s ease-out infinite;
}

@keyframes badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Health check-up packages carousel (homepage + client dashboard) */
.home-packages-section {
    background: #ffffff;
}

/* Test By Health Conditions row (home page) */
.health-conditions-section {
    background: #ffffff;
}

.health-conditions-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px;
}

.health-condition-card {
    flex: 0 0 150px;
    max-width: 180px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.health-condition-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fbff;
    color: #0f6cbf;
    font-size: 1.6rem;
}

.health-condition-label {
    font-size: 0.9rem;
    color: #0f172a;
}

@media (min-width: 900px) {
    .health-conditions-row {
        flex-wrap: nowrap;
        overflow-x: visible;
        justify-content: flex-start;
    }

    .health-condition-card {
        flex: 0 0 160px;
    }
}

.packages-scroll-shell {
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 4px 0 0;
}

.packages-scroll-inner {
    display: flex;
    gap: 16px;
    padding: 2px 4px 6px;
    min-width: 100%;
}

.package-card {
    position: relative;
    flex: 0 0 260px;
    max-width: 280px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (min-width: 1024px) {
    .package-card {
        flex-basis: calc(25% - 12px); /* show 4 cards on desktop, others via scroll */
    }
}

.package-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #22c55e;
    color: #f9fafb;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.5);
}

.package-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #111827;
    margin-top: 4px;
}

.package-meta {
    font-size: 0.8rem;
    color: #4b5563;
}

.package-features {
    list-style: disc;
    padding-left: 18px;
    font-size: 0.8rem;
    color: #6b7280;
}

.package-features li + li {
    margin-top: 2px;
}

.package-pricing {
    margin-top: 4px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.9rem;
}

.pkg-mrp {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.8rem;
}

.pkg-price {
    font-weight: 700;
    color: #16a34a;
}

.package-actions {
    margin-top: 8px;
}

.package-actions .btn-xs {
    width: 100%;
}

/* Small tweaks when packages are inside client dashboard card */
.dash-packages-card .packages-scroll-shell {
    margin-inline: -4px;
}

/* Give a little more headroom so badge and title do not overlap on narrow cards */
.dash-packages-card .package-card {
    padding-top: 22px; /* more space above title under the badge */
}

.dash-packages-card .package-title {
    margin-top: 6px;
}

/* Align Add package and Details buttons nicely inside dashboard cards only */
.dash-packages-card .package-actions {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}

.dash-packages-card .package-actions .btn-xs {
    width: auto;           /* override global 100% width */
    flex: 1 1 0;
    justify-content: center;
}

.dash-packages-note {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #6b7280;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
}

.feature-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.feature-card-body {
    padding: 14px 16px 16px;
}

.feature-card-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.feature-card-body p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.feature-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #4b5563;
}

.how-we-work {
    background: linear-gradient(135deg, #ecfdf3, #eff6ff);
}

.our-services-section {
    background: #ffffff;
}

.our-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.our-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px 24px;
}

.our-services-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid rgba(209, 213, 219, 0.8);
}

.our-services-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.06);
    color: #4f46e5;
    flex-shrink: 0;
}

.our-services-icon i {
    font-size: 1.1rem;
}

.our-services-label {
    font-size: 0.84rem;
    color: #111827;
}

.our-services-hero {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 10px;
}

.our-services-hero-text {
    font-size: 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #111827;
    letter-spacing: 0.04em;
}

.our-services-hero-text span:nth-child(2) {
    font-weight: 700;
}

/* Hand-drawn style arrow pointing towards doctor image */
.our-services-arrow {
    width: 120px;
    height: 40px;
    border-bottom: 3px solid #1f2937;
    border-left: 3px solid #1f2937;
    border-bottom-left-radius: 999px;
    transform: skewX(-18deg) translateX(10px);
    position: relative;
    margin-bottom: 6px;
}

.our-services-arrow::before,
.our-services-arrow::after {
    content: '';
    position: absolute;
}

/* arrow head */
.our-services-arrow::after {
    right: -14px;
    bottom: -4px;
    border-width: 7px 0 7px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #1f2937;
}

/* small scribble lines inside arrow */
.our-services-arrow::before {
    left: 10px;
    right: 22px;
    bottom: -1px;
    border-bottom: 2px dashed rgba(31, 41, 55, 0.5);
}

.our-services-doctor {
    max-width: 600px;
}

.our-services-doctor img {
    width: 100%;
    display: block;
}

@media (max-width: 960px) {
    .our-services-layout {
        grid-template-columns: 1fr;
    }

    .our-services-hero {
        order: -1;
    }

    .our-services-hero-text {
        font-size: 1.2rem;
    }
}

/* Online Meetings two-column layout */
.online-meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.online-meeting-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 18px 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.6); /* highlighted outline */
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transform-origin: center bottom;
    animation: onlineCardFadeInUp 0.6s ease-out both;
}

/* slight stagger for second card */
.online-meetings-grid .online-meeting-card:nth-child(2) {
    animation-delay: 0.12s;
}

.online-meeting-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.45), transparent 60%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.online-meeting-card:hover::before {
    opacity: 1;
}

.online-meeting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
    border-color: rgba(34, 197, 94, 0.9);
}

.online-meeting-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35);
    animation: onlineIconPulse 3s ease-in-out infinite;
}

.online-meeting-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.online-meeting-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.online-meeting-list {
    padding-left: 18px;
    font-size: 0.86rem;
    color: #4b5563;
}

.online-meeting-list li {
    margin-bottom: 4px;
}

.online-meeting-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.8rem;
    color: #6b7280;
}

.online-meeting-meta span i {
    margin-right: 4px;
}

.online-meeting-timings {
    background: #f9fafb;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
}

.online-meeting-timings-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f766e;
    margin-bottom: 4px;
}

.online-meeting-timings ul {
    padding-left: 18px;
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 4px;
}

.online-meeting-note {
    font-size: 0.78rem;
    color: #6b7280;
}

.online-meeting-actions {
    margin-top: auto;
}

.online-meeting-footer-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #6b7280;
}

@keyframes onlineCardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes onlineIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 14px 30px rgba(34, 197, 94, 0.55);
    }
}

/* Free Meditation & Yoga section */
.free-meditation-section {
    background: radial-gradient(circle at 0 0, #e0f2fe, #f9fafb 48%, #ecfdf3 100%);
}

/* 404 Page */
.error-404-section {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 60%),
                radial-gradient(circle at bottom, rgba(34, 197, 94, 0.18), transparent 60%),
                #020617;
    color: #e5e7eb;
}

.error-404-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.error-404-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.7);
    background: rgba(15, 23, 42, 0.8);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.error-404-badge i {
    color: #facc15;
}

.error-404-title {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    margin-bottom: 12px;
}

.error-404-title span {
    background: linear-gradient(120deg, #22c55e, #0ea5e9);
    -webkit-background-clip: text;
    color: transparent;
}

.error-404-text {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-bottom: 18px;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.error-404-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.error-404-orbit {
    width: 210px;
    height: 210px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 70%),
                rgba(15, 23, 42, 0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.error-404-orbit-inner {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 3.4rem;
    font-weight: 700;
    color: #e5e7eb;
    letter-spacing: 0.12em;
    animation: error404Pulse 3.2s ease-in-out infinite;
}

.error-404-digit-center {
    background: linear-gradient(140deg, #22c55e, #0ea5e9);
    -webkit-background-clip: text;
    color: transparent;
}

.error-404-orbit-feather {
    position: absolute;
    width: 40px;
    height: 110px;
    border-radius: 40px 40px 12px 12px;
    background:
        radial-gradient(circle at 50% 20%, #facc15 0, #f97316 30%, transparent 60%),
        radial-gradient(circle at 50% 45%, #22d3ee 0, #0ea5e9 40%, transparent 75%),
        linear-gradient(180deg, rgba(16, 185, 129, 0.95), rgba(22, 163, 74, 0.6));
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    opacity: 0.95;
    animation: error404FeatherOrbit 6s linear infinite;
    transform-origin: center -40px;
}

.error-404-note {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}

@keyframes error404Pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
    }
    50% {
        transform: scale(1.04);
        text-shadow: 0 0 18px rgba(59, 130, 246, 0.9);
    }
}

@keyframes error404FeatherOrbit {
    0% {
        transform: rotate(0deg) translateY(-16px) rotate(0deg);
    }
    50% {
        transform: rotate(180deg) translateY(-16px) rotate(-180deg);
    }
    100% {
        transform: rotate(360deg) translateY(-16px) rotate(-360deg);
    }
}

@media (max-width: 900px) {
    .error-404-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .error-404-actions {
        justify-content: center;
    }
}

.free-meditation-card {
    position: relative;
    border-radius: 24px;
    padding: 20px 20px 18px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.45);
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 24px;
    overflow: hidden;
}

.free-meditation-card::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 60%),
                radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.16), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.free-meditation-main,
.free-meditation-times {
    position: relative;
    z-index: 1;
}

/* Larger, highlighted label inside Free Meditation section */
.free-meditation-main .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, #22c55e, #0ea5e9);
    background-size: 200% 200%;
    color: #ecfdf5;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
    animation: freeOfferingGlow 2.8s ease-in-out infinite;
}

@keyframes freeOfferingGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
        transform: translateY(0) scale(1);
        background-position: 0% 50%;
    }
    50% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
        transform: translateY(-1px) scale(1.03);
        background-position: 100% 50%;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        transform: translateY(0) scale(1);
        background-position: 0% 50%;
    }
}

.free-meditation-main .section-kicker::before {
    content: '\f111';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.5rem;
}

.free-meditation-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0f172a;
}

/* Typewriter effect for Meditation & Yoga title */
.free-meditation-title-typing {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 1px solid rgba(15, 23, 42, 0.9);
    padding-right: 0;
    animation: typing 4s steps(32, end) 0.5s forwards, caret 0.8s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes caret {
    0%, 100% { border-color: transparent; }
    50% { border-color: rgba(15, 23, 42, 0.9); }
}

/* Description text with subtle color-shift animation */
.free-meditation-text {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 8px;
    animation: meditColorShift 6s ease-in-out infinite alternate;
}

@keyframes meditColorShift {
    0%   { color: #4b5563; }
    25%  { color: #0f766e; }
    50%  { color: #1d4ed8; }
    75%  { color: #7c2d12; }
    100% { color: #4b5563; }
}

.free-meditation-subtext {
    font-size: 0.86rem;
    color: #6b7280;
}

.free-meditation-cta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.free-meditation-btn {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #f9fafb;
    padding-inline: 18px;
}

.free-meditation-btn i {
    font-size: 0.85rem;
}

.free-meditation-cta-note {
    font-size: 0.78rem;
    color: #6b7280;
}

.free-meditation-times {
    align-self: center;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 14px 14px 12px;
    color: #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.free-meditation-times-label {
    font-size: 0.86rem;
    margin-bottom: 8px;
}

.free-meditation-times-label i {
    margin-right: 6px;
    color: #22c55e;
}

.free-meditation-slot-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.free-meditation-slot {
    border-radius: 14px;
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.free-meditation-slot-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
}

.free-meditation-slot-title i {
    color: #eab308;
}

.free-meditation-slot-time {
    font-size: 0.82rem;
    color: #cbd5f5;
}

.free-meditation-note {
    font-size: 0.76rem;
    color: #9ca3af;
}

/* Man Ki Baat free service card */
.free-mankibaat-card {
    margin-top: 18px;
    border-radius: 20px;
    padding: 14px 16px 12px;
    background: #ffffff;
    border: 1px dashed rgba(148, 163, 184, 0.9);
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 16px;
}

.free-mankibaat-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.free-mankibaat-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.free-mankibaat-meta {
    align-self: center;
    background: #f1f5f9;
    border-radius: 14px;
    padding: 10px 12px;
}

.free-mankibaat-slot {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.free-mankibaat-slot-label {
    color: #0f172a;
    font-weight: 600;
}

.free-mankibaat-slot-label i {
    margin-right: 6px;
    color: #22c55e;
}

.free-mankibaat-slot-value {
    color: #1f2937;
}

.free-mankibaat-note {
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 960px) {
    .free-meditation-card {
        grid-template-columns: 1fr;
    }

    .free-mankibaat-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .free-meditation-card {
        padding: 16px 14px 14px;
        gap: 16px;
    }

    .free-meditation-main,
    .free-meditation-times {
        text-align: center;
    }

    .free-meditation-main .section-kicker {
        justify-content: center;
    }

    .free-meditation-title {
        font-size: 1.25rem;
    }

    .free-meditation-cta {
        justify-content: center;
    }

    .free-meditation-times {
        margin-top: 10px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    margin-bottom: 8px;
}

.step-card h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.85rem;
    color: #6b7280;
}

.contact-section {
    padding: 40px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.16), transparent 60%),
        #f9fafb;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 28px;
    align-items: flex-start;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 18px 18px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-form-header {
    margin-bottom: 14px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    font-size: 0.78rem;
    margin-bottom: 6px;
}

.contact-chip i {
    font-size: 0.8rem;
}

.contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #0f172a;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.contact-form {
    margin-top: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.contact-submit {
    margin-top: 6px;
}

.contact-privacy-note {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-privacy-note i {
    color: #16a34a;
}

.contact-info-card {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 70%),
                radial-gradient(circle at bottom, rgba(34, 197, 94, 0.22), transparent 70%),
                #020617;
    border-radius: 22px;
    padding: 18px 18px 18px;
    color: #e5e7eb;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.contact-info-header h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-info-header p {
    font-size: 0.86rem;
    color: #cbd5f5;
}

.contact-info-list {
    list-style: none;
    margin: 14px 0 10px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.contact-info-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: flex-start;
}

.contact-info-list .icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.contact-info-list .icon i {
    font-size: 0.9rem;
    color: #22c55e;
}

.contact-info-list strong {
    font-size: 0.9rem;
}

.contact-info-list p {
    font-size: 0.82rem;
    color: #cbd5f5;
}

.contact-info-footer {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #e5e7eb;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        margin-top: 14px;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: #374151;
}

.form-control {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 8px 10px;
    font-size: 0.9rem;
    outline: none;
}

.form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.alert {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
}

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 32px 0 16px;
    margin-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 12px;
}

/* Animated love & coffee icons in footer credit */
.footer-heart-icon i {
    color: #f97316;
    margin: 0 2px;
    animation: footerBeat 1.4s ease-in-out infinite;
}

.footer-coffee-icon i {
    color: #22c55e;
    margin: 0 2px;
    animation: footerSteam 2s ease-in-out infinite;
}

@keyframes footerBeat {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.2); }
    60% { transform: scale(0.9); }
}

@keyframes footerSteam {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-2px); opacity: 1; }
}

.footer-col h4 {
    color: #e5e7eb;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
    font-size: 0.85rem;
}

.footer-col li + li {
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(51, 65, 85, 0.9);
    padding-top: 10px;
    font-size: 0.78rem;
    text-align: center;
}

/* Blog cards */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.blog-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.blog-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.blog-card p {
    font-size: 0.86rem;
    color: #6b7280;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
}

/* Small "New" badge for recent contact queries */
.contact-badge-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 2px 7px;
    font-size: 0.7rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.16);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-header {
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #eff6ff, #f9fafb);
}

.page-header h1 {
    font-size: 1.6rem;
}

.page-header p {
    font-size: 0.9rem;
    color: #4b5563;
}

.page-content {
    padding: 30px 0 40px;
}

.page-content h2 {
    font-size: 1.2rem;
    margin: 18px 0 8px;
}

.page-content p,
.page-content li {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Extra reading comfort for long-form pages like Terms & Privacy */
.page-content p {
    margin-bottom: 0.9rem;
}

.page-content ul {
    margin-left: 20px;
    list-style: disc;
    margin-top: 0.25rem;
    margin-bottom: 0.85rem;
}

/* Blog-style spacing inside legal article containers */
.legal-article p,
.legal-article ul,
.legal-article ol {
    margin-bottom: 0.9rem;
}

.legal-article h3 {
    margin-top: 1.4rem;
}

/* Blog-style Table of Contents for Terms & Privacy */
.legal-article .toc {
    margin: 0 0 1.6rem;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.legal-article .toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px 16px;
    counter-reset: toc-counter;
}

.legal-article .toc li {
    counter-increment: toc-counter;
    font-size: 0.86rem;
}

.legal-article .toc a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 999px;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.legal-article .toc a::before {
    content: counter(toc-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 600;
}

.legal-article .toc a:hover {
    background: rgba(37, 99, 235, 0.06);
    color: #111827;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .legal-article .toc ol {
        grid-template-columns: 1fr;
    }
}

/* Client dashboard (client-area) */
.dash-wrapper {
    padding: 28px 8px 36px;
}

/* Checkout layout reuses dashboard look */
.checkout-wrapper {
    padding: 28px 8px 36px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: flex-start;
    max-width: 1120px;
    margin: 0 auto;
}

.checkout-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.dash-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: flex-start;
    max-width: 1120px;
    margin: 0 auto;
}

.dash-layout > .dash-header {
    grid-column: 1 / -1;
}

.dash-header h1 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #111827;
}

.dash-header p {
    font-size: 0.92rem;
    color: #6b7280;
}

.dash-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

/* Free meditation & yoga offer banner inside cart */
.free-offer-banner {
    margin: 6px 0 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #166534;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.free-offer-banner.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.free-offer-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 163, 74, 0.15);
    color: #16a34a;
    animation: freeOfferPulse 2.4s ease-in-out infinite;
}

@keyframes freeOfferPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

/* Narrow, mobile-like container for services list */
.dash-services-shell {
    max-width: 100%;
    margin: 8px 0 4px;
    padding: 10px 12px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.service-category-card {
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: #f9fafb;
    padding: 8px 10px 6px;
    margin-bottom: 10px;
}

.service-category-body {
    max-height: 420px; /* ~4 services visible, rest scroll inside */
    overflow-y: auto;
    padding-right: 4px;
}

.dash-services-shell .service-grid {
    grid-template-columns: 1fr;
}

.dash-card h2 {
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
}

.dash-card h2 i {
    color: #16a34a;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.service-card {
    background: transparent;
    border-radius: 0;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-card:last-child {
    border-bottom: none;
}

.service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.service-card p {
    font-size: 0.8rem;
    color: #4b5563;
    overflow-wrap: anywhere;
}

.service-tax-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.06);
    color: #16a34a;
    font-size: 0.7rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    color: #374151;
}

.service-actions {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-actions form {
    display: flex;
    align-items: center;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.order-list,
.cart-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    font-size: 0.85rem;
}

/* Address form laid out as table but responsive on mobile */
.addr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.addr-table th,
.addr-table td {
    padding: 6px 4px;
    vertical-align: top;
}

.addr-table th {
    width: 32%;
    color: #4b5563;
    text-align: left;
    font-weight: 500;
}

.addr-table td input,
.addr-table td select {
    width: 100%;
}

.btn-gps {
    width: 100%;
    justify-content: center;
}

.addr-default-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.08);
    color: #166534;
}

@media (max-width: 640px) {
    .addr-table,
    .addr-table tbody,
    .addr-table tr,
    .addr-table th,
    .addr-table td {
        display: block;
        width: 100%;
    }
    .addr-table th {
        margin-top: 6px;
    }
}

.order-list li,
.cart-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.order-list li:last-child,
.cart-list li:last-child {
    border-bottom: none;
}

.cart-footer {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dash-label {
    display: block;
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 2px;
}

#address small {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Slight tweaks for buttons inside client area */
body.client-area .btn-ghost {
    color: #374151;
    border-color: rgba(148, 163, 184, 0.8);
    background: transparent;
}

body.client-area .btn-ghost:hover {
    background: #eff6ff;
}

@media (max-width: 900px) {
    .dash-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dash-wrapper {
        padding: 20px 8px 28px;
    }

    .dash-card {
        border-radius: 14px;
        padding: 12px;
    }

    .dash-services-shell {
        max-width: 100%;
        border-radius: 18px;
    }
}

/* Callback popup instead of full-width bar (emergency style) */
.callback-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #b91c1c;
    color: #fef2f2;
    box-shadow: 0 10px 24px rgba(185, 28, 28, 0.8);
    font-size: 0.85rem;
    animation: callback-fab-pulse 1.8s ease-in-out infinite alternate;
}

/* Ring indicator animation behind callback button */
.callback-fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(254, 242, 242, 0.7);
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    animation: callback-fab-ring 1.8s ease-out infinite;
}

.callback-fab:hover {
    background: #dc2626;
}

.callback-fab i {
    color: #fef2f2;
}

@keyframes callback-fab-pulse {
    from { transform: translateY(0); box-shadow: 0 10px 24px rgba(185, 28, 28, 0.8); }
    to   { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(185, 28, 28, 0.9); }
}

@keyframes callback-fab-ring {
    0% {
        opacity: 0.9;
        transform: scale(0.7);
    }
    70% {
        opacity: 0;
        transform: scale(1.4);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

.callback-fab-badge {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #facc15;
    color: #1f2937;
    font-size: 0.7rem;
    font-weight: 700;
}

.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 74px;
    z-index: 1999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #22c55e;
    color: #ecfdf5;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.7);
    font-size: 0.85rem;
}

.whatsapp-fab i {
    color: inherit;
}

@media (max-width: 640px) {
    .callback-fab {
        right: 10px;
        bottom: 10px;
        padding: 7px 10px;
        font-size: 0.8rem;
    }
    .callback-fab-label {
        display: none;
    }
    .callback-fab-badge {
        display: none;
    }
    .whatsapp-fab {
        right: 10px;
        bottom: 64px;
        padding: 7px 10px;
        font-size: 0.8rem;
    }
    .whatsapp-fab-label {
        display: none;
    }
}

.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
}

.callback-modal-open {
    display: block;
}

.callback-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.callback-modal-panel {
    position: relative;
    max-width: 420px;
    margin: 80px auto;
    background: #020617;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px 16px;
    border-top: 4px solid #ef4444;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.95);
}

@media (max-width: 640px) {
    .callback-modal-panel {
        margin: 40px 12px;
        border-radius: 14px;
    }
}

.callback-modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callback-modal-title i {
    color: #ef4444;
}

.callback-modal-subtitle {
    font-size: 0.82rem;
    color: #fecaca;
    margin: 0 0 8px;
}

.callback-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
}

.callback-modal-close:hover {
    color: #e5e7eb;
}

/* Reuse callback-form styles inside modal as a vertical stack */
.callback-form {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callback-field-label {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #e5e7eb;
}

.callback-field-label .form-control {
    margin-top: 3px;
}

.callback-title {
    font-size: 0.9rem;
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.callback-form .form-control { font-size: 0.9rem; }
.callback-form .btn-xs { white-space: nowrap; }
.callback-msg { font-size: 0.82rem; }
.callback-msg-success { color: #86efac; }
.callback-msg-error { color: #fecaca; }

/* Admin */
.admin-wrapper {
    min-height: 100vh;
    display: flex;
}

/* Callback request rows in admin/staff tables */
.callback-row-pending {
    background: #fef2f2;
}

.callback-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
}

.callback-status-pill.pending {
    background: #fee2e2;
    color: #b91c1c;
}

.callback-status-pill.called {
    background: #dcfce7;
    color: #15803d;
}

.admin-sidebar {
    width: 230px;
    background: #020617;
    color: #e5e7eb;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid rgba(30, 64, 175, 0.6);
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar-logo {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #22c55e, transparent 60%),
                radial-gradient(circle at 100% 100%, #0ea5e9, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
}

.admin-sidebar-logo i {
    font-size: 1rem;
}

.admin-sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.admin-sidebar-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
}

.admin-sidebar-nav {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.admin-nav-link i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.admin-nav-pill {
    margin-left: auto;
    padding: 1px 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Submenu items under Services, Staff & Roles, etc. */
.admin-nav-sub {
    padding-left: 24px;
    font-size: 0.8rem;
    opacity: 0.9;
}

.admin-nav-sub i {
    font-size: 0.7rem;
}

.admin-submenu-caret {
    margin-left: auto;
    font-size: 0.7rem;
    opacity: 0.8;
    transition: transform 0.15s ease-out;
}

.admin-nav-link.submenu-open .admin-submenu-caret {
    transform: rotate(180deg);
}

.admin-nav-link:hover {
    background: rgba(30, 64, 175, 0.8);
    color: #e5e7eb;
}

.admin-nav-link.active {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #f9fafb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
}

/* Emergency state for critical nav items (e.g., overdue callbacks for order admin) */
.admin-nav-link.admin-nav-emergency {
    background: #b91c1c;
    color: #fef2f2;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.6), 0 0 12px rgba(185, 28, 28, 0.9);
    animation: admin-emergency-pulse 1s ease-in-out infinite alternate;
}

.admin-nav-link.admin-nav-emergency .admin-nav-pill {
    background: #fef2f2;
    color: #b91c1c;
}

@keyframes admin-emergency-pulse {
    from { transform: translateX(0); }
    to   { transform: translateX(1px); }
}

.admin-main {
    flex: 1;
    padding: 18px 18px 28px;
    background: #f9fafb;
    position: relative;
}

/* Notification bell on dashboard */
.admin-bell-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4b5563;
    padding: 6px 10px;
    border-radius: 999px;
}

.admin-bell-btn:hover {
    background: rgba(148, 163, 184, 0.2);
}

.admin-bell-icon {
    font-size: 1.1rem;
}

.admin-bell-btn.has-notifications .admin-bell-icon {
    animation: bellRing 1.2s ease-in-out infinite;
    transform-origin: top center;
}

.admin-bell-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #ef4444;
    color: #f9fafb;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

@keyframes bellRing {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(12deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-6deg); }
    50% { transform: rotate(4deg); }
    60% { transform: rotate(-2deg); }
    70%, 100% { transform: rotate(0deg); }
}

/* Dashboard notification popup */
.admin-notify-panel {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 280px;
    max-width: calc(100% - 36px);
    background: #020617;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.82rem;
    z-index: 20;
    display: none;
}

.admin-notify-panel.open {
    display: block;
}

.admin-notify-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.admin-notify-header h2 {
    font-size: 0.9rem;
}

.admin-notify-list {
    list-style: none;
    margin: 6px 0 6px;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

.admin-notify-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}

.admin-notify-list li:last-child {
    border-bottom: none;
}

.admin-notify-title {
    font-weight: 600;
    font-size: 0.84rem;
}

.admin-notify-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

.admin-notify-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

/* Contact queries – UI refinements */
.admin-table tr.contact-row-open {
    background: #fff7ed;
}

.admin-table tr.contact-row-open:hover {
    background: #fffbeb;
}

.admin-table tr.contact-row-resolved {
    background: #f9fafb;
}

.contact-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.contact-status-pill i {
    font-size: 0.7rem;
}

.contact-status-pill.open {
    background: #fef3c7;
    color: #92400e;
}

.contact-status-pill.resolved {
    background: #dcfce7;
    color: #166534;
}

.contact-meta-row {
    background: #f9fafb;
}

.contact-meta-row-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.contact-meta-row-header .left {
    font-weight: 600;
}

.contact-meta-row-header .right {
    font-size: 0.78rem;
    color: #6b7280;
}

.contact-meta-row-header .right span + span {
    margin-left: 10px;
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.btn-xs {
    padding: 4px 8px;
    font-size: 0.72rem;
    border-radius: 999px;
}

.btn-outline-muted {
    background: transparent;
    color: #374151;
    border: 1px solid rgba(156, 163, 175, 0.8);
}

.btn-outline-muted:hover {
    background: #e5e7eb;
}

.admin-sidebar {
    width: 220px;
    background: #020617;
    color: #e5e7eb;
    padding: 16px 14px;
}

.admin-sidebar h2 {
    font-size: 1rem;
    margin-bottom: 14px;
}

.admin-sidebar ul {
    list-style: none;
    font-size: 0.88rem;
}

.admin-sidebar li + li {
    margin-top: 6px;
}

.admin-main {
    flex: 1;
    padding: 18px 18px 28px;
    background: #f9fafb;
}

.admin-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.admin-table th {
    text-align: left;
    font-weight: 600;
    color: #374151;
}

.admin-table-actions a {
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Auth */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #22c55e 0, transparent 55%),
                radial-gradient(circle at bottom, #0ea5e9 0, transparent 55%),
                #020617;
}

.auth-card {
    background: #020617;
    padding: 24px 22px;
    border-radius: 18px;
    width: 100%;
    max-width: 360px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
}

.auth-card h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.auth-card p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 16px;
}

.auth-card .form-group label {
    color: #e5e7eb;
}

.auth-card .form-control {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.8);
    color: #f9fafb;
}

.auth-card .btn-primary {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .story-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    /* On tablets/phones, show the "Our Purpose" story text first, then the founder card */
    .story-inner {
        order: -1;
    }
}

@media (max-width: 820px) {
    .main-nav {
        position: fixed;
        inset: 64px 16px auto 16px;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 18px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 12px;
    }

    .nav-toggle {
        display: flex;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .btn-signin,
    .header-actions .btn-join {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 32px;
    }

    .section {
        padding: 28px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Fine-tune the Founder / Our Purpose section on small phones */
    .story-title {
        font-size: 1.4rem;
    }

    .story-body {
        font-size: 0.86rem;
        line-height: 1.7;
    }

    .founder-card {
        padding: 16px 14px 14px;
    }

    .founder-avatar {
        width: 110px;
        height: 110px;
    }

    /* Ensure Founder / Our Purpose section is always visible on small screens
       even if scroll animation fails to add .in-view */
    .story-section[data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* Origin story section */
.story-section {
    background: linear-gradient(135deg, #fefce8, #eff6ff);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    inset: -80px;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 60%);
    opacity: 0.8;
    pointer-events: none;
}

.story-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: stretch;
}

/* Glass-card styling for the Our Purpose text */
.story-inner {
    position: relative;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.story-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #0f172a;
}

.story-title span {
    display: block;
}

/* Slight shimmer on the "Hari Oam MotherFather Home Healthcare" text */
.story-title-highlight {
    background: linear-gradient(120deg, #22c55e, #0ea5e9);
    -webkit-background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: heroTextMask 4s ease-in-out infinite;
}

.story-purpose-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(14, 165, 233, 0.08));
    color: #15803d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.14);
}

.story-purpose-chip span:first-child {
    font-weight: 700;
}

/* Small heart icon dot before the Purpose label */
.story-purpose-chip span:first-child::before {
    content: '\f004';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.6rem;
    margin-right: 6px;
    color: #ea580c;
}

.story-body {
    font-size: 0.9rem;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.story-body p em {
    font-style: normal;
    color: #0f766e;
    font-weight: 600;
}

.story-mantra {
    margin-top: 8px;
    padding-left: 12px;
    border-left: 2px solid rgba(56, 189, 248, 0.7);
    font-size: 0.88rem;
    color: #0f172a;
}

.story-mantra-line {
    display: block;
}

.story-connection {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.story-connection-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.8);
    background: rgba(14, 165, 233, 0.06);
    color: #0f172a;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    animation: pulse-glow 3.2s ease-in-out infinite;
}

/* Founder card with soft glow */
.founder-card {
    position: relative;
    background: radial-gradient(circle at top, rgba(250, 250, 249, 0.95), #ffffff);
    border-radius: 22px;
    padding: 22px 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.18), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.founder-card > * {
    position: relative;
    z-index: 1;
}

.founder-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0f766e;
    background: rgba(209, 250, 229, 0.9);
    margin-bottom: 10px;
}

.founder-kicker::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.6rem;
    color: #16a34a;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(234, 179, 8, 0.9);
    box-shadow: 0 18px 40px rgba(234, 179, 8, 0.55);
    margin-bottom: 10px;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.founder-role {
    font-size: 0.8rem;
    color: #047857;
    margin-bottom: 10px;
}

.founder-quote {
    position: relative;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 8px;
    padding: 8px 10px 6px;
    border-radius: 14px;
    background: rgba(239, 246, 255, 0.9);
    border: 1px solid rgba(191, 219, 254, 0.9);
}

.founder-quote::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.6rem;
    color: #2563eb;
    margin-right: 4px;
}

.founder-note {
    font-size: 0.82rem;
    color: #4b5563;
}

.story-connection-label i {
    color: #0ea5e9;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
        transform: translateY(0);
    }
}

/* Home services marquee strip under hero */
.services-marquee-section {
    padding-top: 10px;
    padding-bottom: 10px;
    /* keep background light so it blends with main page like in screenshot */
    background: #f5f7fb;
}

.services-marquee-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.services-marquee-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    color: #111827;
    white-space: nowrap;
    flex-shrink: 0;
}

.services-marquee-label i {
    color: #16a34a;
}

.services-marquee {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
}

.services-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: servicesMarquee 26s linear infinite;
}

.services-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    color: #111827;
}

.services-marquee-item i {
    color: #111827;
}

.services-marquee-shell:hover .services-marquee-track {
    animation-play-state: paused;
}

@keyframes servicesMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .services-marquee-shell {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .services-marquee-section {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .services-marquee-label {
        font-size: 0.85rem;
    }

    .services-marquee-item {
        font-size: 0.85rem;
    }
}
