﻿@charset "UTF-8";
@import url("../newsads/vendor/animate/animate.min.css");
@import url("../newsads/icons/line-awesome/css/line-awesome.min.css");
@import url("../newsads/icons/font-awesome/css/all.min.css");
@import url("../newsads/icons/flaticon/flaticon.css");
@import url("../newsads/icons/themify/themify-icons.css");

:root {
    --gradient: linear-gradient(to right,#7355f7 0,#5f3bff 51%,#7355f7 100%);
    --gradient-sec: linear-gradient(to right,#130065 0,#2b0ead 51%,#130065 100%);
    --primary: #27F565;
    --secondary: #FF9446;
    --primary-hover: #da1212;
    --primary-dark: #7c0a0a;
    --rgba-primary-1: rgba(238, 49, 49, 0.1);
    --rgba-primary-2: rgba(238, 49, 49, 0.2);
    --rgba-primary-3: rgba(238, 49, 49, 0.3);
    --rgba-primary-4: rgba(238, 49, 49, 0.4);
    --rgba-primary-5: rgba(238, 49, 49, 0.5);
    --rgba-primary-6: rgba(238, 49, 49, 0.6);
    --rgba-primary-7: rgba(238, 49, 49, 0.7);
    --rgba-primary-8: rgba(238, 49, 49, 0.8);
    --rgba-primary-9: rgba(238, 49, 49, 0.9);
    --font-family-base: Montserrat, sans-serif;
    --border-radius-base: 4px;
    --border-radius-lg: 1rem;
    --font-family-title: Montserrat, sans-serif;
    --title: #000;
    --quote: url(../images/quote-1.png);
    --quote-2: url(../images/quote-1.png);
}


:root {
    --bs-primary: #27F565;
    --bs-secondary: #EE3131;
    --bs-success: #029e76;
    --bs-info: #00aeff;
    --bs-warning: #fea500;
    --bs-danger: #ff5269;
    --bs-light: #faf8f2;
    --bs-dark: #212529;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #212621;
    background-color: #ffffff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

#searchfilter {
    display: block;
}


.float {
    display: none;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}



/* Make header flexbox */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 55px 0px 15px;
    background: #f8f9fa;
    flex-wrap: wrap;
    position: relative;
}

    header .logo {
        font-size: 1.5rem;
        font-weight: bold;
    }

/* Navigation (desktop view) */
nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

    nav a {
        text-decoration: none;
        color: #000 !important;
    }

    nav .btn {
        padding: 0.3rem 0.7rem;
        border: 1px solid #27F565;
        border-radius: 5px;
        color: #007bff;
    }

        nav .btn:hover {
            background: #EE3131;
            color: white !important;
        }

/* Hamburger button (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    gap: 5px;
}

    .menu-toggle span {
        display: block;
        height: 3px;
        background: #333;
        border-radius: 2px;
    }
/* --- Hero Section --- */
.background {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*padding: 60px 10%;*/
    padding: 207px 10%;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.3)), url('../images/banners/farmer-comunity.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-text {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
}

    .hero-text h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #fff !important;
    }

    .hero-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #fff !important;
    }

.cta-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #27F565;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

    .cta-btn:hover {
        background: #0056b3;
        color: white;
    }

/* --- Features Section --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 3rem 1rem;
    text-align: center;
}

.feature {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    #particles-canvas {
        display: none;
    }

    #searchfilter {
        display: none;
    }

    .float {
        display: block;
        z-index: 3;
    }

    header {
        padding: 0 10px;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 60px 10%;
        background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.3)), url('../images/banners/farmer-comunity.jpg');
        background-size: cover;
        background-position: center;
        color: white;
    }

    #main-nav {
        z-index: 15;
    }

    .menu-toggle {
        display: flex;
    }


    nav {
        display: none; /* Hide menu by default */
        flex-direction: column;
        width: 100%;
        background: #f8f9fa;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        /*align-items: baseline;*/
    }

        nav a {
            text-decoration: none;
            color: #000 !important;
            font-weight: 500;
            z-index: 1;
        }

        nav.active {
            display: flex; /* Show menu when .active is added */
            z-index: 1;
        }
}

/* Hero Section */
.background {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
    padding: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 3rem 1rem;
    text-align: center;
}

.feature {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* online users carousel start*/

.members-section {
    background: #2A7B9B;
    background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
}

.member {
    position: relative;
    display: inline-block;
}

    .member img {
        border: 4px solid rgba(255,255,255,0.2);
        padding: 2px;
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

        .member img:hover {
            transform: scale(1.05);
        }

.status-dot {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 12px;
    height: 12px;
    background-color: #00ff6c;
    border: 2px solid #fff;
    border-radius: 50%;
}

/* online users carousel ends*/


.stats-section {
    background-color: #1f1f1f; /* dark background */
}

.stat-icon {
    font-size: 2.5rem;
    color: #27F565; /* cyan */
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #aaa;
    font-size: 1rem;
}

.stat-number {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

/*Footer*/

.footer {
    position: relative !important;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 43px !important;
    box-shadow: 3px 3px 5px 6px #ccc !important;
}

.footer-link {
    color: #17a2b8; /* blueish links */
    text-decoration: none;
}

    .footer-link:hover {
        text-decoration: underline;
    }

.footer-bottom {
    border-top: 1px solid #eaeaea;
    background-color: #fff;
}


.footer[b-o0m1ty2vdj] {
    position: relative !important;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 43px !important;
}

.section-min-ht {
    min-height: 350px !important;
}

.main-padd {
    padding: 15px 14px;
}


/*nav dropdown*/
/* Dropdown container */
#main-nav .dropdown {
    position: relative;
    display: inline-block;
}

/* Button style */
#main-nav .dropbtn {
    background: none;
    border: none;
    color: #000; /* match your nav text color */
    font-size: 16px;
    cursor: pointer;
    padding: 10px 15px;
}

/* Dropdown content (hidden by default) */
#main-nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

    /* Links inside dropdown */
    #main-nav .dropdown-content a {
        color: #333;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
    }

/* Show dropdown on hover */
#main-nav .dropdown:hover .dropdown-content {
    display: block;
}

/* Hover effect for links */
#main-nav .dropdown-content a:hover {
    background-color: #f6f6f6;
}


/*Login form*/
.form__section {
    width: 100%;
    background-image: url("../../images/loginbg.jpeg");
    padding: 8rem 1rem;
    background-size: cover;
}

.admin_section {
    width: 100%;
    background-color: #fff !important;
    padding: 4rem 5rem;
    background-size: cover;
}

.admin-approval-link {
    color: blue;
    font-weight: 500;
}

.form {
    max-width: 300px;
    width: 100%;
    background: #fff;
    border-radius: 25px;
    border: 2px solid #414141;
    padding: 30px;
    margin: 0 auto;
}

.form__title {
    font-weight: 600;
    font-size: 20px;
}

.form__sub-title {
    margin-top: 8px;
    font-size: 12px;
}

.form__input-label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin-top: 32px;
}

.form__input-wrapper {
    margin-top: 4px;
    position: relative;
    height: 36px;
}

.form__input {
    background-color: #303030;
    border: 1px solid #414141;
    border-radius: 4px;
    padding: 0px 16px;
    height: 36px;
    font-size: 12px;
    width: 100%;
    outline: none;
    color: #fff !important;
}

    .form__input:focus {
        border-color: var(--primary-color);
    }

    .form__input::placeholder {
        color: inherit;
    }

.form__input--has-svg {
    padding-right: 40px;
}

.form__pass-toggle {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 16px;
    transition: all 100ms linear;
}

.form__pass-toggle--active {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.form__remmember {
    display: block;
    font-size: 12px;
    margin-top: 32px;
}

.form__submit-btn {
    margin-top: 32px;
    width: 100%;
    height: 39px;
    border-radius: 4px;
    background-color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    color: #21270E;
    cursor: pointer;
}

.form__sign-up {
    margin-top: 32px;
    display: block;
    font-size: 12px;
}


.mainsection {
    padding: 3rem 1rem;
}

.ck-editor__editable {
    min-height: 300px; /* set your preferred height */
}

#submitBtn {
    display: none;
}



/*Floating button icon*/

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    top: 60px;
    right: 5px;
    background-color: #27F565;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
}

.my-float {
    margin-top: 22px;
    color: #fff;
}

.carousel-control-next {
    background-color: transparent !important;
}

.carousel-control-prev {
    background-color: transparent !important;
}


/*Carousal new css*/
.carousel {
    overflow: hidden;
}

/* Card hover effect */
.news-card:hover, .ad-card:hover {
    transform: scale(1.03);
    transition: all 0.3s ease-in-out;
}

/* Reverse direction for ads carousel */
.carousel-rtl .carousel-inner {
    direction: rtl;
}

.carousel-rtl .carousel-item {
    direction: ltr; /* Keep text normal */
}


/*Notification*/
.notification-item {
    cursor: pointer;
    transition: background 0.2s;
    font-size: 12px !important;
    cursor: default;
}

    .notification-item:hover {
        background: #f1f7ff;
    }

.drpdown-noti {
    margin-right: 30px;
}
