/* ----------------------------------

Template Name: Agrul - Organic Farm Agriculture Template
Author: validtheme
Description:
Version: 1.0

Main Font    : Manrope
Main Color   : #6222cc

-------------------------------------

[Typography]

Body copy:    15px 'Manrope', sans-serif
Header:     36px 'Manrope', sans-serif
Input, textarea:  16px 'Manrope', sans-serif
Sidebar heading:  20px 'Manrope', sans-serif

>>> TABLE OF CONTENTS:
=======================
        
    01. Template default css
        - Animations
        - General
        - Section Title
        - Video Button
        - Typography
        - Tables
        - Forms
        - Buttons
        - Pagination
        - Colors
    02. Preloader
    03. Topbar
	    - Topbar Regular
        - Topbar With Menu
    04 Navbar
        - Navbar Default
        - Navbar Right Menu
        - Navbar Sticky
        - Navbar Center
    05. Banner
        - Banner Style One
        - Banner Style Two
    06. About Us
	    - About Style One
        - About Style Two
    07. Services
        - What We Do (Slider)
        - Services With Image & Icon
        - Services Single
    09. Product
		- Product Light Version
        - Product Dark Version
    10. Why Choose Us
    11. Fun Factor
    12. Testimonials
    13. Farmers
        - Farmer Grid
        - Farmer Details
    14. Projects
        - Project Slider
        - Prject Grid
        - Prject Details
    15. Order Process
    16. Clients / Brand
    17. Blog
        - Standard
        - Blog Grid
        - Left Sidebar
        - Right Sidebar
        - Single
    18. Error 404
    19. Footer
    20. PHP Contact Form
    21. Others

*/

/*
** General Styles for HTML tags
*/

/* Top bar green background from left to right */
.top-bar-area {
    background: var(--dark);
}

.top-bar-area .container::after {
    background: var(--dark);
}

.top-bar-area .social {
    background: transparent;
    padding: 2px 0;
}

.top-bar-area .container .row {
    padding: 4px 0;
}

.top-bar-area,
.top-bar-area p,
.top-bar-area ul li {
    font-size: 11px;
}

/* Reduce logo size */
.navbar-brand>img {
    height: 35px;
}

/* Reduce menu/navbar height */
.navbar .attr-right .attr-nav li a {
    padding: 10px 0;
}

/* Smaller contact block (icon + text) in the navbar */
.navbar .attr-right .attr-nav li .call i {
    font-size: 26px;
    margin-right: 10px;
}

.navbar .attr-right .attr-nav li .call p {
    font-size: 11px;
    margin-bottom: 3px;
}

.navbar .attr-right .attr-nav li .call h5 {
    font-size: 13px;
}

nav.navbar.validnavs .navbar-collapse ul.nav>li>a {
    padding: 8px 0;
    font-size: 14px;
    text-transform: capitalize;
}

/* Tighter navbar section (top/bottom) */
nav.navbar.validnavs,
nav.navbar.validnavs.navbar-sticky.sticked {
    padding: 5px 0;
}

/* ==================================================
   Hero Slider (after header)
================================================== */
.hero-slider .banner-fade {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
}

/* Background image with slow zoom (Ken Burns) effect */
.hero-slider .hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.hero-slider .swiper-slide-active .hero-slide-bg {
    transform: scale(1.08);
}

/* Dark gradient overlay for text readability */
.hero-slider .hero-slide-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-slider .content {
    position: relative;
    z-index: 1;
}

/* Remove the template's green splash shape behind the slide content */
.hero-slider .content::after,
.hero-slider .swiper-slide.swiper-slide-active .content::after {
    display: none;
}

/* Ribbon badge with skewed accent bar on the left */
.hero-slider .hero-badge {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #fff;
    background: #033603;
    padding: 9px 24px;
    border-radius: 0;
    margin-bottom: 25px;
    margin-left: 14px;
}

.hero-slider .hero-badge::before {
    position: absolute;
    left: -12px;
    top: 0;
    content: "";
    height: 100%;
    width: 22px;
    background: #fff;
    transform: skewX(18deg);
    z-index: -1;
}

.hero-slider h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
    max-width: 480px;
}

.hero-slider h2 strong {
    color: var(--color-primary);
    font-weight: 700;
}

.hero-slider p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-slider .button {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* White pill buttons with arrow icon */
.hero-slider .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    line-height: 1.4;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.hero-slider .hero-btn i {
    font-size: 13px;
    transition: transform 0.3s ease-in-out;
}

.hero-slider .hero-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.hero-slider .hero-btn:hover i {
    transform: translateX(5px);
}

.hero-slider .hero-btn.hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-slider .hero-btn.hero-btn-outline:hover {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

/* Slide-in animation for active slide content */
.hero-slider .content>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-slider .swiper-slide-active .content>* {
    opacity: 1;
    transform: translateY(0);
}

.hero-slider .swiper-slide-active .content>*:nth-child(1) {
    transition-delay: 0.3s;
}

.hero-slider .swiper-slide-active .content>*:nth-child(2) {
    transition-delay: 0.5s;
}

.hero-slider .swiper-slide-active .content>*:nth-child(3) {
    transition-delay: 0.7s;
}

.hero-slider .swiper-slide-active .content>*:nth-child(4) {
    transition-delay: 0.9s;
}

/* Vertical dot pagination on the right edge */
.hero-slider .swiper-pagination {
    left: auto;
    right: 25px;
    top: 50%;
    bottom: auto;
    width: auto;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-slider .swiper-pagination span.swiper-pagination-bullet {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    opacity: 1;
    margin: 0;
    transition: all 0.35s ease-in-out;
}

/* Active dot: small dot with an outer ring */
.hero-slider .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    height: 18px;
    width: 18px;
    background: radial-gradient(circle, #fff 0 3px, transparent 3.5px);
    border-color: #fff;
}

/* Navigation arrows — side by side at the bottom center, always visible */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    height: 34px;
    width: 34px;
    top: auto;
    bottom: 30px;
    margin-top: 0;
    transform: none;
    opacity: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.hero-slider .swiper-button-prev {
    left: calc(50% - 40px);
    right: auto;
}

.hero-slider .swiper-button-next {
    left: calc(50% + 6px);
    right: auto;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 12px;
}

@media (max-width: 767px) {

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }

    .hero-slider .swiper-slide {
        min-height: 60vh;
        padding: 80px 0;
    }

    /* !important needed: the template forces 36px with !important below 768px */
    .hero-slider h2 {
        font-size: 28px !important;
    }
}

/* ==================================================
   Our Clients (centered logo row, uniform boxes)
================================================== */
.clients-area .clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.clients-area .client-logo {
    height: 100px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

.clients-area .client-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.clients-area .client-logo:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

@media (max-width: 575px) {
    .clients-area .client-logo {
        height: 80px;
        width: 140px;
    }
}

/* ==================================================
   Corporate Horizontal Tabs (About page)
================================================== */
.corporate-tabs {
    border-bottom: none;
    gap: 10px;
    margin-bottom: 0;
    justify-content: center;
}

.corporate-tabs .nav-link {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}

.corporate-tabs .nav-link:hover {
    background: #f5f5f5;
    color: #033603;
}

.corporate-tabs .nav-link.active {
    background: #033603;
    color: #fff;
    border-color: #033603;
}

.corporate-tab-content {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 8px 8px 8px;
    padding: 30px 35px;
    min-height: 200px;
}

.corporate-tab-content ul {
    padding-left: 20px;
}

.corporate-tab-content ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

@media (max-width: 575px) {
    .corporate-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .corporate-tabs .nav-link {
        border-radius: 8px;
        border: 1px solid #ddd;
        padding: 10px 20px;
        font-size: 13px;
    }

    .corporate-tab-content {
        border-radius: 8px;
        padding: 20px;
    }
}

/* ==================================================
   Slim Footer
================================================== */
html {
    scroll-behavior: smooth;
}

.footer-slim .footer-slim-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 35px 0;
}

.footer-slim .footer-slim-menu,
.footer-slim .footer-slim-social {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-slim .footer-slim-menu {
    gap: 25px;
    flex-wrap: wrap;
}

.footer-slim .footer-slim-menu li a {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.footer-slim .footer-slim-menu li a:hover {
    color: var(--color-secondary);
}

.footer-slim .footer-slim-social {
    gap: 22px;
}

.footer-slim .footer-slim-social li a {
    color: #fff;
    font-size: 15px;
    transition: color 0.3s ease-in-out;
}

.footer-slim .footer-slim-social li a:hover {
    color: var(--color-secondary);
}

.footer-slim .footer-slim-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-slim .footer-slim-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-slim .footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.footer-slim .footer-back-top i {
    font-size: 12px;
}

.footer-slim .footer-back-top:hover {
    color: var(--color-secondary);
}

@media (max-width: 767px) {

    .footer-slim .footer-slim-top,
    .footer-slim .footer-slim-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-slim .footer-slim-menu {
        gap: 18px;
        justify-content: center;
    }
}

/* Center the menu between the logo and the contact info (desktop only) */
@media (min-width: 1024px) {
    nav.navbar.validnavs .main-nav-content {
        flex: 1;
    }

    nav.navbar.validnavs .navbar-collapse ul.nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    nav.navbar.validnavs .navbar-collapse.collapse {
        flex: 1;
        float: none;
        text-align: center;
    }
}