/* ==========================================================================
   Sri Surya Health Solutions - Main Stylesheet
   Brand palette:
     Primary   : teal / turquoise  #0e9f93
     Secondary : dark blue         #0c2d4d
     Background: white             #ffffff
     Supporting: very light blue/teal
     Accent    : red (sparingly)   #e8505b
   ========================================================================== */

:root {
    --teal: #0e9f93;
    --teal-dark: #0b8278;
    --teal-700: #077a70;
    --teal-soft: #e2f5f1;
    --blue: #0c2d4d;
    --blue-900: #081f36;
    --blue-soft: #e9eff6;
    --accent: #e8505b;
    --bg-soft: #f3faf8;
    --text: #45525e;
    --heading: #0c2d4d;
    --muted: #66747f;
    --border: #e2edf0;
    --white: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-dark: #1eb75a;
    --shadow-sm: 0 2px 10px rgba(12, 45, 77, 0.06);
    --shadow-md: 0 12px 30px rgba(12, 45, 77, 0.10);
    --shadow-lg: 0 22px 48px rgba(12, 45, 77, 0.14);
    --radius: 18px;
    --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: "Poppins", "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* ------------------------------- Base ---------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    font-size: 1rem;
    line-height: 1.65;
    animation: pageFadeIn 0.4s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[id] {
    scroll-margin-top: 80px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 600;
}

a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-dark);
}

::selection {
    background: rgba(14, 159, 147, 0.20);
    color: var(--blue);
}

.text-brand { color: var(--teal) !important; }
.text-blue { color: var(--blue) !important; }
.bg-soft { background: var(--bg-soft) !important; }

/* ------------------------------- Buttons ------------------------------- */

.btn {
    font-weight: 600;
    border-radius: 50rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.btn-brand {
    background: var(--teal);
    border: 1px solid var(--teal);
    color: var(--white);
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
}

.btn-blue {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: var(--white);
    white-space: nowrap;
}

.btn-blue:hover,
.btn-blue:focus {
    background: var(--blue-900);
    border-color: var(--blue-900);
    color: var(--white);
}

.btn-outline-brand {
    background: transparent;
    border: 1.5px solid var(--teal);
    color: var(--teal-700);
    white-space: nowrap;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--teal-soft);
    border-color: var(--teal-dark);
    color: var(--teal-700);
}

.btn-whatsapp {
    background: var(--whatsapp);
    border: 1px solid var(--whatsapp);
    color: var(--white);
    white-space: nowrap;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    color: var(--white);
}

/* ------------------------------ Top bar --------------------------------- */

.site-topbar {
    background: var(--blue);
    color: #c7d8eb;
}

.site-topbar a {
    color: #eaf3f7;
    font-weight: 500;
}

.site-topbar a:hover {
    color: var(--white);
}

.site-topbar .bi {
    color: var(--teal);
}

/* ------------------------------ Navbar ---------------------------------- */

.navbar-main {
    background: var(--white);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.navbar-main .navbar-brand {
    padding: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 3px 8px rgba(12, 45, 77, 0.18));
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading);
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--teal-700);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.navbar-main .navbar-nav {
    gap: 0.5rem 0.75rem;
}

.navbar-main .nav-link {
    font-weight: 600;
    color: var(--blue);
    padding: 0.5rem 0.9rem;
    border-radius: 50rem;
}

.navbar-main .nav-link:hover {
    color: var(--teal-700);
    background: var(--teal-soft);
}

.navbar-main .nav-link.active {
    color: var(--white);
    background: var(--teal);
}

/* ------------------------------ Sections -------------------------------- */

.section-pad {
    padding: 4.5rem 0;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 0.5rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
}
/* ------------------------------- Hero ----------------------------------- */

.hero {
    background:
        radial-gradient(900px 380px at 85% -10%, rgba(14, 159, 147, 0.14), transparent 60%),
        radial-gradient(700px 320px at 8% 110%, rgba(12, 45, 77, 0.10), transparent 55%),
        linear-gradient(170deg, #eefaf7 0%, #f8fcfc 55%, #ffffff 100%);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 159, 147, 0.12);
    border: 1px solid rgba(14, 159, 147, 0.25);
    color: var(--teal-700);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.1rem;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 560px;
}

.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-art img {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(12, 45, 77, 0.16));
    border-radius: 24px;
}

.hero-stats {
    display: flex;
    gap: 2.2rem;
    margin-top: 2.4rem;
}

.hero-stats .stat-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.1;
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* --------------------------- Page hero (products) ------------------------ */

.page-hero {
    background:
        radial-gradient(760px 300px at 92% -20%, rgba(14, 159, 147, 0.14), transparent 60%),
        linear-gradient(170deg, #eaf7f4 0%, #f7fbfb 60%, #ffffff 100%);
    padding: 3.6rem 0 3.2rem;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 0;
}

/* ------------------------- Search / filter bar --------------------------- */

.filter-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.15rem 1.25rem;
}

/* ------------------------------ Product cards ---------------------------- */

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 159, 147, 0.35);
}

.product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #f2faf8 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.1rem;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.045);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(12, 45, 77, 0.85);
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: 50rem;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.product-card__badge.position-static {
    position: static;
}

.product-card__body {
    padding: 1.25rem 1.25rem 1.35rem;
    flex: 1;
}

.product-card__title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card__title a {
    color: var(--heading);
}

.product-card__title a:hover {
    color: var(--teal-700);
}

.product-card__desc {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-card__actions .btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
}

/* ------------------------------- No results ------------------------------ */

.no-results {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.no-results__icon {
    font-size: 2.4rem;
    color: var(--teal);
}

/* ---------------------- Featured / category sections --------------------- */

.category-tile {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 159, 147, 0.45);
}

.category-tile__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.9rem;
    border-radius: 16px;
    background: var(--teal-soft);
    color: var(--teal-700);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-tile h3 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--heading);
}

.category-tile span {
    font-size: 0.8rem;
    color: var(--muted);
}

.filter-bar .form-control,
.filter-bar .form-select {
    border-radius: 50rem;
    border-color: var(--border);
    padding: 0.62rem 1.1rem;
    font-size: 0.95rem;
    background-color: var(--white);
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.22rem rgba(14, 159, 147, 0.15);
}

.filter-bar .input-group-text {
    border-radius: 50rem 0 0 50rem;
    background: var(--white);
    border-color: var(--border);
    color: var(--teal-700);
    padding-left: 1.1rem;
    border-right: 0;
}

.filter-bar .input-group > .form-control {
    border-radius: 0 50rem 50rem 0 !important;
    border-left: 0;
}

.results-count {
    font-weight: 600;
    color: var(--heading);
    font-size: 0.95rem;
}
/* ------------------------------ Product details --------------------------- */

.breadcrumb-custom {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.breadcrumb-custom a {
    color: var(--teal-700);
    font-weight: 500;
}

.breadcrumb-custom .separator {
    margin: 0 0.55rem;
    color: #b9c6ce;
}

.breadcrumb-custom .active {
    color: var(--heading);
    font-weight: 600;
}

.product-detail-image {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #f2faf8 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.6rem;
}

.image-note {
    font-size: 0.76rem;
    color: var(--muted);
}

.product-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
}

.detail-heading {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.detail-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    max-width: 64px;
    background: linear-gradient(90deg, var(--teal), transparent);
    border-radius: 2px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.32rem 0;
    color: var(--text);
}

.detail-list li .bi {
    color: var(--teal);
    font-size: 0.95rem;
    margin-top: 0.22rem;
}

.chip {
    display: inline-block;
    background: var(--blue-soft);
    border: 1px solid rgba(12, 45, 77, 0.12);
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.42rem 0.95rem;
    border-radius: 50rem;
}

.quote-panel {
    background: linear-gradient(140deg, #eefaf7 0%, #f6fcfb 60%, #ffffff 100%);
    border: 1px solid rgba(14, 159, 147, 0.28);
    box-shadow: var(--shadow-md);
}

/* ------------------------------ Why us section ---------------------------- */

.feature-item {
    display: flex;
    gap: 1.1rem;
    padding: 1.4rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
    transition: all 0.25s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-item__icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--teal-soft);
    color: var(--teal-700);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* --------------------------------- CTA band ------------------------------- */

.cta-band {
    background: linear-gradient(120deg, var(--blue) 0%, #14486f 55%, var(--teal-dark) 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-band h2 {
    color: var(--white);
    font-weight: 700;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

/* --------------------------------- Footer --------------------------------- */

.site-footer {
    background: var(--blue-900);
    color: #b7c8da;
    margin-top: 5rem;
}

.site-footer h6 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: #b7c8da;
    font-size: 0.9rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
    color: #c6d5e4;
}

.footer-contact li .bi {
    color: var(--teal);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: #c6d5e4;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: #8fa3b8;
}

/* ------------------------- Floating WhatsApp button ------------------------ */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.40);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    color: var(--white);
}

/* ------------------------------- Responsive -------------------------------- */

/* Tablet landscape and below (< 992px) */
@media (max-width: 991.98px) {
    .hero {
        padding: 3.2rem 0 3.6rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-art {
        margin-top: 2.5rem;
    }

    .hero-collage {
        margin: 0 auto;
    }

    .section-pad {
        padding: 3.4rem 0;
    }

    .page-hero {
        padding: 2.8rem 0 2.5rem;
    }

    .cta-band {
        padding: 2.2rem 1.8rem;
        text-align: center;
    }

    .cta-band .text-lg-end {
        text-align: center !important;
    }

    .navbar-main .nav-link {
        text-align: center;
        padding: 0.6rem;
    }

    .navbar-main .btn {
        display: block;
        text-align: center;
    }

    .site-footer {
        margin-top: 4rem;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .detail-actions {
        justify-content: center;
    }
}

/* Tablet portrait (< 768px) */
@media (max-width: 767.98px) {
    .hero-stats {
        gap: 1.8rem;
        flex-wrap: wrap;
    }

    .feature-item {
        padding: 1.1rem;
    }

    .category-tile {
        padding: 1.1rem;
    }

    .category-tile__icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .hero-collage {
        max-width: 380px;
    }

    .quote-panel .d-flex.flex-column {
        width: 100%;
    }
}

/* Mobile (< 576px) */
@media (max-width: 575.98px) {
    .hero-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .hero-stats .stat-num {
        font-size: 1.4rem;
    }

    .hero-stats .stat-label {
        font-size: 0.72rem;
    }

    .hero .btn-lg {
        width: 100%;
    }

    .brand-name {
        font-size: 0.88rem;
    }

    .brand-tagline {
        font-size: 0.62rem;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .filter-bar {
        padding: 1rem;
    }

    .page-hero {
        padding: 2.2rem 0 2rem;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .cta-band {
        padding: 1.8rem 1.2rem;
        border-radius: 18px;
    }

    .cta-band h2 {
        font-size: 1.3rem;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
    }

    .product-card__body {
        padding: 1rem 1rem 1.15rem;
    }

    .product-detail-image {
        aspect-ratio: 1 / 1;
    }

    .detail-actions .btn {
        width: 100%;
        text-align: center;
    }

    .breadcrumb-custom {
        font-size: 0.78rem;
    }

    .results-count {
        display: block;
        margin-top: 0.5rem;
    }

    .hero-collage {
        max-width: 300px;
        gap: 0.75rem;
    }

    .section-divider {
        margin: 0;
    }
}
/* ------------------------------- Section divider ---------------------------- */

.section-divider {
    margin: 0;
    border-color: var(--border);
    opacity: 0.6;
}

/* ------------------------------- Hero collage ----------------------------- */

.hero-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 460px;
}

.hero-collage__item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-collage__item--large {
    grid-column: 1 / -1;
}

.hero-collage__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.9rem;
    filter: none;
    border-radius: 0;
}