:root {
    /* ===== KM SATIVA THEME ===== */
    --light-cream: #fdfbf7;
    --mint-tint: #eef7e0;
    --white: #ffffff;
    --card-bg: #ffffff;

    --dark-green: #225902;
    --dark-green-2: #143b02;
    --mid-green: #4f8a1f;
    --sage-band: #6fae2c;

    --golden-yellow: #8fc94a;
    --golden-light: #b7e176;
    --border-gold: #6fae2c;
    --premium-gold: #d4a94a;

    --offer-box-bg: #e8f3d9;
    --offer-box-border: #cbeaa0;

    --heading-green: #1a4d0a;
    --text-gray: #555555;

    --green-gradient: linear-gradient(135deg, #2d6b05 0%, #225902 45%, #143b02 100%);
    --green-gradient-soft: linear-gradient(160deg, #a8d766 0%, #4f8a1f 45%, #225902 100%);
    --gold-gradient: linear-gradient(135deg, #6fae2c 0%, #3f7a12 55%, #225902 100%);
    --gold-gradient-soft: linear-gradient(135deg, #e3f5c0 0%, #b7e176 45%, #8fc94a 100%);
    --green-gradient-dim: linear-gradient(135deg, #163f03 0%, #0f2c02 55%, #081c01 100%);
}

/* --- UTILS --- */
.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    padding: 0 40px;
}

.section-header h2::before, .section-header h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 4px;
}

.section-header h2::before { left: -100px; }
.section-header h2::after { right: -100px; }

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 10px;
}

.container-max {
    max-width: 1280px;
    margin: 0 auto;
}

.jh {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-cream);
    color: var(--dark-green);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -------------------- Journey Hero -------------------- */
.jh-hero {
    position: relative;
    overflow: hidden;
    padding: 0 8%;
    height: calc(100vh - 100px);
    min-height: 520px;
    max-height: 760px;
    display: flex;
    align-items: center;
    background: url('png/o_journeyf.png') center/cover no-repeat;
}

.jh-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.jh-hero-text .hero-tag {
    display: inline-block;
    color: var(--heading-green);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #f3fbe4 0%, #e3f5c0 100%);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(111, 174, 44, 0.5);
    box-shadow: 0 2px 10px rgba(111, 174, 44, 0.25);
}

.jh-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    line-height: 1.15;
    color: var(--dark-green);
    margin: 14px 0 20px;
}

.jh-hero-text h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jh-hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.jh-hero-divider .line {
    width: 48px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 4px;
}

.jh-hero-divider p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark-green-2);
}

.jh-hero-desc {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 34px;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-gradient);
    animation: float 4s ease-in-out infinite;
}
.dot-1 { width: 16px; height: 16px; opacity: 0.4; top: 8%; left: 15%; animation-delay: 0s; }
.dot-2 { width: 24px; height: 24px; opacity: 0.3; top: 42%; right: 8%; animation-delay: 1.5s; }
.dot-3 { width: 12px; height: 12px; opacity: 0.5; bottom: 16%; left: 10%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (min-width: 900px) {
    .jh-hero-inner { grid-template-columns: 1fr 1fr; }
    .jh-hero-text h1 { font-size: 4.5rem; }
}


/* ============================================
   JOURNEY VIDEO MODAL (Pure CSS — No JS)
   ============================================ */

/* Trigger button styling (label as button) */
.journey-video-trigger {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    text-align: center;
}

/* Modal wrapper — hidden by default */
.journey-video-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
    z-index: 9999; /* Header/Navbar mela varum */
}

/* ✅ When checkbox is checked → modal visible */
.journey-video-toggle:checked ~ .journey-video-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Dark blurred overlay */
.journey-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 28, 1, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

/* Video box (Desktop Default) */
.journey-video-box {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 960px;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.journey-video-toggle:checked ~ .journey-video-modal .journey-video-box {
    transform: scale(1);
}

/* Video wrapper (Desktop Default) */
.journey-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55),
                0 0 0 3px rgba(183, 225, 118, 0.35);
    background: #000;
    line-height: 0;
}

.journey-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: contain;
}

/* Close button */
.journey-video-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #b7e176 0%, #4f8a1f 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, background 0.25s ease;
    z-index: 3;
    line-height: 1;
    user-select: none;
}

.journey-video-close:hover {
    transform: rotate(90deg) scale(1.08);
    background: linear-gradient(135deg, #225902 0%, #143b02 100%);
}

/* Lock background scroll when modal open */
body:has(.journey-video-toggle:checked) {
    overflow: hidden;
}

/* ===================== MOBILE PORTRAIT RIGHT-SIDE OVERRIDE ===================== */
@media (max-width: 768px) {
    .journey-video-modal {
        align-items: flex-end; /* Bottom la align aagum */
        justify-content: flex-end; /* Right side la align aagum */
        padding: 20px; /* Screen oaram irundhu konjam gap */
    }

    .journey-video-box {
        width: 75vw; /* Compact width */
        max-width: 280px; /* Romba perusa aagama irukka */
        margin: 0;
        transform: translateY(20px) scale(0.95); /* Slide up + scale animation */
    }

    .journey-video-toggle:checked ~ .journey-video-modal .journey-video-box {
        transform: translateY(0) scale(1); /* Smooth ah position ku varum */
    }

    .journey-video-wrapper {
        aspect-ratio: 9 / 16; /* Force Portrait shape (9:16 ratio) */
        border-radius: 12px;
    }

    .journey-video-wrapper video {
        max-height: none; /* Old restriction remove panniten */
        height: 100%;
        width: 100%;
        object-fit: contain; /* Horizontal video ah irundha black bars varum, aana box portrait ah irukkum */
    }

    .journey-video-close {
        top: -12px;
        right: -12px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ===================== JOURNEY STORY INTRO ===================== */
.jh-story-narrative {
    position: relative;
    padding: 30px 2%;
    background: linear-gradient(180deg, var(--light-cream) 0%, var(--mint-tint) 100%);
    overflow: hidden;
}

.jh-story-narrative::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--gold-gradient-soft);
    opacity: 0.22;
    filter: blur(10px);
}

.jh-story-narrative::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--green-gradient-soft);
    opacity: 0.16;
    filter: blur(10px);
}

.jh-story-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 0;
    padding: 0;
}

.jh-story-tag {
    display: inline-block;
    color: var(--heading-green);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f3fbe4 0%, #e3f5c0 100%);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(111, 174, 44, 0.5);
}

.jh-story-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--golden-yellow);
    opacity: 0.5;
    margin-bottom: -6px;
}

.jh-story-lead {
    font-family: 'Playfair Display', serif;
    font-size:36px;
    font-style: italic;
    color: var(--dark-green);
    line-height: 1.4;
    margin: 0 auto 46px;
    max-width: 640px;
}

.jh-story-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    margin-bottom: 40px;
}

.jh-story-point {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 8px 20px rgba(34, 89, 2, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.jh-story-point:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(34, 89, 2, 0.14);
    border-color: var(--golden-yellow);
}

.jh-story-point-icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--green-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(11,74,58,0.2);
}

.jh-story-point-icon svg {
    width: 42px;
    height: 52px;
    color: var(--white);
}

.jh-story-point-body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--dark-green);
    margin: 0 0 6px;
}

.jh-story-point-body p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin: 0;
}

.jh-story-closing {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--heading-green);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-top: 30px;
}

.jh-story-closing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 4px;
}

@media (min-width: 800px) {
    .jh-story-points {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .jh-story-point {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .jh-story-narrative { padding: 50px 6%; }
    .jh-story-lead { font-size: 1.3rem; margin-bottom: 34px; }
    .jh-story-point { padding: 20px; }
}

/* -------------------- Vision & Mission -------------------- */
.jh-vm4 {
    padding: 90px 8%;
    background: var(--light-cream);
}

.jh-vm4 .section-header h2 {
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jh-vm4-path {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
}

.jh-vm4-stop {
    width: 100%;
    display: flex;
}

.jh-vm4-card {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: 22px;
    box-shadow:  2px 3px 4px rgba(4, 30, 59, 0.4);
    padding: 44px 40px 36px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.jh-vm4-stop:hover .jh-vm4-card {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(11,74,58,0.16);
}

.jh-vm4-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.35s ease;
}

.jh-vm4-stop:hover .jh-vm4-circle {
    transform: scale(1.08);
}

.jh-vm4-circle svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.jh-vm4-circle--vision { /*background: var(--green-gradient); box-shadow: 0 10px 22px rgba(34,89,2,0.3);*/background: var(--gold-gradient); box-shadow: 0 10px 22px rgba(212,175,55,0.35); }
.jh-vm4-circle--mission { background: var(--gold-gradient); box-shadow: 0 10px 22px rgba(212,175,55,0.35); }

.jh-vm4-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--premium-gold);
    margin-bottom: 10px;
}

.jh-vm4-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--dark-green);
    margin-bottom: 14px;
}

.jh-vm4-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.75;
}

@media (min-width: 900px) {
    .jh-vm4-path {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .jh-vm4-card { padding: 36px 26px 28px; }
    .jh-vm4-circle { width: 60px; height: 60px; }
    .jh-vm4-circle svg { width: 26px; height: 26px; }
}



/* -------------------- Our Specialities -------------------- */
.jh-spec {
    padding: 80px 8%;
    background: var(--white);
}

.jh-spec .section-header {
    margin-bottom: 40px;
}

.jh-spec .section-header h2 {
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jh-spec-list {
    max-width: 1080px;
    margin: 0 auto;
}

.jh-spec-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding: 20px 0;
    padding-left: 18px;
    border-bottom: 1px solid rgba(34, 89, 2, 0.12);
    border-left: 3px solid transparent;
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.jh-spec-row:last-child {
    border-bottom: none;
}

.jh-spec-row:hover {
    border-left: 3px solid var(--premium-gold);
    background: rgba(34, 89, 2, 0.03);
    transform: translateX(6px);
}

.jh-spec-row-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    width: 280px;
}

.jh-spec-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--mint-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.jh-spec-row:hover .jh-spec-icon {
    background: var(--dark-green);
    box-shadow: 0 8px 18px rgba(34, 89, 2, 0.32);
}

.jh-spec-icon svg {
    width: 26px;
    height: 26px;
    color: var(--mid-green);
    transition: color 0.3s ease;
}

.jh-spec-row:hover .jh-spec-icon svg {
    color: var(--white);
}

.jh-spec-row h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
    margin: 0;
    line-height: 1.3;
}

.jh-spec-row p {
    flex: 1;
    min-width: 260px;
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 800px) {
    .jh-spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .jh-spec-row-left { width: 100%; }
    .jh-spec-row p { min-width: 0; }
}

@media (max-width: 768px) {
    .jh-spec { padding: 60px 6%; }
}

/* -------------------- Our Specialities: BG Decoration -------------------- */
.jh-spec {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.jh-spec::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--gold-gradient-soft);
    opacity: 0.25;
    filter: blur(40px);
    z-index: -1;
    animation: spec-float-1 8s ease-in-out infinite;
}

.jh-spec::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--green-gradient-soft);
    opacity: 0.18;
    filter: blur(45px);
    z-index: -1;
    animation: spec-float-2 9s ease-in-out infinite;
}

@keyframes spec-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 25px) scale(1.08); }
}

@keyframes spec-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.06); }
}

.jh-spec-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-gradient);
    opacity: 0.35;
    z-index: -1;
    animation: spec-dot-float 5s ease-in-out infinite;
}

.jh-spec-dot--1 { width: 12px; height: 12px; top: 18%; left: 6%; animation-delay: 0s; }
.jh-spec-dot--2 { width: 18px; height: 18px; top: 65%; right: 8%; animation-delay: 1.2s; }
.jh-spec-dot--3 { width: 9px; height: 9px; bottom: 10%; left: 14%; animation-delay: 2.4s; }

@keyframes spec-dot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@media (max-width: 768px) {
    .jh-spec::before, .jh-spec::after { width: 200px; height: 200px; }
}
















/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .jh-hero {
        height: auto;
        min-height: 480px;
        max-height: none;
        padding: 60px 6%;
    }
    .jh-hero-text h1 { font-size: 2.1rem; }
    .jh-hero-divider p { font-size: 1rem; }
    .jh-hero-desc { font-size: 0.95rem; }

    .jh-vm, .jh-spec { padding: 50px 6%; }
    .jh-vm-card { flex-direction: column; padding: 30px 22px; }
}

@media (max-width: 480px) {
    .jh-hero-text h1 { font-size: 1.7rem; }
    .jh-hero-text .hero-tag { font-size: 0.7rem; padding: 6px 14px; }
    .jh-hero-desc { font-size: 0.9rem; }
}