/* ============================================================
   AFRIGROW - African Agricultural Marketplace
   Custom Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2E7D32;        /* Deep Green */
  --primary-light: #4CAF50;  /* Light Green */
  --primary-dark: #1B5E20;   /* Dark Green */
  --secondary: #F9A825;      /* Golden Yellow */
  --secondary-light: #FDD835;/* Light Yellow */
  --accent: #FF6F00;         /* Earth Orange */
  --earth-brown: #5D4037;    /* Rich Brown */
  --earth-light: #8D6E63;    /* Light Brown */
  --cream: #FFF8E1;          /* Cream Background */
  --cream-dark: #FFF3C4;     /* Darker Cream */
  --text-dark: #212121;      /* Near Black */
  --text-medium: #424242;    /* Dark Grey */
  --text-light: #757575;     /* Medium Grey */
  --white: #FFFFFF;
  --bg-light: #F1F8E9;       /* Very Light Green */
  --bg-warm: #FFFDE7;        /* Very Light Yellow */
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.section-padding { padding: 80px 0; }

/* ---------- Navbar ---------- */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1050;
}
.navbar.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand i {
  color: var(--secondary);
  font-size: 1.8rem;
}
.navbar-brand span {
  color: var(--secondary);
}
.nav-link {
  font-weight: 500;
  color: var(--text-medium) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--bg-light);
}
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero Section ---------- */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(249,168,37,0.1);
  border-radius: 50%;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title span { color: var(--secondary); }
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-img-wrapper {
  position: relative;
  z-index: 2;
}
.hero-img-wrapper img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: var(--secondary);
  color: var(--text-dark);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,111,0,0.3);
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white-custom {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-white-custom:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 50px;
}
.section-header .section-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-header h2 {
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-header h2 span { color: var(--primary); }
.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.product-card .card-img-top {
  height: 220px;
  object-fit: cover;
}
.product-card .card-body { padding: 20px; }
.product-card .product-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card .card-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}
.product-card .product-origin {
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-card .product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.product-card .product-price small {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ---------- Feature Icons ---------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}
.feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* ---------- Stats ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}
.stat-item { text-align: center; padding: 20px; }
.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
}
.stat-item .stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--bg-light);
  position: absolute;
  top: 20px;
  right: 20px;
}
.testimonial-card .testimonial-text {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 16px;
}
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .author-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-card .author-role { color: var(--text-light); font-size: 0.8rem; }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: var(--cream);
}
.newsletter-input {
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
}
.newsletter-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}
.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer a:hover {
  color: var(--secondary);
  text-decoration: none;
}
.footer .footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  margin-right: 8px;
  transition: var(--transition);
}
.footer .social-links a:hover {
  background: var(--secondary);
  color: var(--text-dark);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(249,168,37,0.1);
  border-radius: 50%;
}
.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.page-header .breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.page-header .breadcrumb-item.active {
  color: var(--secondary);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}
.blog-card .card-body { padding: 20px; }
.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.blog-card .blog-meta i { color: var(--primary); }
.blog-card .blog-category {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-card .card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.blog-card .card-title a { color: var(--text-dark); }
.blog-card .card-title a:hover { color: var(--primary); }
.blog-card .card-text { color: var(--text-light); font-size: 0.9rem; }
.blog-card .blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  margin-top: 12px;
}
.blog-card .blog-author img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-card .blog-author .author-name {
  font-weight: 600;
  font-size: 0.85rem;
}

/* Blog Sidebar */
.blog-sidebar .sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.blog-sidebar .sidebar-widget h5 {
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
}
.blog-sidebar .search-input {
  border: 2px solid #eee;
  border-radius: 50px;
  padding: 10px 20px;
  width: 100%;
  transition: var(--transition);
}
.blog-sidebar .search-input:focus {
  border-color: var(--primary);
  outline: none;
}
.blog-sidebar .category-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}
.blog-sidebar .category-list li:last-child { border: none; }
.blog-sidebar .category-list a {
  color: var(--text-medium);
  display: flex;
  justify-content: space-between;
}
.blog-sidebar .category-list a:hover { color: var(--primary); }
.blog-sidebar .tag-cloud a {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  margin: 3px;
  transition: var(--transition);
}
.blog-sidebar .tag-cloud a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Blog Detail */
.blog-detail-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.blog-detail-content .blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.blog-detail-content .blog-detail-meta i { color: var(--primary); }
.blog-detail-content .blog-detail-img {
  border-radius: var(--radius);
  margin-bottom: 24px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.blog-detail-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.blog-detail-content p {
  color: var(--text-medium);
  margin-bottom: 16px;
}
.blog-detail-content blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-medium);
}

/* ---------- Course Cards ---------- */
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.course-card .card-img-top {
  height: 200px;
  object-fit: cover;
}
.course-card .course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.course-card .card-body { padding: 20px; }
.course-card .course-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.course-card .course-meta i { color: var(--primary); }
.course-card .card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.course-card .card-title a { color: var(--text-dark); }
.course-card .card-title a:hover { color: var(--primary); }
.course-card .course-rating {
  color: var(--secondary);
  font-size: 0.85rem;
}
.course-card .course-rating .rating-count {
  color: var(--text-light);
}
.course-card .course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #eee;
  margin-top: 12px;
}
.course-card .course-instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}
.course-card .course-instructor img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.course-card .course-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.course-card .course-price .old-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 400;
  margin-right: 6px;
}

/* Course Detail */
.course-detail-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 0;
}
.course-detail-hero h1 { font-size: 2.2rem; font-weight: 800; }
.course-detail-hero .course-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.course-detail-hero .course-detail-meta i { color: var(--secondary); }

.video-player-wrapper {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.video-player-wrapper iframe,
.video-player-wrapper video {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.course-curriculum .curriculum-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.course-curriculum .curriculum-header {
  padding: 16px 20px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
}
.course-curriculum .curriculum-header i { color: var(--primary); transition: var(--transition); }
.course-curriculum .curriculum-header.open i { transform: rotate(180deg); }
.course-curriculum .curriculum-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.course-curriculum .curriculum-body.open {
  max-height: 500px;
  padding: 16px 20px;
}
.course-curriculum .lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.9rem;
}
.course-curriculum .lesson-item:last-child { border: none; }
.course-curriculum .lesson-item .lesson-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-curriculum .lesson-item .lesson-title i {
  color: var(--primary);
}
.course-curriculum .lesson-item .lesson-duration {
  color: var(--text-light);
  font-size: 0.8rem;
}

.course-sidebar .sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.course-sidebar .sidebar-widget h5 {
  font-weight: 700;
  margin-bottom: 16px;
}
.course-sidebar .price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.course-sidebar .price-tag .old {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 400;
}

/* ---------- About Page ---------- */
.about-value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.about-value-card .value-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  color: var(--primary);
}
.about-value-card h5 { font-weight: 700; margin-bottom: 8px; }
.about-value-card p { color: var(--text-light); font-size: 0.9rem; }

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); }
.team-card .team-img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}
.team-card .card-body { padding: 20px; }
.team-card h5 { font-weight: 700; margin-bottom: 4px; }
.team-card .team-role { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.team-card .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--primary);
  margin: 0 4px;
  transition: var(--transition);
}
.team-card .social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Contact Page ---------- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.contact-info-card:hover { box-shadow: var(--shadow-hover); }
.contact-info-card .contact-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  color: var(--primary);
}
.contact-info-card h5 { font-weight: 700; margin-bottom: 6px; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 12px 16px;
  transition: var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.contact-form label { font-weight: 600; font-size: 0.9rem; }

/* ---------- Privacy Page ---------- */
.privacy-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.privacy-content h3 {
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}
.privacy-content p { color: var(--text-medium); }
.privacy-content ul {
  color: var(--text-medium);
  padding-left: 20px;
}
.privacy-content ul li { margin-bottom: 8px; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(46,125,50,0.3);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  cursor: pointer;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-header h2 { font-size: 2rem; }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: 2rem; }
  .section-padding { padding: 50px 0; }
  .blog-detail-content { padding: 24px; }
  .stat-item .stat-number { font-size: 2rem; }
}
