/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
  }
  
  /* Accessibility - Skip Link */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4caf50;
    color: white;
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s ease;
  }
  
  .skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  
  /* Accessibility - Focus Styles */
  :focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
  }
  
  /* Accessibility - Visually Hidden */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  
  /* Media Queries */
  @media (max-width: 640px) {
    .mobile-stack {
      flex-direction: column !important;
    }
    .mobile-full-width {
      width: 100% !important;
    }
  }
  
  @media (max-width: 991px) {
    .tablet-adjust {
      padding: 20px !important;
    }
    h1 {
      font-size: 2rem !important;
    }
  }
  
  /* Interactive Elements */
  .primary-button,
  .secondary-button,
  .submit-button,
  .add-to-cart-button,
  .category-button {
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .primary-button:hover,
  .secondary-button:hover,
  .submit-button:hover,
  .add-to-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #45a049;
  }
  
  .primary-button:focus,
  .secondary-button:focus,
  .submit-button:focus,
  .close-button:focus,
  .add-to-cart-button:focus {
    outline: 3px solid #4caf50;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
  }
  
  .form-input:focus,
  .form-textarea:focus,
  .tips-select:focus {
    outline: 3px solid #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
    border-color: #4caf50;
  }
  
  a:hover {
    color: #4caf50;
  }
  
  a:focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
  }
  
  /* App Container */
  .app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Header */
  .site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    text-decoration: none;
  }
  
  .main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
  }
  
  .main-nav a[aria-current="page"] {
    color: #4caf50;
    font-weight: 600;
  }
  
  .main-nav a:hover {
    color: #4caf50;
  }
  
  .cart-icon a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    background-image: url("images/172322-agriculture-regenerative_agriculture-agricultural_land-organic_farming-farm-1920x1080.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 60px; /* Account for fixed header */
  }
  
  .content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-content {
    display: flex;
    gap: 20px;
  }
  
  @media (max-width: 991px) {
    .hero-content {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
  }
  
  .hero-text {
    width: 60%;
    padding: 40px;
    color: white;
  }
  
  @media (max-width: 991px) {
    .hero-text {
      width: 100%;
    }
  }
  
  .primary-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 20px;
    text-decoration: none;
    text-align: center;
  }
  
  .quick-links-container {
    width: 40%;
    margin-left: 20px;
  }
  
  @media (max-width: 991px) {
    .quick-links-container {
      width: 100%;
      margin-left: 0;
    }
  }
  
  .quick-links-card {
    background-color: rgba(234, 237, 234, 0.9);
    padding: 30px;
    border-radius: 8px;
    margin: 40px;
  }
  
  .quick-links-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
  }
  
  .quick-links-list li {
    margin-bottom: 10px;
  }
  
  .quick-links-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px;
    display: inline-block;
  }
  
  /* Page Content */
  .page-content {
    flex: 1;
    padding: 80px 0 40px; /* Account for fixed header */
  }
  
  .page-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
    color: #333;
  }
  
  /* Home Page */
  .home-content {
    display: flex;
    gap: 20px;
  }
  
  @media (max-width: 640px) {
    .home-content {
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
    }
  }
  
  .guides-container {
    width: 70%;
  }
  
  @media (max-width: 640px) {
    .guides-container {
      width: 100%;
    }
  }
  
  .guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .guide-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-color: #fff;
  }
  
  .guide-image {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
  }
  
  .guide-card h3 {
    margin: 15px 0 10px;
  }
  
  .card-link {
    display: inline-block;
    margin-top: 15px;
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
  }
  
  .card-link:hover {
    text-decoration: underline;
  }
  
  .tips-container {
    width: 30%;
    margin-left: 20px;
  }
  
  @media (max-width: 640px) {
    .tips-container {
      width: 100%;
      margin-left: 0;
    }
  }
  
  .tips-card,
  .newsletter-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
  }
  
  .tips-select {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
  }
  
  .secondary-button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 10px;
    text-decoration: none;
    text-align: center;
  }
  
  .tips-result {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    background-color: #f0f8f0;
    min-height: 20px;
  }
  
  /* About Page */
  .about-section {
    margin-bottom: 40px;
  }
  
  .about-content {
    display: flex;
    gap: 30px;
  }
  
  @media (max-width: 768px) {
    .about-content {
      flex-direction: column;
    }
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h2 {
    margin: 20px 0 10px;
  }
  
  .about-text p {
    margin-bottom: 15px;
  }
  
  .values-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
  }
  
  .values-list li {
    margin-bottom: 10px;
  }
  
  .about-image {
    flex: 1;
    max-width: 600px;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 8px;
  }
  
  .team-section {
    margin-bottom: 40px;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .team-member img {
    width: 100%;
    height: auto;
  }
  
  .team-member h3 {
    margin: 15px 15px 5px;
  }
  
  .team-member .role {
    color: #4caf50;
    font-weight: 500;
    margin: 0 15px 10px;
  }
  
  .team-member p {
    margin: 0 15px 15px;
  }
  
  .team-link {
    display: inline-block;
    margin: 0 15px 15px;
    color: #4caf50;
    text-decoration: none;
  }
  
  .cta-section {
    background-color: #f0f8f0;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
  }
  
  .cta-section h2 {
    margin-bottom: 15px;
  }
  
  .cta-section p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Contact Page */
  .contact-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  @media (max-width: 768px) {
    .contact-content {
      flex-direction: column;
    }
  }
  
  .contact-info {
    flex: 1;
  }
  
  .contact-details {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .contact-item h3 {
    margin-bottom: 10px;
    color: #4caf50;
  }
  
  .contact-item a {
    color: #333;
    text-decoration: none;
  }
  
  .contact-item a:hover {
    color: #4caf50;
    text-decoration: underline;
  }
  
  .social-contact {
    margin-top: 30px;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }
  
  .social-links a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f0f0f0;
  }
  
  .social-links a:hover {
    background-color: #4caf50;
    color: white;
  }
  
  .contact-form-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .form-input,
  .form-textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
  }
  
  .form-textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  .submit-button {
    padding: 12px 24px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .form-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    display: none;
  }
  
  .faq-section {
    margin-top: 40px;
  }
  
  .faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .faq-item summary {
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: 500;
  }
  
  .faq-item summary:hover {
    background-color: #f0f8f0;
  }
  
  .faq-answer {
    padding: 15px;
    background-color: #fff;
  }
  
  /* Store Page */
  .store-content {
    display: flex;
    gap: 30px;
  }
  
  @media (max-width: 768px) {
    .store-content {
      flex-direction: column;
    }
  }
  
  .store-sidebar {
    width: 250px;
    flex-shrink: 0;
  }
  
  @media (max-width: 768px) {
    .store-sidebar {
      width: 100%;
    }
  }
  
  .filter-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
  }
  
  .filter-section h2 {
    margin-bottom: 15px;
    font-size: 1.2rem;
  }
  
  .category-list {
    list-style: none;
  }
  
  .category-button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 1rem;
  }
  
  .category-button:hover {
    color: #4caf50;
  }
  
  .category-button.active {
    color: #4caf50;
    font-weight: 500;
  }
  
  .price-range {
    margin-top: 10px;
  }
  
  .price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    flex: 1;
  }
  
  .product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .product-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .product-details {
    padding: 15px;
  }
  
  .product-details h3 {
    margin-bottom: 10px;
  }
  
  .product-description {
    color: #666;
    margin-bottom: 10px;
  }
  
  .product-price {
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 15px;
  }
  
  .add-to-cart-button {
    width: 100%;
    padding: 10px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .cart-modal {
    max-width: 600px;
  }
  
  .cart-items {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
  }
  
  .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
  
  .cart-item-details {
    flex: 1;
  }
  
  .cart-item-price {
    margin-right: 15px;
  }
  
  .cart-item-remove {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
  }
  
  .cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 10px;
    border-top: 2px solid #eee;
  }
  
  .cart-buttons {
    display: flex;
    gap: 10px;
  }
  
  /* Tips Page */
  .tips-page-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  @media (max-width: 768px) {
    .tips-page-content {
      flex-direction: column;
    }
  }
  
  .tips-form-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .tips-form {
    margin-top: 20px;
  }
  
  .tips-result-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    display: none;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4caf50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .tips-placeholder {
    color: #666;
    margin-bottom: 20px;
  }
  
  .tips-content {
    margin-top: 20px;
  }
  
  .tips-content h3 {
    margin: 20px 0 10px;
    color: #4caf50;
  }
  
  .tips-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }
  
  .related-resources {
    margin-top: 40px;
  }
  
  .resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .resource-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .resource-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .resource-card h3 {
    margin-bottom: 10px;
  }
  
  /* Footer */
  .site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: auto;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-section h3 {
    margin-bottom: 15px;
    color: #4caf50;
  }
  
  .footer-section ul {
    list-style: none;
  }
  
  .footer-section li {
    margin-bottom: 10px;
  }
  
  .footer-section a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-section a:hover {
    color: #4caf50;
  }
  
  .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
  }
  
  /* Modal */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    display: none;
  }
  
  .modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
  }
  
  .modal-content h2 {
    margin-bottom: 1rem;
  }
  
  .close-button {
    padding: 0.5rem 1rem;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* Notification Area */
  .notification-area {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 300px;
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.3s,
      transform 0.3s;
  }
  
  .notification-area.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Focus management for keyboard navigation */
  [tabindex="-1"]:focus {
    outline: none;
  }
  