/* Jabha Ayurveda - Custom Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #19C6B7;
    --primary-dark: #129c90;
    --primary-light: #e6f9f7;
    --accent-green: #234938;
    --dark-text: #22252a;
    --body-text: #555c63;
    --light-bg: #f8faf9;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-text);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================
   TOPBAR
   ======================================================== */
.jabha-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    font-size: 13px;
    color: #475569;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.topbar-tagline {
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-link {
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.topbar-link:hover {
    color: var(--primary-dark);
}

.topbar-divider {
    color: #cbd5e1;
    font-weight: 300;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-social-link {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: var(--transition);
}

.topbar-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================================
   NAVBAR
   ======================================================== */
.jabha-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.navbar-logo:hover img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Cart Button */
.nav-cart-btn {
    position: relative;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #065f46;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

.nav-cart-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Desktop CTA button */
.nav-cta-btn {
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(25, 198, 183, 0.25);
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(25, 198, 183, 0.35);
}

/* Mobile Toggle Menu Button */
.mobile-toggle-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle-btn:hover {
    background: #e2e8f0;
    color: var(--primary);
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    padding: 24px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    z-index: 99998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-backdrop.open {
    display: block;
    opacity: 1;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.mobile-drawer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.mobile-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 22px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.mobile-menu-links a {
    font-size: 15.5px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mobile-menu-links a i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.mobile-drawer-bottom {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
}

.mobile-contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.mobile-contact-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mobile-contact-link {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    word-break: break-all;
}

.mobile-contact-link i {
    color: var(--primary);
    font-size: 13px;
}

.mobile-drawer-socials {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.jabha-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14, 43, 33, 0.88) 0%, rgba(14, 43, 33, 0.65) 60%, rgba(14, 43, 33, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.jabha-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(25, 198, 183, 0.35);
    transition: var(--transition);
}

.jabha-btn:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(25, 198, 183, 0.45);
}

.jabha-btn.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.jabha-btn.btn-outline:hover {
    background: #ffffff;
    color: var(--accent-green);
}

/* ========================================================
   CARE FLIP BOXES
   ======================================================== */
.care-section {
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flip-box {
    background-color: transparent;
    height: 260px;
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.flip-box-front {
    background: #ffffff;
    border: 1px solid #edf2f7;
}

.flip-box-front img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.flip-box:hover .flip-box-front img {
    transform: scale(1.1);
}

.flip-box-front h3 {
    font-size: 20px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.flip-box-front p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.flip-box-back {
    background: linear-gradient(135deg, var(--accent-green) 0%, #173226 100%);
    color: #ffffff;
    transform: rotateY(180deg);
}

.flip-box-back h3 {
    color: #ffffff;
    font-size: 19px;
    margin-bottom: 10px;
}

.flip-box-back p {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ========================================================
   ELEMENTSKIT ICONS FONT DEFINITIONS
   ======================================================== */
@font-face {
    font-family: 'elementskit';
    src: url('../fonts/elementskit.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.icon-Support-2:before,
.icon-Massage-table:before,
.icon-medicine:before,
.icon-Physiotherapy:before,
.icon-hot-stone:before,
.icon-medicine-1:before,
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: 'elementskit' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-Support-2:before { content: "\ebe0"; }
.icon-Massage-table:before { content: "\ebcf"; }
.icon-medicine:before { content: "\ead7"; }
.icon-Physiotherapy:before { content: "\ebd6"; }
.icon-hot-stone:before { content: "\ebcb"; }
.icon-medicine-1:before { content: "\eadb"; }

/* ========================================================
   ABOUT INTRO SECTION (Home Page)
   ======================================================== */
.about-intro-section {
    padding: 60px 0;
    background-color: #ffffff;
    background-image: url('../images/jabha/bg-department.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    position: relative;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-intro-image-wrap {
    display: flex;
    justify-content: center;
}

.about-intro-image-wrap img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.about-intro-image-wrap:hover img {
    transform: scale(1.02);
}

.about-intro-subtitle {
    color: #169288;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.about-intro-title {
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.about-intro-desc {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 20px;
}

.about-intro-checklist {
    list-style: none;
    margin-bottom: 26px;
    padding: 0;
}

.about-intro-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #222222;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.about-intro-checklist li i {
    color: #14AFA2;
    font-size: 14px;
    flex-shrink: 0;
}

.jabha-btn-teal {
    display: inline-block;
    background-color: #19C6B7;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 9px 45px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.4s ease, transform 0.2s ease;
    box-shadow: none;
}

.jabha-btn-teal:hover {
    background-color: #169288;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================================
   CARE & SERVICES SECTION ("Natural Care for Natural You")
   ======================================================== */
.services-care-section {
    background-color: #E8F7ED;
    padding: 60px 0 70px 0;
    position: relative;
}

.services-care-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px auto;
}

.services-care-title {
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
}

.services-care-subtitle {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4em;
    max-width: 650px;
    margin: 0 auto;
}

.services-care-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 35px;
}

.service-feature-col {
    display: flex;
    flex-direction: column;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    padding-bottom: 22px;
}

.service-feature-item:last-child {
    padding-bottom: 0;
}

.feature-icon-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.feature-icon-box {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background-color: #14AFA2;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 25px;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-icon-box i {
    font-size: 25px;
    color: #ffffff;
    line-height: 1;
}

.service-feature-item:hover .feature-icon-box {
    background-color: #169288;
    transform: scale(1.05);
}

.feature-line {
    position: absolute;
    top: 45px;
    bottom: -22px;
    left: 22px;
    width: 1px;
    background-color: #169288;
    z-index: 1;
}

.feature-text-wrap {
    flex: 1;
}

.feature-title {
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-desc {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
}

.service-center-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-center-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.service-center-image-wrap:hover img {
    transform: scale(1.02);
}

/* ========================================================
   STATISTICS COUNTER SECTION (Light Overlay)
   ======================================================== */
.stats-counter-section {
    position: relative;
    background-color: #E8F7ED;
    background-image: url('../images/jabha/overlay-4.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0 35px 0;
    overflow: hidden;
}

.stats-counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E8F7ED;
    opacity: 0.35;
    z-index: 1;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-counter-col {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-svg-wrap {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.stats-counter-col:hover .stats-svg-wrap {
    transform: translateY(-3px);
}

.stats-svg-wrap svg {
    width: 70px;
    height: 70px;
    fill: #19C6B7;
}

.stats-counter-number {
    color: #3B476F;
    font-family: 'Poppins', sans-serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.1;
    margin-top: -6px;
    margin-bottom: 2px;
}

.stats-counter-title {
    color: #14AFA2;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: 0.2px;
}

/* ========================================================
   ABOUT SECTION
   ======================================================== */
.about-section {
    padding: 90px 0;
    background: #ffffff;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-rounded-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-rounded-wrap img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.image-rounded-wrap:hover img {
    transform: scale(1.04);
}

.section-tag {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 34px;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-desc {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #334155;
}

.check-list li i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 3px;
}

/* ========================================================
   SERVICES / TREATMENTS SECTION
   ======================================================== */
.services-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.services-tri-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.service-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

/* ========================================================
   COUNTER STATS SECTION (With mountain shape dividers)
   ======================================================== */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, #184333 0%, #102d22 100%);
    color: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.mountain-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.mountain-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.mountain-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.mountain-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 16px;
    color: #cbd5e1;
}

/* ========================================================
   PRODUCTS GRID & CARDS
   ======================================================== */
.products-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.related-products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(25, 198, 183, 0.16);
    border-color: #a7f3d0;
}

.product-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.product-thumb a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.06);
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 11.5px;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-title a {
    color: inherit;
    transition: color 0.2s;
}

.product-title a:hover {
    color: var(--primary);
}

.product-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    gap: 10px;
}

.product-price {
    font-size: 17px;
    font-weight: 800;
    color: #15803d;
}

.product-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.product-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* ========================================================
   TESTIMONIALS SECTION
   ======================================================== */
.testimonials-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 14px;
    color: #475569;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
}

.author-role {
    font-size: 12.5px;
    color: #94a3b8;
}

/* ========================================================
   APPOINTMENT / CONTACT FORM SECTION
   ======================================================== */
.appointment-section {
    padding: 90px 0;
    background: #ffffff;
}

.form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14.5px;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 198, 183, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* ========================================================
   FOOTER
   ======================================================== */
.jabha-footer {
    background: #12281e;
    color: #e2e8f0;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #cbd5e1;
}

.footer-info-item i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13.5px;
    color: #94a3b8;
}

/* ========================================================
   PAGE BANNER (About, Products, Contact)
   ======================================================== */
.page-banner {
    position: relative;
    padding: 85px 0 100px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 43, 33, 0.82);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-nav a {
    color: #e2e8f0;
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.banner-shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 35px;
    overflow: hidden;
    z-index: 3;
}

.banner-shape-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #ffffff;
}

/* ========================================================
   ABOUT PAGE - BOTANICAL PATTERN COUNTER SECTION
   ======================================================== */
.about-stats-pattern-section {
    position: relative;
    background-image: url('../images/jabha/medicinal-herbs-pattern.jpg');
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
    padding: 75px 0;
    overflow: hidden;
}

.about-shape-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    z-index: 2;
}

.about-shape-top svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #ffffff;
}

.about-shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    z-index: 2;
    transform: rotate(180deg);
}

.about-shape-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #ffffff;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-stat-number {
    color: #3B476F;
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 6px;
}

.about-stat-label {
    color: #14AFA2;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* ========================================================
   ABOUT PAGE - FOUNDER SECTION
   ======================================================== */
.founder-section {
    padding: 70px 0;
    background: #ffffff;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.founder-img-wrap {
    display: flex;
    justify-content: center;
}

.founder-img-wrap img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 8px;
    border: 3px solid #222222;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.founder-img-wrap:hover img {
    transform: scale(1.02);
}

/* ========================================================
   ABOUT PAGE - CORE VALUES SECTION
   ======================================================== */
.values-section {
    padding: 70px 0;
    background: #ffffff;
}

.values-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.value-card {
    text-align: center;
    padding: 10px 15px;
}

.value-icon {
    font-size: 42px;
    color: #19C6B7;
    margin-bottom: 18px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14.5px;
    color: #666666;
    line-height: 1.6;
}

/* ========================================================
   ABOUT PAGE - LIFE EXPERIENCE SECTION
   ======================================================== */
.life-exp-section {
    background-color: #EAEEF6;
    padding: 70px 0;
    overflow: hidden;
}

.life-exp-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.life-exp-subtitle {
    color: #14AFA2;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.life-exp-title {
    font-size: 44px;
    font-weight: 700;
    color: #222222;
    line-height: 1.2;
    margin-bottom: 16px;
}

.life-exp-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.65;
    margin-bottom: 30px;
}

.life-exp-action-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.life-exp-office-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.life-exp-office-icon {
    color: #19C6B7;
    font-size: 26px;
    margin-top: 2px;
}

.life-exp-office-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 4px;
}

.life-exp-office-text p {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.5;
}

.life-exp-img-wrap {
    display: flex;
    justify-content: center;
}

.life-exp-img-wrap img {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.life-exp-img-wrap:hover img {
    transform: scale(1.02);
}

/* ========================================================
   CONTACT PAGE STYLES
   ======================================================== */
.contact-map-wrap {
    width: 100%;
    height: 380px;
    filter: grayscale(15%);
}

.contact-cards-section {
    padding: 60px 0 35px;
    background: #ffffff;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.contact-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

.contact-card a {
    color: var(--dark-text);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary);
}

/* Progress bar */
.amenities-bar {
    margin-bottom: 22px;
}

.bar-title {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.bar-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 9999px;
}

/* ========================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 992px) {
    /* Header & Topbar */
    .jabha-topbar {
        display: none !important;
    }
    .navbar-container {
        height: 64px;
    }
    .navbar-logo img {
        height: 38px;
    }
    .nav-menu,
    .nav-cta-btn {
        display: none !important;
    }
    .mobile-toggle-btn {
        display: flex !important;
    }

    /* Grids */
    .care-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .products-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .product-thumb {
        height: 200px;
    }
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .about-intro-title {
        font-size: 34px;
    }
    .services-care-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .service-center-image-wrap {
        order: -1;
    }
    .services-care-title {
        font-size: 36px;
    }
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .life-exp-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .life-exp-title {
        font-size: 32px;
    }
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-title {
        font-size: 34px;
    }
    .page-banner {
        padding: 60px 0 70px 0;
    }
    .page-banner h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 14px;
    }
    .care-grid {
        grid-template-columns: 1fr;
    }
    
    /* Modern 2-Column Product Grid for Mobile */
    .products-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }
    .product-card {
        border-radius: 12px;
    }
    .product-thumb {
        height: 155px;
        padding: 10px;
    }
    .product-info {
        padding: 12px 10px;
    }
    .product-cat {
        font-size: 10px;
        margin-bottom: 3px;
        letter-spacing: 0.3px;
    }
    .product-title {
        font-size: 13.5px;
        line-height: 1.35;
        min-height: 36px;
        margin-bottom: 4px;
    }
    .product-desc {
        display: none; /* Keep 2-column mobile cards clean and consistent */
    }
    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-top: 8px;
    }
    .product-price {
        font-size: 15px;
        text-align: left;
    }
    .product-btn {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 6px 10px;
    }

    .about-intro-title {
        font-size: 26px;
    }
    .services-care-title {
        font-size: 26px;
    }
    .stats-counter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stats-counter-number {
        font-size: 36px;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-stat-number {
        font-size: 40px;
    }
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .life-exp-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-map-wrap {
        height: 250px;
    }
    .form-box {
        padding: 24px 18px;
    }
    .hero-title {
        font-size: 26px;
    }
    .section-title {
        font-size: 26px;
    }
    .life-exp-title {
        font-size: 26px;
    }
    .jabha-btn {
        width: 100%;
        justify-content: center;
    }
    .jabha-btn-teal {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .products-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    .product-thumb {
        height: 200px;
    }
}
