/* ===== FARM PROFITABILITY PAGE STYLES ===== */

/* Hero Section (Matches About Us Page) */
.gt-farm-hero {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.95)), 
              url('/images/banner.jpg') center/cover;
}

.gt-hero-bg {
  position: absolute;
  inset: 0;
}

.gt-blob-1 {
  position: absolute;
  top: -6rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background-color: rgba(187, 247, 208, 0.3);
  border-radius: 50%;
  filter: blur(3rem);
}

.gt-blob-2 {
  position: absolute;
  bottom: -6rem;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(134, 239, 172, 0.3);
  border-radius: 50%;
  filter: blur(3rem);
}

.gt-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

/* Breadcrumbs */
.gt-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.95rem;
}

.gt-breadcrumbs a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gt-breadcrumbs a:hover {
  color: #16a34a;
}

.gt-breadcrumbs .separator {
  color: #999;
}

.gt-breadcrumbs .current {
  color: #16a34a;
  font-weight: 600;
}

/* Hero Badge */
.gt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #dcfce7;
  color: #166534;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.gt-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gt-gradient-text {
  background: linear-gradient(90deg, #16a34a, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gt-hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero Buttons */
.gt-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.gt-btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #16a34a, #10b981);
  color: white;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.gt-btn-primary:hover {
  background: linear-gradient(135deg, #15803d, #0d966b);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(22, 163, 74, 0.3);
}

.gt-btn-secondary {
  display: inline-flex;
  align-items: center;
  border: 2px solid #16a34a;
  color: #16a34a;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gt-btn-secondary:hover {
  background-color: #f0fdf4;
  transform: translateY(-3px);
}

/* Container & Layout */
.gt-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.gt-container-narrow {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.gt-text-center {
  text-align: center;
}

.gt-grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.gt-items-center {
  align-items: center;
}

/* Section Styles */
.gt-section-white {
  background-color: white;
  padding: 5rem 0;
}

.gt-section-gray {
  background: linear-gradient(to bottom, #f9fafb, white);
  padding: 5rem 0;
}

.gt-section-green-light {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  padding: 5rem 0;
}

.gt-section-green {
  background: linear-gradient(135deg, #16a34a, #10b981);
  padding: 5rem 0;
}

/* Section Headers */
.gt-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gt-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
}

.gt-main-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
}

.gt-subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* Icons */
.gt-icon-large {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gt-bg-green {
  background: linear-gradient(135deg, #16a34a, #10b981);
}

/* Content Spacing */
.gt-content-space {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gt-text-lg {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
}

.gt-link {
  color: #16a34a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.gt-link:hover {
  color: #15803d;
  text-decoration: underline;
}

/* SDG Grid */
.gt-sdg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gt-sdg-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.gt-sdg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 168, 116, 0.15);
}

.gt-sdg-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #16a34a, #10b981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.gt-sdg-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.gt-sdg-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.gt-sdg-text {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Stats Box */
.gt-stats-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gt-stat-item {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.5), rgba(240, 253, 244, 0.8));
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 168, 116, 0.2);
}

.gt-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 0.25rem;
}

.gt-stat-label {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 500;
}

/* Testimonial Card */
.gt-testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.gt-testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gt-testimonial-header i {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #16a34a, #10b981);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.gt-testimonial-header h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin: 0;
}

.gt-testimonial-text {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.gt-testimonial-footer {
  text-align: center;
}

.gt-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.gt-video-link:hover {
  color: #15803d;
}

/* Case Studies */
.gt-case-study {
  margin-bottom: 4rem;
}

.gt-case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gt-case-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #16a34a, #10b981);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
}

.gt-case-header h3 {
  font-size: 1.75rem;
  color: #1f2937;
  margin: 0;
}

.gt-case-header p {
  color: #6b7280;
  margin: 0.25rem 0 0;
}

.gt-case-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gt-result-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.gt-result-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.gt-result-icon.positive {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.gt-result-icon.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.gt-result-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.gt-result-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Success Banner */
.gt-success-banner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.1));
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.gt-success-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gt-success-content i {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #16a34a, #10b981);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gt-success-content h4 {
  color: #166534;
  margin: 0;
  font-size: 1.25rem;
}

.gt-success-content p {
  color: #4b5563;
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}

/* Case Images */
.gt-case-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gt-image-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.gt-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Comparison Image */
.gt-comparison-image {
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.gt-comparison-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* 4R Container */
.gt-4r-container {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.gt-4r-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gt-4r-header h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.gt-4r-header p {
  color: #6b7280;
}

.gt-4r-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gt-4r-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(220, 252, 231, 0.3);
  border-radius: 1rem;
  border: 1px solid rgba(0, 168, 116, 0.2);
}

.gt-4r-number {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #16a34a, #10b981);
  color: white;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.gt-4r-content h4 {
  font-size: 1.125rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.gt-4r-content p {
  color: #4b5563;
  font-size: 0.875rem;
}

.gt-practices-box {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.5), rgba(240, 253, 244, 0.8));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 168, 116, 0.2);
}

.gt-practices-box h4 {
  color: #166534;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.gt-practices-box p {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Services Grid */
.gt-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Flip Card Styles */
.gt-service-flip {
  perspective: 1000px;
  height: 300px;
}

.gt-service-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.gt-service-flip:hover .gt-service-flip-inner {
  transform: rotateY(180deg);
}

.gt-service-front, .gt-service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

.gt-service-front {
  background: white;
  border: 1px solid rgba(0, 168, 116, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.gt-service-back {
  background: linear-gradient(135deg, #16a34a, #10b981);
  color: white;
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gt-service-image {
  height: 200px;
  overflow: hidden;
}

.gt-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gt-service-title {
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.gt-service-back h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.gt-service-back p {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* CTA Box */
.gt-cta-box {
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  border: 1px solid rgba(0, 168, 116, 0.2);
  text-align: center;
}

.gt-cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.gt-section-green .gt-cta-box .gt-cta-title {
  color: #1f2937;
}

.gt-cta-text {
  font-size: 1.25rem;
  color: white;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.gt-section-green .gt-cta-box .gt-cta-text {
  color: #4b5563;
}

.gt-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Animations */
.gt-animate-fadeIn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gt-animate-fadeIn.visible {
  opacity: 1;
  transform: translateY(0);
}

.gt-delay-1 { transition-delay: 0.2s; }

/* Responsive Design */
@media (min-width: 640px) {
  .gt-stats-box {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gt-case-results {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gt-case-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .gt-grid-2-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gt-sdg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gt-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gt-case-images {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gt-hero-title {
    font-size: 4.5rem;
  }
  
  .gt-main-title {
    font-size: 3rem;
  }
  
  .gt-case-results {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .gt-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gt-4r-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .gt-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Print Styles */
@media print {
  .gt-farm-hero {
    background: white !important;
    color: black !important;
  }
  
  .gt-gradient-text {
    color: #16a34a !important;
    background: none !important;
    -webkit-text-fill-color: #16a34a !important;
  }
  
  .gt-btn-primary,
  .gt-btn-secondary {
    border: 1px solid #000 !important;
    color: #000 !important;
    background: none !important;
  }
  
  .gt-service-flip-inner {
    transform: none !important;
  }
  
  .gt-service-back {
    position: relative;
    transform: none;
    background: white;
    color: black;
  }
}