/* ============================================
   UTILITY CLASSES
   ============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-green);
  background: var(--soft-green);
  border: 1px solid #c8e0c9;
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-heading p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 47vh;
  display: flex;
  align-items: center;
  background: url('../../../assets/backend/images/agri-finance/agri.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(47, 125, 50, 0.2);
  backdrop-filter: blur(12px);
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(47, 125, 50, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-badge i {
  color: #66bb6a;
  font-size: 1.1rem;
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.8rem, 6vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  position: relative;
  color: #66bb6a;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #66bb6a, #f9a825);
  border-radius: 2px;
}

/* Hero Description */
.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #66bb6a;
  line-height: 1.2;
}

.hero-stat-number .currency {
  font-size: 1.6rem;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  color: #fff;
  padding: 16px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.45);
  color: #fff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 16px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-4px);
  color: #fff;
}

/* Hero Floating Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #66bb6a;
  top: -100px;
  right: -100px;
  animation: floatShape 25s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: #f9a825;
  bottom: -50px;
  left: -50px;
  animation: floatShape 20s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #43a047;
  top: 50%;
  right: 20%;
  animation: floatShape 18s ease-in-out infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(30px, -40px) scale(1.1) rotate(90deg); }
  50% { transform: translate(-20px, 20px) scale(0.9) rotate(180deg); }
  75% { transform: translate(40px, 30px) scale(1.05) rotate(270deg); }
}

/* ============================================
   QUICK NAVIGATION BAR
   ============================================ */
.quick-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

.quick-nav ul {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.quick-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.quick-nav a:hover,
.quick-nav a.active {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
}

.quick-nav a i {
  font-size: 1rem;
  color: var(--primary-green);
}

/* ============================================
   FINANCE COMPARISON SECTION
   ============================================ */
.comparison-section {
  background: var(--section-bg);
  padding: 5rem 0;
}

.finance-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.finance-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.finance-card--gov {
  border-top: 6px solid var(--primary-green);
}

.finance-card--private {
  border-top: 6px solid var(--accent-gold);
}

.finance-card__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.finance-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.finance-icon--green {
  background: var(--soft-green);
  color: var(--primary-green);
}

.finance-icon--gold {
  background: #fff8e1;
  color: var(--accent-gold);
}

.finance-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.finance-card__subtitle {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.finance-card__intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.comparison-list {
  display: grid;
  gap: 0.8rem;
}

.comparison-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #edf1ed;
  border-radius: var(--radius-md);
  background: #fcfdfc;
  transition: all 0.3s ease;
}

.comparison-item:hover {
  background: #f8faf8;
  border-color: #d4e0d4;
}

.comparison-item__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.comparison-item__label i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.finance-card--private .comparison-item__label i {
  background: #fff8e1;
  color: var(--accent-gold);
}

.comparison-item__value {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   APPLICATION SECTION
   ============================================ */
.apply-section {
  background: var(--page-bg);
  padding: 5rem 0;
}

.apply-box {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.apply-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.apply-box__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.apply-box__icon--green {
  background: var(--soft-green);
  color: var(--primary-green);
}

.apply-box__icon--gold {
  background: #fff8e1;
  color: var(--accent-gold);
}

.apply-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.apply-box p {
  color: var(--text-muted);
  font-size: 1rem;
}

.info-panel {
  background: #f9fbf9;
  border: 1px solid #edf2ed;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}

.info-panel h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.info-panel h4 i {
  margin-right: 8px;
}

.info-panel p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.warning-panel {
  background: #fffaf2;
  border-color: #f4e3bf;
}

.warning-panel h4 {
  color: #e65100;
}

/* ============================================
   ADDITIONAL BENEFITS SECTION
   ============================================ */
.benefits-section {
  background: var(--section-bg);
  padding: 5rem 0;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.benefit-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.benefit-card__icon--green {
  background: var(--soft-green);
  color: var(--primary-green);
}

.benefit-card__icon--gold {
  background: #fff8e1;
  color: var(--accent-gold);
}

.benefit-card__icon--blue {
  background: var(--soft-blue);
  color: #1565c0;
}

.benefit-card__icon--purple {
  background: var(--soft-purple);
  color: #6a1b9a;
}

.benefit-card__icon--teal {
  background: var(--soft-teal);
  color: #00695c;
}

.benefit-card__icon--orange {
  background: var(--soft-orange);
  color: var(--accent-orange);
}

.benefit-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   SUCCESS STORIES / TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--page-bg);
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card .quote {
  font-size: 2rem;
  color: var(--primary-green);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-green);
}

.testimonial-card .author-info h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.testimonial-card .author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-green);
  padding: 16px 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: var(--primary-green-dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .comparison-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .quick-nav ul {
    gap: 1.5rem;
  }
  
  .quick-nav a {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .hero-stat {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
  }
  
  .hero-stat-number {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
  }
  
  .quick-nav {
    overflow-x: auto;
    padding: 0.5rem 0;
  }
  
  .quick-nav ul {
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 1rem;
  }
  
  .quick-nav a {
    white-space: nowrap;
    font-size: 0.75rem;
  }
  
  .shape-1,
  .shape-2,
  .shape-3 {
    display: none;
  }
  
  .finance-card,
  .apply-box,
  .benefit-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-stat-number {
    font-size: 1.5rem;
  }
  
  .hero-stat-label {
    font-size: 0.75rem;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
  }
}