/* ==========================================
   SMKC LABORATORIES PAGE
   Modern technology-inspired design
========================================== */

.smkc-lab-page {
    --lab-green: #187647;
    --lab-dark: #103b2b;
    --lab-pale: #edf6ef;
    --lab-text: #263a30;
    --lab-muted: #6e7c72;
    --lab-border: #dfe8e1;

    overflow: clip;
    background: #fff;
    color: var(--lab-text);
}

.smkc-lab-page *,
.smkc-lab-page *::before,
.smkc-lab-page *::after {
    box-sizing: border-box;
}

.lab-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.smkc-lab-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smkc-lab-page a {
    text-decoration: none;
}

.lab-eyebrow,
.lab-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.lab-label {
    color: var(--lab-green);
}

/* HERO */

.lab-hero {
    position: relative;
    padding: 70px 0 85px;
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(57, 141, 87, .11),
            transparent 27%
        ),
        #f5f8f4;
}

.lab-hero-grid {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    align-items: center;
    gap: 65px;
}

.lab-hero-content {
    position: relative;
    z-index: 2;
}

.lab-eyebrow {
    color: var(--lab-green);
    margin-bottom: 24px;
}

.lab-eyebrow i {
    font-size: 17px;
}

.lab-hero h1 {
    margin: 0 0 23px;
    color: var(--lab-dark);
    font-size: clamp(39px, 4.6vw, 61px);
    font-weight: 850;
    line-height: 1.09;
    letter-spacing: -2px;
}

.lab-hero h1 span,
.lab-intro h2 span,
.lab-section-heading h2 span,
.lab-approach-content h2 span {
    color: var(--lab-green);
}

.lab-hero-content > p {
    max-width: 510px;
    margin: 0;
    color: var(--lab-muted);
    font-size: 15px;
    line-height: 1.9;
}

.lab-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 23px;
    margin-top: 30px;
}

.lab-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 49px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.lab-btn-green {
    background: var(--lab-green);
    color: #fff;
}

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

.lab-link-light {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--lab-dark);
    font-size: 12px;
    font-weight: 800;
}

.lab-link-light:hover {
    color: var(--lab-green);
}

.lab-hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--lab-border);
}

.lab-note-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 50%;
    color: var(--lab-green);
    background: #e1eee4;
}

.lab-hero-note strong,
.lab-hero-note small {
    display: block;
}

.lab-hero-note strong {
    color: var(--lab-dark);
    font-size: 13px;
}

.lab-hero-note small {
    margin-top: 5px;
    color: var(--lab-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* HERO IMAGE */

.lab-hero-visual {
    position: relative;
    min-width: 0;
    padding: 0 20px 20px 0;
}

.lab-main-photo {
    position: relative;
    z-index: 1;
    height: 460px;
    overflow: hidden;
    border-radius: 7px;
    background: #dbe8dd;
    box-shadow: 0 24px 55px rgba(16, 59, 43, .13);
}

.lab-main-photo img {
    transition: transform .6s ease;
}

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

.lab-photo-tag {
    position: absolute;
    z-index: 3;
    left: -32px;
    bottom: 52px;
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(290px, 85%);
    padding: 18px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 12px 35px rgba(16, 59, 43, .13);
}

.lab-photo-tag > i {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    color: #fff;
    background: var(--lab-green);
    border-radius: 4px;
}

.lab-photo-tag strong,
.lab-photo-tag small {
    display: block;
}

.lab-photo-tag strong {
    color: var(--lab-dark);
    font-size: 13px;
}

.lab-photo-tag small {
    margin-top: 5px;
    color: var(--lab-muted);
    font-size: 11px;
}

.lab-decor {
    position: absolute;
    width: 95px;
    height: 95px;
    border: 2px solid #9ac7a6;
}

.lab-decor-one {
    top: -20px;
    right: 0;
}

.lab-decor-two {
    bottom: 0;
    left: 25px;
    border-color: #b4d8bd;
}

/* INTRO */

.lab-intro {
    padding: 85px 0;
    border-bottom: 1px solid var(--lab-border);
}

.lab-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.lab-intro h2,
.lab-section-heading h2,
.lab-approach-content h2 {
    margin: 18px 0 0;
    color: var(--lab-dark);
    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.lab-intro-description p {
    color: var(--lab-muted);
    font-size: 16px;
    line-height: 1.95;
}

.lab-intro-description p:first-child {
    margin-top: 0;
}

/* FEATURE CARDS */

.lab-features {
    padding: 90px 0;
    background: #f6f9f6;
}

.lab-section-heading {
    max-width: 750px;
    margin: 0 auto 42px;
    text-align: center;
}

.lab-section-heading > p {
    margin: 14px 0 0;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.8;
}

.lab-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lab-feature-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 330px;
    padding: 27px 23px;
    background: #fff;
    border: 1px solid var(--lab-border);
    border-radius: 6px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lab-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(16, 59, 43, .09);
}

.lab-feature-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 26px;
    background: var(--lab-pale);
    color: var(--lab-green);
    border-radius: 5px;
    font-size: 21px;
}

.lab-feature-number {
    margin-bottom: 12px;
    color: #809086;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.lab-feature-card h3 {
    margin: 0 0 13px;
    color: var(--lab-dark);
    font-size: 20px;
    line-height: 1.4;
}

.lab-feature-card p {
    margin: 0;
    color: var(--lab-muted);
    font-size: 15px;
    line-height: 1.9;
}

.lab-card-line {
    width: 38px;
    height: 3px;
    margin-top: auto;
    padding-top: 3px;
    background: var(--lab-green);
}

.lab-feature-dark {
    background: var(--lab-dark);
    border-color: var(--lab-dark);
}

.lab-feature-dark .lab-feature-icon {
    color: #a9edbd;
    background: rgba(255, 255, 255, .1);
}

.lab-feature-dark .lab-feature-number {
    color: #a7c5b2;
}

.lab-feature-dark h3 {
    color: #fff;
}

.lab-feature-dark p {
    color: #d0e0d5;
}

.lab-feature-dark .lab-card-line {
    background: #8de1a9;
}

/* LEARNING APPROACH */

.lab-approach {
    padding: 100px 0;
}

.lab-approach-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 75px;
    align-items: center;
}

.lab-approach-visual {
    position: relative;
    min-width: 0;
    height: 510px;
    overflow: hidden;
    background: var(--lab-pale);
    border-radius: 7px;
}

.lab-approach-visual > img {
    position: absolute;
    inset: 0;
}

.lab-visual-caption {
    position: absolute;
    right: 17px;
    bottom: 17px;
    left: 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    color: #fff;
    background: rgba(16, 59, 43, .95);
    border-radius: 4px;
}

.lab-caption-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #b3efc4;
    background: rgba(255, 255, 255, .1);
    border-radius: 4px;
}

.lab-visual-caption strong,
.lab-visual-caption small {
    display: block;
}

.lab-visual-caption strong {
    font-size: 13px;
}

.lab-visual-caption small {
    margin-top: 5px;
    color: #d1e3d7;
    font-size: 11px;
}

.lab-approach-content > p {
    margin-top: 20px;
    color: var(--lab-muted);
    font-size: 16px;
    line-height: 1.9;
}

.lab-step-list {
    display: grid;
    gap: 24px;
    margin: 30px 0;
}

.lab-step {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 15px;
}

.lab-step-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--lab-green);
    background: var(--lab-pale);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.lab-step h3 {
    margin: 0 0 6px;
    color: var(--lab-dark);
    font-size: 16px;
}

.lab-step p {
    margin: 0;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.8;
}

.lab-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lab-green);
    font-size: 12px;
    font-weight: 800;
}

.lab-text-link i {
    transition: transform .2s;
}

.lab-text-link:hover i {
    transform: translateX(5px);
}

/* GALLERY */

.lab-gallery {
    padding: 85px 0 100px;
    background: #f6f9f6;
}

.lab-gallery-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 17px;
}

.lab-gallery-item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #dce9de;
}

.lab-gallery-main {
    grid-row: 1 / 3;
}

.lab-gallery-item img {
    transition: transform .5s ease;
}

.lab-gallery-item:hover img {
    transform: scale(1.05);
}

.lab-gallery-item::after {
    position: absolute;
    content: "";
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(9, 35, 24, .9));
    pointer-events: none;
}

.lab-gallery-item figcaption {
    position: absolute;
    z-index: 1;
    right: 17px;
    bottom: 17px;
    left: 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.lab-gallery-item figcaption > span {
    color: #a9e9ba;
    font-size: 12px;
    font-weight: 800;
}

.lab-gallery-item figcaption strong,
.lab-gallery-item figcaption small {
    display: block;
}

.lab-gallery-item figcaption strong {
    font-size: 13px;
}

.lab-gallery-item figcaption small {
    margin-top: 5px;
    color: #d7e5dc;
    font-size: 10px;
}

/* CTA */

.lab-cta {
    padding: 43px 0;
    background: var(--lab-green);
}

.lab-cta-inner {
    display: flex;
    align-items: center;
    gap: 22px;
}

.lab-cta-symbol {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #fff;
    font-size: 23px;
}

.lab-cta-copy {
    flex: 1;
}

.lab-cta-copy > span {
    color: #c8f0d4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.lab-cta-copy h2 {
    margin: 7px 0;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 29px);
    line-height: 1.3;
}

.lab-cta-copy p {
    margin: 0;
    color: #e0f0e5;
    font-size: 12px;
    line-height: 1.8;
}

.lab-btn-white {
    flex-shrink: 0;
    color: var(--lab-dark);
    background: #fff;
}

.lab-btn-white:hover {
    background: #e2f3e7;
    color: var(--lab-dark);
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .lab-hero-grid {
        gap: 35px;
    }

    .lab-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lab-approach-grid {
        gap: 40px;
    }

    .lab-main-photo {
        height: 420px;
    }
}

@media (max-width: 760px) {
    .lab-container {
        width: calc(100% - 32px);
    }

    .lab-hero {
        padding: 55px 0 65px;
    }

    .lab-hero-grid,
    .lab-intro-grid,
    .lab-approach-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .lab-hero h1 {
        font-size: clamp(37px, 9vw, 52px);
    }

    .lab-hero-content > p {
        font-size: 14px;
    }

    .lab-hero-visual {
        margin-left: 20px;
    }

    .lab-main-photo {
        height: 370px;
    }

    .lab-photo-tag {
        left: -20px;
        bottom: 35px;
    }

    .lab-intro,
    .lab-features,
    .lab-approach,
    .lab-gallery {
        padding: 65px 0;
    }

    .lab-intro h2,
    .lab-section-heading h2,
    .lab-approach-content h2 {
        font-size: 32px;
    }

    .lab-approach-visual {
        height: 380px;
    }

    .lab-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 270px 175px;
        gap: 12px;
    }

    .lab-gallery-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .lab-cta-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .lab-cta-copy {
        flex-basis: calc(100% - 90px);
    }

    .lab-btn-white {
        margin-left: 87px;
    }
}

@media (max-width: 430px) {
    .lab-feature-grid {
        grid-template-columns: 1fr;
    }

    .lab-feature-card {
        min-height: 275px;
    }

    .lab-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .lab-main-photo {
        height: 300px;
    }

    .lab-approach-visual {
        height: 320px;
    }

    .lab-gallery-grid {
        grid-template-rows: 230px 150px;
    }

    .lab-gallery-item figcaption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        gap: 8px;
    }

    .lab-gallery-item figcaption strong {
        font-size: 11px;
    }

    .lab-gallery-item figcaption small {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .smkc-lab-page *,
    .smkc-lab-page *::before,
    .smkc-lab-page *::after {
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}






















/* ==========================================
   SMKC LABORATORIES HERO BANNER COLOURS
   Matching Campus Facilities Banner
========================================== */

.smkc-lab-page .lab-hero {
    background: #103f32 !important;
    color: #ffffff !important;
}

/* Eyebrow text and icon */
.smkc-lab-page .lab-hero .lab-eyebrow {
    color: #e2c477 !important;
}

/* Main heading */
.smkc-lab-page .lab-hero .lab-hero-content h1 {
    color: #ffffff !important;
}

/* Highlighted heading: discovery */
.smkc-lab-page .lab-hero .lab-hero-content h1 span {
    color: #e2c477 !important;
}

/* Banner description */
.smkc-lab-page .lab-hero .lab-hero-content > p {
    color: #e5eee9 !important;
}

/* Explore Laboratories button */
.smkc-lab-page .lab-hero .lab-btn-green {
    background: #e2c477 !important;
    color: #103f32 !important;
    border: 1px solid #e2c477 !important;
}

/* Button hover */
.smkc-lab-page .lab-hero .lab-btn-green:hover {
    background: #ffffff !important;
    color: #103f32 !important;
    border-color: #ffffff !important;
}

/* Contact College link */
.smkc-lab-page .lab-hero .lab-link-light {
    color: #ffffff !important;
}

/* Contact link hover */
.smkc-lab-page .lab-hero .lab-link-light:hover {
    color: #e2c477 !important;
}

/* Learning note */
.smkc-lab-page .lab-hero .lab-hero-note strong {
    color: #ffffff !important;
}

.smkc-lab-page .lab-hero .lab-hero-note small {
    color: #e5eee9 !important;
}

/* Note icon */
.smkc-lab-page .lab-hero .lab-note-icon {
    color: #e2c477 !important;
    background: rgba(226, 196, 119, 0.14);
    border-color: rgba(226, 196, 119, 0.35);
}

/* Photo caption */
.smkc-lab-page .lab-hero .lab-photo-tag {
    background: rgba(16, 63, 50, 0.94);
    color: #ffffff !important;
}

.smkc-lab-page .lab-hero .lab-photo-tag strong {
    color: #ffffff !important;
}

.smkc-lab-page .lab-hero .lab-photo-tag small {
    color: #e2c477 !important;
}
