/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.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 ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@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 {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}





/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    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;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/* ===== FIXED NAVBAR LOGO SIZE ===== */

.navbar .navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    width: 180px !important;
    max-width: 45vw !important;
    height: 70px !important;
    padding: 0 !important;
    margin-right: 20px !important;
    overflow: hidden !important;
    line-height: 1 !important;
}

.navbar .navbar-brand .navbar-logo {
    display: block !important;
    width: 180px !important;
    max-width: 100% !important;
    height: 70px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: left center !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 140px !important;
        height: 55px !important;
    }

    .navbar .navbar-brand .navbar-logo {
        width: 140px !important;
        height: 55px !important;
        max-height: 55px !important;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .navbar .navbar-brand {
        width: 115px !important;
        height: 45px !important;
    }

    .navbar .navbar-brand .navbar-logo {
        width: 115px !important;
        height: 45px !important;
        max-height: 45px !important;
    }
}

/* =========================================
   AGRICULTURAL GROWTH ROADMAP
   Latino Farms - Services Page
========================================= */

.growth-roadmap-section {
    padding: 90px 0;
    background: #f7f8fc;
}

.roadmap-intro {
    max-width: 820px;
    line-height: 1.95;
    margin-bottom: 15px;
}

.growth-roadmap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.growth-roadmap::before {
    content: "";
    position: absolute;
    top: 38px;
    bottom: 38px;
    left: 39px;
    width: 3px;
    background: #dcefd5;
}

.roadmap-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    margin-bottom: 25px;
    background: #ffffff;
    border: 1px solid #e9eee6;
    border-radius: 15px;
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.035);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:last-child {
    margin-bottom: 0;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.075);
}

.roadmap-number {
    position: relative;
    z-index: 2;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3CB815;
    color: #ffffff;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 0 0 7px #f7f8fc;
}

.roadmap-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf8e9;
    color: #3CB815;
    border-radius: 12px;
    font-size: 25px;
}

.roadmap-content {
    flex: 1;
    min-width: 0;
}

.roadmap-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #3CB815;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.roadmap-content h3 {
    margin-bottom: 13px;
    font-size: 24px;
    line-height: 1.4;
}

.roadmap-content p {
    margin-bottom: 17px;
    line-height: 1.9;
    color: #666666;
}

.roadmap-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    background: #edf8e9;
    color: #267e15;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.roadmap-status-orange {
    background: #fff0e8;
    color: #c74608;
}

.roadmap-card-final .roadmap-number {
    background: #F65005;
}

.roadmap-card-final .roadmap-icon {
    background: #fff0e8;
    color: #F65005;
}

.roadmap-card-final .roadmap-label {
    color: #F65005;
}

.roadmap-principle {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    padding: 35px;
    background: #eaf7e5;
    border-left: 5px solid #3CB815;
    border-radius: 12px;
}

.roadmap-principle-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #3CB815;
    border-radius: 50%;
    font-size: 25px;
}

.roadmap-principle h3 {
    margin-bottom: 13px;
    font-size: 24px;
}

.roadmap-principle p {
    margin-bottom: 0;
    line-height: 1.95;
}

/* Responsive layout */
@media (max-width: 767.98px) {
    .growth-roadmap-section {
        padding: 60px 0;
    }

    .growth-roadmap::before {
        left: 24px;
    }

    .roadmap-card {
        gap: 16px;
        padding: 23px 18px;
    }

    .roadmap-number {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 16px;
        box-shadow: 0 0 0 5px #f7f8fc;
    }

    .roadmap-icon {
        display: none;
    }

    .roadmap-content h3 {
        font-size: 20px;
    }

    .roadmap-content p {
        font-size: 14px;
    }

    .roadmap-principle {
        gap: 17px;
        padding: 25px 20px;
    }

    .roadmap-principle-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .roadmap-principle h3 {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .roadmap-card {
        gap: 13px;
        padding: 20px 14px;
    }

    .roadmap-number {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
        font-size: 14px;
    }

    .growth-roadmap::before {
        left: 19px;
    }

    .roadmap-content h3 {
        font-size: 18px;
    }

    .roadmap-status {
        font-size: 11px;
    }
}