/* Modern Agricultural Design Styles */
:root{
  --primary-green: #4a7c4e;
  --dark-green: #2d5a3a;
  --yellow: #f4b41a;
  --dark-yellow: #d9a015;
  --light-bg: #f8f8f8;
  --white: #ffffff;
  --black: #1a1a1a;
  --grey: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Roboto', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

/* Wider container for more browser width usage */
.container {
  max-width: 1400px !important;
  width: 92% !important;
}

@media (max-width: 992px) {
  .container {
    width: 90% !important;
  }
}

@media (max-width: 600px) {
  .container {
    width: 95% !important;
  }
}

/* Navigation */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

.nav-transparent {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.nav-transparent.scrolled {
  background: transparent;
  box-shadow: none !important;
}

.nav-wide {
  max-width: 95%;
  margin: 0 auto;
  padding: 10px 40px;
}

.nav-green .brand-logo {
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 5px 0;
}

.logo-horizontal {
  height: 58px;
  width: auto;
  display: block;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.logo-horizontal:hover {
  background: rgba(0, 0, 0, 0.12);
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-right: 0;
}

.nav-menu li {
  display: inline-block;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 8px 0 8px 0 !important;
  position: relative;
  line-height: 1.2;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f4b41a;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  background: transparent !important;
}

/* Mobile Navigation */
.sidenav {
  background: #000000 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh !important;
  padding: 60px 40px 40px 40px !important;
  box-shadow: none !important;
  right: 0 !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.sidenav-header {
  display: none !important;
}

.brand-logo-mobile {
  display: none;
}

.sidenav-close {
  position: fixed !important;
  top: 30px !important;
  right: 40px !important;
  background: transparent !important;
  border: none !important;
  color: white !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 !important;
  line-height: 1 !important;
  z-index: 10000 !important;
}

.sidenav-close:hover {
  transform: rotate(90deg);
}

.sidenav-close i {
  font-size: 32px !important;
  line-height: 1 !important;
}

.sidenav > li {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.sidenav-link {
  color: white !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  padding: 18px 0 !important;
  border: none !important;
  transition: all 0.3s ease;
  display: block !important;
  position: relative;
  line-height: 1.2 !important;
  height: auto !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.sidenav-link:hover {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  padding-left: 0 !important;
}

.sidenav-footer {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidenav-footer-item {
  margin-bottom: 20px;
}

.sidenav-footer-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.sidenav-footer-value {
  color: white;
  font-size: 1rem;
  font-weight: 400;
}

.sidenav-footer-value a {
  color: white !important;
  text-decoration: none;
}

.sidenav-overlay {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(3px);
}

/* Mobile menu button styling */
.sidenav-trigger {
  color: white;
  margin: 0;
  padding: 0;
}

.sidenav-trigger i {
  font-size: 28px;
  line-height: 80px;
}

/* Desktop menu - hide on mobile */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
}

/* Hero Section with Video */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 124, 78, 0.35) 0%, rgba(45, 90, 58, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.hero-text-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 50px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.btn-hero {
  font-size: 1.1rem !important;
  padding: 18px 50px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1.2s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slideInRight 1s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

/* Section scroll animations */
.section-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-animation > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-animation.visible > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.stagger-animation.visible > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.stagger-animation.visible > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.stagger-animation.visible > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.stagger-animation.visible > *:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.stagger-animation.visible > *:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Old nav styles - keep for compatibility */
.nav-green {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  padding: 0 20px;
}

/* Buttons */
.btn-yellow {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 600;
  padding: 15px 40px !important;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(244, 180, 26, 0.4);
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: var(--dark-yellow) !important;
  box-shadow: 0 6px 20px rgba(244, 180, 26, 0.6);
  transform: translateY(-2px);
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 15px;
  vertical-align: middle;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 30px;
}

.wheat-icon {
  font-size: 48px !important;
  color: var(--yellow);
  margin-bottom: 15px;
  display: inline-block;
  vertical-align: middle;
}

.yellow-icon {
  color: var(--yellow) !important;
}

/* Progress Bars */
.progress-item {
  margin: 30px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 500;
}

.progress-percent {
  color: var(--primary-green);
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--dark-yellow) 100%);
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* Trust Section Images */
.trust-images-wrapper {
  position: relative;
  height: 650px;
  margin-top: 20px;
  padding-left: 0;
}

.trust-image-main {
  position: absolute;
  right: 0;
  top: 0;
  width: 85%;
  height: 80%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.trust-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trust-image-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 75%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
  border: 8px solid white;
  z-index: 10;
}

.trust-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trust-images-wrapper:hover .trust-image-main img,
.trust-images-wrapper:hover .trust-image-overlay img {
  transform: scale(1.05);
}

/* Features Section with Overlapping Images */
.features-row {
  margin-top: 60px;
}

.feature-images-wrapper {
  position: relative;
  height: 600px;
  margin-top: 20px;
}

.feature-image-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.feature-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-image-overlay {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 70%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
  border: 8px solid white;
  z-index: 10;
}

.feature-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-images-wrapper:hover .feature-image-main img,
.feature-images-wrapper:hover .feature-image-overlay img {
  transform: scale(1.05);
}

.play-button-feature {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 20;
}

.play-button-feature:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--yellow);
}

.play-button-feature i {
  color: var(--primary-green);
  font-size: 36px;
}

.play-button-feature:hover i {
  color: white;
}

/* Feature Content */
.feature-content {
  padding-left: 50px;
}

.feature-item {
  margin-bottom: 45px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--black);
  line-height: 1.3;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a5a5a;
  margin: 0;
}

/* About Section */
.about-section {
  background: white;
  padding: 80px 0;
}

.about-heading {
  max-width: 600px;
  margin-bottom: 50px;
}

.about-main-row {
  margin-top: 50px;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
}

.about-main-image {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-stats-overlay {
  position: absolute;
  bottom: -40px;
  right: -180px;
  display: flex;
  gap: 20px;
  z-index: 10;
}

.about-stat-card {
  padding: 30px 35px;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-stat-green {
  background: linear-gradient(135deg, #8fc857 0%, #6fb33f 100%);
}

.about-stat-black {
  background: #1a1a1a;
}

.about-stat-card h6 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  color: white;
}

.about-stat-card h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: white;
  line-height: 1;
}

.about-stat-card p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.about-text-content {
  padding-left: 40px;
}

.about-text-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #666;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.green-stat {
  background: linear-gradient(135deg, #8fc857 0%, #6fb33f 100%);
}

.green-stat h6,
.green-stat h3 {
  color: white;
  margin: 0;
}

.black-stat {
  background: var(--black);
}

.black-stat h6,
.black-stat h3 {
  color: white;
  margin: 0;
}

.stat-card h6 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0;
}

.stat-card p {
  font-size: 0.9rem;
  margin: 10px 0 0 0;
}

/* Read More Link */
.read-more-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
}

/* Product Showcase */
.product-showcase {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.product-showcase:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-showcase img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-showcase h5 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 20px 20px 15px;
  color: var(--black);
}

.product-list {
  list-style: none;
  padding: 0 20px 20px;
  margin: 0;
}

.product-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--grey);
}

.product-list li i {
  margin-right: 10px;
}

/* Contact Section */
.contact-section .card {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-section .card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

/* Footer */
.footer-green {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  margin-top: 0;
  padding-top: 40px;
}

.footer-green h5,
.footer-green h6 {
  font-weight: 700;
}

.footer-green ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-green ul li {
  margin-bottom: 8px;
}

.footer-green ul li a {
  transition: color 0.3s ease;
}

.footer-green ul li a:hover {
  color: var(--yellow) !important;
}

.footer-copyright {
  background: rgba(0,0,0,0.2);
  padding: 15px 0;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .feature-images-wrapper {
    height: 500px;
    margin-bottom: 40px;
  }

  .feature-image-main {
    width: 70%;
  }

  .feature-image-overlay {
    width: 60%;
    height: 65%;
    border: 5px solid white;
  }

  .feature-content {
    padding-left: 20px;
  }

  .feature-item {
    margin-bottom: 35px;
  }

  .feature-item h3 {
    font-size: 1.5rem;
  }

  .about-stats-overlay {
    position: relative;
    bottom: 0;
    right: 0;
    flex-direction: row;
    margin-top: 20px;
    gap: 15px;
  }

  .about-stat-card {
    min-width: auto;
    flex: 1;
  }

  .trust-images-wrapper {
    height: 500px;
    padding-left: 30px;
  }
  width: 85%;
  height: 75%;
}

.trust-image-overlay {
  width: 70%;
  height: 65%;
  border: 5px solid white;
}

.valign-wrapper {
  display: block !important;
}

.valign-wrapper .col {
  margin-bottom: 30px;
}

.nav-wide {
  max-width: 95%;
  padding: 10px 20px;
}

.nav-menu {
  gap: 30px;
}

@media (max-width: 600px) {
  /* Mobile Navigation Header */
  .nav-wide {
    padding: 15px 20px !important;
  }

  .brand-logo {
    font-size: 1.4rem !important;
    left: 0 !important;
    transform: none !important;
  }

  .brand-logo i {
    font-size: 28px !important;
    margin-right: 8px !important;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .sidenav-trigger {
    margin-right: 0 !important;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-section {
    height: 100vh;
    min-height: 100vh;
  }

  .section {
    padding: 50px 0;
  }

  .section-heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .about-heading {
    margin-bottom: 30px;
  }

  .about-stats-mobile {
    margin-bottom: 30px;
  }

  .about-stats-mobile .about-stat-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .about-stats-mobile .about-stat-card:last-child {
    margin-bottom: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-main-row {
    margin-top: 0;
  }

  .about-image-col {
    margin-bottom: 30px;
  }

  .about-text-col {
    margin-top: 0;
  }

  .about-image-wrapper {
    width: 100%;
  }

  .about-main-image {
    margin-bottom: 30px;
  }

  .about-text-content {
    padding-left: 0;
    padding-right: 0;
  }

  .about-text-content p {
    margin-bottom: 15px;
  }

  .read-more-link {
    margin-bottom: 30px;
    display: inline-block;
  }

  .feature-images-wrapper {
    height: 400px;
    margin-bottom: 30px;
  }

  .feature-image-main {
    width: 80%;
  }

  .feature-image-overlay {
    width: 70%;
    height: 65%;
    border: 4px solid white;
  }

  .feature-content {
    padding-left: 0;
  }

  .feature-item {
    margin-bottom: 30px;
  }

  .feature-item h3 {
    font-size: 1.3rem;
  }

  .feature-item p {
    font-size: 0.95rem;
  }

  .trust-images-wrapper {
    height: 400px;
    margin-bottom: 30px;
    padding-left: 0;
  }

  .trust-image-main {
    width: 90%;
    height: 65%;
  }

  .trust-image-overlay {
    width: 75%;
    height: 60%;
    border: 4px solid white;
  }

  .section .valign-wrapper {
    flex-direction: column;
  }

  .section .row {
    margin-bottom: 0;
  }

  .btn-hero {
    font-size: 0.95rem !important;
    padding: 15px 35px !important;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}

/* Utilities */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Materialize Overrides & Fixes */
body {
  background: var(--white) !important;
}

/* Fix input fields styling */
.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field textarea.materialize-textarea:focus {
  border-bottom: 2px solid var(--primary-green) !important;
  box-shadow: 0 1px 0 0 var(--primary-green) !important;
}

.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field textarea.materialize-textarea:focus + label {
  color: var(--primary-green) !important;
}

.input-field label {
  color: var(--grey) !important;
}

/* Card improvements */
.card {
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Remove Materialize default margins that break layout */
.section.grey.lighten-5 {
  background: var(--light-bg) !important;
}

.section.white {
  background: var(--white) !important;
}

/* Improve button spacing */
button.btn, .btn {
  margin-right: 10px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Contact form improvements */
.contact-form {
  padding: 20px 0;
}

.contact-section {
  background: var(--light-bg);
}

/* Navigation improvements */
nav {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

nav .brand-logo {
  padding: 0 15px;
}

/* Hero adjustments */
.hero-section {
  margin-top: 0;
}

/* Section spacing consistency */
.section + .section {
  margin-top: 0;
}

/* Product Controls */
.product-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 450px;
}

.product-search {
  width: 100%;
  padding: 16px 50px 16px 24px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.product-search::placeholder {
  color: #999;
}

.product-search:focus {
  outline: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  pointer-events: none;
  font-size: 22px;
}

.filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 14px 28px;
  background: white;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  color: var(--primary-green);
}

.filter-btn.active {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 4px 12px rgba(74, 124, 78, 0.3);
  transform: translateY(-2px);
}

.product-count {
  margin-top: 20px;
  text-align: left;
}

.product-count p {
  font-size: 0.9rem;
  color: var(--grey);
  font-weight: 500;
}

.product-count span {
  color: var(--black);
  font-weight: 700;
}

/* Products Grid Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card-wrapper {
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card-wrapper.hidden {
  display: none;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 18px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  z-index: 10;
  border-radius: 8px;
}

.product-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  background: rgba(244, 180, 26, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  width: fit-content;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 14px 0;
  line-height: 1.4;
}

.product-description {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.btn-view-details {
  background: transparent;
  border: none;
  color: var(--primary-green);
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
  letter-spacing: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.btn-view-details::after {
  content: "\2192"; /* RIGHTWARDS ARROW */
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-view-details:hover {
  color: var(--dark-green);
}

.btn-view-details:hover::after {
  transform: translateX(5px);
}

/* Product Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 24px;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  padding: 0;
  line-height: 1;
}

.modal-close i {
  font-size: 24px;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg) scale(1.05);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: 50px;
}

.modal-image {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.modal-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.modal-info {
  display: flex;
  flex-direction: column;
}

.modal-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  background: rgba(244, 180, 26, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  width: fit-content;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 18px 0;
  line-height: 1.3;
}

.modal-description {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 30px;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-section h4 i {
  font-size: 22px;
  color: var(--yellow);
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-list li {
  padding: 10px 16px;
  padding-left: 40px;
  position: relative;
  color: #6b7280;
  font-size: 0.95rem;
  background: #f9fafb;
  border-radius: 10px;
  line-height: 1.6;
}

.modal-list li:before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: var(--primary-green);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.btn-request-quote {
  width: 100%;
  padding: 16px 32px !important;
  font-size: 1.05rem !important;
  margin-top: 24px;
  border-radius: 12px !important;
  font-weight: 600 !important;
}

.modal-contact-text {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.5;
}

/* Fix button display issues */
.btn, .btn-yellow, button.btn {
  display: inline-block !important;
  height: auto !important;
  line-height: normal !important;
  padding: 15px 40px !important;
  white-space: nowrap;
  overflow: visible !important;
}

/* Hero button fix */
.hero-section .btn {
  display: inline-block !important;
  padding: 15px 50px !important;
}

/* Contact form button fix */
.contact-form button[type="submit"] {
  display: inline-block !important;
  width: auto !important;
  padding: 12px 35px !important;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 20px 15px;
  }

  .modal-content {
    border-radius: 20px;
    max-height: calc(100vh - 40px);
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 30px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .product-controls {
    flex-direction: column;
    align-items: stretch;
    padding: 0 15px;
  }

  .search-wrapper {
    max-width: 100%;
  }

  .filter-buttons {
    justify-content: center;
  }

  .filter-btn {
    flex: 1;
    min-width: 120px;
  }

  .products-grid {
    padding: 0 15px;
  }
}

/* Agricultural Company Section */
.agricultural-section {
  background: #f5f1ed;
  padding: 80px 0;
}

.agricultural-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 60px;
  align-items: start;
}

.agricultural-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: all 0.3s ease;
}

.agricultural-card:nth-child(1) {
  margin-top: 0;
}

.agricultural-card:nth-child(2) {
  margin-top: 80px;
}

.agricultural-card:nth-child(3) {
  margin-top: 0;
}

.agricultural-card:nth-child(4) {
  margin-top: 40px;
}

.agricultural-card:hover {
  transform: translateY(-8px);
}

.agricultural-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.agricultural-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.agricultural-card:hover .agricultural-image img {
  transform: scale(1.08);
}

.agricultural-content {
  padding: 0;
}

.agricultural-content h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 18px;
}

.agricultural-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agricultural-list li {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.agricultural-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 0.8rem;
}

/* Organic Products Section */
.organic-section {
  margin-top: 50px;
}

.organic-images {
  position: relative;
  height: 600px;
}

.organic-image-main {
  width: 70%;
  height: 100%;
}

.organic-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.organic-image-overlay {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 50%;
  height: 50%;
}

.organic-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.play-button-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.play-button-center:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--yellow);
}

.play-button-center i {
  font-size: 36px;
  color: var(--primary-green);
}

.play-button-center:hover i {
  color: white;
}

.organic-features {
  padding-left: 40px;
}

.organic-feature {
  margin-bottom: 40px;
}

.organic-feature h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 15px;
}

.organic-feature p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsive for new sections */
@media (max-width: 768px) {
  .agricultural-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 15px;
  }

  .agricultural-card:nth-child(1),
  .agricultural-card:nth-child(2),
  .agricultural-card:nth-child(3),
  .agricultural-card:nth-child(4) {
    margin-top: 0;
  }

  .agricultural-image {
    height: 250px;
  }

  .organic-images {
    height: 400px;
    margin-bottom: 30px;
  }

  .organic-image-main {
    width: 80%;
  }

  .organic-image-overlay {
    width: 60%;
    height: 45%;
  }

  .organic-features {
    padding-left: 0;
  }

  .organic-feature {
    margin-bottom: 30px;
  }
}
