/* CSS Custom Properties */
:root {
  --primary-color: #1a472a;
  --secondary-color: #a3d39c;
  --transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-light: 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #ffffff;
  color: #2d2d2d;
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
  font-weight: 600;
}

section {
  padding: 120px 5%;
  position: relative;
  margin-bottom: 0;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,71,42,0.04);
}

/* Accessibility & Focus Improvements */
a, button, .cta-button, .submit-button, .product-link, .view-details, .social-icon {
  outline: none;
  transition: box-shadow 0.2s, outline 0.2s;
}
a:focus, button:focus, .cta-button:focus, .submit-button:focus, .product-link:focus, .view-details:focus, .social-icon:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(163, 211, 156, 0.4);
}

/* Header Styles */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 22px 6%;
  background: rgba(26, 71, 42, 0.97);
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(26,71,42,0.10);
  border-bottom: 1.5px solid #a3d39c33;
  transition: background 0.3s, box-shadow 0.3s;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  margin-right: 24px;
}

.logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(26,71,42,0.18);
  background: #fff;
  padding: 6px;
  border: 2.5px solid var(--secondary-color);
  transition: box-shadow 0.2s, border 0.2s;
}

header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(26,71,42,0.10);
  margin-left: 2px;
}

nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.06);
  padding: 6px 18px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(26,71,42,0.04);
}

nav ul li {
  margin: 0 2px;
}

nav ul li a {
  font-weight: 500;
  font-size: 1.05rem;
  color: #fff;
  padding: 7px 18px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  position: relative;
  display: inline-block;
  text-align: center;
}

nav ul li a:hover, nav ul li a:focus {
  background: #a3d39c;
  color: #1a472a;
  box-shadow: 0 2px 8px rgba(163,211,156,0.18);
}

nav ul li a.active {
  background: #a3d39c;
  color: #1a472a;
  font-weight: 600;
}

nav ul li a::after {
  display: none;
}

/* Mobile Header */
@media (max-width: 900px) {
  header {
    padding: 12px 2%;
  }
  .logo {
    height: 36px;
    width: 36px;
  }
  header h1 {
    font-size: 1.05rem;
  }
  nav ul {
    gap: 2px;
    padding: 4px 6px;
  }
  nav ul li a {
    font-size: 0.98rem;
    padding: 6px 10px;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.10);
    padding: 12px 0;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(26,71,42,0.04);
  }
  nav ul li {
    margin: 6px 0;
  }
  nav {
    background: rgba(26,71,42,0.98);
    box-shadow: 0 4px 24px rgba(26,71,42,0.10);
    border-radius: 0 0 18px 18px;
    padding: 0;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

nav.mobile {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform var(--transition);
}

nav.mobile.active {
  transform: translateX(0);
  display: block;
}

nav.mobile ul {
  flex-direction: column;
  align-items: center;
}

nav.mobile ul li {
  margin: 15px 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #183c2b;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slideshow .slide.active {
  opacity: 1;
  
}

.hero-slideshow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(26,71,42,0.7) 0%, rgba(163,211,156,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem 1rem;
  background: rgba(255,255,255,0.10);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(26,71,42,0.10);
  backdrop-filter: blur(2px);
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 24px rgba(26,71,42,0.25);
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 2.2em;
}

.cta-button {
  background:rgba(26,71,42,0.7) ;
  color: #fff;
  padding: 0.95em 2.2em;
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(26,71,42,0.10);
  border: none;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover, .cta-button:focus {
  background: rgba(163,211,156,0.2) 100%;
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(26,71,42,0.18);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.95;
  z-index: 3;
  pointer-events: none;
}

.scroll-indicator .mouse {
  width: 28px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 16px;
  margin: 0 auto;
  position: relative;
  background: rgba(255,255,255,0.08);
}

.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 10px;
  background: #fff;
  border-radius: 3px;
  animation: scrollMouse 2s infinite;
}

/* Services Section */
.services {
  background: #f8f9fa;
  text-align: center;
}

.services h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 60px;
}

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

.service-card {
  background: linear-gradient(120deg, #fff 80%, #f8f9fa 100%);
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,71,42,0.04);
  border: 1px solid #e0e0e0;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(120deg, var(--secondary-color) 0%, #fff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(26,71,42,0.08);
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.service-card p {
  color: #222;
}

/* About Section */
.about {
  background: white;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,71,42,0.04);
}

.about-content p {
  margin-bottom: 25px;
  color: #222;
}

/* Mission & Vision Section */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #f8f9fa;
}

.mission, .vision {
  padding: 30px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 2px 12px rgba(26,71,42,0.04);
  transition: all var(--transition);
}

.mission:hover, .vision:hover {
  transform: translateY(-5px);
}

.mission h2, .vision h2 {
  color: var(--primary-color);
  font-size: 2rem;
}

.mission p, .vision p {
  color: #555;
}

/* Community Section */
.community {
  background: white;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.community h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
}

.community p {
  max-width: 700px;
  margin: 20px auto;
  color: #222;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 8px;
}

/* Farm Tour Form */
.farm-tour {
  background: #f8f9fa;
  text-align: center;
}

.farm-tour h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
}

#tour-form {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,71,42,0.04);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(26, 71, 42, 0.2);
  outline: none;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1rem;
  color: #888;
  transition: all var(--transition);
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: var(--primary-color);
  background: white;
  padding: 0 5px;
}

.form-group textarea {
  resize: vertical;
}

.submit-button {
  background: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.submit-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Get Trained Section */
.get-trained {
  background: white;
  text-align: center;
}

.get-trained h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
}

.get-trained p {
  margin-bottom: 30px;
  color: #222;
}

/* Enhanced Responsive Product Grid & Images */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 2.5rem;
}
.product-card {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,71,42,0.08);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  min-width: 0;
}
.product-card:active, .product-card:focus-within {
  box-shadow: 0 8px 32px rgba(26,71,42,0.16);
  transform: translateY(-2px) scale(1.01);
}
.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #f8f9fa;
}
.product-card:hover .product-image img, .product-card:focus-within .product-image img {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(26,71,42,0.10);
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,71,42,0.08);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card:hover .product-overlay, .product-card:focus-within .product-overlay {
  opacity: 1;
  pointer-events: auto;
}
.product-overlay .view-details {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(26,71,42,0.10);
  transition: background 0.2s, color 0.2s;
}
.product-overlay .view-details:active, .product-overlay .view-details:focus {
  background: var(--secondary-color);
  color: var(--primary-color);
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .product-card {
    border-radius: 12px;
  }
  .product-image img {
    border-radius: 8px;
  }
}
@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c6e44 100%);
  color: white;
  padding: 80px 5% 30px;
}

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

.footer-logo-img {
  height: 70px;
  margin-bottom: 20px;
}

.contact-info i {
  margin-right: 12px;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Footer Dropdown Styles */
@media (max-width: 768px) {
  .footer-dropdown-mobile {
    position: relative;
    display: block;
  }
  .footer-dropdown-mobile #footerDropdownBtn {
    background: none;
    border: none;
    color: #185c2a;
    font-size: 1rem;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .footer-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26,71,42,0.08);
    border-radius: 8px;
    width: 180px;
    z-index: 100;
  }
  .footer-dropdown-mobile.open .footer-dropdown-menu {
    display: block;
  }
  .footer-dropdown-menu li {
    border-bottom: 1px solid #eee;
  }
  .footer-dropdown-menu li:last-child {
    border-bottom: none;
  }
  .footer-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #185c2a;
    text-decoration: none;
    font-size: 1rem;
  }
  .footer-dropdown-menu a:hover {
    background: #eafbe6;
  }
  /* Hide on desktop */
  @media (min-width: 769px) {
    .footer-dropdown-mobile { display: none; }
  }
  /* Remove old mobile footer link style if present */
  .footer-link-mobile { display: none !important; }
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-light);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  opacity: 0.9;
  z-index: 2;
}

.scroll-indicator span {
  margin-bottom: 10px;
  display: block;
}

.scroll-indicator .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 25px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 10px;
  background: white;
  border-radius: 3px;
  animation: scrollMouse 2s infinite;
}

/* Animations */
@keyframes scrollMouse {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-transition.exit {
  transform: translateY(-100%);
}

/* Form Animations */
#tour-form.submitting .submit-button {
  animation: pulse 1.5s infinite;
}

#tour-form.submitted .form-success {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

#tour-form.submitted .form-success.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 15px 5%;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    margin-top: 0;
  }

  .hero {
    min-height: 80vh;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .about, .community {
    background-attachment: scroll;
  }

  section {
    padding: 80px 5%;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px 15px;
  }

  .scroll-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  #tour-form {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  section {
    padding: 50px 3%;
  }
  .hero h2 {
    font-size: 1.3rem;
  }
  .cta-button, .submit-button {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}


