:root {
  --primary-green: #003366;
  --dark-green: #003366;
  --light-green: #EFEFEF;
  --accent-orange: #ffe013;
}

body {
  font-family: "Roboto", Tahoma, Geneva, Verdana, sans-serif;
}

.hero-login {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://img.tractorbynet.com/lp/hero-tractor.webp");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 0;
  margin-bottom: 3rem;
  position: relative;
}

.hero-login::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom right, transparent 49%, white 50%);
}

.hero-sell {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  color: white;
  padding: 4rem 0;
  margin: 4rem 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.brand-forum {
  background-color: var(--light-green);
  border-left: 5px solid var(--primary-green);
  padding: .5rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  transition: transform 0.3s;
}

.brand-forum:hover {
  transform: translateX(5px);
}

.topic-forum {
  padding: .5rem;
  margin-bottom: 1rem;
  border-left: 5px solid #6c757d;
  background-color: #f8f9fa;
  border-radius: 5px;
  transition: transform 0.3s;
}

.topic-forum:hover {
  transform: translateX(5px);
}

.marketplace-category {
  border: none;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
}

.marketplace-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.listing-card {
  margin-bottom: 2rem;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.listing-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.price-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-green);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
}

.tractor-make {
  background-color: white;
  padding: 0.7rem 1.5rem;
  margin: 0.5rem;
  border-radius: 30px;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  font-weight: 500;
}

.tractor-make:hover {
  background-color: var(--primary-green);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
  text-decoration: none;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

.btn-primary-custom {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.5rem 1.5rem;
}

.btn-primary-custom:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-outline-custom {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

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

.stats-number {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--accent-orange);
}

.stats-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-green);
}

.nav-pills .nav-link {
  color: var(--dark-green);
}
.logo-img {
  height: 40px;
  max-height: 100%;
}
.btn-success {
  background-color: #004888 !important;
  border-color: #004888 !important;
  color: #fff !important;
}

.btn-success:hover {
  background-color: #003a6f !important;
  border-color: #003a6f !important;
}
.banner-img {
  max-width: 970px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional: soft shadow */
}
.navbar {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.hero {
  padding-top: 90px; /* Adjust depending on navbar height */
}
.btn-post-question {
    background-color: #003a6f;
    color: white;
}

.btn-post-question:hover {
    background-color: #002c52;
    color: white;
}

@media (max-width: 991.98px) {
  .navbar {
    background-color: transparent !important;
    position: fixed;
  }
  .navbar-collapse {
    background: #000;
    border-radius: 0 0 10px 10px;
    padding: 1rem;
  }
}
