/* --- Reset and base styles --- */
/* body {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
            background-color: #fff;
            color: #444;
        } */


/* --- Hero Section --- */
#cannabis-hero {
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.1) !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 20rem 0 !important;
    /* padding-top: 18rem !important; */
    position: relative;
}



/* ===== PERFECT CONTRAST COLOR SYSTEM ===== */
:root {
    /* Teal Palette */
    --teal-main: #00A693;
    --teal-dark: #006B5F;
    --teal-light: #E6F6F4;
    --teal-accent: #00dec9;
    /* Backgrounds */
    --bg-clean: #FFFFFF;
    --bg-subtle: #F8FCFB; /* Very faint teal-white */
    /* Text */
    --text-main: #1A2226;
    --text-muted: #5A6B70;
    /* Borders & Glass */
    --border-teal: rgba(0, 166, 147, 0.15);
    --glass-white: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --lab-teal: #00A693;
    --lab-teal-dark: #006B5F;
    --lab-teal-light: #F0F9F8; /* Light wash for cards/bg */
}

.transition-hover {
    transition: all 0.3s ease-in-out;
}

    .transition-hover:hover {
        background-color: #ffffff !important;
        transform: translateY(-8px);
        border-color: var(--teal-main) !important;
        box-shadow: 0 15px 35px rgba(0, 166, 147, 0.1) !important;
    }

h2, .display-5 {
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.teal-gradient-text {
    background: linear-gradient(135deg, var(--lab-teal) 0%, var(--lab-teal-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== 3. COMPONENT: LAB CARDS ===== */
.lab-card {
    background: var(--bg-white);
    border: 1px solid #E9F2F1;
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: var(--transition);
}

    .lab-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 166, 147, 0.08);
        border-color: var(--lab-teal);
    }

/* ===== 4. COMPONENT: BUTTONS ===== */
.btn-lab-teal {
    background: var(--lab-teal);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 166, 147, 0.2);
}

    .btn-lab-teal:hover {
        background: var(--lab-teal-dark);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 166, 147, 0.3);
    }

    .btn-lab-teal i {
        transition: transform 0.3s ease;
    }

    .btn-lab-teal:hover i {
        transform: translateX(5px);
    }

/* ===== 5. COMPONENT: BADGES ===== */
.lab-badge {
    padding: 0.5rem 1.25rem;
    background: var(--lab-teal-light);
    border: 1px solid rgba(0, 166, 147, 0.2);
    border-radius: 50px;
    color: var(--lab-teal);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== 6. UTILITIES ===== */
.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--lab-teal);
}

.line-height-lg {
    line-height: 1.8;
}


/*  --- How It Works Section --- */
#how-it-works {
    background-color: none;
    padding: 7rem 1rem;
    max-width: 1140px;
    margin: 0 auto 4rem;
    text-align: center;
}

    #how-it-works h2 {
        font-weight: 700;
        color: #005a54;
        margin-bottom: 5rem;
    }

    #how-it-works .steps-row {
        display: flex;
        flex-wrap: wrap;
        gap: 4rem;
        justify-content: center;
        margin-bottom: 2rem !important;
    }

    #how-it-works .step {
        flex: 1 1 250px;
        max-width: 320px;
        text-align: center;
    }

    #how-it-works svg {
        width: 3rem;
        height: 3rem;
        color: #00bba9;
        margin-bottom: 1rem;
    }

    #how-it-works h5 {
        color: #005a54;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    #how-it-works p {
        font-size: 1rem;
        color: #666;
        margin: 0 auto;
    }


/* till here */


/* --- Responsive Media Queries --- */
@media (max-width: 767px) {

    .container-lg > .row > .col-md-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-top: 3rem !important;
        padding: 0;
    }

    .container-lg > .row > .col-md-8 {
        width: 100% !important;
    }
}


@media (min-width: 768px) and (max-width: 991px) {

    .container-lg > .row > .col-md-4 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        margin-top: 3rem !important;
        flex: 1 1 100%;
    }

    .container-lg > .row > .col-md-8 {
        width: 100% !important;
    }

    #faqAccordion {
        font-size: 1rem;
    }
}



/* Animation keyframes (optional) */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Media section */

.video-thumb-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    margin-bottom: 0rem !important;
    /* or less */
    padding-bottom: 0 !important;
    position: relative;
}

    .video-thumb-wrapper:hover {
        transform: scale(1.015);
    }

.video-thumb-img-wrapper {
    position: relative;
    max-height: 100px;
    /* ↓ from 160px */
    overflow: hidden;
}

    .video-thumb-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        /* shift image so top is visible */
    }


    .video-thumb-img-wrapper:hover .video-overlay {
        opacity: 1;
    }

.play-icon {
    font-size: 1.8rem;
    /* ↓ slightly smaller */
    color: white;
}

.extra-small-text {
    font-size: 0.75rem;
    /* Tightens the title */
}

/* Video overlay reused globally */

.video-thumb-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: height 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-thumb-wrapper:hover .video-overlay {
    height: 100%;
}

.video-overlay .play-icon {
    font-size: 3rem;
    color: white;
}

.video-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

#section-videos .text-center {
    text-align: left !important;
    /* override any center */
    padding-left: 1.5rem;
    /* left padding for spacing */
    font-size: 1.1rem;
}

#section-videos h1 {
    font-size: 3rem;
    /* bigger heading */
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #007f72 !important;
}

#section-videos p {
    font-size: 1.2rem;
    /* slightly bigger paragraph */
    color: #666;
    /* subtle text color */
    margin-top: 0;
    max-width: 600px;
    /* limit width for readability */
}

#section-videos {
    padding-left: 5rem;
    /* add left padding */
}

    /* Optional: adjust the inner container holding video cards */
    #section-videos .row {
        justify-content: flex-start !important;
        /* align video cards left */
        /*Media section Videos scrollable*/
        /*     max-height:25rem;
     overflow-y:auto;*/
    }


        #section-videos .row .col-6 {
            width: 150px !important;
        }

/* Dynamic showcase section styles */

.dynamic-container {
    display: flex;
    min-height: 111vh !important;
    overflow: hidden;
    flex-direction: row;
    flex-wrap: nowrap;
    /* helps on smaller screens */
    position: relative;
}

.dynamic-nav {
    width: 40%;
    background: #008080;
    padding: 7rem 3rem 2rem 3rem;
    padding-left: 5rem !important;
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
    color: white;
    position: sticky;
    /* top: 80px; */
    height: 111vh;
    /* height: calc(100vh - 80px); */
    flex-shrink: 0;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    word-wrap: break-word;
    box-sizing: border-box;
    z-index: 1;
}


    .dynamic-nav * {
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
        overflow-wrap: break-word;
        font-size: 1.1rem !important;
    }


.dynamic-container.fixed {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
}


/*
body.pdf-mode .custom-navbar {
    display: none !important;
}*/

.nav-links,
.nav-extra ul {
    padding-left: 3rem;
}

.nav-links {
    padding-top: 1rem !important;
}

.nav-link-item {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: color 0.5s ease;
    font-size: 1.3rem !important;
}

    .nav-link-item:hover {
        color: skyblue;
    }

    .nav-link-item .dot {
        width: 10px;
        height: 10px;
        background: white;
        border-radius: 50%;
        margin-right: 0.75rem;
        transition: transform 1s ease, background 1s;
    }

    .nav-link-item.active {
        color: #ffcc00;
        /* Change text color on active */
    }

        .nav-link-item.active .dot {
            background: #ffcc00;
            transform: scale(1.3);
        }

.do-you-know {
    transition: color 0.5s ease;
}

    .do-you-know:hover {
        color: skyblue !important;
    }



.dynamic-pages {
    flex: 1 1 auto;
    height: 111vh !important;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /*     background: #f5f5f5;*/
    box-sizing: border-box;
}

.dynamic-page {
    scroll-snap-align: start;
    padding: 2rem;
    min-height: 111vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scroll-img {
    max-height: 80vh;
    object-fit: contain;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Carousel */
/* Reuse video section styling */

.event-carousel-section {
    position: relative;
    padding-left: 5rem;
}

    .event-carousel-section .text-left {
        padding-left: 1.5rem;
        /* left padding for spacing */
    }

    .event-carousel-section h1 {
        font-size: 3rem;
        /* bigger heading */
        font-weight: 700;
        color: #007f72 !important;
    }

    .event-carousel-section p {
        font-size: 1.2rem;
    }

.carousel-container {
    position: relative;
    overflow: hidden;
    padding-top: 1.5rem;
}

.event-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 2rem;
}

.event-card {
    flex: 0 0 auto;
    width: 550px;
    height: auto;
}

.thumb-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .thumb-wrapper img {
        width: 100%;
        height: 249px !important;
        object-fit: cover !important;
        object-position: center !important;
        transition: transform 0.3s ease;
        display: block;
    }

    .thumb-wrapper:hover img {
        transform: scale(1.05);
    }


.video-thumb-img-wrapper {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 1024px) {
    .video-thumb-img-wrapper {
        height: 80px !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

        .video-thumb-img-wrapper img {
            height: 120px !important;
            /* Force taller image to overflow */
            width: auto !important;
            min-width: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
        }
}




.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-wrapper:hover .overlay {
    opacity: 1;
}

.overlay i {
    font-size: 2.5rem;
    color: white;
}

.event-caption {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

/* Scroll Buttons */
.carousel-btn {
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    background: none !important;
    /* Remove background */
    border: none !important;
    /* Remove border */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    transition: color 0.8s ease;
    cursor: pointer;
    color: white !important;
}

    .carousel-btn i:hover {
        color: #007f72 !important;
        /* Teal on hover */
    }

    .carousel-btn.left {
        left: 29px;
    }

    .carousel-btn.right {
        right: 29px;
    }

    .carousel-btn.hidden {
        display: none;
    }

    .carousel-btn i {
        font-size: 4rem !important;
        /* Larger arrow size */
        color: white;
        line-height: 1;
        display: block;
        width: auto;
        height: auto;
    }

/* Hide scrollbars for WebKit */
.event-carousel::-webkit-scrollbar {
    display: none;
}


/* Research section */

#research-page {
    padding-left: 5rem !important;
}

    #research-page .btn {
        background-color: transparent;
        border-color: #00b3a4;
        color: white;
        font-size: 1.3rem !important;
    }

        #research-page .btn:hover {
            background-color: #00b3a4;
            color: white;
        }

    #research-page h5 {
        color: white;
        font-size: 1.5rem !important;
    }

.blog-section {
    padding-left: 6rem !important;
}

    .blog-section h1 {
        font-size: 3rem;
        font-weight: 700;
        color: #007f72 !important;
    }

.card-img-top {
    height: 80px !important;
    /* or whatever fixed height you want */
    object-fit: cover;
    display: block;
}

.blog-carousel .card-img-top {
    height: 140px !important;
}

.blog-carousel .card {
    width: 50% !important;
}

/* Smooth Scaling Wrapper */
.zoom-wrapper {
    transform-origin: top center;
    padding-bottom: 0rem !important;
    margin-bottom: 0 !important;
}

    .zoom-wrapper img {
        max-width: 100%;
        height: auto;
        padding: 0 !important;
        margin: 0 !important;
    }

/* Hide Scrollbar in Dynamic Nav */
.dynamic-nav {
    z-index: 1;
}

    .dynamic-nav .nav-description h1 {
        font-size: 2.5rem !important;
    }

    .dynamic-nav::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }





/* Ensure content inside nav doesn't overflow */


/* Remove white padding on research card images */


/* Uniform blog card image height */
/* .blog-card img {
        object-fit: cover;
        height: 200px;
        width: 100%;
    } */

/* Responsive Mobile-first */
@media (max-width: 991px) {
    .dynamic-container {
        flex-direction: column;
        overflow: hidden;
        height: 135vh;
    }

    .dynamic-nav {
        position: sticky !important;
        width: 100%;
        height: auto;
        top: 0;
        padding: 1rem !important;
        font-size: 1rem !important;
        z-index: 1;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .dynamic-pages {
        margin-left: 0;
        width: 100%;
        height: 80vh !important;
        padding: 1rem !important;
        padding-top: 0rem !important;
        padding-bottom: 4rem !important;
    }



    .dynamic-page {
        margin-bottom: 1.5rem;
        border-radius: 10px;
        padding: 1rem;
        /* optional cap */
        overflow-y: auto;
        min-height: 75vh !important;
        margin-bottom: 10rem !important;
    }

    .scroll-img {
        max-height: 70vh !important;
    }

    .zoom-wrapper {
        transform: none !important;
    }

    #section-videos {
        padding-left: 2rem;
        /* add left padding */
    }

        #section-videos .row .col-6 {
            width: 99px !important;
        }


    .event-carousel-section {
        padding-left: 2rem;
    }

    .event-card {
        width: 300px !important;
        height: auto;
    }

    #research-page {
        padding-left: 2rem !important;
    }

    .blog-section {
        padding-left: 2rem !important;
    }

    .blog-card img {
        height: 180px;
    }
}



/* Prevent text shrinking inside nav on zoom */
@media (min-width: 992px) {
    .dynamic-nav {
        min-width: 250px;
        flex-shrink: 0;
    }

        .dynamic-nav * {
            font-size: 1rem;
        }

    .dynamic-pages {
        flex: 1 1 auto;
        min-height: 100vh; /* ensures full viewport height */
        overflow-y: auto;
        padding-top: 5rem;
        padding-bottom: 15rem;
    }
}



/* Mobile / iPad (touch devices) */
@media (max-width: 991px) {
    .dynamic-container {
        flex-direction: column;
        height: auto; /* allow natural page height */
    }

    .dynamic-nav,
    .dynamic-pages {
        width: 100%;
        height: auto; /* no fixed height, scrolls with page */
        overflow-y: visible;
    }

    .dynamic-page {
        min-height: 75vh; /* optional */
    }
}




/* Media Queries for Responsive Layout */
/* Base styles remain unchanged (desktop full size) */

/* Medium screens: between 992px and 1111px */


/* ========== BASE STYLES (Unchanged) ========== */
/* ========== BASE STYLES (Unchanged) ========== */
