/********** Template CSS **********/
:root {
    --primary: #5B8C51;
    --secondary: #EDDD5E;
    --light: #F7F7F7;
    --dark: #404A3D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

a.top-contact-link {
    text-decoration: none;
    color: unset;
}

a.top-contact-link:hover {
    color: unset;
}

/* Governance Section Styling */
.bg-light {
    background-color: #f8fafc !important; /* Bright, light background */
}

.team-item, .organogram-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.team-item:hover, .organogram-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.team-img img, .organogram-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center -15px;
    transition: transform 0.3s ease;
}

.team-item:hover .team-img img, .organogram-item:hover .organogram-img img {
    transform: scale(1.1);
}

.team-icon i, .organogram-icon i {
    color: #28a745; /* Bright green for agriculture theme */
}

.team-text, .organogram-text {
    background: #ffffff;
}

.btn-primary, .btn-outline-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
    transition: background-color 0.3s ease;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    color: #28a745 !important;
}

.btn-outline-primary:hover {
    color: #ffffff !important;
}

.text-primary {
    color: #28a745 !important; /* Green primary color */
}

.section-title {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
}
/* Contact Section Styling */
.bg-light {
    background-color: #f8fafc !important; /* Bright, light background */
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    transform: scale(1.05);
}

.btn-square.bg-primary {
    background-color: #28a745 !important;
}

.btn-square.bg-primary:hover {
    background-color: #218838 !important;
}

.text-primary {
    color: #28a745 !important; /* Green primary color */
}

.section-title {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
}

.form-control {
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.3) !important;
}

.form-floating label {
    color: #6c757d;
}

iframe.rounded {
    border-radius: 10px;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(../img/banner.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

@media (min-width: 769px) {
    .page-header {
        min-height: 313px;
    }
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}


/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer a.footer-link {
    text-decoration: none;
    color: unset;
}

.footer a.footer-link:hover {
    color: #EDDD5E;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

/*** Impact Section ***/
.impact-section {
    padding: 60px 0;
    background-color: var(--light);
}

.impact-section .text {
    margin-bottom: 30px;
}

.impact-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.impact-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--dark);
}

.impact-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    background-color: #FFFFFF;
}

.impact-table th,
.impact-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #EEEEEE;
    font-size: 16px;
}

.impact-table th {
    background-color: var(--primary);
    color: var(--light);
    font-weight: 600;
    text-transform: uppercase;
}

.impact-table tbody tr:nth-child(odd) {
    background-color: var(--light);
}

.impact-table tbody tr:nth-child(even) {
    background-color: #F0F2F0; /* Slightly darker than --light for contrast */
}

.impact-table tbody tr.total-row {
    background-color: var(--secondary);
    font-weight: 700;
    color: var(--dark);
}

.impact-table tbody tr:hover {
    background-color: rgba(91, 140, 81, 0.1); /* Light tint of --primary */
    transition: background-color 0.3s ease;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

@media (max-width: 767.98px) {
    .impact-table th,
    .impact-table td {
        padding: 10px;
        font-size: 14px;
    }

    .impact-section {
        padding: 40px 0;
    }
}

/*** Future Plans Section ***/
.future-plans {
    padding: 60px 0;
    background-color: var(--light);
}

.future-plans .text {
    margin-bottom: 30px;
}

.future-plans-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.future-plans-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--dark);
}

@media (max-width: 767.98px) {
    .future-plans {
        padding: 40px 0;
    }

    .future-plans-list li {
        font-size: 14px;
    }
}

/*** Organogram List ***/
.organogram-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 16px;
    color: var(--dark);
}

.organogram-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 5px;
}

.organogram-list li::before {
    content: "\f0da"; /* Font Awesome right arrow for hierarchy */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 10px;
    top: 12px;
}

.organogram-list ul {
    list-style: none;
    padding-left: 20px;
    border-left: 2px solid var(--primary);
    margin-left: 15px;
}

.organogram-list li:hover {
    background-color: rgba(91, 140, 81, 0.1); /* Light tint of --primary */
    transition: background-color 0.3s ease;
}

.organogram-list li ul li::before {
    content: "\f105"; /* Font Awesome angle right for sub-levels */
}

.card.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767.98px) {
    .organogram-list {
        font-size: 14px;
    }

    .organogram-list li {
        padding: 8px 0 8px 25px;
    }

    .organogram-list li::before {
        top: 10px;
        left: 8px;
    }

    .organogram-list ul {
        padding-left: 15px;
        margin-left: 12px;
    }
}