/* Minimal CSS - Using Tailwind for most styling */
:root {
    --primary-green: #9bf00b;
    --secondary-green: #a1ed20;
}

/* Products Section - Exact Original Animations */
.item {
    flex: 0.7;
    filter: blur(0.5px);
    transition: all 0.8s ease;
}

.itemclick {
    flex: 10 !important;
    filter: blur(0px) !important;
}

.item-content {
    transition: all 1s ease-in-out;
}

.d-none {
    opacity: 0 !important;
    transform: translate(-130%) !important;
}

.item-vertical-text {
    transform: rotate(-90deg) translate(-18%);
    transform-origin: 5% 20%;
    transition: all 0.5s ease;
    opacity: 1;
}

.item:not(.itemclick) .item-vertical-text {
    opacity: 1;
}

.itemclick .item-vertical-text {
    opacity: 0.3;
}

/* Service Cards - Exact Original Animations */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    filter: blur(20px);
    border-radius: 24px 0 0 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    filter: blur(20px);
    border-radius: 0 0 24px 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    width: 100%;
    transform: translateX(88%);
    border-radius: 0 24px 0 0;
}

.service-card:hover::after {
    width: 100%;
    transform: translateX(-88%);
    border-radius: 0 0 0 24px;
}

.service-card:hover {
    transform: scale(1.02);
}

/* Background Images */
.item-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product1.webp');
    background-size: cover;
    background-position: center;
}

.item-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product2.webp');
    background-size: cover;
    background-position: center;
}

.item-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product3.webp');
    background-size: cover;
    background-position: center;
}

.item-4 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product4.webp');
    background-size: cover;
    background-position: center;
}

.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://xagrotortek.in/assets/demo3.webp');
    background-size: cover;
    background-position: center;
}

.cta-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/farm.webp');
    background-size: cover;
    background-position: center;
}

/* Mobile Navigation */
#mobileMenu {
    transition: all 0.3s ease;
}

#mobileMenu.show {
    display: block !important;
}

/* Background Images */
.item-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product1.webp');
    background-size: cover;
    background-position: center;
}

.item-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product2.webp');
    background-size: cover;
    background-position: center;
}

.item-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product3.webp');
    background-size: cover;
    background-position: center;
}

.item-4 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/product4.webp');
    background-size: cover;
    background-position: center;
}

.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://xagrotortek.in/assets/demo3.webp');
    background-size: cover;
    background-position: center;
}

.cta-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://xagrotortek.in/assets/farm.webp');
    background-size: cover;
    background-position: center;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0c0c0c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-green), #00580f);
    border-radius: 10px;
    border: 3px solid #0c0c0c;
}

::-webkit-scrollbar-thumb:hover {
    background: #7fb00b;
}

::selection {
    background: var(--primary-green);
    color: #000;
}

.fs_24 {
    font-size: 2.2rem;
    font-weight: bold;
}

.auto {
    font-weight: bold;
    font-size: 2.2rem;
    color: var(--primary-green);
}