/*
Theme Name: Axix Agrotech Services Child
Template: axis-agrotech-services
Author: JayJay Ang
Version: 1.0
*/

/* ========== DEFAULT ========== */

body {
    background-color: #fefdf3;
    color: #000000;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

a {
    text-decoration: none;
}

p:last-child {
    margin: 0;
}

ol li:last-child,
ul li:last-child {
    margin: 0;
}

button {
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    color: #5d8548;
    margin: auto;
    max-width: 220px;
    padding: 20px;
    text-transform: uppercase;
    transition: 0.2s;
    width: 100%;
}

button.green {
    background-color: #3e5630;
    color: #ffffff;
}

/* ========== HEADER ========== */

.container {
    max-width: 1600px;
}

.top-con {
    background-color: #5d8548;
    padding: 10px;
}

.top-con ul {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.top-con ul li {
    list-style: none;
}

.top-con ul li a {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.top-con ul li a span {
    font-weight: 700;
}

nav.navbar .navbar-collapse.show,
nav.navbar .collapsing {
    background-color: #ffffff;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 100px;
    width: 100%;
    z-index: 1;
}

nav.navbar .navbar-brand img {
    max-width: 140px;
    width: 100%;
}

nav .navbar-nav {
    align-items: center;
    display: flex;
    gap: 50px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

nav .navbar-nav li {
  position: relative;
}

nav .navbar-nav li a {
    color: #000000;
    font-size: 14px;
    text-transform: uppercase;
}

nav .navbar-nav li.current-menu-item:before {
    border-bottom: 3px solid #5d8548;
    bottom: -10px;
    content: " ";
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
}

nav .navbar-nav li.current-menu-item a {
    color: #5d8548;
    font-weight: 700;
}

nav button.navbar-toggler {
    border: none;
    margin: 0 5px 0 0;
}

nav button.navbar-toggler:focus {
    box-shadow: none;
}

nav button.navbar-toggler p {
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

ul.top-social {
    align-items: center;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.top-social li {
    background-color: #3e5630;
    border-radius: 5px;
    list-style-type: none;
    padding: 6px;
}

.top-social li.icon {
    align-items: center;
    display: flex;
    height: 45px;
    justify-content: center;
    position: relative;
    width: 45px;
}

.top-social li.icon:before {
    background-color: #ffffff;
    content: " ";
    height: 24px;
    left: 0;
    margin: auto;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 100%;
    position: absolute;
    right: 0;
    width: 24px;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
}

.top-social li.whatsapp:before {
    mask-image: url("../../../wp-content/uploads/2026/03/whatsapp.svg");
}

.top-social li.email:before {
    mask-image: url("../../../wp-content/uploads/2026/03/email.svg");
}

@media all and (max-width: 991px) {
    nav .navbar-nav {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 0px 9px 15px -6px #5d8548;
        gap: 0;
        margin-bottom: 0 !important;
        -webkit-box-shadow: 0px 9px 15px -6px #5d8548;
    }

    nav .navbar-nav li {
        text-align: center;
        width: 100%;
    }

    nav .navbar-nav li:last-child {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    nav .navbar-nav li a {
        display: flex;
        justify-content: center;
        padding: 12px 0;
        width: 100%;
    }

    nav .navbar-nav li.current-menu-item {
        background-color: #5d8548;
    }

    nav .navbar-nav li.current-menu-item:before {
        content: unset;
    }

    nav .navbar-nav li.current-menu-item a {
        color: #ffffff;
    }

    ul.top-social {
        gap: 5px;
    }
}

@media all and (max-width: 575px) {
    .top-con {
        display: none;
    }

    nav.navbar .navbar-brand img {
        max-width: 100px;
    }

    nav.navbar .navbar-collapse.show,
    nav.navbar .collapsing {
        top: 70px;
    }

    .top-social li.icon {
        height: 40px;
        width: 40px;
    }
}

/* ========== HOME ========== */

.head-title h1 {
    font-size: 54px;
    line-height: 1.3;
    position: relative;
    text-transform: uppercase;
}

.head-title h1 span {
    color: #5d8548;
    font-weight: 700;
}

.head-title h1 div {
    text-align: right;
    width: 100%;
}

.home-slide .carousel-item {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    height: 400px;
    min-height: 300px;
}

.home-about {
    margin: 4rem auto;
}

.home-about .home-about-desc {
    padding: 30px 0;
}

.home-about .home-about-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    height: 400px;
    min-height: 300px;
}

.point {
    margin: 4rem auto;
}

.point .title {
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.point .title h4 {
    font-size: 20px;
}

.point .title h2 {
    align-items: center;
    display: flex;
    font-weight: 700;
    margin: 0 auto 2rem;
    position: relative;
    text-align: center;
    width: 100%;
}

.point .title h2:after,
.point .title h2:before {
    background-color: #3e5630;
    content: " ";
    flex: 1;
    height: 2px;
}

.point .title h2:after {
    margin-left: 20px;
}

.point .title h2:before {
    margin-right: 20px;
}

.point .point-list ul {
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}

.point .point-list ul li {
    list-style: none;
    text-align: center;
}

.point .point-list ul li img {
    margin: auto auto 20px;
    max-width: 140px;
    width: 100%;
}

.point .point-list ul li p {
    font-weight: 700;
}

.home-product {
    margin: 4rem auto;
}

.home-product .home-product-bg {
    background-color: #5d8548;
    border-radius: 15px;
    padding: 50px 25px;
    text-align: center;
}

.home-product .home-product-bg h1 {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.home-product h4.product-title {
    background-color: #fefdf3;
    border-radius: 10px;
    color: #3e5630;
    margin: -80px auto 0;
    padding: 15px;
    position: relative;
    width: 80%;
    z-index: 1;
}

.home-cert {
    margin: 4rem auto;
    text-align: center;
}

.home-cert .title h2 {
    font-weight: 700;
    text-transform: uppercase;
}

.home-cert ul {
    align-items: center;
    display: flex;
    gap: 35px;
    justify-content: center;
    margin: 20px 0 0 0;
    padding: 0;
}

.home-cert ul li {
    list-style: none;
}

.home-cert ul li img {
    max-width: 160px;
    width: 100%;
}

@media all and (max-width: 991px) {
    .head-title h1 {
        font-size: 40px;
    }

    .home-about,
    .point,
    .home-product,
    .home-cert {
        margin: 2rem auto;
    }

    .point .title h4 {
        font-size: 15px;
    }

    .point .title h2,
    .home-product .home-product-bg h1,
    .home-cert .title h2 {
        font-size: 24px;
    }

    .point .point-list ul li img {
        max-width: 100px;
    }

    .home-product .home-product-bg {
        padding: 25px;
    }

    .home-product h4.product-title {
        font-size: 18px;
    }

    .home-cert ul li img {
        max-width: 120px;
    }
}

@media all and (max-width: 767px) {
    .head-title h1 {
        font-size: 30px;
    }

    .head-title h1 br {
        display: none;
    }

    .head-title h1 div {
        text-align: unset;
    }

    .point .point-list ul {
        flex-wrap: wrap;
    }

    .point .point-list ul li {
        margin-bottom: 10px;
        width: calc(50% - 10px);
    }
}

/* ========== ABOUT ========== */

.page-title h1 {
    font-size: 50px;
    text-transform: uppercase;
}

.page-title h1 .color {
    color: #5d8548;
    font-weight: 600;
}

.about-info {
    margin: 4rem auto;
}

.about-info .info-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    height: 600px;
}

.about-info .about-desc {
    margin: 0 0 4rem;
}

.about-info h2 {
    font-weight: 700;
    text-transform: uppercase;
}

.about-mis-vis .box-bg {
    border-radius: 20px;
    color: #ffffff;
    min-height: 200px;
    padding: 25px;
}

.about-mis-vis h2 {
    font-weight: 700;
    text-transform: uppercase;
}

.about-mis-vis .box-bg.mission {
    background-color: #5d8548;
}

.about-mis-vis .box-bg.vision {
    background-color: #3e5630;
}

.about-core {
    margin: 4rem auto;
}

.about-core h2 {
    align-items: center;
    display: flex;
    font-weight: 700;
    margin: 0 auto 2rem;
    position: relative;
    text-align: center;
    width: 100%;
}

.about-core h2:before {
    margin-right: 20px;
}

.about-core h2:after {
    margin-left: 20px;
}

.about-core h2:after,
.about-core h2:before {
    background-color: #3e5630;
    content: " ";
    flex: 1;
    height: 2px;
}

/* --- LEFT SIDE STYLING --- */
.value-titles {
    margin: 0;
    padding: 0;
}

.value-titles li {
    align-items: center;
    color: #c4c4c4;
    cursor: pointer;
    display: flex;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.value-titles li.active {
    color: #000000;
}

.value-titles li.active::before {
    background-color: #5a7059;
    content: "";
    display: inline-block;
    height: 1px;
    margin-right: 20px;
    width: 60px;
}

/* --- RIGHT SIDE STYLING --- */

.value-contnet {
    margin: 0;
}

.value-content li {
    display: none;
}

.value-content li.active {
    animation: fadeIn 0.4s ease-in-out;
    display: block;
}

.content-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.content-card .value-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    height: 500px;
    min-height: 300px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media all and (max-width: 991px) {
    .about-info,
    .about-core {
        margin: 2rem auto;
    }

    .about-core h2 {
        font-size: 24px;
    }

    .value-listing {
        margin: 2rem auto;
    }
}

@media all and (max-width: 767px) {
    .about-info .info-bg {
        height: 400px;
        margin: 0 0 20px;
    }

    .about-mis-vis .box-bg {
        margin: 0 0 20px;
    }

    .about-mis-vis .box-bg.vision {
        margin: 0;
    }

    .value-listing {
        margin: 1rem auto 2rem;
    }

    .value-titles li {
        font-size: 30px;
        margin: 0 0 10px;
    }

    .value-titles li:last-child {
        margin: 0;
    }

    ul.value-content {
        margin: 20px 0 0;
    }

    .page-title h1 {
        font-size: 30px;
        margin: 30px 0;
    }
}

/* ========== PRODUCT ========== */

.contact-form {
    margin: 4rem auto;
}

.contact-form .form-bg {
    background-color: #5d8548;
    border-radius: 20px;
    padding: 50px;
}

.contact-form .form-bg h1 {
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.contact-form .form-bg p {
    color: #ffffff;
}

.woo-product h1.product_title.entry-title {
    color: #5d8548;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: center;
}

.woo-product .woocommerce-product-gallery__image {
    margin: 15px auto;
}

.woo-product .woocommerce-product-gallery {
    margin: 0 0 30px;
    text-align: center;
}

.woo-product .whatsapp-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 1rem;
    text-align: center;
}

.woo-product .whatsapp-buttons {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.woo-product .summary.entry-summary .title {
    border-bottom: 1px solid #000000;
    color: #3e5630;
    font-weight: 700;
    margin: 40px 0 20px;
    padding: 0 0 15px;
    text-transform: uppercase;
}

.woo-product table tr td {
    border: 1px solid #cccccc;
    padding: 10px;
}

.woo-product table tr td img {
    margin: 0 auto;
}

.woo-product table tr td p:last-child {
    margin: 0 !important;
}

.woo-product .summary.entry-summary .title:first-child {
    margin: 0 0 20px;
}

.woo-product .summary.entry-summary .product-box p {
    line-height: 1.6;
    margin: 0 0 10px;
}

.woo-product .summary.entry-summary .product-box ul {
    margin: 0 0 10px 0;
}

.related-product h2.related-title {
    color: #5d8548;
    font-weight: 700;
    margin: 0 0 2rem;
}

.related-product h4.product-title {
    background-color: #fefdf3;
    border-radius: 10px;
    color: #3e5630;
    margin: -80px auto 0;
    padding: 15px;
    position: relative;
    width: 80%;
    z-index: 1;
}

.woo-product .price-indi ol {
    margin: 0 0 30px 0;
}

@media all and (min-width: 991px) {
    .product-image-sec {
        align-self: flex-start;
        position: -webkit-sticky;
        position: sticky;
        top: 40px;
        z-index: 10;
    }

    .contact-form {
        margin: 2rem auto;
    }

    .contact-form .form-bg h1 {
        font-size: 24px;
    }

    .woo-product .product-desc-sec {
        margin: 2rem auto;
    }

    .woo-product .summary.entry-summary .title {
        font-size: 24px;
    }
}

@media all and (max-width: 991px) {
    .related-product h4.product-title {
        font-size: 18px;
    }
}

@media all and (max-width: 767px) {
    .contact-form .form-bg {
        padding: 30px;
    }

    .contact-form .form-bg h1 {
        font-size: 24px;
    }

    .woo-product h1.product_title.entry-title {
        font-size: 26px;
    }
}

/* ========== OTHER SERVICES ========== */

.service {
    margin: 4rem auto;
}

.service .row {
    counter-reset: service-counter;
}

.service-info {
    background-color: #5d8548;
    border-radius: 15px;
    counter-increment: service-counter;
    column-gap: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    height: 100%;
    padding: 25px;
    transition: 0.3s;
}

.service-info::before {
    content: counter(service-counter);
    color: #ffffff;
    font-size: 4rem;
    font-weight: 700;
    grid-column: 1;
    grid-row: 1 / 3;
    line-height: 0.8;
    opacity: 0.9;
}

.service-info h3.service-title {
    color: #ffffff;
    grid-column: 2;
    grid-row: 1;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
}

/*.service .col:nth-child(even) .service-info {
    background-color: #81b665;
}*/


.service-info:hover {
    background-color: #81B666;
}

.service-info p {
    color: #ffffff;
}

/* ========== CONTACT ========== */

.contact-contain iframe {
    height: 350px;
    border-radius: 15px;
}

.contact-contain .contact-info h2 {
    border-bottom: 1px solid #3e5630;
    color: #3e5630;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 25px;
    padding: 0 0 10px;
    text-transform: uppercase;
}

.contact-contain .contact-info ul {
    margin: 0;
    padding: 0;
}

.contact-contain .contact-info ul li {
    list-style: none;
    margin: 0 0 15px;
}

.contact-contain .contact-info ul li:last-child {
    margin: 0;
}

.contact-contain .contact-info ul li span {
    font-weight: 700;
}

@media all and (max-width: 991px) {
    .contact-form {
        margin: 2rem auto;
    }
}

@media all and (max-width: 767px) {
    .contact-contain .contact-info {
        margin: 2rem auto;
    }

    .contact-contain .contact-info h2 {
        font-size: 20px;
    }
}

/* ========== FOOTER ========== */

.footer {
    background-color: #3e5630;
    border-radius: 20px;
    color: #ffffff;
    margin: 70px auto 20px;
    padding: 25px;
}

.footer h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
}

.footer ul {
    margin: 0;
    padding: 0;
}

.footer ul li {
    list-style: none;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.footer ul li p {
    font-size: 14px;
    margin: 0;
}

.footer ul li a {
    color: #ffffff;
    font-size: 14px;
}

.footer .sec-1 img {
    max-width: 140px;
    width: 100%;
}

.footer .sec-1 p {
    font-size: 14px;
}

.footer .sec-2 ul li p {
    font-size: 15px;
    font-weight: 700;
}

.footer .copy {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.footer .copy a,
.footer .copy p {
    font-size: 15px;
}

.footer .copy > li ul {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.footer .copy > li ul li {
    margin: 0;
}

@media all and (max-width: 767px) {
    .footer .sec-1,
    .footer .sec-2 {
        margin: 0 0 20px;
    }

    .footer .copy,
    .footer .copy > li ul {
        display: block;
    }

    .footer .copy li {
        margin: 0 0 20px;
    }

    .footer .copy li:last-child {
        margin: 0;
    }

    .footer .copy p {
        font-size: 12px;
        text-align: center;
    }
}

@media all and (max-width: 575px) {
    .footer h4 {
        font-size: 16px;
    }

    .footer .sec-1 img {
        margin: 0 0 10px;
        max-width: 100px;
    }
}
