/* ===== ROOT VARIABLES ===== */
:root {
  --primary-green: #1B5E20;
  --dark-green: #0D4212;
  --light-green: #C8E6C9;
  --orange: #FF9800;
  --dark-orange: #E68900;
  --blue: #0D47A1;
  --light-blue: #E3F2FD;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #333333;
  --text-dark: #2C3E50;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
}

section {
  padding: 0px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* Mobile Dropdown Styles */
.mobile-dropdown .nav-link {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.mobile-dropdown-item {
  display: block;
  padding: 6px 15px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.mobile-dropdown-item:last-child {
  border-bottom: none;
}

.mobile-dropdown-item:hover {
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary-green);
  padding-left: 20px;
}

/* Compact scrollbar for dropdown */
.mobile-dropdown-menu::-webkit-scrollbar {
  width: 4px;
}

.mobile-dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 2px;
}

/* For smaller items - More compact version */
.compact-dropdown .mobile-dropdown-item {
  padding: 4px 15px;
  font-size: 0.8rem;
}

.compact-dropdown .mobile-dropdown-menu {
  max-height: 180px;
}

/* Super Compact Dropdown */
.super-compact .mobile-dropdown-item {
  padding: 3px 10px;
  font-size: 0.75rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.super-compact .mobile-dropdown-item i {
  font-size: 0.7rem;
  width: 16px;
  text-align: center;
  margin-right: 6px;
}

.super-compact .mobile-dropdown-menu {
  max-height: 150px;
  padding-left: 15px;
}

.super-compact .nav-link {
  padding: 6px 12px;
  font-size: 0.85rem;
}



/* < !-- Header Specific Styles --> */
:root {
  --primary-green: #1B5E20;
  --dark-green: #0D4212;
  --orange: #FF9800;
  --dark-orange: #E68900;
  --red: #dc3545;
  --blue: #0d6efd;
  --white: #ffffff;
  --black: #212529;
  --light-green: #8bc34a;
  --yellow: #ffc107;
  --gray: #6c757d;
}

/* Top Navbar Styles */
.top-navbar {
  background: linear-gradient(90deg, var(--primary-green), var(--dark-green));
  padding: 8px 0;
  border-bottom: 2px solid var(--orange);
}

.top-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Contact Section in Navbar */
.navbar-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-content: space-around;
}

.contact-group {
  display: flex;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--orange);
  transform: translateY(-2px);
}

.contact-item i {
  color: var(--orange);
  font-size: 1rem;
}

/* WhatsApp Group */
.whatsapp-group {
  display: flex;
  gap: 10px;
}

.whatsapp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 12px;
  border-radius: 5px;
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-item:hover {
  background: rgba(37, 211, 102, 0.3);
  color: #25d366;
  transform: translateY(-2px);
}

.whatsapp-item i {
  color: #25d366;
}

/* Inquiry Button in Navbar */
.navbar-inquiry {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-inquiry-nav {
  background: linear-gradient(135deg, var(--orange), #FF5722);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-inquiry-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
  color: white;
}

/* Social Links in Navbar */
.navbar-social {
  display: flex;
  gap: 12px;
}

.social-link-nav {
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-link-nav:hover {
  color: var(--orange);
  transform: scale(1.2);
}

/* Main Header */
.main-header {
  position: fixed;
  top: 58px;
  left: 0px;
  width: 100%;
  z-index: 999;
  background: rgb(223 223 223 / 98%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  top: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Logo Section */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.main-header.scrolled .brand-logo {
  height: 50px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-green);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  background: rgba(255, 152, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 2px;
}

/* Header CTA Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-buttons {
  display: flex;
  gap: 10px;
}

.btn-call-header {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.btn-call-header:hover {
  background: var(--dark-green);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
}

.btn-whatsapp-header {
  background: #25d366;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
  background: #1da851;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Navigation Menu */
.navbar-nav {
  gap: 5px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #333 !important;
  padding: 12px 18px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #FF5722);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover:before,
.nav-link.active:before {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green) !important;
  background: rgba(27, 94, 32, 0.05);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 80%;
  left: 0;
  background: #dfdfdf;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border: none;
  padding: 10px;
  display: none;
  z-index: 1000;
  border-top: 3px solid var(--secondary-color);
}

.dropdown-item {
  display: block;
  padding: 7px 16px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(27, 94, 32, 0.1), rgba(255, 152, 0, 0.1));
  color: var(--primary-green);
  padding-left: 25px;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--primary-green);
}

/* Mobile Toggle Button */
.navbar-toggler {
  border: 2px solid var(--primary-green);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  width: 50px;
  height: 50px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.2);
  border-color: var(--orange);
}

.navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 25px;
  height: 2px;
  background-color: var(--primary-green);
  transition: all 0.3s ease;
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: var(--primary-green);
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler-icon:after {
  bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile Menu */
.navbar-collapse {
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin-top: 15px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

/* Mobile Contact Quick Actions */
.mobile-quick-actions {
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border-radius: 12px 12px 0 0;
  margin-bottom: 10px;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.quick-action-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 8px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.quick-action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.quick-action-btn i {
  font-size: 1.2rem;
}

.mobile-hotline {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.mobile-hotline h6 {
  color: var(--orange);
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.mobile-hotline a {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

.mobile-hotline a:hover {
  color: var(--orange);
}

/* Mobile Menu Items */
.mobile-menu-items {
  padding: 1px;
}

.mobile-menu-items .nav-link {
  padding: 15px !important;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.mobile-menu-items .nav-link.active {
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(255, 152, 0, 0.1));
  color: var(--primary-green) !important;
  border-left: 4px solid var(--orange);
}

.mobile-menu-items .nav-link i {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
}

/* Mobile Dropdowns */
.mobile-dropdown .dropdown-toggle::after {
  float: right;
  margin-top: 8px;
  transition: transform 0.3s ease;
}

.mobile-dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  background: rgba(27, 94, 32, 0.03);
  border-left: 0px;
  border-radius: 10px;
  padding: 1px 0;
  margin: 0px 0px 0px;
}

.mobile-dropdown-item {
  padding: 12px 25px;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-item:last-child {
  border-bottom: none;
}

.mobile-dropdown-item:hover {
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary-green);
  padding-left: 30px;
}

.mobile-dropdown-item i {
  color: var(--primary-green);
  font-size: 0.9rem;
  width: 20px;
}

/* Mobile Social Links */
.mobile-social-links {
  padding: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.mobile-social-links h6 {
  color: #666;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.mobile-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-social-icon:hover {
  transform: translateY(-5px);
  color: white;
}

.mobile-social-icon.facebook:hover {
  background: #3b5998;
}

.mobile-social-icon.instagram:hover {
  background: #e1306c;
}

.mobile-social-icon.youtube:hover {
  background: #ff0000;
}

.mobile-social-icon.whatsapp:hover {
  background: #25d366;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
  padding: 10px 0;
}

.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  flex: 1;
}

.mobile-bottom-item.active {
  color: var(--primary-green);
}

.mobile-bottom-item i {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .navbar-contact {
    gap: 15px;
  }

  .contact-group {
    gap: 10px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 991px) {
  .top-navbar {
    display: none;
  }

  .main-header {
    top: 0;
  }

  .header-cta {
    display: none;
  }

  .brand-main {
    font-size: 1.3rem;
  }

  .brand-sub {
    font-size: 0.75rem;
  }

  .brand-logo {
    height: 50px;
  }

  .mobile-bottom-bar {
    display: block;
  }

  /* Adjust main content for mobile bottom bar */
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 767px) {
  .navbar-contact {
    flex-direction: column;
    gap: 10px;
  }

  .contact-group {
    flex-direction: column;
    gap: 8px;
  }

  .whatsapp-group {
    flex-direction: column;
    gap: 8px;
  }

  .brand-text {
    display: none;
  }

  .quick-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .mobile-menu-items .nav-link {
    font-size: 0.95rem;
    padding: 12px !important;
  }

  .quick-action-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-hotline a {
    font-size: 1rem;
  }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Global Mobile Styles */
@media (max-width: 991px) {

  /* Padding adjustments for mobile */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Typography adjustments */
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  .lead {
    font-size: 1.1rem !important;
  }

  /* Section padding adjustments */
  section {
    padding: 10px 0 !important;
  }

  /* Card adjustments */
  .card {
    margin-bottom: 20px;
  }

  /* Button adjustments */
  .btn-lg {
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }

  /* Form adjustments */
  .form-control, .form-select {
    padding: 12px !important;
  }

  /* Image adjustments */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Home Page Mobile Optimizations */
@media (max-width: 991px) {

  /* Hero Slider */
  .carousel-item {
    height: 400px !important;
  }

  .carousel-caption h1 {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
  }

  .carousel-caption p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  .carousel-caption .btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Categories */
  .category-box .inner {
    padding: 25px 15px !important;
  }

  .category-box i {
    font-size: 2.5rem !important;
  }

  .category-box h4 {
    font-size: 1.1rem !important;
  }

  /* Featured Tractors */
  .tractor-card {
    margin-bottom: 20px;
  }

  .tractor-card .card-img-top {
    height: 180px !important;
  }

  /* Quick Inquiry */
  .quick-inquiry .form-control,
  .quick-inquiry .form-select {
    margin-bottom: 10px;
  }
}

/* Tractor Models Page Mobile Optimizations */
@media (max-width: 991px) {

  /* Filter Section */
  .filter-section .row>div {
    margin-bottom: 10px;
  }

  .filter-section .btn {
    width: 100%;
  }

  /* Model Cards */
  .tractor-card .row.g-0 {
    flex-direction: column !important;
  }

  .tractor-card .col-md-5 {
    width: 100% !important;
  }

  .tractor-card .col-md-7 {
    width: 100% !important;
  }

  .tractor-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
  }
}

/* Model Details Page Mobile Optimizations */
@media (max-width: 991px) {

  /* Image Gallery */
  .main-image img {
    height: 250px !important;
    object-fit: cover;
  }

  .thumbnail-images .col-3 {
    width: 20% !important;
  }

  /* Action Buttons */
  .action-buttons .col-md-6 {
    margin-bottom: 10px;
  }

  .action-buttons .btn {
    width: 100%;
  }

  /* Tabs */
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .nav-tabs .nav-item {
    white-space: nowrap;
  }
}

/* Booking & Forms Mobile Optimizations */
@media (max-width: 991px) {

  /* Multi-step Forms */
  .steps {
    flex-wrap: wrap;
  }

  .step {
    flex: 0 0 50%;
    margin-bottom: 15px;
  }

  /* Form Layouts */
  .row.g-3>[class*="col-"] {
    margin-bottom: 15px;
  }

  /* Payment Options */
  .payment-option {
    margin-bottom: 15px;
  }
}

/* Tables Mobile Optimizations */
@media (max-width: 991px) {

  /* Comparison Table */
  .table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
  }

  table {
    font-size: 0.85rem;
  }

  .table thead {
    display: none;
  }

  .table tbody, .table tr, .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
  }

  .table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #dee2e6;
  }

  .table td:last-child {
    border-bottom: none;
  }

  .table td:before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-green);
  }
}

/* Blog Pages Mobile Optimizations */
@media (max-width: 991px) {

  /* Blog Grid */
  .blog-card {
    margin-bottom: 20px;
  }

  .blog-card .card-img-top {
    height: 180px;
  }

  /* Blog Details */
  .featured-image img {
    height: 250px !important;
  }

  .blog-body img {
    max-width: 100%;
    height: auto;
  }
}

/* Service Centers Mobile Optimizations */
@media (max-width: 991px) {

  /* Service Center Cards */
  .service-center-card .row.g-0 {
    flex-direction: column !important;
  }

  .service-center-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
  }

  /* Mobile Service Section */
  .mobile-service .row {
    flex-direction: column;
  }

  .mobile-service img {
    margin-top: 20px;
  }
}

/* Footer Mobile Optimizations */
@media (max-width: 991px) {
  .footer .row>div {
    margin-bottom: 30px;
  }

  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer p, .footer a {
    font-size: 0.9rem;
  }
}

/* Small Screens (Mobile Portrait) */
@media (max-width: 576px) {

  /* Even smaller typography */
  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  /* Button stacks */
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-group .btn {
    width: 100%;
    margin: 0 !important;
  }

  /* Card body padding */
  .card-body {
    padding: 20px !important;
  }

  /* Modal adjustments */
  .modal-dialog {
    margin: 10px;
  }

  .modal-content {
    padding: 15px;
  }

  /* Form adjustments */
  .form-row .col, .form-row [class*="col-"] {
    margin-bottom: 15px;
  }
}

/* Extra Small Screens */
@media (max-width: 375px) {

  /* Ultra compact styles */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  h1 {
    font-size: 1.5rem !important;
  }

  .btn {
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
  }

  .card {
    border-radius: 10px !important;
  }
}

/* Landscape Mode Optimizations */
@media (max-height: 600px) and (orientation: landscape) {

  /* Reduce padding in landscape */
  section {
    padding: 0px 0 !important;
  }

  .card {
    margin-bottom: 15px;
  }

  /* Smaller images */
  img {
    max-height: 150px;
  }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {

  /* Tablet specific styles */
  .container {
    max-width: 100%;
  }

  /* 2-column layouts */
  .col-md-6 {
    width: 50%;
  }

  /* Adjust font sizes */
  h1 {
    font-size: 2.2rem !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }
}

/* Utility Classes for Mobile */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

@media (max-width: 991px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Hide some elements on mobile */
  .d-lg-inline {
    display: none !important;
  }

  .d-lg-flex {
    display: none !important;
  }
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {

  /* Better touch targets */
  .btn, .nav-link, .dropdown-item {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover effects */
  .btn:hover, .nav-link:hover, .dropdown-item:hover {
    transform: none !important;
  }

  /* Increase form field sizes */
  input, select, textarea, button {
    font-size: 16px !important;
    /* Prevents iOS zoom */
  }

  /* Better scrolling */
  .modal-body, .navbar-collapse {
    -webkit-overflow-scrolling: touch;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  .main-header, .mobile-bottom-bar, .footer {
    display: none !important;
  }

  body {
    padding: 0 !important;
    margin: 0 !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-green: #2e7d32;
    --dark-green: #1b5e20;
    --orange: #ff9800;
    --white: #121212;
    --black: #f5f5f5;
    --light-green: #4caf50;
  }

  body {
    background-color: var(--white);
    color: var(--black);
  }

  .card {
    background-color: #1e1e1e;
    color: var(--black);
    border-color: #333;
  }

  .form-control, .form-select {
    background-color: #2d2d2d;
    color: var(--black);
    border-color: #444;
  }
}

/* ?HEADER & NAVBAR SECTION END */

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--orange);
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.text-green {
  color: var(--primary-green);
}

.text-orange {
  color: var(--orange);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.btn:hover:before {
  left: 100%;
}

.btn-green {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.btn-green:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), #FF5722);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-orange:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.btn-outline-green {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
}

.btn-outline-green:hover {
  background: var(--primary-green);
  color: var(--white);
}

.btn-outline-orange {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-lg {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-brand img {
  height: 100px;
  transition: var(--transition);
  border-radius: 10px;
}

.header.scrolled .navbar-brand img {
  height: 50px;
}

.brand-text {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.8rem;
  background: linear-gradient(45deg, var(--primary-green), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 10px 15px !important;
  margin: 0 5px;
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-green) !important;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  margin-top: 0px;
  position: relative;
}

.carousel-item {
  height: 600px;
  position: relative;
}

.carousel-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  z-index: 2;
  bottom: 30%;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
}

.carousel-caption .btn {
  animation: fadeInUp 1s ease 0.6s both;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--orange);
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  background: var(--light-gray);
}

.category-box {
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.category-box:hover {
  transform: translateY(-10px);
}

.category-box .inner {
  background: var(--white);
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.category-box:hover .inner {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-box i {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-green), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.category-box h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.category-box p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

/* ===== FEATURED TRACTORS ===== */
.featured-tractors .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 0;
}

.tractor-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 30px;
}

.tractor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tractor-card .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tractor-card:hover .card-img-top {
  transform: scale(1.05);
}

.tractor-card .badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 15px;
  font-size: 0.8rem;
  border-radius: 50px;
}

.tractor-card .card-body {
  padding: 25px;
}

.tractor-card .card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.tractor-card .specs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.tractor-card .specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.tractor-card .specs i {
  color: var(--primary-green);
}

.tractor-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.tractor-card .btn-group {
  display: flex;
  gap: 10px;
}

/* ===== OFFERS SECTION ===== */
.offers-section {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
}

.offer-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.offer-card .card-body {
  padding: 40px 30px;
  position: relative;
}

.offer-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 600;
}

.offer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.offer-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.offer-card ul li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.offer-card ul li:last-child {
  border-bottom: none;
}

/* ===== QUICK INQUIRY ===== */
.quick-inquiry {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quick-inquiry:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="%23ffffff" opacity="0.05" d="M0,0V100H1000V0C750,50 500,50 250,50C166.7,50 83.3,50 0,50Z"/></svg>');
  background-size: cover;
}

.quick-inquiry h2 {
  color: var(--white);
}

.quick-inquiry h2:after {
  background: var(--orange);
}

.quick-inquiry .form-control,
.quick-inquiry .form-select {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 12px 15px;
  transition: var(--transition);
}

.quick-inquiry .form-control:focus,
.quick-inquiry .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--dark-gray), #1a1a1a);
  color: var(--white);
  position: relative;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--orange));
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--orange);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 5px;
}

.footer-links a i {
  width: 20px;
  text-align: center;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-info i {
  color: var(--orange);
  margin-top: 3px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons 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);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .carousel-item {
    height: 500px;
  }

  .carousel-caption h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .carousel-item {
    height: 400px;
  }

  .carousel-caption {
    bottom: 20%;
  }

  .carousel-caption h1 {
    font-size: 2.2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .featured-tractors .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-header .btn {
    align-self: flex-start;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .carousel-item {
    height: 350px;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .tractor-card .btn-group {
    flex-direction: column;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease both;
}

/* ===== UTILITY CLASSES ===== */
.bg-light-green {
  background: var(--light-green);
}

.bg-dark-blue {
  background: var(--blue);
}

.rounded-lg {
  border-radius: 15px;
}

.shadow-sm {
  box-shadow: var(--shadow);
}

.mt-100 {
  margin-top: 100px;
}

.mb-100 {
  margin-bottom: 100px;
}

/* // HOME PAGE CSS */
/* Hero Slider Styles */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 600px;
  /* Adjust height as needed */
}

#mainSlider {
  height: 100%;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for better text visibility */
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Adjust opacity as needed */
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  text-align: center;
}

/* Custom button styles */
.btn-orange {
  background-color: #f0a43d;
  border-color: #f0a43d;
  color: white;
  font-weight: 600;
}

.btn-orange:hover {
  background-color: #e5942d;
  border-color: #e5942d;
  color: white;
}

.btn-green {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
  font-weight: 600;
}

.btn-green:hover {
  background-color: #218838;
  border-color: #218838;
  color: white;
}

.text-orange {
  color: #f0a43d !important;
}

/* Carousel controls styling */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

/* Carousel indicators */
.carousel-indicators {
  bottom: 20px;
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.carousel-indicators button.active {
  background-color: #f0a43d;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-slider {
    height: 500px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
  }

  .display-4 {
    font-size: 2rem;
  }

  .carousel-caption {
    padding: 0 15px;
  }

  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: auto;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
  }

  .d-flex {
    flex-direction: column;
    gap: 10px !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

/* Animation for text */
.carousel-item h1,
.carousel-item p,
.carousel-item .btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.carousel-item.active h1,
.carousel-item.active p,
.carousel-item.active .btn {
  opacity: 1;
  transform: translateY(0);
}

.carousel-item.active .btn {
  transition-delay: 0.3s;
}

/* // 02/02/2026 */
    
/* Featured Tractors Section Styles */
.featured-tractors {
  background: linear-gradient(135deg, #7d838a 0%, #82a182 100%);
  position: relative;
  overflow: hidden;
}

.section-header {
  position: relative;
}

.section-subtitle {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.6;
}

/* Filter Tabs */
.tractor-filter-tabs {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.filter-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 5px;
}

.filter-scroll::-webkit-scrollbar {
  height: 5px;
}

.filter-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.filter-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.filter-btn {
  padding: 12px 28px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: #e09c22;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
}

/* Tractor Card */
.tractor-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tractor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tractor-card-header {
  position: relative;
  padding: 20px 20px 0;
}

.tractor-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.bestseller {
  background: linear-gradient(90deg, #FF9800, #FF5722);
}

.badge.fuel-economy {
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
}

.badge.offroad {
  background: linear-gradient(90deg, #795548, #5D4037);
}

.badge.power {
  background: linear-gradient(90deg, #f44336, #d32f2f);
}

.badge.new {
  background: linear-gradient(90deg, #2196F3, #1976D2);
}

.badge.orchard {
  background: linear-gradient(90deg, #9C27B0, #7B1FA2);
}

.badge.compact {
  background: linear-gradient(90deg, #00BCD4, #0097A7);
}

.tractor-image-slider {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #f8f9fa;
}

.tractor-main-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tractor-main-image img {
  max-height: 180px;
  width: auto;
  transition: transform 0.3s ease;
}

.tractor-card:hover .tractor-main-image img {
  transform: scale(1.05);
}

/* Color Options */
.color-options {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 0 0 12px 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.tractor-card:hover .color-options {
  transform: translateY(0);
}

.color-options h6 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.color-switcher {
  display: flex;
  gap: 8px;
}

.color-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-btn:hover {
  transform: scale(1.2);
}

.color-btn.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
}

/* Tractor Card Body */
.tractor-card-body {
  padding: 25px;
}

.tractor-model {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tractor-description {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Specs Grid */
.tractor-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-item i {
  font-size: 20px;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  background: rgba(27, 94, 32, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-item div {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.spec-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Features List */
.tractor-features {
  margin-bottom: 20px;
}

.tractor-features h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.tractor-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tractor-features li {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.tractor-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Pricing */
.tractor-pricing {
  background: linear-gradient(135deg, #f8f9fa, #e9f5e9);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.current-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.ex-showroom {
  font-size: 12px;
  color: var(--text-light);
}

.emi-options {
  text-align: center;
}

.emi-options small {
  font-size: 13px;
  color: var(--text-light);
}

/* Action Buttons */
.tractor-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-details {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-test-drive,
.btn-book-now {
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-test-drive {
  background: linear-gradient(90deg, #bbbbbb, #ebebeb);
  color: #000000;
  border: none;
}

.btn-test-drive:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.btn-book-now {
  background: linear-gradient(272deg, #bbbbbb, #ebebeb);
  color: #000;
  border: 2px solid var(--primary-color);
}

.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* View All Button */
.btn-view-all {
  padding: 14px 28px;
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(27, 94, 32, 0.2);
}

/* Comparison CTA */
.comparison-cta {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 16px;
  padding: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.comparison-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.comparison-content p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}

.btn-compare {
  padding: 16px 32px;
  background: #ffffff;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-compare:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .section-title {
    font-size: 32px;
  }

  .tractor-model {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .section-header {
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-description {
    margin: 0 auto 20px;
  }

  .comparison-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 16px;
  }

  .tractor-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tractor-card-body {
    padding: 20px;
  }

  .comparison-content h3 {
    font-size: 24px;
  }

  .comparison-content p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 12px;
    padding: 5px 15px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }

  .tractor-actions {
    gap: 8px;
  }
}


/* // TRACTORS PAGE CSS */