/* Main Stylesheet for Av Fresh Farms */

/* Variables */
:root {
  --primary-green: #2e7d32;
  --light-green: #4caf50;
  --dark-green: #1b5e20;
  --primary-brown: #5d4037;
  --light-brown: #8d6e63;
  --dark-brown: #3e2723;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Keyframe Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 125, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

/* Keyframe Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 125, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  display: none;
  z-index: 1000;
  border: 1px solid var(--primary-green);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.dropdown-menu.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--dark-green);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: var(--primary-green);
  color: var(--white);
  border-left: 3px solid var(--dark-green);
  padding-left: 25px;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
}

.dropdown-toggle.active::after {
  transform: rotate(180deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--dark-green);
}

.btn-secondary {
  background-color: var(--primary-brown);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--dark-brown);
}

.btn-small {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-success {
  background-color: #28a745;
  color: var(--white);
}

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: var(--dark-green);
  font-weight: 500;
  padding: 8px 0;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: none;
  font-size: 16px;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: var(--light-green);
  background-color: transparent;
  transform: none;
  box-shadow: none;
  text-shadow: 0 0 8px rgba(46, 125, 50, 0.5);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-green);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(46, 125, 50, 0.5);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(93, 64, 55, 0.8)), url('../images/hero-bg.php');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Featured Products */
.featured-products {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.featured-products h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark-green);
  font-size: 2rem;
}

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

.product-card {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

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

.product-card img {
  height: 250px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  background-color: #f8f9fa;
}

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

.product-info {
  padding: 25px;
}

.product-info h3 {
  margin: 0 0 10px 0;
  color: var(--dark-green);
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.product-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.farmer {
  color: var(--light-brown);
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.product-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stock {
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 500;
}

.btn-view {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-view::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-view:hover::before {
  left: 100%;
}

.btn-view:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-view:active {
  transform: translateY(-1px);
}

.btn-view i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .product-card {
    border-radius: 12px;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-info h3 {
    font-size: 1.2rem;
  }
  
  .price {
    font-size: 1.3rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    border: 1px solid var(--primary-green);
  }
  
  .dropdown-menu.show {
    transform: none;
  }
  
  .dropdown-menu a {
    color: var(--dark-gray);
  }
  
  .dropdown-menu a:hover {
    background: var(--primary-green);
    color: var(--white);
    padding-left: 25px;
  }
  
  .search-filters {
    padding: 20px;
  }
  
  .filter-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .btn-filter {
    width: 100%;
  }
  
  .no-products {
    padding: 40px 15px;
  }
  
  .pagination-list {
    gap: 5px;
  }
  
  .pagination-link {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    border-radius: 10px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-info h3 {
    font-size: 1.1rem;
  }
  
  .price {
    font-size: 1.2rem;
  }
  
  .filter-group input,
  .filter-group select {
    padding: 12px 14px;
  }
  
  .btn-filter {
    padding: 12px 16px;
  }
  
  .no-products {
    padding: 30px 10px;
  }
  
  .pagination-link {
    padding: 8px 12px;
    margin: 0 2px;
  }
}

/* Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.6);
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.chat-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 450px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6c757d;
  text-align: center;
  padding: 20px;
}

.chat-placeholder i {
  margin-bottom: 15px;
  color: var(--primary-green);
}

.chat-message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
}

.chat-message.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border-bottom-right-radius: 5px;
}

.chat-message.received {
  align-self: flex-start;
  background: #f1f1f1;
  color: #333;
  border-bottom-left-radius: 5px;
}

.chat-message .sender {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 3px;
  display: block;
}

.chat-message .time {
  font-size: 10px;
  opacity: 0.7;
  text-align: right;
  margin-top: 5px;
}

.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #eee;
  background: white;
}

.chat-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

/* Mobile Navigation Enhancements */
/* Always show mobile menu toggle for testing - remove this rule in production */
.mobile-menu-toggle {
  display: block;
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block !important;
  }
  
  .main-nav {
    display: none !important;
  }
  
  .auth-buttons a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .top-info-bar .left-info,
  .top-info-bar .right-info,
  .top-info-bar .contact-info {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  
  .top-info-bar .social-icons {
    margin-top: 10px;
    justify-content: center;
  }
  
  .main-header .container {
    padding: 10px 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  .auth-buttons {
    gap: 10px;
  }
  
  .auth-buttons a {
    padding: 6px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .top-info-bar {
    padding: 5px 0;
    font-size: 12px;
  }
  
  .top-info-bar .left-info span,
  .top-info-bar .contact-info span {
    font-size: 11px;
  }
  
  .top-info-bar .social-icons a {
    width: 25px;
    height: 25px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .auth-buttons a {
    padding: 5px 8px;
    font-size: 12px;
    border-width: 1px;
  }
}

/* Responsive adjustments for chat widget */
@media (max-width: 768px) {
  .chat-container {
    width: 300px;
    height: 400px;
    bottom: 70px;
    right: 15px;
  }
  
  .chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .chat-badge {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .chat-container {
    width: 280px;
    height: 350px;
    bottom: 60px;
    right: 10px;
  }
  
  .chat-message {
    max-width: 90%;
  }
  
  /* Mobile Dashboard Enhancements for Small Screens */
  .dashboard-header-content {
    padding: 10px;
  }
  
  .user-welcome h1 {
    font-size: 1.4rem;
  }
  
  .user-role {
    font-size: 0.9rem;
  }
  
  .stat-item {
    min-width: 100px;
    padding: 8px;
  }
  
  .stat-item i {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .stat-value {
    font-size: 0.9rem;
  }
  
  /* Sidebar styles have been moved to responsive-sidebar.css for better organization */
  /* These styles are intentionally left blank to avoid conflicts */
  
  .menu-item a {
    padding: 15px;
    font-size: 1rem;
  }
}

/* Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.6);
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.chat-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 450px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6c757d;
  text-align: center;
  padding: 20px;
}

.chat-placeholder i {
  margin-bottom: 15px;
  color: var(--primary-green);
}

.chat-message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
}

.chat-message.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border-bottom-right-radius: 5px;
}

.chat-message.received {
  align-self: flex-start;
  background: #f1f1f1;
  color: #333;
  border-bottom-left-radius: 5px;
}

.chat-message .sender {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 3px;
  display: block;
}

.chat-message .time {
  font-size: 10px;
  opacity: 0.7;
  text-align: right;
  margin-top: 5px;
}

.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #eee;
  background: white;
}

.chat-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

/* Responsive adjustments for chat widget */
@media (max-width: 768px) {
  .chat-container {
    width: 300px;
    height: 400px;
    bottom: 70px;
    right: 15px;
  }
  
  .chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .chat-badge {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .chat-container {
    width: 280px;
    height: 350px;
    bottom: 60px;
    right: 10px;
  }
  
  .chat-message {
    max-width: 90%;
  }
}

/* Footer */
.footer {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--light-brown);
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  color: #ccc;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--dark-green);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dashboard Layout */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.dashboard-header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 20px 0;
  margin-bottom: 30px;
}

.dashboard-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--primary-green);
}

.user-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  font-size: 1.2rem;
}

.user-welcome {
  display: flex;
  align-items: center;
}

.user-role {
  color: var(--light-brown);
  font-weight: 500;
}

.dashboard-stats-summary {
  display: flex;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--primary-green);
}

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

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
}

.stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.stat-value.premium {
  color: var(--primary-green);
}

.stat-value.free {
  color: var(--light-brown);
}

.stat-value.expired {
  color: #dc3545;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.badge {
  background-color: #dc3545;
  color: white;
  font-size: 0.7rem;
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 0;
}

.btn-secondary {
  position: relative;
}

.sidebar {
  width: 250px;
  background-color: var(--dark-green);
  color: var(--white);
  transition: var(--transition);
  height: 100vh;
  position: fixed;
  overflow-y: auto;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
  font-size: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
}

.sidebar-menu {
  padding: 20px 0;
}

.menu-item {
  padding: 0;
  transition: var(--transition);
}

.menu-item a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.menu-item a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-item.active a {
  background-color: var(--primary-green);
  border-left: 4px solid var(--light-brown);
}

.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-item.active a {
  background-color: var(--primary-green);
  border-left: 4px solid var(--light-brown);
}

.menu-text {
  white-space: nowrap;
  overflow: hidden;
}

.sidebar.collapsed .menu-text {
  display: none;
}

.sidebar.active .menu-text {
  display: block;
}

.sidebar.collapsed .sidebar-header h2 {
  display: none;
}

.sidebar.collapsed .sidebar-header {
  justify-content: center;
}

.sidebar.collapsed .menu-item a {
  justify-content: center;
  padding: 15px 10px;
}

.main-content {
  flex: 1;
  margin-left: 250px;
  transition: var(--transition);
}

.main-content.expanded {
  margin-left: 70px;
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 
              inset 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.form-container:hover::before {
  transform: scaleX(1);
}

.form-container h2 {
  color: var(--dark-green);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  font-size: 2.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.form-container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-group label::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 
              inset 0 2px 4px rgba(0, 0, 0, 0.05);
  color: var(--dark-gray);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.form-control:focus {
  border-color: var(--primary-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.3), 
              0 8px 20px rgba(46, 125, 50, 0.15);
  background-color: var(--white);
  transform: translateY(-2px);
  animation: pulse 2s infinite;
}

.form-control:hover {
  border-color: var(--light-green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 
              inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.system-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.info-item {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-item h3 {
  margin-bottom: 10px;
  color: var(--dark-green);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table th,
.table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.table th {
  background-color: var(--light-green);
  color: var(--white);
}

.table tr:hover {
  background-color: var(--light-gray);
}

.table-responsive {
  overflow-x: auto;
}

.chart-container {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  height: 400px;
}

.settings-section,
.analytics-sections,
.products-section,
.users-list,
.listings-section {
  margin-bottom: 40px;
}

.alert {
  padding: 22px;
  margin-bottom: 25px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.5s ease-out;
}

.alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.alert:hover::before {
  transform: scaleX(1);
}

.alert-error {
  background: linear-gradient(135deg, #f8d7da, #f1b0b7);
  color: #721c24;
  border: 1px solid #f5c6cb;
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.15);
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #b1dfbb);
  color: #155724;
  border: 1px solid #c3e6cb;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.15);
}

.alert i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Enhanced Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  margin-top: 10px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: var(--white);
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4);
  transform: translateY(-5px);
  animation: pulse 1.5s infinite;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-brown), var(--light-brown));
  color: var(--white);
  border: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--dark-brown), var(--primary-brown));
}

.btn-small {
  padding: 10px 20px;
  font-size: 12px;
}

/* Enhanced Text Center Styles */
.text-center {
  text-align: center;
}

.text-center a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.text-center a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.text-center a:hover {
  color: var(--dark-green);
}

.text-center a:hover::after {
  width: 100%;
}

.mt-20 {
  margin-top: 20px;
}

/* Enhanced Farmer Registration Banner */
.farmer-registration-banner {
  background: linear-gradient(135deg, rgba(232, 245, 233, 0.9), rgba(200, 230, 201, 0.8));
  border: 1px solid rgba(165, 214, 167, 0.8);
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 35px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 
              inset 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.farmer-registration-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.farmer-registration-banner:hover::before {
  transform: scaleX(1);
}

.farmer-registration-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.farmer-registration-banner h3 {
  color: var(--dark-green);
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.farmer-registration-banner h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.farmer-registration-banner p {
  color: #2e7d32;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Farmer Registration Link (Login Page) */
.farmer-registration-link {
  background: linear-gradient(135deg, rgba(232, 245, 233, 0.9), rgba(200, 230, 201, 0.8));
  border: 1px solid rgba(165, 214, 167, 0.8);
  border-radius: 20px;
  padding: 35px;
  margin: 35px 0;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 
              inset 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.farmer-registration-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.farmer-registration-link:hover::before {
  transform: scaleX(1);
}

.farmer-registration-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.farmer-registration-link h3 {
  color: var(--dark-green);
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
}

.farmer-registration-link h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.farmer-registration-link p {
  color: #2e7d32;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.btn-farmer-register {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.4);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  margin-top: 15px;
  width: auto;
}

.btn-farmer-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-farmer-register:hover::before {
  transform: translateX(100%);
}

.btn-farmer-register:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(46, 125, 50, 0.5);
  color: white;
  text-decoration: none;
  animation: pulse 1.5s infinite;
}

.btn-farmer-register:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

/* Enhanced Select Styles */
.form-control option {
  padding: 10px;
}

.form-control:focus option {
  background-color: var(--white);
}

/* Enhanced Small Text */
small {
  display: block;
  margin-top: 5px;
  color: #6c757d;
  font-size: 0.85rem;
}

/* Responsive adjustments for forms */
@media (max-width: 768px) {
  .form-container {
    margin: 30px 15px;
    padding: 30px 20px;
  }
  
  .btn {
    padding: 12px 25px;
    width: 100%;
  }
  
  .form-control {
    padding: 12px;
  }
  
  .farmer-registration-banner {
    padding: 20px 15px;
  }
}

/* Status Styles */
.status {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.status-success {
  background-color: #d4edda;
  color: #155724;
}

.status-warning {
  background-color: #fff3cd;
  color: #856404;
}

.status-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.status-held {
  background-color: #cce5ff;
  color: #004085;
}

.status-released {
  background-color: #d4edda;
  color: #155724;
}

.status-refunded {
  background-color: #f8d7da;
  color: #721c24;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-paid {
  background-color: #cce5ff;
  color: #004085;
}

.status-shipped {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-delivered {
  background-color: #d4edda;
  color: #155724;
}

.status-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

.status-free {
  background-color: #fff3cd;
  color: #856404;
}

.status-premium {
  background-color: #d4edda;
  color: #155724;
}

.status-expired {
  background-color: #f8d7da;
  color: #721c24;
}

.messaging-container {
  display: flex;
  height: 70vh;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.password-change {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.activity-feed {
  margin-top: 20px;
}

.activity-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.activity-icon {
  font-size: 1.5rem;
}

.activity-details h4 {
  margin-bottom: 5px;
}

.text-muted {
  color: #6c757d;
  font-size: 0.9rem;
}

.dashboard-section {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Enhanced Dashboard Styles */
.dashboard-header {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  margin-bottom: 30px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.dashboard-header:hover::before {
  transform: scaleX(1);
}

.dashboard-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.user-welcome {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-green);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
  transition: all 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

.user-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border: 3px solid var(--primary-green);
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
  transition: all 0.3s ease;
}

.user-avatar-placeholder:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

.user-welcome h1 {
  margin: 0 0 5px 0;
  color: var(--dark-green);
  font-size: 1.8rem;
}

.user-role {
  color: var(--light-brown);
  font-weight: 500;
  margin: 0;
}

.dashboard-stats-summary {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.stat-item i {
  font-size: 1.8rem;
  color: var(--primary-green);
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
}

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

.stat-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 3px;
}

.stat-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark-gray);
}

.stat-value.premium {
  color: var(--primary-green);
}

.stat-value.free {
  color: var(--light-brown);
}

.stat-value.expired {
  color: #dc3545;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.stat-card {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

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

.stat-card h3 {
  margin: 0 0 15px 0;
  color: var(--dark-green);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}

.stat-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 10px 0;
  color: var(--dark-green);
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
}

.dashboard-section {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.dashboard-section:hover::before {
  transform: scaleX(1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header h2 {
  margin: 0;
  color: var(--dark-green);
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.action-card {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.action-card:hover::before {
  transform: scaleX(1);
}

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

.action-card i {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
  transition: all 0.3s ease;
}

.action-card:hover i {
  transform: scale(1.2);
  text-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.action-card h3 {
  margin: 0 0 15px 0;
  color: var(--dark-green);
}

.action-card p {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.performance-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.metric-card {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 25px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.metric-card:hover::before {
  transform: scaleX(1);
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.metric-card h3 {
  margin-top: 0;
  color: var(--dark-green);
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 12px;
  position: relative;
}

.metric-card h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.recent-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.recent-orders-table th,
.recent-orders-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.recent-orders-table th {
  background: linear-gradient(135deg, var(--light-gray), #e9ecef);
  font-weight: 600;
  color: var(--dark-gray);
}

.recent-orders-table tr:last-child td {
  border-bottom: none;
}

.recent-orders-table tr:hover {
  background-color: rgba(46, 125, 50, 0.05);
}

.status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  min-width: 90px;
}

.status-paid {
  background-color: #e3f2fd;
  color: #1976d2;
}

.status-shipped {
  background-color: #fff8e1;
  color: #f57f17;
}

.status-delivered {
  background-color: #e8f5e9;
  color: #388e3c;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

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

.product-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item:hover {
  background-color: rgba(46, 125, 50, 0.05);
  padding-left: 10px;
}

.product-name {
  font-weight: 500;
  color: var(--dark-gray);
}

.product-stats {
  text-align: right;
  color: #6c757d;
  font-size: 0.9rem;
}

.no-data {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  background: var(--white);
  border-radius: 10px;
}

.no-data i {
  font-size: 3rem;
  color: var(--light-gray);
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  /* Dashboard Header Mobile Enhancements */
  .dashboard-header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .user-welcome {
    justify-content: center;
    text-align: center;
  }
  
  .user-avatar, .user-avatar-placeholder {
    margin: 0 auto 10px auto;
  }
  
  .dashboard-stats-summary {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  
  .stat-info {
    align-items: center;
  }
  
  .header-actions {
    justify-content: center;
    gap: 10px;
  }
  
  .btn-small {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .section-header h2 {
    text-align: center;
  }
  
  .performance-metrics {
    grid-template-columns: 1fr;
  }
  
  .recent-orders-table {
    font-size: 0.9rem;
  }
  
  .recent-orders-table th,
  .recent-orders-table td {
    padding: 10px 12px;
  }
  
  /* Mobile Sidebar Enhancements */
  .sidebar {
    width: 250px;
    z-index: 1002;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
  }
  
  .sidebar.active {
    transform: translateX(0);
    overflow-y: auto;
  }
  
  .sidebar.collapsed {
    width: 0;
    overflow: hidden;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .main-content.expanded {
    margin-left: 0;
  }
  
  .sidebar-header {
    padding: 15px;
  }
  
  .menu-item a {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  
  .mobile-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1003;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-btn i {
    pointer-events: none; /* Prevent icon from interfering with button click */
  }
  
  .mobile-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
  }
  
  .overlay.active {
    display: block;
  }
  
  .menu-item a {
    position: relative;
  }
  
  .menu-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    margin: 0;
  }
  
  .menu-item a:hover::before {
    opacity: 1;
  }
  
  .menu-item.active a::before {
    opacity: 1;
    background: rgba(46, 125, 50, 0.3);
  }
  
  .menu-item i {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
  }
  
  .menu-text {
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* Admin Dashboard Mobile Enhancements */
  .dashboard-stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }
  
  .stat-card {
    padding: 20px 15px;
    border-radius: 12px;
  }
  
  .stat-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .stat-value {
    font-size: 1.4rem;
  }
  
  .stat-description {
    font-size: 0.8rem;
  }
  
  .admin-section {
    margin-bottom: 25px;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
  
  .table-responsive {
    border-radius: 12px;
    overflow-x: auto;
  }
  
  .table th,
  .table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  
  .btn-small {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
  
  .no-data {
    padding: 30px 15px;
  }
  
  .no-data i {
    font-size: 2.5rem;
  }
  
  .no-data h3 {
    font-size: 1.3rem;
  }
  
  .no-data p {
    font-size: 1rem;
  }
}

/* Additional Admin Dashboard Mobile Enhancements */
@media (max-width: 480px) {
  /* Admin Dashboard 480px Enhancements */
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-card {
    padding: 15px;
    border-radius: 10px;
  }
  
  .stat-card h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
  
  .stat-description {
    font-size: 0.75rem;
  }
  
  .admin-section {
    margin-bottom: 20px;
  }
  
  .section-header h2 {
    font-size: 1.2rem;
  }
  
  .table th,
  .table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }
  
  .btn-small {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
  
  .no-data {
    padding: 25px 10px;
  }
  
  .no-data i {
    font-size: 2rem;
  }
  
  .no-data h3 {
    font-size: 1.1rem;
  }
  
  .no-data p {
    font-size: 0.9rem;
  }
  
  .mobile-menu-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    top: 15px;
    left: 15px;
  }
  
  .sidebar {
    width: 230px;
  }
  
  .sidebar.active {
    transform: translateX(0);
    overflow-y: auto;
  }
  
  .menu-item a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .menu-item i {
    font-size: 1rem;
    min-width: 20px;
  }
  
  .sidebar-menu {
    padding: 20px 0;
  }
  
  .menu-item {
    padding: 0;
    transition: var(--transition);
  }
}

/* Enhanced Stats Section Styles */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-green), #1b5e20);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.stats-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--light-green), var(--white));
  border-radius: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

/* Mission & Vision Section */
.mission-vision {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.mission-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.mission-card, .vision-card {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-card::before, .vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.mission-card:hover::before, .vision-card:hover::before {
  transform: scaleX(1);
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mission-card .icon, .vision-card .icon {
  font-size: 3.5rem;
  color: var(--primary-green);
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
  transition: all 0.3s ease;
}

.mission-card:hover .icon, .vision-card:hover .icon {
  transform: scale(1.1);
  text-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.mission-card h3, .vision-card h3 {
  color: var(--dark-green);
  margin-bottom: 20px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.mission-card h3::after, .vision-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
}

.mission-card p, .vision-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Enhanced Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  color: var(--dark-green);
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
}

.section-header p {
  color: #6c757d;
  max-width: 700px;
  margin: 25px auto 0;
  font-size: 1.2rem;
}

/* Team Section */
.team-section {
  background-color: var(--white);
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-member:hover::before {
  transform: scaleX(1);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
  border: 3px solid var(--white);
  transition: all 0.3s ease;
}

.team-member:hover .member-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

.member-info h4 {
  margin: 0 0 10px 0;
  color: var(--dark-green);
  font-size: 1.3rem;
}

.member-info p {
  margin: 0;
  color: #6c757d;
  font-weight: 500;
}

/* Enhanced Team Member with Social Links */
.team-member.enhanced .member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-member.enhanced:hover .member-social {
  opacity: 1;
  transform: translateY(0);
}

.member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--dark-green);
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero Stats Section in Slider */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
  animation: fadeInUp 1s ease 0.9s both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-stats .stat-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-section h2 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-stats .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-stats {
    gap: 15px;
  }
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background-color: var(--white);
}

.gallery-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-section .section-header h2 {
  color: var(--dark-green);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.gallery-section .section-header p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 250px;
}

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

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay-content h3 {
  color: white;
  margin: 0;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gallery-item .overlay-content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 5px 0 0 0;
  font-size: 0.9rem;
}

.view-gallery-btn {
  text-align: center;
  margin-top: 40px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-text {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.about-text:hover::before {
  transform: scaleX(1);
}

.about-text h3 {
  color: var(--dark-green);
  margin-bottom: 25px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
}

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

.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.4s ease;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(46, 125, 50, 0.2), rgba(27, 94, 32, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-image:hover::before {
  opacity: 1;
}

.about-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Search Filters */
.search-filters {
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.search-filters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-green);
  position: relative;
  padding-bottom: 5px;
}

.filter-group label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 1px;
}

.filter-group input,
.filter-group select {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
  transform: translateY(-2px);
}

.btn-filter {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  height: fit-content;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-filter:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.btn-filter:active {
  transform: translateY(-1px);
}

.btn-filter i {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Products List */
.products-list h2 {
  margin-bottom: 25px;
  color: var(--dark-green);
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.products-list h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  border-radius: 2px;
}

.product-count {
  font-size: 1rem;
  color: #6c757d;
  font-weight: normal;
}

/* Enhanced Product Card */
.product-card.enhanced .product-meta {
  position: relative;
}

.product-card.enhanced .product-meta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.2), transparent);
}

.product-card.enhanced .product-meta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.2), transparent);
}

.no-products {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.no-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}

/* Image Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.slide-content h1 {
  margin: 0 0 20px 0;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  margin: 0 0 30px 0;
  font-size: 1.3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.no-products h3 {
  margin: 25px 0 15px;
  color: var(--dark-green);
  font-size: 1.5rem;
}

.no-products p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.modal-info {
  padding: 20px;
  background: #f8f9fa;
}

.modal-info h3 {
  margin: 0 0 10px 0;
  color: var(--dark-green);
  font-size: 1.8rem;
}

.modal-info p {
  margin: 0 0 15px 0;
  color: #555;
}

/* Mobile Product Card Enhancements */
@media (max-width: 576px) {
  .product-card {
    margin-bottom: 20px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .farmer {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .product-info p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .product-meta {
    margin: 15px 0;
    padding: 12px 0;
  }
  
  .price {
    font-size: 1.3rem;
  }
  
  .stock {
    font-size: 0.9rem;
  }
  
  .btn-view {
    padding: 12px;
    font-size: 0.95rem;
  }
}

/* Mobile Gallery Enhancements */
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .gallery-overlay h3 {
    font-size: 1.2rem;
  }
  
  .gallery-overlay p {
    font-size: 0.9rem;
  }
  
  .gallery-overlay a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

/* Mobile Team Section Enhancements */
@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-member {
    padding: 20px 15px;
  }
  
  .member-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }
  
  .member-info h4 {
    font-size: 1.2rem;
  }
  
  .member-info p {
    font-size: 0.95rem;
  }
}

/* Mobile Testimonials Enhancements */
@media (max-width: 576px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-item {
    padding: 20px;
  }
  
  .testimonial-quote {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .testimonial-author img {
    width: 50px;
    height: 50px;
  }
  
  .author-info h4 {
    font-size: 1rem;
  }
  
  .author-info p {
    font-size: 0.85rem;
  }
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background-color: #f5f5f5; /* Fallback background color */
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
}

/* Ensure slider images load properly on all devices */
.hero-slider,
.slider-container,
.slide {
  width: 100%;
  height: 100%;
}

.slide {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Fallback for slider images */
.hero-slider {
  background-color: #2e7d32; /* Green background as fallback */
}

/* Mobile Hero Section Enhancements */
@media (max-width: 576px) {
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }
  
  .slide {
    background-size: cover;
    background-position: center center;
  }
  
  .slide-content {
    padding: 0 15px;
  }
  
  .slide-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .slide-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-primary {
    padding: 14px 25px;
    font-size: 1rem;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .circle-diagram {
    width: 250px;
    height: 250px;
  }
  
  .circle-node .circle-label {
    font-size: 11px;
  }
}

/* Mobile Circle Diagram Adjustments */
@media (max-width: 400px) {
  .circle-diagram {
    width: 220px;
    height: 220px;
  }
  
  .center-logo {
    width: 70px;
    height: 70px;
  }
  
  .center-logo i {
    font-size: 35px !important;
  }
  
  .circle-icon {
    width: 45px;
    height: 45px;
  }
  
  .circle-icon i {
    font-size: 18px;
  }
  
  .circle-label {
    font-size: 10px;
  }
}

/* Mobile Feature Items */
@media (max-width: 576px) {
  .hero-features {
    gap: 15px;
    padding: 30px 0;
  }
  
  .feature-item {
    min-width: 120px;
    padding: 15px 10px;
  }
  
  .feature-item i {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .feature-item span {
    font-size: 0.9rem;
  }
}

/* Mobile Stats Section */
@media (max-width: 576px) {
  .hero-stats {
    gap: 15px;
    padding: 30px 0;
  }
  
  .stat-item {
    padding: 12px;
  }
  
  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

/* Mobile About Section */
@media (max-width: 576px) {
  .farmer-section, .buyer-section {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .buyer-section {
    flex-direction: column;
  }
  
  .content-container {
    padding: 25px 20px;
  }
  
  .content-container h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .content-container p {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  
  .btn-cta {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .image-container {
    min-height: 250px;
  }
}

/* Mobile Newsletter Section */
@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
    gap: 15px;
    margin: 30px auto;
  }
  
  .newsletter-form input {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .newsletter-form button {
    padding: 15px 25px;
    font-size: 1rem;
  }
  
  .newsletter-benefits {
    gap: 25px;
    margin-top: 35px;
  }
  
  .benefit-item i {
    font-size: 2rem;
    width: 60px;
    height: 60px;
  }
  
  .benefit-item span {
    font-size: 0.95rem;
  }
}

.modal-info p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.modal-category {
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary-green);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10001;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

/* Pagination */
.pagination {
  margin-top: 50px;
  text-align: center;
  padding: 20px 0;
}

.pagination-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.pagination-link {
  display: block;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--white), #f8f9fa);
  color: var(--dark-gray);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.pagination-link:hover,
.pagination-list .active .pagination-link {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  border-color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.pagination-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Subscription Feature Restrictions */
.restricted {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.restricted .alert {
  margin-top: 15px;
  border-radius: 8px;
  padding: 15px;
}

.restricted .alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.restricted .alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.restricted .alert-link {
  font-weight: bold;
  text-decoration: underline;
}

/* Mobile Enhancements */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .product-card {
    border-radius: 12px;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-info h3 {
    font-size: 1.2rem;
  }
  
  .price {
    font-size: 1.3rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    border: 1px solid var(--primary-green);
  }
  
  .dropdown-menu.show {
    transform: none;
  }
  
  .dropdown-menu a {
    color: var(--dark-gray);
  }
  
  .dropdown-menu a:hover {
    background: var(--primary-green);
    color: var(--white);
    padding-left: 25px;
  }
  
  .search-filters {
    padding: 20px;
  }
  
  .filter-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .btn-filter {
    width: 100%;
  }
  
  .no-products {
    padding: 40px 15px;
  }
  
  .pagination-list {
    gap: 5px;
  }
  
  .pagination-link {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    border-radius: 10px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-info h3 {
    font-size: 1.1rem;
  }
  
  .price {
    font-size: 1.2rem;
  }
  
  .filter-group input,
  .filter-group select {
    padding: 12px 14px;
  }
  
  .btn-filter {
    padding: 12px 16px;
  }
  
  .no-products {
    padding: 30px 10px;
  }
  
  .pagination-link {
    padding: 8px 12px;
    margin: 0 2px;
  }
}
