

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2E7D32;
  --primary-hover: #1B5E20;
  --secondary: #43A047;
  --light-green: #E8F5E9;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --bg-main: #F8FAFC;
  --white: #FFFFFF;
  --dark: #1F2937;
  --gray-muted: #6B7280;
  --border-color: #E2E8F0;
  
  --font-main: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease-in-out;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography & Layout Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-bg-light {
  background-color: var(--light-green);
}

.section-bg-white {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

.section-description {
  color: var(--gray-muted);
  max-width: 650px;
  margin: 12px auto 0 auto;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header & Sticky Nav */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--dark);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
              url('https://images.unsplash.com/photo-1595855759920-86582396756a?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(67, 160, 71, 0.25);
  border: 1px solid var(--secondary);
  color: #A7F3D0;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #E2E8F0;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Cards & Grid Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-green);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.card-desc {
  color: var(--gray-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Agricultural Produce Specific Cards */
.produce-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.produce-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.produce-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.produce-info {
  padding: 20px;
  text-align: center;
}

.produce-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
}

.produce-note {
  font-size: 0.8rem;
  color: var(--gray-muted);
  margin-top: 4px;
}

/* Process Section (How Commission Trading Works) */
.process-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 40px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.process-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 0 8px var(--light-green);
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Page Headers (Subpages) */
.page-header {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
              url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.95rem;
  color: #CBD5E1;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
}

/* Forms & Contact Details */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info-card {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #DC2626;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  border: 1px solid var(--border-color);
}

/* Privacy Policy Styling */
.legal-content {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.legal-content h2 {
  color: var(--primary);
  margin: 30px 0 15px 0;
  font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
  color: var(--gray-muted);
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--light-green);
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: #111827;
  color: #9CA3AF;
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-title {
  color: var(--white);
}

.footer-brand p {
  margin-top: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding-top: 30px;
  text-align: center;
  font-size: 0.875rem;
}

/* Floating Elements (WhatsApp & Back to Top) */
.floating-btn {
  position: fixed;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.5rem;
}

.whatsapp-float {
  right: 25px;
  background-color: #25D366;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

.back-to-top {
  right: 85px;
  background-color: var(--dark);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  border: none;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}