/* =========================================================
   NUTRICORP AGRI — RESEARCH & DEVELOPMENT PAGE
   Scoped styles: .nc-rnd-page
   ========================================================= */

.nc-rnd-page {
    --rnd-green: #19543e;
    --rnd-deep: #0e3828;
    --rnd-secondary: #3d6b4f;
    --rnd-soft: #e9ede3;
    --rnd-canvas: #f4f6f0;
    --rnd-text: #264735;
    --rnd-muted: #536859;
    --rnd-accent: #d35400;
    color: var(--rnd-text);
    background: #fff;
    overflow: hidden;
}

.nc-rnd-page h1,
.nc-rnd-page h2,
.nc-rnd-page h3,
.nc-rnd-page p {
    margin-top: 0;
}
.nc-rnd-page h1,
.nc-rnd-page h2,
.nc-rnd-page h3 {
    line-height: 1.25;
}
.nc-rnd-page h1,
.nc-rnd-page h2,
.nc-rnd-page h3 {
    line-height: 1.25;
}

.nc-rnd-page h1,
.nc-rnd-page h2 {
    font-family: var(--nc-font-heading);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.nc-rnd-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--nc-primary);
    font-size: var(--nc-eyebrow-size);
    font-weight: var(--nc-weight-medium);
    letter-spacing: .16em;
}

.nc-rnd-eyebrow > span {
    width: 25px;
    height: 2px;
    background: var(--nc-accent);
}

/* Hero */

.nc-rnd-hero, 
.nc-rnd-intro,
.nc-rnd-lab,
.nc-rnd-approach,
.nc-rnd-capabilities,
.nc-rnd-cta {
    position: relative;
    padding: 50px 0px;
}

.nc-rnd-hero {
    background: var(--nc-canvas);
}

.nc-rnd-hero h1 {
    max-width: 760px;
    margin: 24px 0;
    color: var(--rnd-deep);
    font-size: clamp(3rem, 6vw, 3rem);
    line-height: 1.25;
}

.nc-rnd-hero h1 span,
.nc-rnd-intro h2 span,
.nc-rnd-lab h2 span,
.nc-rnd-section-heading h2 span,
.nc-rnd-leadership h2 span,
.nc-rnd-cta h2 span {
    display: block;
    color: var(--rnd-secondary);
    line-height: 1.25;
}

.nc-rnd-hero-copy {
    max-width: 620px;
    color: var(--rnd-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.nc-rnd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid rgba(25, 84, 62, .18);
    color: var(--rnd-secondary);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .12em;
}

/* Research Facility Hero Image */

.nc-rnd-facility-visual {
    position: relative;
    min-height: 470px;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: var(--rnd-deep);
    box-shadow: 0 25px 65px rgba(14, 56, 40, .18);
}

.nc-rnd-facility-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .7s ease;
}

.nc-rnd-facility-visual:hover .nc-rnd-facility-image {
    transform: scale(1.035);
}

.nc-rnd-facility-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 65px 28px 28px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(9, 35, 24, .88),
        rgba(9, 35, 24, .35) 55%,
        transparent
    );
}

.nc-rnd-facility-overlay span {
    color: #c6dcac;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.nc-rnd-facility-overlay strong {
    font-family: var(--nc-font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.2;
}

.nc-rnd-facility-overlay small {
    color: rgba(255, 255, 255, .8);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
}

/* Introduction */

.nc-rnd-intro {
    background: #fff;
}

.nc-rnd-intro h2,
.nc-rnd-lab h2,
.nc-rnd-section-heading h2,
.nc-rnd-leadership h2 {
    margin: 18px 0 25px;
    color: var(--rnd-deep);
    font-size: clamp(2.5rem, 4vw, 3rem);
    line-height: 1.25;
}

.nc-rnd-intro-lead {
    color: var(--rnd-green);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.8;
}

.nc-rnd-intro .col-lg-7 > p:not(.nc-rnd-intro-lead) {
    color: var(--rnd-muted);
    line-height: 1.9;
}

/* Introduction Photography */

.nc-rnd-intro-visual {
    position: relative;
    height: 430px;
    margin-top: 65px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--rnd-deep);
    box-shadow: 0 20px 55px rgba(14, 56, 40, .12);
}

.nc-rnd-intro-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transition: transform .7s ease;
}

.nc-rnd-intro-visual:hover img {
    transform: scale(1.025);
}

.nc-rnd-intro-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 55px 30px 25px;
    color: #fff;
    background: linear-gradient( to top, rgba(9, 35, 24, .85), transparent );
}

.nc-rnd-intro-image-caption span {
    color: #c6dcac;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.nc-rnd-intro-image-caption strong {
    font-family: var(--nc-font-heading);
    font-size: 1.4rem;
    line-height: 1.3;
}

/* Laboratory */

.nc-rnd-lab {
    background: var(--nc-canvas);
}

.nc-rnd-lab-visual {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--rnd-deep);
    box-shadow: 0 20px 50px rgba(14, 56, 40, .14);
}

.nc-rnd-lab-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s ease;
}

.nc-rnd-lab-photo:hover img {
    transform: scale(1.035);
}

.nc-rnd-lab-caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 17px 20px;
    border: 1px solid rgba(25,84,62,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.82);
}

.nc-rnd-lab-caption span,
.nc-rnd-address small {
    color: var(--nc-accent);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.nc-rnd-lab-caption strong {
    color: var(--rnd-deep);
    font-size: .95rem;
}

.nc-rnd-lab > .container .col-lg-6 > p {
    color: var(--rnd-muted);
    line-height: 1.25;
}

.nc-rnd-address {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    padding: 22px;
    border: 1px solid rgba(25,84,62,.14);
    border-radius: 10px;
    background: #fff;
}

.nc-rnd-address-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rnd-soft);
    color: var(--rnd-green);
    font-size: 1.6rem;
}

.nc-rnd-address strong {
    display: block;
    margin: 7px 0;
    color: var(--rnd-deep);
}

.nc-rnd-address p {
    margin-bottom: 10px;
    color: var(--rnd-muted);
    font-size: .9rem;
    line-height: 1.7;
}

.nc-rnd-address a,
.nc-rnd-text-link {
    color: var(--rnd-green);
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
}

.nc-rnd-address a:hover,
.nc-rnd-text-link:hover {
    color: var(--nc-accent);
}

/* Capabilities */

.nc-rnd-capabilities {
    background: var(--nc-white);
}

.nc-rnd-section-heading {
    display: grid;
    grid-template-columns: 1.15fr .75fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 55px;
    line-height: 1.25;
}

.nc-rnd-section-heading h2 {
    margin-bottom: 0;
    line-height: 1.25;
}

.nc-rnd-section-heading > p {
    margin: 0 0 7px;
    color: var(--rnd-muted);
    line-height: 1.25;
}

.nc-rnd-capability-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 190px;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 26px;
    border: 1px solid rgba(25,84,62,.13);
    border-radius: 10px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease,
                border-color .25s ease;
}

.nc-rnd-capability-card:hover {
    transform: translateY(-5px);
    border-color: rgba(25,84,62,.3);
    box-shadow: 0 15px 35px rgba(14,56,40,.09);
}

.nc-rnd-card-icon {
    display: flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--rnd-soft);
    color: var(--rnd-green);
    transition: background .25s ease, color .25s ease;
}

.nc-rnd-card-icon svg {
    display: block;
    width: 36px;
    height: 36px;
}

.nc-rnd-capability-card:hover .nc-rnd-card-icon {
    background: var(--rnd-green);
    color: #fff;
}

.nc-rnd-card-content {
    min-width: 0;
    flex: 1;
}

.nc-rnd-card-number {
    position: absolute;
    top: 27px;
    right: 28px;
    color: rgba(25,84,62,.35);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.nc-rnd-card-icon {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
    border-radius: 50%;
    background: var(--rnd-soft);
    color: var(--rnd-green);
    font-family: var(--nc-font-heading);
    font-size: 1.7rem;
}

.nc-rnd-card-label {
    margin-bottom: 9px;
    color: var(--nc-accent);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.nc-rnd-capability-card h3 {
    margin-bottom: 12px;
    color: var(--rnd-deep);
    font-family: var(--nc-font-heading);
    font-size: 1.45rem;
    line-height: 1.25;
}

.nc-rnd-capability-card p {
    margin: 0;
    color: var(--rnd-muted);
    font-size: .9rem;
    line-height: 1.8;
}

/* Leadership */

.nc-rnd-leadership {
    padding: 110px 0;
    background: var(--rnd-canvas);
}

.nc-rnd-leader-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--rnd-soft);
}

.nc-rnd-leader-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 25%;
}

.nc-rnd-leader-image-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 19px 22px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: rgba(14,56,40,.88);
    color: #fff;
    backdrop-filter: blur(8px);
}

.nc-rnd-leader-image-caption span,
.nc-rnd-leader-role {
    color: var(--nc-accent);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.nc-rnd-leader-image-caption strong {
    font-family: var(--nc-font-heading);
    font-size: 1.25rem;
}

.nc-rnd-leader-name {
    margin: 10px 0 20px;
    color: var(--rnd-green);
    font-family: var(--nc-font-heading);
    font-size: 2rem;
}

.nc-rnd-leadership .col-lg-7 > p {
    color: var(--rnd-muted);
    line-height: 1.9;
}

.nc-rnd-qualification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 28px 0;
    padding: 17px 20px;
    border-left: 3px solid var(--nc-accent);
    background: #fff;
}

.nc-rnd-qualification span:first-child {
    color: var(--rnd-green);
    font-family: var(--nc-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
}

.nc-rnd-qualification span:last-child {
    color: var(--rnd-muted);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .1em;
}

/* Research in Action Gallery */

.nc-rnd-gallery {
    padding: 50px 0;
    background: var(--rnd-canvas);
}

.nc-rnd-gallery-card {
    position: relative;
    height: 340px;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--rnd-deep);
    box-shadow: 0 15px 40px rgba(14, 56, 40, .12);
}

.nc-rnd-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.nc-rnd-gallery-card:hover img {
    transform: scale(1.06);
}

.nc-rnd-gallery-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 55px 22px 20px;
    color: #fff;
    font-family: var(--nc-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(
        to top,
        rgba(9, 35, 24, .88),
        transparent
    );
}

/* Development approach */

.nc-rnd-approach {
    background: #ffffff;
}

.nc-rnd-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(25,84,62,.2);
}

.nc-rnd-step {
    position: relative;
    padding: 35px 25px 15px 0;
}

.nc-rnd-step:not(:last-child) {
    margin-right: 25px;
}

.nc-rnd-step::before {
    position: absolute;
    top: -6px;
    left: 0;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--nc-accent);
    box-shadow: 0 0 0 1px var(--nc-accent);
    content: "";
}

.nc-rnd-step > span {
    color: var(--nc-accent);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: .12em;
}

/* Research Approach Icons */

.nc-rnd-step-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(25, 84, 62, .16);
    border-radius: 50%;
    background: var(--rnd-soft);
    color: var(--rnd-green);
    transition: background .25s ease, color .25s ease,
                transform .25s ease;
}

.nc-rnd-step-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.nc-rnd-step:hover .nc-rnd-step-icon {
    transform: translateY(-3px);
    background: var(--nc-canvas);
    color: var(--nc-primary-deep);
}

.nc-rnd-step h3 {
    margin: 12px 0;
    color: var(--rnd-deep);
    font-family: var(--nc-font-heading);
    font-size: 1.55rem;
    line-height: 1.25;
}

.nc-rnd-step p {
    color: var(--rnd-muted);
    font-size: .88rem;
    line-height: 1.8;
}

/* CTA */

.nc-rnd-cta {
    background: var(--nc-accent);
}

.nc-rnd-cta-inner {
    background: 
        radial-gradient(circle at 85% 15%, rgba(133,177,111,.22), transparent 32%),
        linear-gradient(135deg, var(--rnd-deep), var(--rnd-green));
    color: #fff;
    text-align: center;
}

.nc-rnd-cta .nc-rnd-eyebrow {
    justify-content: center;
    color: #d5e5bd;
}

.nc-rnd-cta h2 {
    margin: 22px auto;
    color: #fff;
    font-size: clamp(2.4rem, 4.5vw, 3rem);
    line-height: 1.25;
}

.nc-rnd-cta h2 span {
    color: #d5e5bd;
    line-height: 1.25;
}

.nc-rnd-cta-inner > p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,.78);
    line-height: 1.85;
}

.nc-rnd-cta .btn {
    padding: 12px 23px;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 991.98px) {
    .nc-rnd-hero {
        padding: 2rem 0 5rem;
    }

.nc-rnd-facility-visual {
    min-height: 390px;
    max-width: 550px;
    margin: 0 auto;
}

.nc-rnd-intro-visual {
    height: 360px;
    margin-top: 45px;
}

.nc-rnd-gallery {
    padding: 40px 0;
}

.nc-rnd-gallery-card {
    height: 300px;
}

.nc-rnd-hero, 
.nc-rnd-intro,
.nc-rnd-lab,
nc-rnd-approach,
.nc-rnd-capabilities,
.nc-rnd-cta {
    position: relative;
    padding: 50px 0px;
}

    .nc-rnd-section-heading {
        grid-template-columns: 1fr;
        gap: 15px;
        line-height: 1.25;
    }

    .nc-rnd-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
    }
}

@media (max-width: 575.98px) {

    .nc-rnd-hero h1 {
        font-size: clamp(2.8rem, 13vw, 3rem);
        line-height: 1.25;
    }
    
    .nc-rnd-facility-visual {
        min-height: 330px;
    }

.nc-rnd-facility-overlay {
    padding: 50px 20px 22px;
}

.nc-rnd-intro-visual {
    height: 270px;
    margin-top: 35px;
}

.nc-rnd-gallery {
    padding: 60px 0;
}

.nc-rnd-gallery-card {
    height: 280px;
}

.nc-rnd-intro-image-caption {
    padding: 40px 20px 20px;
}

.nc-rnd-intro-image-caption strong {
    font-size: 1.2rem;
}

.nc-rnd-capability-card {
    gap: 16px;
    padding: 24px 20px;
    min-height: auto;
}

.nc-rnd-card-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 10px;
}

.nc-rnd-card-icon svg {
    width: 30px;
    height: 30px;
}

.nc-rnd-step-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
}

.nc-rnd-step-icon svg {
    width: 29px;
    height: 29px;
}

    .nc-rnd-intro h2,
    .nc-rnd-lab h2,
    .nc-rnd-section-heading h2,
    .nc-rnd-leadership h2 {
        font-size: 2.55rem;
        line-height: 1.25;
    }

.nc-rnd-lab-visual {
    min-height: 300px;
}

.nc-rnd-lab-caption {
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 14px 16px;
}

    .nc-rnd-leader-image,
    .nc-rnd-leader-image img {
        min-height: 400px;
        height: 400px;
    }

    .nc-rnd-steps {
        grid-template-columns: 1fr;
        padding-left: 18px;
        border-top: 0;
        border-left: 1px solid rgba(25,84,62,.2);
    }

    .nc-rnd-step {
        padding: 5px 0 20px 22px;
    }

    .nc-rnd-step:not(:last-child) {
        margin-right: 0;
    }

    .nc-rnd-step::before {
        top: 8px;
        left: -6px;
    }

    .nc-rnd-cta {
        padding: 30px 0 30px;
    }

    .nc-rnd-cta-inner {
        padding: 55px 22px;
    }
}
