body {
    background: linear-gradient(to bottom, #e8f5e9, #f0f9f0);
    font-size: 18px;
    width: 100%;
    font-family: 'Times New Roman', Times, serif;
}

/* video */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}


.overlay-text h1 {
    font-size: 60px;
    color: rgb(248, 244, 244);
    font-weight: 300;
    margin-top: 7%;

    margin-left: 25%;
    margin-right: 22%;

}

.overlay-text h2 {
    font-size: 50px;
    color: #f8f4f4;
    font-weight: 100;
    margin-top: 10px;
    font-style: italic;
    /*	margin-bottom: 95px;*/
    margin-bottom: 0px;

}

.overlay-text img {
    /* margin-top: 100px; */
    margin-left: 30%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
    margin-bottom: 100px;
}

.overlay-text img:hover {
    transform: scale(1.3);
    z-index: 2;
}

/* <!-- section after video  */

/* Section Styling */
.text-img {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background: url('../images/bg-img2.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 20px;
}

/* Overlay Color */
.text-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Black with 60% opacity */
}

/* Text Styling */
.text-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.text-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.text-content p {
    font-size: 1.2rem;
    max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .text-img {
        min-height: 60vh;
        padding: 10px;
    }

    .text-content h1 {
        font-size: 2rem;
        text-align: center;
    }

    .text-content p {
        font-size: 1rem;
        max-width: 90%;
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .text-img {
        min-height: 70vh;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 0.9rem;
    }
}

/* for hemp history */

.hemp_his_bg {
    background-image: url('../images/hemp_history_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
}


.history_heading {
    text-align: center;
    color: #198754;
    margin-bottom: 40px;
    font-size: 2.8rem;
    position: relative;
    z-index: 2;
    padding: 30px;
}

/* Floating Leaves */
.leaf {
    position: absolute;
    width: 40px;
    opacity: 0.1;
    animation: floatLeaf 20s infinite linear;
}

@keyframes floatLeaf {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(100vh) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.hemp-timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 40px 0;
    z-index: 2;
}

/* Center Line Container */
.hemp-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #c8e6c9;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Progress Line */
.progress-line {
    position: absolute;
    width: 4px;
    background-color: #388e3c;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    z-index: 2;
    transition: height 0.25s ease-out;
}

.hemp-event {
    padding: 20px 30px;
    position: relative;
    width: 50%;
    z-index: 3;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.event-content {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.hemp-event:hover .event-content {
    transform: translateY(-10px) scale(1.03);
}

.hemp-event::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 12px;
    height: 12px;
    background: #388e3c;
    border-radius: 50%;
    left: 100%;
    transform: translateX(-50%);
    z-index: 4;
}

.right::before {
    left: 0%;
    transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
    .hemp-event {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .right {
        left: 0%;
    }

    .hemp-event::before {
        left: 30px;
        transform: translateX(0);
    }
}

.year {
    font-weight: bold;
    color: #388E3C;
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.year:hover {
    color: #1b5e20;
    text-shadow: 0 0 8px #81c784;
    cursor: pointer;
}

.text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Scroll Reveal */
.hemp-event {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hemp-event.show {
    opacity: 1;
    transform: translateY(0);
}

/* end of hemp_history */

/* product */
.product h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40PX;
    font-weight: bold;
    color: #198754;
}

.card-1 {
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 6px 6px 12px #BBD8A3, -6px -6px 12px #90C67C;
}

.card-1:hover {
    transform: scale(1.1);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.card-1 img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.3s ease-in-out;
    animation: floating 3s infinite ease-in-out;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.card-1-body {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    text-align: center;
    padding: 10px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* media_link */
.media_link h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20PX;
    font-weight: bold;
}

.media-link {
    display: inline-block;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.media-link img {

    height: 80px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;

}

.media-link:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);

}

.media-link:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .media-link img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
    }

}



/* responsive */
/* Make overlay text and logo responsive */
.overlay-text img {
    height: 15vh;
    max-width: 60vw;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 30px;
}

.overlay-text h1 {
    font-size: 6vw;
    margin: 0 auto;
    margin-bottom: 10px;
}

.overlay-text h2 {
    font-size: 3.5vw;
    margin: 0 auto;
    font-style: italic;
}

/* Adjust for small screens */
@media (max-width: 768px) {
    .overlay-text {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .overlay-text img {
        height: 50px
    }

    .overlay-text h1 {
        font-size: 2rem;
    }

    .overlay-text h2 {
        font-size: 1.2rem;
    }
}

/* Make video responsive */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product card responsiveness */
.card-1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Fix for media links grid */
.media-link img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .media-link img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .media-link img {
        max-height: 50px;
    }

    .text-content h1 {
        font-size: 1.5rem;
    }

    .text-conten p {
        font-size: 0.9rem;
    }
}

/*  our contributor  */

.contributors-section {
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.contributors-section h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #198754;
    /* Darker green for heading */
}

.contributors-slider {
    display: flex;
    gap: 60px;
    animation: slide 25s linear infinite;
    align-items: center;
    will-change: transform;
}

.contributor {
    flex: 0 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.contributor:hover {
    transform: scale(1.08);
}

.contributor img {
    width: 130px;
    height: 130px;
    padding: 10px;
    background: #ffffff;
    object-fit: contain;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contributor p {
    margin-top: 12px;
    font-size: 20px;
    color: #198754;
    /* Nice green */
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.contributors-section:hover .contributors-slider {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .contributors-slider {
        gap: 30px;
    }

    .contributor img {
        width: 100px;
        height: 100px;
    }
}


.prod_Contri_bg{
/*    background-image: url('../images/bg-img2.webp');*/
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
}