/* MD Message page redesign */
.md-message-page {
    background: #ffffff;
    color: var(--yg-ink, #1f2933);
    overflow: hidden;
}

.md-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background-image: var(--md-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.md-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 190, 24, 0.45), transparent 34%),
        linear-gradient(110deg, rgba(0, 63, 36, 0.94) 0%, rgba(0, 91, 37, 0.82) 45%, rgba(7, 55, 100, 0.48) 100%);
}

.md-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yg-yellow, #ffbe18);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.md-eyebrow::before,
.section-kicker::before {
    content: '';
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--yg-yellow, #ffbe18);
}

.md-hero h1 {
    max-width: 850px;
    font-size: clamp(2.35rem, 5vw, 4.45rem);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -0.05em;
}

.md-hero p {
    max-width: 670px;
    font-size: 1.18rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
}

.md-breadcrumb-note {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    font-size: 0.92rem;
    font-weight: 700;
}

.md-breadcrumb-note a {
    color: #fff;
    text-decoration: none;
}

.md-breadcrumb-note strong {
    color: var(--yg-yellow, #ffbe18);
}

.md-intro-section {
    padding: 88px 0 72px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f8f5 100%);
}

.md-message-card {
    border-radius: 34px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.md-photo-panel {
    height: 100%;
    min-height: 620px;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 91, 37, 0.08), rgba(228, 171, 0, 0.14));
    padding: 28px;
    display: flex;
    align-items: stretch;
}

.md-photo {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.md-photo-caption {
    position: absolute;
    left: 50px;
    right: 50px;
    bottom: 50px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
}

.md-photo-caption span {
    display: block;
    color: var(--yg-green, #08752f);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.md-photo-caption strong {
    color: var(--yg-ink, #1f2933);
    font-size: 1.05rem;
}

.md-message-content {
    padding: clamp(34px, 6vw, 66px);
}

.md-message-content h2,
.md-vision-section h2,
.md-final-cta h2 {
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: var(--yg-ink, #1f2933);
    margin-bottom: 22px;
}

.md-message-content p,
.md-vision-section p {
    color: var(--yg-muted, #667085);
    font-size: 1.02rem;
    line-height: 1.82;
    margin-bottom: 16px;
}

.md-quote-box {
    position: relative;
    margin: 28px 0;
    padding: 26px 28px 26px 76px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8, 117, 47, 0.08), rgba(255, 190, 24, 0.16));
    border-left: 6px solid var(--yg-yellow, #ffbe18);
}

.md-quote-box i {
    position: absolute;
    left: 28px;
    top: 22px;
    color: var(--yg-green, #08752f);
    font-size: 2.4rem;
}

.md-quote-box p {
    color: #243043;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
}

.md-signature-block {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.md-signature-block strong {
    display: block;
    color: var(--yg-green-dark, #005b25);
    font-size: 1.25rem;
    font-weight: 900;
}

.md-signature-block span {
    display: block;
    color: var(--yg-muted, #667085);
    font-weight: 700;
    margin-top: 4px;
}

.md-values-section {
    padding: 80px 0;
    background: #fff;
}

.md-section-title {
    max-width: 760px;
    margin: 0 auto 42px;
}

.md-section-title span {
    display: inline-flex;
    color: var(--yg-green, #08752f);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.md-section-title h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    color: var(--yg-ink, #1f2933);
    margin-bottom: 12px;
}

.md-section-title p {
    color: var(--yg-muted, #667085);
    font-size: 1.06rem;
    line-height: 1.7;
}

.md-value-card {
    padding: 30px 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.md-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.md-value-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yg-green, #08752f), var(--yg-green-dark, #005b25));
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 22px;
    box-shadow: 0 14px 30px rgba(8, 117, 47, 0.23);
}

.md-value-card:nth-child(even) .md-value-icon {
    background: linear-gradient(135deg, var(--yg-orange, #f36b0b), var(--yg-gold, #e5aa00));
    box-shadow: 0 14px 30px rgba(243, 107, 11, 0.22);
}

.md-value-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--yg-ink, #1f2933);
    margin-bottom: 10px;
}

.md-value-card p {
    color: var(--yg-muted, #667085);
    line-height: 1.7;
    margin: 0;
}

.md-vision-section {
    padding: 92px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 190, 24, 0.16), transparent 28%),
        linear-gradient(180deg, #f6f8f5, #fff);
}

.md-vision-image-wrap {
    position: relative;
    border-radius: 30px;
}

.md-vision-image {
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.md-image-badge {
    position: absolute;
    left: 28px;
    bottom: 28px;
    padding: 18px 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.md-image-badge strong {
    display: block;
    color: var(--yg-green, #08752f);
    font-size: 1.45rem;
    font-weight: 900;
}

.md-image-badge span {
    color: var(--yg-muted, #667085);
    font-weight: 700;
}

.md-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 30px;
}

.md-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #344054;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.5;
}

.md-check-list i {
    color: var(--yg-green, #08752f);
    margin-top: 2px;
}

.md-primary-btn,
.md-call-btn {
    background: linear-gradient(135deg, var(--yg-green, #08752f), var(--yg-green-dark, #005b25));
    color: #fff !important;
    border: 0;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(8, 117, 47, 0.24);
}

.md-primary-btn:hover,
.md-call-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.md-final-cta {
    padding: 76px 0 90px;
    background: #fff;
}

.md-final-cta-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(30px, 5vw, 56px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 190, 24, 0.55), transparent 30%),
        linear-gradient(135deg, var(--yg-green-deep, #003f24), var(--yg-green-dark, #005b25));
    color: #fff;
    box-shadow: 0 24px 60px rgba(0, 63, 36, 0.22);
}

.md-final-cta-inner::before {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border: 35px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.md-final-cta-inner > * {
    position: relative;
    z-index: 1;
}

.md-final-cta span {
    display: inline-block;
    color: var(--yg-yellow, #ffbe18);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.md-final-cta h2 {
    color: #fff;
    max-width: 720px;
    margin-bottom: 12px;
}

.md-final-cta p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    line-height: 1.7;
}

.md-enquire-btn {
    background: linear-gradient(135deg, var(--yg-orange, #f36b0b), var(--yg-yellow, #ffbe18));
    color: #fff !important;
    border: 0;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(243, 107, 11, 0.26);
}

.md-enquire-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .md-hero {
        min-height: 360px;
    }

    .md-intro-section,
    .md-values-section,
    .md-vision-section {
        padding: 64px 0;
    }

    .md-photo-panel {
        min-height: auto;
    }

    .md-photo {
        min-height: 420px;
    }

    .md-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .md-message-page {
        padding-top: 0;
    }

    .md-hero {
        min-height: 360px;
        padding: 68px 0;
    }

    .md-hero p {
        font-size: 1rem;
    }

    .md-message-card,
    .md-vision-image,
    .md-vision-image-wrap,
    .md-final-cta-inner {
        border-radius: 24px;
    }

    .md-photo-panel {
        padding: 16px;
    }

    .md-photo {
        min-height: 360px;
        border-radius: 20px;
    }

    .md-photo-caption {
        left: 28px;
        right: 28px;
        bottom: 28px;
        border-radius: 16px;
    }

    .md-message-content {
        padding: 30px 22px 34px;
    }

    .md-quote-box {
        padding: 22px;
    }

    .md-quote-box i {
        position: static;
        display: block;
        margin-bottom: 10px;
    }

    .md-vision-image {
        min-height: 310px;
    }

    .md-image-badge {
        left: 18px;
        bottom: 18px;
        right: 18px;
    }

    .md-call-btn,
    .md-enquire-btn,
    .md-primary-btn {
        width: 100%;
        text-align: center;
    }
}
