/* CSS Variables for Dark Mode */
:root {
    --bg-color: #f8f9fa;
    --text-color: #333;
    --navbar-bg: white;
    --navbar-text: #2c5e1a;
    --card-bg: #f1f8e9;
    --footer-bg: #1b5e20;
    --footer-text: white;
    --section-bg: white;
    --hero-overlay: rgba(0, 0, 0, 0.6);
    --btn-primary: #4caf50;
    --btn-secondary: white;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #ffffff;
    --navbar-bg: #1e1e1e;
    --navbar-text: #ffffff;
    --card-bg: #2e2e2e;
    --footer-bg: #0d0d0d;
    --footer-text: #ffffff;
    --section-bg: #1e1e1e;
    --hero-overlay: rgba(0, 0, 0, 0.8);
    --btn-primary: #4caf50;
    --btn-secondary: #ffffff;
}

/* Additional dark mode overrides */
[data-theme="dark"] .about-text p,
[data-theme="dark"] .story-text p,
[data-theme="dark"] .mission p,
[data-theme="dark"] .vision p,
[data-theme="dark"] .why-cms p,
[data-theme="dark"] .programs-intro p,
[data-theme="dark"] .paysmore-intro p,
[data-theme="dark"] .what-we-do-item p,
[data-theme="dark"] .why-onlima-item p,
[data-theme="dark"] .rca-intro p,
[data-theme="dark"] .rca-wisdom p,
[data-theme="dark"] .our-vision p,
[data-theme="dark"] .cms-intro p,
[data-theme="dark"] .cms-closing p,
[data-theme="dark"] .blog-content p,
[data-theme="dark"] .gallery-caption,
[data-theme="dark"] .program-content p,
[data-theme="dark"] .registration-form .form-group label,
[data-theme="dark"] .contact-info h3,
[data-theme="dark"] .sidebar-section h3,
[data-theme="dark"] .our-promise p,
[data-theme="dark"] .contact-booking h2,
[data-theme="dark"] .contact-booking p {
    color: #cccccc;
}

[data-theme="dark"] .about-text h3,
[data-theme="dark"] .story-text h2,
[data-theme="dark"] .mission h3,
[data-theme="dark"] .vision h3,
[data-theme="dark"] .why-cms h2,
[data-theme="dark"] .programs-section h2,
[data-theme="dark"] .paysmore-intro h2,
[data-theme="dark"] .what-we-do h2,
[data-theme="dark"] .why-onlima h2,
[data-theme="dark"] .rca-wisdom h2,
[data-theme="dark"] .our-focus h2,
[data-theme="dark"] .why-rca h2,
[data-theme="dark"] .our-vision h2,
[data-theme="dark"] .cms-intro h2,
[data-theme="dark"] .cms-closing h2,
[data-theme="dark"] .blog-content h3,
[data-theme="dark"] .gallery-page h2,
[data-theme="dark"] .program-card h3,
[data-theme="dark"] .registration-form h2,
[data-theme="dark"] .sidebar-section h3,
[data-theme="dark"] .our-promise h2,
[data-theme="dark"] .contact-booking h2 {
    color: #ffffff;
}

[data-theme="dark"] .feature p,
[data-theme="dark"] .product-card p,
[data-theme="dark"] .testimonial p,
[data-theme="dark"] .blog-content p {
    color: #bbbbbb;
}

[data-theme="dark"] .feature h3,
[data-theme="dark"] .product-card h4,
[data-theme="dark"] .testimonial .author,
[data-theme="dark"] .blog-content h3 {
    color: #ffffff;
}

[data-theme="dark"] .btn.secondary {
    color: #ffffff;
    border-color: #ffffff;
}

[data-theme="dark"] .btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-links ul li a,
[data-theme="dark"] .social-media ul li a {
    color: #cccccc;
}

[data-theme="dark"] .footer-links ul li a:hover,
[data-theme="dark"] .social-media ul li a:hover {
    color: #ffffff;
}

[data-theme="dark"] .contact-form {
    background-color: var(--card-bg);
}

[data-theme="dark"] .contact-form .form-group label {
    color: var(--text-color);
}

[data-theme="dark"] .contact-form .form-group input,
[data-theme="dark"] .contact-form .form-group select,
[data-theme="dark"] .contact-form .form-group textarea {
    background-color: #4a4a4a;
    color: #ffffff;
    border-color: #666;
}

[data-theme="dark"] .contact-form .form-group input:focus,
[data-theme="dark"] .contact-form .form-group select:focus,
[data-theme="dark"] .contact-form .form-group textarea:focus {
    border-color: var(--btn-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

/* Contact Form Text Visibility */
[data-theme="dark"] .contact-form h3 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-info h3 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-info p {
    color: var(--text-color);
}

/* What We Do Section (Onlima Page) */
[data-theme="dark"] .what-we-do-item {
    background-color: var(--card-bg);
    border: 1px solid #444;
}

[data-theme="dark"] .what-we-do-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .what-we-do-item p {
    color: #cccccc;
}

/* Onlima Page - Why Onlima Section */
[data-theme="dark"] .why-onlima-item {
    background-color: var(--card-bg);
    border: 1px solid #444;
}

[data-theme="dark"] .why-onlima-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .why-onlima-item p {
    color: #cccccc;
}

/* RCA Page Sections */
[data-theme="dark"] .rca-intro {
    background-color: var(--section-bg) !important;
}

[data-theme="dark"] .rca-intro p {
    color: #cccccc !important;
}

[data-theme="dark"] .rca-wisdom {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .rca-wisdom h2 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .rca-wisdom blockquote {
    color: var(--text-color) !important;
}

[data-theme="dark"] .our-focus {
    background-color: var(--section-bg) !important;
}

[data-theme="dark"] .our-focus h2 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .focus-item {
    background-color: var(--card-bg) !important;
    border: 1px solid #444 !important;
}

[data-theme="dark"] .focus-item h3 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .focus-item p {
    color: #cccccc !important;
}

[data-theme="dark"] .why-rca {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .why-rca h2 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .why-rca p {
    color: #cccccc !important;
}

[data-theme="dark"] .why-rca li {
    color: #cccccc !important;
}

[data-theme="dark"] .our-vision {
    background-color: var(--section-bg) !important;
}

[data-theme="dark"] .our-vision h2 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .our-vision p {
    color: #cccccc !important;
}

/* CMS Page Sections */
[data-theme="dark"] .cms-intro {
    background-color: var(--section-bg);
}

[data-theme="dark"] .cms-intro h2 {
    color: var(--text-color);
}

[data-theme="dark"] .cms-intro p {
    color: #cccccc;
}

[data-theme="dark"] .cms-closing {
    background-color: var(--card-bg);
}

[data-theme="dark"] .cms-closing h2 {
    color: var(--text-color);
}

[data-theme="dark"] .cms-closing p {
    color: #cccccc;
}

/* Paysmore Page Sections */
[data-theme="dark"] .paysmore-intro {
    background-color: var(--section-bg);
}

[data-theme="dark"] .paysmore-intro h2 {
    color: var(--text-color);
}

[data-theme="dark"] .paysmore-intro p {
    color: #cccccc;
}

[data-theme="dark"] .what-we-offer {
    background-color: var(--card-bg);
}

[data-theme="dark"] .what-we-offer h2 {
    color: var(--text-color);
}

[data-theme="dark"] .offer-card {
    background-color: var(--section-bg);
    border: 1px solid #444;
}

[data-theme="dark"] .offer-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .offer-card p {
    color: #cccccc;
}

[data-theme="dark"] .our-promise {
    background-color: var(--section-bg);
}

[data-theme="dark"] .our-promise h2 {
    color: var(--text-color);
}

[data-theme="dark"] .our-promise p {
    color: #cccccc;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select {
    background-color: #3e3e3e;
    color: #ffffff;
    border-color: #555;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus {
    border-color: #4caf50;
    background-color: #4e4e4e;
}

[data-theme="dark"] .schedule-table th {
    background-color: #2c5e1a;
}

[data-theme="dark"] .schedule-table tr:hover {
    background-color: #3e3e3e;
}

[data-theme="dark"] .gallery-item img {
    filter: brightness(0.9);
}

[data-theme="dark"] .program-image {
    opacity: 0.4;
}

[data-theme="dark"] .program-card:hover .program-image {
    opacity: 0.8;
}

/* Mobile Navigation Dark Mode */
[data-theme="dark"] .navbar-container .navbar-menu {
    background: rgba(30, 30, 30, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--navbar-bg);
}

[data-theme="dark"] .dropdown-menu.active {
    background: var(--navbar-bg);
}

[data-theme="dark"] .dropdown-menu li {
    border-bottom: 1px solid #444;
}

[data-theme="dark"] .dropdown-menu li:last-child {
    border-bottom: none;
}

[data-theme="dark"] .dropdown-menu a {
    color: var(--navbar-text);
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Sections Dark Mode */
[data-theme="dark"] .hero {
    background-color: var(--bg-color);
}

[data-theme="dark"] .about-hero,
[data-theme="dark"] .products-hero,
[data-theme="dark"] .blog-hero,
[data-theme="dark"] .gallery-hero,
[data-theme="dark"] .programs-hero,
[data-theme="dark"] .onlima-hero,
[data-theme="dark"] .rca-hero,
[data-theme="dark"] .cms-hero,
[data-theme="dark"] .paysmore-hero {
    background-color: var(--bg-color);
}

/* Specific Section Backgrounds */
[data-theme="dark"] .highlights {
    background-color: var(--bg-color);
}

[data-theme="dark"] .about,
[data-theme="dark"] .products,
[data-theme="dark"] .blog,
[data-theme="dark"] .gallery,
[data-theme="dark"] .contact,
[data-theme="dark"] .maps-section,
[data-theme="dark"] .partners {
    background-color: var(--bg-color);
}

[data-theme="dark"] .company-story,
[data-theme="dark"] .mission-vision,
[data-theme="dark"] .why-choose-us-section,
[data-theme="dark"] .products-page,
[data-theme="dark"] .blog-page,
[data-theme="dark"] .gallery-page,
[data-theme="dark"] .programs-section,
[data-theme="dark"] .training-schedule,
[data-theme="dark"] .registration-form,
[data-theme="dark"] .onlima-intro,
[data-theme="dark"] .what-we-do,
[data-theme="dark"] .why-onlima,
[data-theme="dark"] .rca-intro,
[data-theme="dark"] .rca-wisdom,
[data-theme="dark"] .our-focus,
[data-theme="dark"] .why-rca,
[data-theme="dark"] .our-vision,
[data-theme="dark"] .cms-intro,
[data-theme="dark"] .cms-closing,
[data-theme="dark"] .paysmore-intro,
[data-theme="dark"] .what-we-offer,
[data-theme="dark"] .our-promise,
[data-theme="dark"] .contact-booking {
    background-color: var(--section-bg);
}

/* Programs Section Green Font */
.story-text p strong {
    color: #2E7D32;
}

/* Dropdown Dark Mode */
[data-theme="dark"] .dropdown-menu a {
    color: var(--text-color);
}

[data-theme="dark"] .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Milestones Section */
.milestones {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.timeline-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

/* Company Journey Timeline Dark Mode */
[data-theme="dark"] .milestones,
[data-theme="dark"] .company-journey {
    background-color: var(--section-bg);
}

[data-theme="dark"] .timeline-item .timeline-content {
    background-color: var(--card-bg);
    border: 1px solid #444;
}

[data-theme="dark"] .timeline-date {
    color: var(--text-color);
}

[data-theme="dark"] .timeline-content h3 {
    color: var(--text-color);
}

[data-theme="dark"] .timeline-content p {
    color: #cccccc;
}

/* CTA Sections */
[data-theme="dark"] .cta-section,
[data-theme="dark"] .did-not-find,
[data-theme="dark"] .gallery-cta,
[data-theme="dark"] .programs-cta {
    background-color: var(--section-bg);
}

/* Card and Content Elements */
[data-theme="dark"] .story-image,
[data-theme="dark"] .mission,
[data-theme="dark"] .vision,
[data-theme="dark"] .feature,
[data-theme="dark"] .product-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .program-card,
[data-theme="dark"] .offer-card,
[data-theme="dark"] .gallery-item,
[data-theme="dark"] .partner-slide {
    background-color: var(--card-bg);
    border: 1px solid #444;
}

[data-theme="dark"] .testimonial,
[data-theme="dark"] .sidebar-section {
    background-color: var(--card-bg);
}

/* Text Colors for All Sections */
[data-theme="dark"] .container h2,
[data-theme="dark"] .container h3,
[data-theme="dark"] .container h4,
[data-theme="dark"] .container h5,
[data-theme="dark"] .container h6 {
    color: var(--text-color);
}

[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span,
[data-theme="dark"] div {
    color: var(--text-color);
}

/* Specific Text Overrides */
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .hero-content h2,
[data-theme="dark"] .hero-content p {
    color: #ffffff;
}

[data-theme="dark"] .about-main-image,
[data-theme="dark"] .story-image img,
[data-theme="dark"] .product-image img,
[data-theme="dark"] .blog-image img,
[data-theme="dark"] .gallery-item img,
[data-theme="dark"] .about-img,
[data-theme="dark"] .timeline-image {
    filter: brightness(0.8);
}

/* WhatsApp Button */
[data-theme="dark"] .whatsapp-chat {
    background-color: var(--card-bg);
    border: 2px solid var(--text-color);
}

[data-theme="dark"] .whatsapp-chat:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Preloader */
[data-theme="dark"] #preloader {
    background-color: var(--bg-color);
}

/* Animations and Transitions */
[data-theme="dark"] .card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .blog-post,
[data-theme="dark"] .feature,
[data-theme="dark"] .program-card {
    background: linear-gradient(to bottom, var(--card-bg), #2a2a2a);
}

/* Focus and Active States */
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--btn-primary);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

/* Table Styles */
[data-theme="dark"] .schedule-table {
    background-color: var(--card-bg);
    border: 1px solid #444;
}

[data-theme="dark"] .schedule-table th,
[data-theme="dark"] .schedule-table td {
    border-bottom: 1px solid #444;
    color: var(--text-color);
}

[data-theme="dark"] .schedule-table th {
    background-color: var(--btn-primary);
    color: #ffffff;
}

/* Quote Styles */
[data-theme="dark"] .testimonial::before,
[data-theme="dark"] .partners::before {
    color: var(--btn-primary);
    opacity: 0.5;
}

/* Icon Colors */
[data-theme="dark"] .icon {
    color: var(--btn-primary);
}

[data-theme="dark"] .feature-icon {
    color: var(--btn-primary);
}

/* Slider and Navigation */
[data-theme="dark"] .slider-container img {
    filter: brightness(0.9);
}

/* Hero Background Toggle */
.hero-video-container {
    display: block;
}

.image-slider {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* Dark Mode: Show Image Slider, Hide Video */
[data-theme="dark"] .hero-video-container {
    display: none;
}

[data-theme="dark"] .image-slider {
    display: block;
}

/* Dark Mode Image Slider */
[data-theme="dark"] .slider-dots {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .dot.active {
    background-color: #ffffff;
}

/* Responsive slider dots */
@media (max-width: 768px) {
    [data-theme="dark"] .slider-dots {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
        flex-direction: row;
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 15px;
    }
}

/* Dark Mode Carousel */
[data-theme="dark"] .carousel{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
[data-theme="dark"] .carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
[data-theme="dark"] .carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
[data-theme="dark"] .carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
[data-theme="dark"] .carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
[data-theme="dark"] .carousel .list .item .title,
[data-theme="dark"] .carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
[data-theme="dark"] .carousel .list .item .topic{
    color: #4caf50;
}
[data-theme="dark"] .carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
[data-theme="dark"] .carousel .list .item .buttons button{
    border: none;
    background-color: #4caf50;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
    color: white;
}
[data-theme="dark"] .carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbnail */
[data-theme="dark"] .thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
[data-theme="dark"] .thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
[data-theme="dark"] .thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
[data-theme="dark"] .thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
[data-theme="dark"] .thumbnail .item .content .title{
    font-weight: 500;
}
[data-theme="dark"] .thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
[data-theme="dark"] .arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
[data-theme="dark"] .arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
[data-theme="dark"] .arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
[data-theme="dark"] .carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .author,
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .title,
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .topic,
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .des,
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
[data-theme="dark"] .carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
[data-theme="dark"] .carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

[data-theme="dark"] .carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
[data-theme="dark"] .carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
[data-theme="dark"] .carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */
[data-theme="dark"] .carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #4caf50;
    left: 0;
    top: 0;
}

[data-theme="dark"] .carousel.next .time,
[data-theme="dark"] .carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}

/* prev click */
[data-theme="dark"] .carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

[data-theme="dark"] .carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

[data-theme="dark"] .carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
[data-theme="dark"] .carousel.next .arrows button,
[data-theme="dark"] .carousel.prev .arrows button{
    pointer-events: none;
}
[data-theme="dark"] .carousel.prev .list .item:nth-child(2) .content .author,
[data-theme="dark"] .carousel.prev .list .item:nth-child(2) .content .title,
[data-theme="dark"] .carousel.prev .list .item:nth-child(2) .content .topic,
[data-theme="dark"] .carousel.prev .list .item:nth-child(2) .content .des,
[data-theme="dark"] .carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    [data-theme="dark"] .carousel .list .item .content{
        padding-right: 0;
    }
    [data-theme="dark"] .carousel .list .item .content .title{
        font-size: 30px;
    }
    [data-theme="dark"] .thumbnail .item .content .title{
        font-size: 12px;
    }
    [data-theme="dark"] .thumbnail .item .content .description{
        font-size: 10px;
    }
}

[data-theme="dark"] .pagination .btn {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--text-color);
}

[data-theme="dark"] .pagination .btn:hover {
    background-color: var(--btn-primary);
    color: #ffffff;
}

/* Filter Buttons */
[data-theme="dark"] .filter-btn {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--text-color);
}

[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover {
    background-color: var(--btn-primary);
    color: #ffffff;
}

/* Social Media */
[data-theme="dark"] .social-media-buttons .btn {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--text-color);
}

[data-theme="dark"] .social-media-buttons .btn:hover {
    background-color: var(--btn-primary);
    color: #ffffff;
}

/* Why Choose Us Section */
[data-theme="dark"] .why-choose-us {
    background-color: var(--section-bg);
}

[data-theme="dark"] .why-choose-us ul li::before {
    color: var(--btn-primary);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    color: var(--text-color);
    background-color: var(--bg-color);
}

p {
    text-align: justify;
    hyphens: auto;
    word-spacing: -1px;
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    background: var(--navbar-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    max-width: 1600px;
}

.navbar-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c5e1a;
    text-decoration: none;
    cursor: pointer;
}

.navbar-logo .header-logo {
    height: 50px;
    width: auto;
}

.navbar-container .navbar-menu {
    display: flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar-container .navbar-menu li a {
    text-decoration: none;
    color: var(--navbar-text);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-container .navbar-menu li a:hover,
.navbar-container .navbar-menu li a.active {
    color: #4CAF50;
    background-color: #f1f8e9;
    border: 2px solid #4CAF50;
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--navbar-text);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle img {
    width: 20px;
    height: 20px;
}

/* Theme toggle emoji styling */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}
/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    min-width: 200px;
    background: var(--navbar-bg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    color: #2c5e1a;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #f1f8e9;
}

/* Mobile Navigation */
@media (max-width: 880px) {
    .navbar-container .navbar-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.1);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 998;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .navbar-menu.active {
        display: flex;
        transform: translateY(0);
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        display: none;
        background: #f8f9fa;
        border-radius: 0;
        width: 100%;
        box-shadow: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #ddd;
        width: 100%;
    }

    .dropdown-menu a {
        padding: 12px 20px;
        color: #2c5e1a;
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 880px) {
    .navbar-toggle {
        position: relative;
        z-index: 1002;
    }

    .theme-toggle {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        padding: 5px;
        z-index: 1001;
    }

    .theme-toggle img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-logo {
        font-size: 1.5rem;
    }

    .navbar-container .navbar-menu li a {
        font-size: 1.1rem;
        padding: 10px 16px;
        width: 100%;
        max-width: 300px;
    }

    .hero {
        height: 70vh;
    }

    .theme-toggle {
        right: 50px;
    }
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/Green\ seedlings.jpg') no-repeat center center/cover;
    z-index: -2;
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    pointer-events: auto;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subheading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn.primary {
    background-color: #4caf50;
    color: white;
    border: 2px solid #4caf50;
}

.btn.primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Image Slider */
.image-slider {
    margin-top: 2rem;
    text-align: center;
}

.slider-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.slider-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-image:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Highlights Section */
.highlights {
    padding: 3rem 0;
    background-color: white;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.feature-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.feature h4 {
    color: #2c5e1a;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature p {
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--card-bg);
}

.container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c5e1a;
    position: relative;
}

.container h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4caf50;
    margin: 0.5rem auto;
}

/* About Section */
.about {
    padding: 4rem 0 0 0;
}

.about p {
    text-align: justify;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 0;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-top: 0;
}

.about-text h3 {
    color: #2c5e1a;
    margin: 1.5rem 0 0.5rem;
}

.about-text p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-main-image {
    width: 200%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.about-main-image:hover {
    transform: scale(1.05);
}

.about h2 {
    text-align: left;
}

.about h3 {
    text-align: left;
}

.about .about-text {
    margin-top: 0;
    padding-top: 0;
}

.about .about-image {
    position: relative;
}

.why-choose-us ul {
    list-style: none;
    margin-top: 1rem;
}

.why-choose-us ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.why-choose-us ul li::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Products Section */
.products {
    background-color: white;
    padding: 0 0 4rem 0;
}

.product-categories {
    margin-top: 2rem;
}

.category {
    margin-bottom: 3rem;
}

.category h3 {
    color: #2c5e1a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-card h4 {
    color: #2c5e1a;
    margin-bottom: 0.5rem;
}

/* Ordering Section */
.ordering-content {
    max-width: 800px;
    margin: 0 auto;
}

.how-to-order ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.how-to-order li {
    margin-bottom: 0.8rem;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: #4caf50;
    opacity: 0.2;
}

.testimonial .author {
    text-align: right;
    font-style: italic;
    margin-top: 1rem;
    color: #666;
}

/* Testimonials Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.partners {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.partners::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: #4caf50;
    opacity: 0.2;
}

.testimonial .author {
    text-align: right;
    font-style: italic;
    margin-top: 1rem;
    color: #666;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post {
    background-color:#9c4722;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links ul,
.social-media ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.social-media ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a,
.social-media ul li a {
    color: #c7f9cc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover,
.social-media ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card,
.product-card,
.testimonial,
.card-image,
.blog-post {
    animation: fadeIn 0.5s ease-out;
}

/* Additional styling for visual appeal */
.card,
.product-card,
.testimonial,
.blog-post,
.contact-form {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 150px;
    height: auto;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Hide preloader when page is loaded */
#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* About Us Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Green\ seedlings.jpg') no-repeat center center/cover;
    height: 70vh;
}

.about-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0;
}

/* Company Story Section */
.company-story {
    padding: 5rem 0;
    background-color: white;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    color: #2c5e1a;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.05);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 5rem 0;
    background-color: #f1f8e9;
}

.mission-vision h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.mission-vision-content {
    display: flex;
    gap: 2rem;
}

.mission, .vision {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission h3, .vision h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 5rem 0;
    background-color: white;
}

.why-choose-us-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f1f8e9;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(44, 94, 26, 0.9), rgba(44, 94, 26, 0.9)), url('images/cabbage\ seedlings.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Responsive Design for About Us Page */
@media (max-width: 768px) {
    .about-hero .hero-content h1 {
        font-size: 2rem;
    }

    .story-content {
        flex-direction: column;
    }

    .mission-vision-content {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* About Section Responsive */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-main-image {
        max-width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 50vh;
    }
    
    .about-hero .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .company-story, .mission-vision, .why-choose-us-section {
        padding: 3rem 0;
    }
    
    .story-text h2, .mission-vision h2, .why-choose-us-section h2 {
        font-size: 2rem;
    }
}

/* Company Journey Timeline */
.company-journey {
    padding: 5rem 0;
    background-color: #f1f8e9;
}

.company-journey h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #4caf50;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #f1f8e9;
    border: 4px solid #4caf50;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -17px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    right: -22px;
    background-color: #4caf50;
    top: 10px;
    border-radius: 50%;
    z-index: 0;
}

.timeline-item:nth-child(even)::before {
    left: -22px;
}

.timeline-date {
    color: #2c5e1a;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #2c5e1a;
    margin-top: 0;
}

/* Responsive Design for Timeline */
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after, .timeline-item::before {
        left: 15px;
    }
    
    .timeline-item:nth-child(even)::after, .timeline-item:nth-child(even)::before {
        left: 15px;
    }
}

/* Products Page Styles */
.products-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Green\ seedlings.jpg') no-repeat center center/cover;
    height: 70vh;
}

.products-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0;
}

.products-page {
    padding: 5rem 0;
    background-color: white;
}

.products-page h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.category {
    margin-bottom: 4rem;
}

.category h3 {
    color: #2c5e1a;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #f1f8e9;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    border-color: #4caf50;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h4 {
    color: #2c5e1a;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.product-card p {
    margin-bottom: 1.5rem;
    color: #555;
}

.product-card .btn {
    background-color: #4caf50;
    color: white;
    border: 2px solid #4caf50;
}

.product-card .btn:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: scale(1.05);
}

/* Didn't Find Section */
.did-not-find {
    background: linear-gradient(rgba(44, 94, 26, 0.9), rgba(44, 94, 26, 0.9)), url('images/cabbage\ seedlings.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.did-not-find .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.did-not-find .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.did-not-find .cta-content .btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Responsive Design for Products Page */
@media (max-width: 768px) {
    .products-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .products-page h2 {
        font-size: 2rem;
    }
    
    .category h3 {
        font-size: 1.5rem;
    }
    
    .did-not-find .cta-content h2 {
        font-size: 2rem;
    }
    
    .did-not-find .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-hero {
        height: 50vh;
    }
    
    .products-hero .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .products-page {
        padding: 3rem 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .did-not-find {
        padding: 3rem 0;
    }
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/A\ farmer\ Supporting\ tomatoe\ plants.jpg') no-repeat center center/cover;
    height: 70vh;
}

.blog-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0;
}

.blog-page {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.blog-layout {
    display: flex;
    gap: 2rem;
}

.blog-main {
    flex: 3;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.blog-content .btn {
    background-color: transparent;
    color: #2c5e1a;
    border: 2px solid #2c5e1a;
}

.blog-content .btn:hover {
    background-color: rgba(44, 94, 26, 0.1);
    transform: scale(1.05);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination .btn {
    padding: 0.8rem 1.5rem;
}

/* Sidebar */
.blog-sidebar {
    flex: 1;
}

.sidebar-section {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sidebar-section h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section ul li {
    margin-bottom: 0.8rem;
}

.sidebar-section ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.sidebar-section ul li a:hover {
    color: #2c5e1a;
}

.social-media-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-media-buttons .btn {
    text-align: center;
}

/* Responsive Design for Blog Page */
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-direction: column;
        align-items: center;
    }
    
    .pagination .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        height: 50vh;
    }
    
    .blog-hero .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .blog-page {
        padding: 3rem 0;
    }
}

/* Gallery Page Styles */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/rca team.png') no-repeat center center/cover;
    height: 70vh;
}

.gallery-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0;
}

.gallery-page {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: white;
    color: #2c5e1a;
    border: 2px solid #2c5e1a;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #2c5e1a;
    color: white;
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    filter: brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 94, 26, 0.8);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Gallery CTA */
.gallery-cta {
    background: linear-gradient(rgba(44, 94, 26, 0.9), rgba(44, 94, 26, 0.9)), url('images/rca.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.gallery-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery-cta .cta-content .btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Responsive Design for Gallery Page */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .gallery-cta .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 50vh;
    }
    
    .gallery-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-hero .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .gallery-cta .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .gallery-page {
        padding: 3rem 0;
    }
    
    .gallery-cta {
        padding: 3rem 0;
    }
}

/* Programs Page Styles */
.programs-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/A\ farmer\ Supporting\ tomatoe\ plants.jpg') no-repeat center center/cover;
    height: 70vh;
}

.programs-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0;
}

.programs-intro {
    padding: 3rem 0;
    background-color: white;
    text-align: center;
}

.programs-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.programs-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.programs-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    border-color: #4caf50;
}

.program-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-image {
    opacity: 0.7;
}

.program-content {
    position: relative;
    padding: 2rem;
    text-align: center;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-card h3 {
    color: #2c5e1a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.program-card p {
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.6;
}

.training-schedule {
    padding: 5rem 0;
    background-color: white;
}

.training-schedule h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.schedule-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.schedule-table th {
    background-color: #2c5e1a;
    color: white;
    font-weight: 600;
}

.schedule-table tr:hover {
    background-color: #f1f8e9;
}

.registration-form {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.registration-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c5e1a;
}

.registration-form .form-group {
    margin-bottom: 1.5rem;
}

.registration-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c5e1a;
}

.registration-form .form-group input,
.registration-form .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.registration-form .form-group input:focus,
.registration-form .form-group select:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.programs-cta {
    background: linear-gradient(rgba(44, 94, 26, 0.9), rgba(44, 94, 26, 0.9)), url('images/Green\ seedlings.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.programs-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.programs-cta .cta-content .btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Responsive Design for Programs Page */
@media (max-width: 768px) {
    .programs-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .programs-intro p {
        font-size: 1rem;
    }
    
    .programs-section h2,
    .training-schedule h2,
    .registration-form h2 {
        font-size: 2rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .programs-cta .cta-content h2 {
        font-size: 2rem;
    }
}

/* WhatsApp Chat Button */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.whatsapp-chat img {
    border-radius: 50%;
}

@media (max-width: 480px) {
    .programs-hero {
        height: 50vh;
    }
    
    .programs-hero .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .programs-intro {
        padding: 2rem 0;
    }
    
    .programs-section,
    .training-schedule,
    .registration-form {
        padding: 3rem 0;
    }
    
    .programs-cta {
        padding: 3rem 0;
    }
}
/* 404 Error Page */
.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.error-content h1 {
    font-size: 8rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

[data-theme="dark"] .error-content h1 {
    color: #4caf50;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.1);
}

[data-theme="dark"] .error-content p {
    color: #cccccc;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.error-image {
    margin-top: 2rem;
}

.error-logo {
    width: 150px;
    height: auto;
    opacity: 0.7;
}

/* Responsive 404 */
@media (max-width: 768px) {
    .error-content h1 {
        font-size: 6rem;
    }

    .error-content h2 {
        font-size: 2rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .error-content h1 {
        font-size: 4rem;
    }

    .error-content h2 {
        font-size: 1.5rem;
    }

    .error-logo {
        width: 100px;
    }
}

/* Maps Section */
.maps-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.maps-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c5e1a;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design for Maps Section */
@media (max-width: 768px) {
    .maps-section {
        padding: 3rem 0;
    }
    
    .maps-section h2 {
        font-size: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .maps-section {
        padding: 2rem 0;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Partners Slider */
.partners {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
}

.partners-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.partner-slide {
    min-width: 100%;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partner-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.partner-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.partner-slide h3 {
    color: #2c5e1a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Product Image Slider */
.product-image-slider {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideImages 20s infinite;
}

.product-image-slider img:nth-child(1) {
    animation-delay: 0s;
}

.product-image-slider img:nth-child(2) {
    animation-delay: 3s;
}

@keyframes slideImages {
    0%, 20% { opacity: 1; }
    20%, 26.67% { opacity: 0; }
    26.67%, 93.33% { opacity: 1; }
    93.33%, 100% { opacity: 0; }
}

/* Subcategories */
.subcategories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.subcategory h4 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.2em;
}

/* Partners Marquee */
.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-container {
    display: flex;
    animation: scrollLeft 20s linear infinite;
    align-items: center;
}

.marquee-container img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 20px;
}

/* Responsive for partners marquee */
@media (max-width: 768px) {
    .marquee-container img {
        width: 60px;
        height: 60px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .marquee-container img {
        width: 50px;
        height: 50px;
        margin: 0 10px;
    }
}

.marquee-container h3 {
    margin: 0 20px 0 0;
    font-size: 1.2em;
    color: #2c5e1a;
}

:not([data-theme="dark"]) .marquee-container img[alt="P&Gems"] {
    background-color: #252C30;
    padding: 8px;
    border-radius: 50%;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.card-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

[data-theme="dark"] .marquee-container img[alt="CGIAR"] {
    background-color: white;
    padding: 8px;
    border-radius: 50%;
}

[data-theme="dark"] .marquee-container img[alt="P&Gems"] {
    background-color: transparent;
}

[data-theme="dark"] .marquee-container img[alt="Prema"] {
  background-color: rgb(239, 239, 239);
    padding: 8px;
    border-radius: 50%;
}

