/* ==========================================================================
   What is Ayurveda — pixel-perfect rebuild (wa- prefix namespace)
   ========================================================================== */

/* ── Section shell ─────────────────────────────────────────────────────── */
#about-ayurveda {
    background: #F8F4EE;
    position: relative;
    overflow: hidden;
    padding-bottom: 32px;
}

/* ── Top decorative gold bar ────────────────────────────────────────────── */
.wa-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 0 auto;
    padding-top: 20px;
}

.wa-top-bar__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(196, 158, 79, 0) 0%,
            rgba(196, 158, 79, 0.55) 50%,
            rgba(196, 158, 79, 0) 100%);
}

.wa-top-bar__lotus {
    width: 42px;
    height: 28px;
    color: #c49e4f;
    margin: 0 18px;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ── Inner container ────────────────────────────────────────────────────── */
.wa-inner {
    padding-top: 20px;
}

/* ── Section header (centered) ──────────────────────────────────────────── */
.wa-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.wa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #1a6640;
    margin: 0 0 12px;
    line-height: 1;
}

.wa-leaf {
    width: 14px;
    height: 14px;
    fill: #1a6640;
    flex-shrink: 0;
}

.wa-leaf--flip {
    transform: scaleX(-1);
}

.wa-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 52px;
    font-weight: 700;
    color: #1a2e22;
    letter-spacing: -1px;
    line-height: 1.12;
    margin: 0 0 16px;
}

/* Gold lotus ornament under title */
.wa-title-sep {
    display: flex;
    align-items: center;
    width: 180px;
}

.wa-title-sep__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(196, 158, 79, 0) 0%,
            rgba(196, 158, 79, 0.4) 100%);
}

.wa-title-sep__line:last-child {
    background: linear-gradient(90deg,
            rgba(196, 158, 79, 0.4) 0%,
            rgba(196, 158, 79, 0) 100%);
}

.wa-title-sep__lotus {
    width: 22px;
    height: 14px;
    color: #c49e4f;
    flex-shrink: 0;
    margin: 0 8px;
    opacity: 0.8;
}

/* ── Main two-column row ────────────────────────────────────────────────── */
.wa-main-row {
    display: flex;
    align-items: center;
    /* keeps both cols vertically centered against each other */
    gap: 48px;
    margin-bottom: 28px;
}

/* ── Left column: large illustration ─────────────────────────────────────── */
.wa-visual {
    flex: 0 0 50%;
    /* slightly wider for bigger illustration */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    /* scroll-in animation start state */
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.wa-visual.wa--visible {
    opacity: 1;
    transform: translateX(0);
}

/* Soft circular glow behind image */
.wa-visual__glow {
    position: absolute;
    width: 88%;
    height: 88%;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(26, 102, 64, 0.06) 0%,
            rgba(248, 244, 238, 0) 68%);
    pointer-events: none;
}

.wa-visual__img {
    width: 100%;
    max-width: 570px;
    /* ~10% bigger than 520px */
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 18px 36px rgba(26, 46, 34, 0.06));
    animation: waFloat 7s ease-in-out infinite;
}

@keyframes waFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* ── Right column: description + vertical timeline ──────────────────────── */
.wa-content {
    flex: 1;
    min-width: 0;
    align-self: center;
    /* vertical center against the illustration */

    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.wa-content.wa--visible {
    opacity: 1;
    transform: translateX(0);
}

.wa-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5c51;
    margin: 0 0 32px;
    max-width: 480px;
}

/* ── Vertical timeline ──────────────────────────────────────────────────── */
.wa-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Dotted gold vertical connector behind the icons */
.wa-timeline__line {
    position: absolute;
    left: 22px;
    /* horizontally centered with 44px icon */
    top: 22px;
    bottom: 22px;
    width: 0;
    border-left: 2px dotted rgba(196, 158, 79, 0.65);
    z-index: 0;
}

.wa-step {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.wa-step.wa--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Circular white icon bubble */
.wa-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(26, 102, 64, 0.10);
    box-shadow: 0 4px 14px rgba(26, 46, 34, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.wa-step:hover .wa-step__icon {
    transform: scale(1.1);
}

.wa-step__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.wa-step__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e22;
    margin: 0 0 3px;
    letter-spacing: -0.1px;
}

.wa-step__desc {
    font-size: 13px;
    line-height: 1.45;
    color: #66796d;
    margin: 0;
}

/* ── Bottom 4-feature row ───────────────────────────────────────────────── */
.wa-features {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 20px;
    /* no border-top — ornamental divider HTML sits above */
}

/* Thin vertical separator between features */
.wa-feature__sep {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg,
            rgba(180, 180, 180, 0) 0%,
            rgba(180, 180, 180, 0.35) 40%,
            rgba(180, 180, 180, 0.35) 60%,
            rgba(180, 180, 180, 0) 100%);
    flex-shrink: 0;
    margin: 0 4px;
}

.wa-feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.wa-feature.wa--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Circular outline icon */
.wa-feature__icon-wrap {
    width: 66px;
    /* 10-15px bigger */
    height: 66px;
    border-radius: 50%;
    border: 1.5px solid rgba(26, 102, 64, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: rgba(26, 102, 64, 0.03);
}

.wa-feature:hover .wa-feature__icon-wrap {
    transform: scale(1.1);
    border-color: rgba(26, 102, 64, 0.35);
}

.wa-feature__icon-wrap img {
    width: 34px;
    /* proportionally bigger with wrapper */
    height: 34px;
    object-fit: contain;
}

.wa-feature__title {
    font-size: 15px;
    font-weight: 800;
    /* bolder */
    color: #0f5c30;
    /* darker green */
    margin: 0 0 6px;
    letter-spacing: -0.15px;
}

/* Gold ~ ✦ ~ ornament */
.wa-feature__divider {
    font-size: 10px;
    color: #c49e4f;
    letter-spacing: 2px;
    margin: 0 0 8px;
    opacity: 0.85;
    user-select: none;
}

.wa-feature__divider span {
    font-size: 7px;
}

.wa-feature__desc {
    font-size: 13px;
    line-height: 1.5;
    color: #66796d;
    margin: 0;
    max-width: 200px;
}

/* ── Decorative corner leaves ───────────────────────────────────────────── */
.wa-corner {
    position: absolute;
    bottom: 0;
    width: 160px;
    pointer-events: none;
    z-index: 0;
}

.wa-corner--left {
    left: 0;
}

.wa-corner--right {
    right: 0;
}

/* ── Ornamental divider above features ──────────────────────────────────── */
.wa-features-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wa-features-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(196, 158, 79, 0) 0%,
            rgba(196, 158, 79, 0.40) 50%,
            rgba(196, 158, 79, 0) 100%);
}

.wa-features-divider__ornament {
    flex-shrink: 0;
    margin: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c49e4f;
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.8;
    user-select: none;
}

.wa-features-divider__lotus {
    width: 28px;
    height: 18px;
    fill: #c49e4f;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .wa-title {
        font-size: 42px;
    }

    .wa-main-row {
        gap: 40px;
    }

    .wa-visual {
        flex: 0 0 46%;
    }
}

@media (max-width: 768px) {
    .wa-top-bar {
        padding-top: 32px;
    }

    .wa-inner {
        padding-top: 16px;
    }

    .wa-title {
        font-size: 34px;
    }

    .wa-main-row {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }

    .wa-visual {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        /* reset slide-in — use generic fade */
        transform: translateY(20px);
    }

    .wa-visual.wa--visible {
        transform: translateY(0);
    }

    .wa-content {
        transform: translateY(20px);
    }

    .wa-content.wa--visible {
        transform: translateY(0);
    }

    .wa-desc {
        max-width: 100%;
    }

    .wa-timeline__line {
        display: none;
    }

    /* Feature row: 2x2 grid */
    .wa-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 0;
        padding-top: 32px;
    }

    .wa-feature__sep {
        display: none;
    }

    .wa-corner {
        display: none;
    }

    #about-ayurveda {
        padding-bottom: 52px;
    }
}

@media (max-width: 480px) {
    .wa-title {
        font-size: 28px;
    }

    .wa-features {
        grid-template-columns: 1fr;
    }

    .wa-feature {
        padding: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-visual__img {
        animation: none;
    }

    .wa-visual,
    .wa-content,
    .wa-step,
    .wa-feature {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}