:root {
  /* --primary-green: #22c55e; */
  --primary-green: #066D14;
  --dark-green: #16a34a;
  --light-green: #f0fdf4;
  --bg-light: #f9fafb;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: white;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.display-3,
.display-4 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

/* Navigation */


/* Navbar after scroll */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Navbar links default */
.navbar-transparent .nav-link {
  color: #fff;
  font-weight: 500;
}

/* Brand logo spacing */
.navbar-brand img {
  transition: all 0.3s ease;
}

/* After scroll – dark text */
.navbar.scrolled .nav-link {
  color: #222;
}

/* Hover effect */
.navbar .nav-link:hover {
  color: #28a745;
}

/* Fix hero overlap */
.hero-section {
  padding-top: 120px;
}


/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-green) 0%, #f0fdf4 50%, white 100%);
  /* padding: 80px 0; */
  position: relative;
}

.hero-section h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-section .text-success {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  font-weight: 600;
  border-radius: 50px;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-success {
  background-color: var(--primary-green) !important;
  color: white !important;
}

.btn-success:hover {
  background-color: var(--dark-green) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-outline-success {
  color: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
}

.btn-outline-success:hover {
  background-color: var(--primary-green) !important;
  color: white !important;
}

.btn-outline-dark {
  color: var(--text-dark) !important;
  border-color: var(--text-dark) !important;
}

.btn-outline-dark:hover {
  background-color: var(--text-dark) !important;
  color: white !important;
}

.btn-light {
  background-color: white !important;
  color: var(--text-dark) !important;
  font-weight: 600;
}

.btn-light:hover {
  background-color: var(--bg-light) !important;
  transform: translateY(-2px);
}

/* Floating Card */
.floating-card {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Feature Cards */
.feature-card {
  background: white;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-green);
}

.feature-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-green);
  border-radius: 12px;
}

/* Product Cards */
.product-card {
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay */
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 10%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover Effects */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-card:hover img {
  transform: scale(1.12);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* Button polish */
.product-overlay a {
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.product-overlay h4,
.product-overlay h5 {
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.product-card:hover h4,
.product-card:hover h5 {
  transform: translateY(0);
  opacity: 1;
}

/* NEW: How It Works Cards */
.how-it-works-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.how-it-works-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.step-icon {
  font-size: 2.5rem;
}


/* App Features */
.app-feature-item {
  transition: all 0.3s ease;
}

.app-feature-item:hover {
  transform: translateX(10px);
}

.feature-badge {
  transition: all 0.3s ease;
}

.app-feature-item:hover .feature-badge {
  transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-green);
}

/* NEW: Accordion Styling */
.accordion-button {
  box-shadow: none !important;
  border: 1px solid var(--border-color);
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: var(--primary-green);
  background-color: transparent;
}

.accordion-button:not(.collapsed) {
  background-color: var(--light-green);
  color: var(--primary-green);
  border-color: var(--primary-green);
}

/* Backgrounds */
.bg-light {
  background-color: var(--bg-light) !important;
}

.bg-success-subtle {
  background-color: var(--light-green) !important;
}

.bg-success {
  background-color: var(--primary-green) !important;
}

.text-success {
  color: var(--primary-green) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Links */
.link-hover {
  transition: color 0.3s ease;
}

.link-hover:hover {
  color: var(--primary-green) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .display-4 {
    font-size: 1.75rem !important;
  }

  .display-3 {
    font-size: 1.5rem !important;
  }

  .fs-5 {
    font-size: 1rem !important;
  }

  .navbar-collapse {
    margin-top: 1rem;
  }

  .d-flex.gap-3 {
    flex-wrap: wrap;
  }

  .floating-card {
    position: static !important;
    margin-top: 2rem;
  }
}

/* AOS Animations */
[data-aos] {
  opacity: 0;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utilities */
.max-width-500 {
  max-width: 500px;
}

.object-fit-cover {
  object-fit: cover;
}

.vr {
  width: 1px;
  background-color: var(--border-color);
  opacity: 0.3;
}

.app-screens {
  background: linear-gradient(135deg, #41b673, #328d46);
}

.zigzag-wrapper {
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 5rem;
  padding-bottom: 20px;
}

.app-screen {
  width: 180px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.35s ease;
}

.app-screen.top {
  transform: translateY(-70px);
}

.app-screen.bottom {
  transform: translateY(40px);
}

.app-screen:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 992px) {
  .zigzag-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .app-screen.top,
  .app-screen.bottom {
    transform: none;
  }
}

/* ----------------- */
.filter-item {
  display: none;
  transition: all 0.4s ease;
}

.filter-item.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
}

.fade-in {
  animation: fadeInUp 0.35s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Filter Tabs Container */
.filter-tabs {
  gap: 12px;
  list-style: none;
  padding: 0;
}

/* Button Base */
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(40, 167, 69, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: #2f2f2f;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Hover */
.filter-btn:hover {
  transform: translateY(-2px);
  border-color: #28a745;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.25);
  color: #28a745;
}

/* Active Button */
.filter-btn.active {
  background: linear-gradient(135deg, #28a745, #28a745);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.35);
}

/* Subtle shine animation */
.filter-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.filter-btn:hover::after {
  transform: translateX(100%);
}

/* Mobile */
@media (max-width: 576px) {
  .filter-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}


/* -------------------- */

.footer-section {
  background: linear-gradient(180deg, #0f1f17, #050b08);
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 30px;
  height: 2px;
  background: #28a745;
  display: block;
  margin-top: 6px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9aa4a0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #28a745;
  padding-left: 6px;
}

.footer-contact li {
  font-size: 14px;
  color: #9aa4a0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: #28a745;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom a {
  color: #28a745;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ------------------ */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #28a745, #28a745);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(40, 167, 69, 0.45);
}