/* ================================================================
   Ksheerdhara — Inner Pages (shared layout & components)
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&family=Mukta:wght@400;500;600;700&display=swap');

:root {
    --kd-green-dark: #1a4d2e;
    --kd-green-mid: #2d7a4f;
    --kd-green-light: #4aaa72;
    --kd-green-pale: #e8f5ee;
    --kd-green-soft: #c8ecd8;
    --kd-gold: #c9913d;
    --kd-gold-light: #f0c96b;
    --kd-cream: #faf7f0;
    --kd-white: #ffffff;
    --kd-text: #1c1c1c;
    --kd-text-mid: #444444;
    --kd-text-muted: #777777;
    --kd-border: #e8e4da;
    --kd-radius: 14px;
    --kd-shadow: 0 8px 28px rgba(26, 77, 46, 0.08);
}

.kd-inner {
    font-family: 'Mukta', sans-serif;
    color: var(--kd-text);
    background: var(--kd-cream);
    overflow-x: hidden;
}

/* ---- Page hero ---- */
.kd-page-hero {
    position: relative;
    min-height: 220px;
    background: linear-gradient(135deg, var(--kd-green-dark) 0%, var(--kd-green-mid) 60%, var(--kd-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 56px;
    overflow: hidden;
}

.kd-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}

.kd-page-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.kd-page-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.kd-page-hero h1 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(26px, 5vw, 42px);
    color: #fff;
    line-height: 1.25;
    margin: 0 0 10px;
}

.kd-page-hero__line {
    width: 52px;
    height: 3px;
    background: var(--kd-gold-light);
    border-radius: 2px;
    margin: 0 auto 12px;
}

.kd-page-hero__sub {
    color: rgba(255,255,255,0.88);
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.7;
    margin: 0;
}

.kd-page-hero__crumb {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.18);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
}

.kd-page-hero__crumb a,
.kd-page-hero__crumb span {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.kd-page-hero__crumb a:hover { color: #fff; }
.kd-page-hero__crumb .sep { margin: 0 6px; opacity: 0.45; }
.kd-page-hero__crumb .current { color: #fff; font-weight: 600; }

/* Hero background image */
.kd-page-hero--has-bg {
    background-color: var(--kd-green-dark);
}

.kd-page-hero--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--kd-hero-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--kd-hero-bg-pos, 90% 100%);
    pointer-events: none;
}

.kd-page-hero__bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(11, 42, 26, 0.94) 0%,
            rgba(15, 61, 36, 0.84) 32%,
            rgba(26, 77, 46, 0.52) 52%,
            rgba(26, 77, 46, 0.18) 75%,
            rgba(26, 77, 46, 0.02) 100%
        );
}

.kd-page-hero--has-bg .kd-page-hero__pattern,
.kd-page-hero--has-bg .kd-page-hero__glow {
    z-index: 2;
}

.kd-page-hero--has-bg .kd-page-hero__content,
.kd-page-hero--has-bg .kd-page-hero__stats,
.kd-page-hero--has-bg .kd-page-hero__crumb {
    position: relative;
    z-index: 3;
}

/* Compact wide banner (products) */
.kd-page-hero--compact {
    padding: 14px 20px 12px;
}

.kd-page-hero--compact.kd-page-hero--rich {
    padding: 14px 20px 12px;
}

.kd-page-hero--compact.kd-page-hero--has-bg {
    min-height: unset;
    height: 155px;
    max-height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kd-page-hero--compact .kd-page-hero__content {
    max-width: 900px;
}

.kd-page-hero--compact h1 {
    font-size: clamp(20px, 3.2vw, 30px);
    margin-bottom: 4px;
    line-height: 1.2;
}

.kd-page-hero--compact .kd-page-hero__line {
    width: 42px;
    height: 2px;
    margin-bottom: 6px;
}

.kd-page-hero--compact .kd-page-hero__sub {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 0;
    max-width: 520px;
}

.kd-page-hero--compact .kd-page-hero__badge {
    margin-bottom: 5px;
    padding: 3px 10px;
    font-size: 10px;
}

.kd-page-hero--compact .kd-page-hero__brand {
    font-size: 11px;
    margin-bottom: 4px;
}

.kd-page-hero--compact .kd-page-hero__sub {
    display: none;
}

.kd-page-hero--career-bg::before {
    background-position: 78% 62%;
}

.kd-page-hero--blog-bg::before {
    background-position: 82% 58%;
}

.kd-page-hero--product-bg::before {
    background-position: 70% 72%;
}

.kd-page-hero--contact-bg::before {
    background-position: 75% 100%;
}

.kd-page-hero--about-bg::before {
    background-position: 90% 100%;
}

.kd-page-hero--career-bg .kd-page-hero__bg-overlay,
.kd-page-hero--blog-bg .kd-page-hero__bg-overlay,
.kd-page-hero--contact-bg .kd-page-hero__bg-overlay,
.kd-page-hero--about-bg .kd-page-hero__bg-overlay,
.kd-page-hero--product-bg .kd-page-hero__bg-overlay {
    background:
        linear-gradient(90deg,
            rgba(11, 42, 26, 0.94) 0%,
            rgba(15, 61, 36, 0.84) 32%,
            rgba(26, 77, 46, 0.52) 55%,
            rgba(26, 77, 46, 0.15) 100%
        );
}

/* Rich hero variant */
.kd-page-hero--rich {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: auto;
    padding: 34px 20px 30px;
    background: linear-gradient(135deg, #0f3d24 0%, var(--kd-green-dark) 40%, var(--kd-green-mid) 100%);
}

.kd-page-hero--rich.kd-page-hero--has-bg:not(.kd-page-hero--compact) {
    background-color: var(--kd-green-dark);
    min-height: 300px;
    padding: 34px 20px 30px;
}

.kd-page-hero--rich.kd-page-hero--has-bg:not(.kd-page-hero--compact):has(.kd-page-hero__stats) {
    min-height: 360px;
    padding: 34px 20px 0;
}

.kd-page-hero--about-bg.kd-page-hero--rich.kd-page-hero--has-bg {
    min-height: 300px;
    padding: 34px 20px 30px;
}

.kd-page-hero--rich .kd-page-hero__content {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.kd-page-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.kd-page-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.kd-page-hero__glow--1 {
    width: 340px;
    height: 340px;
    top: -90px;
    right: -50px;
    background: radial-gradient(circle, rgba(201, 145, 61, 0.2) 0%, transparent 70%);
}

.kd-page-hero__glow--2 {
    width: 260px;
    height: 260px;
    bottom: 80px;
    left: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.kd-page-hero--rich .kd-page-hero__badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    margin-bottom: 10px;
}

.kd-page-hero__brand {
    color: var(--kd-gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0 0 6px;
}

.kd-page-hero--rich .kd-page-hero__line {
    background: linear-gradient(90deg, var(--kd-gold), var(--kd-gold-light));
    margin-bottom: 10px;
}

.kd-page-hero--rich .kd-page-hero__sub {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 14px;
    font-size: clamp(14px, 2vw, 15px);
    line-height: 1.6;
}

.kd-page-hero--rich h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 4.5vw, 40px);
}

.kd-page-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.kd-page-hero__pills span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.kd-page-hero__pills i {
    color: var(--kd-gold-light);
    font-size: 11px;
}

.kd-page-hero__stats {
    position: relative;
    z-index: 1;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
}

.kd-page-hero__stats-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.kd-page-hero__stats-inner--4 {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 20px;
}

.kd-page-hero__stat {
    text-align: center;
    padding: 16px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.kd-page-hero__stat:last-child { border-right: none; }

.kd-page-hero__stat-num {
    display: block;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.kd-page-hero__stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 4px;
}

.kd-page-hero--rich .kd-page-hero__crumb {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 0;
}

.kd-page-hero--rich:not(:has(.kd-page-hero__crumb)) .kd-page-hero__content {
    padding-bottom: 0;
}

.kd-page-hero--has-bg .kd-page-hero__glow--1 {
    width: 220px;
    height: 220px;
    top: -60px;
    right: 8%;
    opacity: 0.7;
}

.kd-page-hero--has-bg .kd-page-hero__glow--2 {
    display: none;
}

/* ---- Sections ---- */
.kd-inner-section {
    padding: clamp(40px, 6vw, 64px) 20px;
}

.kd-inner-section--white { background: var(--kd-white); }
.kd-inner-section--pale { background: var(--kd-green-pale); }

.kd-inner-container {
    max-width: 1140px;
    margin: 0 auto;
}

.kd-inner-container--narrow { max-width: 860px; }

.kd-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.kd-section-tag {
    display: inline-block;
    background: var(--kd-green-pale);
    color: var(--kd-green-mid);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.kd-section-title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(22px, 3.5vw, 32px);
    color: var(--kd-green-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.kd-section-desc {
    color: var(--kd-text-mid);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.kd-gold-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--kd-gold), var(--kd-gold-light));
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ---- Buttons ---- */
.kd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.kd-btn--primary {
    background: var(--kd-green-mid);
    color: #fff;
    box-shadow: 0 4px 14px rgba(45, 122, 79, 0.28);
}

.kd-btn--primary:hover {
    background: var(--kd-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.kd-btn--outline {
    background: transparent;
    color: var(--kd-green-mid);
    border: 2px solid var(--kd-green-mid);
}

.kd-btn--outline:hover {
    background: var(--kd-green-pale);
    color: var(--kd-green-dark);
}

/* ---- Product grid ---- */
.kd-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.kd-prod-card {
    background: var(--kd-white);
    border: 1px solid var(--kd-border);
    border-radius: var(--kd-radius);
    overflow: hidden;
    box-shadow: var(--kd-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.kd-prod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(26, 77, 46, 0.12);
}

.kd-prod-card__img {
    display: block;
    background: #fff;
    padding: 16px;
    height: 210px;
}

.kd-prod-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kd-prod-card__body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.kd-prod-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 8px;
    line-height: 1.35;
}

.kd-prod-card__title a {
    color: inherit;
    text-decoration: none;
}

.kd-prod-card__title a:hover { color: var(--kd-green-mid); }

.kd-prod-card__desc {
    font-size: 14px;
    color: var(--kd-text-muted);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

/* ---- Blog grid ---- */
.kd-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.kd-blog-card {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    overflow: hidden;
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
    transition: transform 0.25s;
}

.kd-blog-card:hover { transform: translateY(-4px); }

.kd-blog-card__img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.kd-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.kd-blog-card:hover .kd-blog-card__img img { transform: scale(1.04); }

.kd-blog-card__body { padding: 18px 20px 22px; }

.kd-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--kd-text-muted);
    margin-bottom: 10px;
}

.kd-blog-card__meta i { color: var(--kd-green-mid); margin-right: 4px; }

.kd-blog-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.kd-blog-card__title a {
    color: var(--kd-green-dark);
    text-decoration: none;
}

.kd-blog-card__title a:hover { color: var(--kd-green-mid); }

/* ---- Blog detail ---- */
.kd-blog-detail {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.kd-article {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    overflow: hidden;
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
}

.kd-article__img img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.kd-article__body { padding: 28px 30px 32px; }

.kd-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--kd-text-muted);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--kd-border);
}

.kd-article__content {
    font-size: 15px;
    line-height: 1.85;
    color: var(--kd-text-mid);
}

.kd-article__content img { max-width: 100%; height: auto; border-radius: 8px; }

.kd-sidebar {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    padding: 22px;
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
    position: sticky;
    top: calc(var(--kd-nav-h, 80px) + 20px);
}

.kd-sidebar__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--kd-green-pale);
}

.kd-sidebar-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--kd-border);
}

.kd-sidebar-post:last-child { border-bottom: none; }

.kd-sidebar-post__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
}

.kd-sidebar-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kd-sidebar-post__title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}

.kd-sidebar-post__title a {
    color: var(--kd-text);
    text-decoration: none;
}

.kd-sidebar-post__title a:hover { color: var(--kd-green-mid); }

.kd-sidebar-post__date { font-size: 11px; color: var(--kd-text-muted); }

/* ---- Product detail ---- */
.kd-product-detail {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.kd-product-main {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    padding: 28px;
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
    text-align: center;
}

.kd-product-main__img {
    max-width: 420px;
    margin: 0 auto 20px;
    padding: 16px;
    background: var(--kd-green-pale);
    border-radius: 12px;
}

.kd-product-main__img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.kd-product-main__title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--kd-green-dark);
    margin: 0 0 16px;
}

.kd-product-main__desc {
    text-align: left;
    font-size: 15px;
    line-height: 1.8;
    color: var(--kd-text-mid);
}

.kd-product-main__desc img { max-width: 100%; height: auto; }

/* ---- Contact cards ---- */
.kd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.kd-info-grid--contact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.kd-info-card {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    padding: 24px 22px;
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
    border-top: 4px solid var(--kd-green-mid);
    transition: transform 0.2s;
}

.kd-info-card:hover { transform: translateY(-3px); }

.kd-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--kd-green-pale);
    color: var(--kd-green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.kd-info-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 8px;
}

.kd-info-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kd-text-mid);
    margin: 0;
}

.kd-info-card__text a {
    color: var(--kd-green-mid);
    text-decoration: none;
}

.kd-info-card__text a:hover { text-decoration: underline; }

/* ---- Forms ---- */
.kd-form-panel {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
    max-width: 820px;
    margin: 0 auto;
}

.kd-form-panel .form-control,
.kd-form-panel .form-select {
    border: 1px solid #dde5e0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    line-height: 1.4;
    background: #f8faf9;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.kd-form-panel .form-control:focus {
    border-color: var(--kd-green-mid);
    box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.12);
    background: #fff;
    outline: none;
}

.kd-form-panel .kd-enquiry-phone__wrap {
    height: 48px;
    border-radius: 10px;
    border-color: #dde5e0;
    background: #f8faf9;
}

.kd-form-panel .kd-enquiry-phone__wrap:focus-within {
    border-color: var(--kd-green-mid);
    box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.12);
    background: #fff;
}

.kd-form-panel .kd-enquiry-phone__wrap:has(.is-invalid) {
    border-color: #c0392b;
    box-shadow: none;
}

.kd-form-panel .form-control.is-invalid {
    border-color: #c0392b;
    box-shadow: none;
}

.kd-form-panel textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.kd-form-panel .row > [class*="col-"] { margin-bottom: 16px; }

.kd-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--kd-text);
    margin-bottom: 6px;
}

.kd-form-required {
    color: #c0392b;
}

.kd-form-error {
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
}

.kd-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 820px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
}

.kd-form-alert > i {
    flex-shrink: 0;
    margin-top: 2px;
}

.kd-form-alert--success {
    background: #eef7f1;
    border: 1px solid #b8dfc8;
    color: var(--kd-green-dark);
}

.kd-form-alert--error {
    background: #fdf0ef;
    border: 1px solid #f0c4c0;
    color: #8b2e26;
}

.kd-form-alert__list {
    margin: 0;
    padding-left: 18px;
}

.kd-form-panel .kd-enquiry-phone {
    margin-bottom: 0;
}

.kd-btn--block-sm {
    min-width: 200px;
}

.kd-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: kd-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.js-dealership-submit[disabled] {
    opacity: 0.85;
    cursor: wait;
}

/* ---- Page loader overlay ---- */
.kd-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 61, 36, 0.55);
    backdrop-filter: blur(4px);
}

.kd-page-loader[hidden] {
    display: none !important;
}

.kd-page-loader__box {
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: calc(100% - 40px);
}

.kd-page-loader__spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 4px solid var(--kd-green-pale);
    border-top-color: var(--kd-green-mid);
    border-radius: 50%;
    animation: kd-spin 0.8s linear infinite;
}

.kd-page-loader__text {
    font-size: 16px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 6px;
}

.kd-page-loader__sub {
    font-size: 13px;
    color: var(--kd-text-muted);
}

@keyframes kd-spin {
    to { transform: rotate(360deg); }
}

/* ---- Success popup modal ---- */
.kd-success-modal .modal-dialog {
    max-width: 420px;
}

.kd-success-modal__content {
    border: none;
    border-radius: 18px;
    padding: 36px 28px 28px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(26, 77, 46, 0.18);
}

.kd-success-modal__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5ee, #c8ecd8);
    color: var(--kd-green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    animation: kd-success-pop 0.45s ease-out;
}

.kd-success-modal__title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 10px;
}

.kd-success-modal__msg {
    font-size: 15px;
    line-height: 1.65;
    color: var(--kd-text-mid);
    margin: 0 0 22px;
}

.kd-success-modal__btn {
    min-width: 140px;
}

@keyframes kd-success-pop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 575.98px) {
    .kd-btn--block-sm {
        width: 100%;
    }
}

.kd-section-head--compact {
    margin-bottom: 28px;
}

/* ---- Feature cards (dealership) ---- */
.kd-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.kd-feature-card {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    padding: 24px 22px;
    border: 1px solid var(--kd-border);
    box-shadow: var(--kd-shadow);
    border-top: 4px solid var(--kd-green-mid);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.kd-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(26, 77, 46, 0.1);
}

.kd-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--kd-green-pale);
    color: var(--kd-green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.kd-feature-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 8px;
}

.kd-feature-card__text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--kd-text-mid);
    margin: 0;
}

/* ---- Career ---- */
.kd-career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.kd-career-card {
    background: var(--kd-white);
    border: 1px solid var(--kd-border);
    border-radius: var(--kd-radius);
    box-shadow: var(--kd-shadow);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.kd-career-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--kd-green-mid), var(--kd-gold));
}

.kd-career-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(26, 77, 46, 0.12);
}

.kd-career-card__inner { padding: 22px 20px; }

.kd-career-card__badge {
    display: inline-block;
    background: var(--kd-green-pale);
    color: var(--kd-green-mid);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.kd-career-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 10px;
    line-height: 1.35;
}

.kd-career-card__desc {
    font-size: 14px;
    color: var(--kd-text-mid);
    line-height: 1.65;
    margin: 0 0 18px;
    min-height: 68px;
}

.career-details-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--kd-border);
}

.career-details-header {
    background: linear-gradient(135deg, var(--kd-green-dark), var(--kd-green-mid));
    color: #fff;
    padding: 18px 22px;
}

.career-details-header .modal-title { color: #fff; font-weight: 700; }

.career-job-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
}

.career-details-body {
    max-height: 58vh;
    overflow-y: auto;
    padding: 24px 22px;
    line-height: 1.75;
}

.career-details-footer {
    border-top: 1px solid var(--kd-border);
    padding: 14px 22px;
    background: var(--kd-green-pale);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.apply-career-modal {
    z-index: 1220 !important;
}

.apply-career-modal .modal-dialog {
    max-width: 720px;
}

.apply-career-modal__content {
    display: flex;
    flex-direction: row;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 64px rgba(11, 61, 46, 0.2);
}

.apply-career-modal__photo {
    width: 42%;
    min-height: 100%;
    align-self: stretch;
    background:
        linear-gradient(to top, rgba(11, 61, 46, 0.45) 0%, rgba(11, 61, 46, 0.15) 100%),
        url('../images/inner/career-hero-bg.png') center center / cover no-repeat;
}

.apply-career-modal__photo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 420px;
    color: #fff;
    text-align: center;
    padding: 24px;
}

.apply-career-modal__photo-inner i {
    font-size: 42px;
    opacity: 0.95;
}

.apply-career-modal__photo-inner span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.apply-career-modal__body {
    position: relative;
    flex: 1;
    width: 58%;
    padding: 32px 32px 28px;
    background: #fff;
}

.apply-career-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    opacity: 0.55;
    padding: 0;
}

.apply-career-modal__close:hover {
    opacity: 1;
}

.apply-career-modal__head {
    margin-bottom: 22px;
    padding-right: 28px;
}

.apply-career-modal__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #146c43;
    margin-bottom: 8px;
}

.apply-career-modal__title {
    font-family: 'Plus Jakarta Sans', 'Mukta', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1f1c;
    margin: 0 0 6px;
    line-height: 1.35;
}

.apply-career-modal__subtitle {
    font-size: 14px;
    color: #5f6b65;
    margin: 0;
}

.apply-career-modal__alert {
    margin-bottom: 16px;
}

.apply-career-modal__field {
    margin-bottom: 16px;
}

.apply-career-modal__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1f1c;
    margin-bottom: 6px;
}

.apply-career-modal__form .form-control {
    height: 48px;
    border: 1px solid #dde5e0;
    border-radius: 10px;
    background: #f8faf9;
    font-size: 14px;
    color: #1a1f1c;
    padding: 0 14px;
}

.apply-career-modal__form .form-control:focus {
    border-color: #146c43;
    box-shadow: 0 0 0 3px rgba(20, 108, 67, 0.12);
    background: #fff;
}

.apply-career-modal__form .form-control.is-invalid {
    border-color: #dc3545;
}

.apply-career-modal__form .kd-enquiry-phone__wrap {
    height: 48px;
    border: 1px solid #dde5e0;
    border-radius: 10px;
    background: #f8faf9;
}

.apply-career-modal__form .kd-enquiry-phone__wrap:focus-within {
    border-color: #146c43;
    box-shadow: 0 0 0 3px rgba(20, 108, 67, 0.12);
    background: #fff;
}

.apply-career-modal__form .kd-enquiry-phone__wrap:has(.is-invalid) {
    border-color: #dc3545;
}

.apply-career-modal__file {
    height: auto !important;
    min-height: 48px;
    padding: 10px 14px !important;
}

.apply-career-modal__hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #5f6b65;
    line-height: 1.45;
}

.apply-career-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #146c43, #1a8f55);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.apply-career-modal__submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.apply-career-modal__submit[disabled] {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

.apply-now-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.apply-now-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.career-scroll-note {
    font-size: 0.9rem;
    color: var(--kd-text-muted);
    font-weight: 500;
}

/* ---- Facility cards ---- */
.kd-facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.kd-facility-card {
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    overflow: hidden;
    box-shadow: var(--kd-shadow);
    border: 1px solid var(--kd-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kd-facility-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.kd-facility-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kd-facility-card__body {
    padding: 20px;
    text-align: center;
    flex: 1;
}

.kd-facility-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 10px;
}

.kd-facility-card__text {
    font-size: 14px;
    color: var(--kd-text-mid);
    line-height: 1.65;
}

/* ---- Notice ---- */
.kd-notice-list { display: flex; flex-direction: column; gap: 14px; }

.kd-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    padding: 18px 20px;
    border: 1px solid var(--kd-border);
    box-shadow: var(--kd-shadow);
}

.kd-notice-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--kd-green-pale);
    color: var(--kd-green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.kd-notice-item__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--kd-text-mid);
}

/* ---- Disclosure table ---- */
.kd-disclosure-block { margin-bottom: 28px; }

.kd-disclosure-block__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--kd-green-dark);
    margin: 0 0 12px;
    padding: 12px 16px;
    background: var(--kd-green-pale);
    border-radius: 8px;
}

.kd-table-wrap {
    overflow-x: auto;
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    border: 1px solid var(--kd-border);
    box-shadow: var(--kd-shadow);
}

.kd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.kd-table th,
.kd-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--kd-border);
}

.kd-table th {
    background: var(--kd-green-pale);
    color: var(--kd-green-dark);
    font-weight: 700;
}

.kd-table tr:last-child td { border-bottom: none; }

.kd-table a {
    color: var(--kd-green-mid);
    font-weight: 600;
    text-decoration: none;
}

.kd-table a:hover { text-decoration: underline; }

/* ---- Downloads / corners ---- */
.kd-download-list { display: flex; flex-direction: column; gap: 12px; }

.kd-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--kd-white);
    padding: 16px 20px;
    border-radius: var(--kd-radius);
    border: 1px solid var(--kd-border);
    box-shadow: var(--kd-shadow);
}

.kd-download-item__name {
    font-weight: 600;
    color: var(--kd-green-dark);
}

.kd-download-item__date {
    font-size: 13px;
    color: var(--kd-text-muted);
}

/* ---- Content prose ---- */
.kd-prose {
    font-size: 15px;
    line-height: 1.85;
    color: var(--kd-text-mid);
}

.kd-prose h2, .kd-prose h3 {
    color: var(--kd-green-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.kd-prose ul { padding-left: 1.25rem; }

.kd-empty {
    text-align: center;
    padding: 40px 20px;
    background: var(--kd-white);
    border-radius: var(--kd-radius);
    color: var(--kd-text-muted);
    border: 1px dashed var(--kd-border);
}

.kd-prose a {
    color: var(--kd-green-mid);
    font-weight: 600;
}

.kd-prose a:hover { text-decoration: underline; }

/* ---- Hide legacy pbmit conflicts inside kd-inner ---- */
.kd-inner .pbmit-ihbox-btn { display: none; }

/* ---- Legacy theme overrides (scoped to inner pages) ---- */
.kd-inner,
.kd-about-wrap {
    isolation: isolate;
}

.kd-inner img {
    max-width: 100%;
    height: auto;
}

.kd-inner .form-control,
.kd-inner .form-select {
    border: 1px solid var(--kd-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    min-height: 48px;
    background: #fff;
    color: var(--kd-text);
    width: 100%;
}

.kd-inner .form-control:focus,
.kd-inner .form-select:focus {
    border-color: var(--kd-green-mid);
    box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.12);
    outline: none;
}

.kd-inner .form-control::placeholder {
    color: #9a9a9a;
}

.kd-inner .form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--kd-green-dark);
    margin-bottom: 6px;
}

.kd-inner .form-floating > .form-control {
    min-height: 52px;
}

.kd-inner .form-floating > label {
    color: var(--kd-text-muted);
}

.kd-inner .text-muted {
    color: var(--kd-text-muted) !important;
}

.kd-inner .btn-close:focus {
    box-shadow: none;
}

.kd-login-panel {
    text-align: center;
}

.kd-login-panel .kd-section-head {
    margin-bottom: 24px;
}

.kd-login-panel__help {
    font-size: 14px;
    color: var(--kd-text-muted);
    margin: 1.25rem 0 0;
}

.kd-login-panel__help a {
    color: var(--kd-green-mid);
    font-weight: 600;
    text-decoration: none;
}

.kd-login-panel__help a:hover {
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .kd-blog-detail,
    .kd-product-detail {
        grid-template-columns: 1fr;
    }

    .kd-sidebar { position: static; }

    .apply-career-modal__content {
        flex-direction: column;
    }

    .apply-career-modal__photo {
        width: 100%;
    }

    .apply-career-modal__photo-inner {
        min-height: 160px;
    }

    .apply-career-modal__body {
        width: 100%;
        padding: 24px 20px 22px;
    }

    .kd-info-grid {
        grid-template-columns: 1fr;
    }

    .kd-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kd-disclosure-block__title {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .kd-prod-grid,
    .kd-blog-grid,
    .kd-career-grid,
    .kd-facility-grid {
        grid-template-columns: 1fr;
    }

    .kd-feature-grid {
        grid-template-columns: 1fr;
    }

    .kd-download-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .kd-notice-item {
        flex-direction: column;
        gap: 10px;
    }

    .career-details-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .career-details-footer .kd-btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .kd-page-hero { min-height: 190px; padding: 36px 16px 52px; }

    .kd-page-hero--rich {
        padding: 26px 14px 22px;
    }

    .kd-page-hero--rich.kd-page-hero--has-bg:not(.kd-page-hero--compact) {
        min-height: 260px;
        padding: 26px 14px 22px;
    }

    .kd-page-hero--rich.kd-page-hero--has-bg:not(.kd-page-hero--compact):has(.kd-page-hero__stats) {
        min-height: 320px;
        padding: 26px 14px 0;
    }

    /* About page — compact mobile hero */
    .kd-page-hero--about-bg.kd-page-hero--rich.kd-page-hero--has-bg {
        min-height: unset;
        height: auto;
        padding: 18px 14px 16px;
        justify-content: flex-start;
    }

    .kd-page-hero--about-bg .kd-page-hero__brand,
    .kd-page-hero--about-bg .kd-page-hero__sub {
        display: none;
    }

    .kd-page-hero--about-bg h1 {
        font-size: 22px;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .kd-page-hero--about-bg .kd-page-hero__badge {
        margin-bottom: 6px;
        padding: 3px 10px;
        font-size: 10px;
    }

    .kd-page-hero--about-bg .kd-page-hero__line {
        width: 40px;
        height: 2px;
        margin-bottom: 8px;
    }

    .kd-page-hero--about-bg .kd-page-hero__pills {
        gap: 6px;
    }

    .kd-page-hero--about-bg .kd-page-hero__pills span {
        width: auto;
        flex: 1 1 calc(50% - 3px);
        min-width: 0;
        font-size: 10px;
        padding: 5px 7px;
        justify-content: center;
    }

    .kd-page-hero--about-bg .kd-page-hero__pills span:last-child {
        flex: 1 1 100%;
    }

    .kd-page-hero--about-bg::before {
        background-position: 82% 100%;
    }

    .kd-page-hero__stats-inner--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .kd-page-hero--compact.kd-page-hero--has-bg {
        height: 138px;
        max-height: 138px;
        padding: 12px 14px 10px;
    }

    .kd-page-hero--has-bg::before {
        background-position: 82% 100%;
    }

    .kd-page-hero--product-bg::before {
        background-position: 72% 78%;
    }

    .kd-page-hero--has-bg .kd-page-hero__bg-overlay {
        background:
            linear-gradient(180deg,
                rgba(11, 42, 26, 0.9) 0%,
                rgba(15, 61, 36, 0.75) 50%,
                rgba(26, 77, 46, 0.35) 100%
            );
    }

    .kd-page-hero--rich .kd-page-hero__content {
        padding-bottom: 0;
    }

    .kd-page-hero__stats-inner {
        grid-template-columns: 1fr;
    }

    .kd-page-hero__stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 10px;
    }

    .kd-page-hero__stat:last-child {
        border-bottom: none;
    }

    .kd-page-hero__pills span {
        width: 100%;
        justify-content: center;
    }

    .kd-page-hero--about-bg .kd-page-hero__pills span {
        width: auto;
    }

    .kd-inner-section { padding: 32px 16px; }

    .kd-article__body { padding: 20px 18px 24px; }

    .kd-form-panel { padding: 20px 16px; }
}
