:root {
  /* Brand Colors */
  --cat-yellow: #F9CC0B;
  --jd-green: #367C2B;
  --jd-yellow: #FFDE00;
  
  /* Neutral Colors */
  --dark-bg: #111111;
  --darker-bg: #0a0a0a;
  --card-bg: #1c1c1c;
  --text-light: #f5f5f5;
  --text-gray: #a0a0a0;
  
  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  
  /* Borders & Shadows */
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.logo img {
  height: 80px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--cat-yellow);
  transition: var(--transition);
}

.nav-links li a:hover::after {
  width: 100%;
}

.btn-primary {
  background-color: var(--cat-yellow);
  color: var(--dark-bg);
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: #ffda33;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(249, 204, 11, 0.3);
}

.btn-secondary {
  background-color: var(--dark-bg);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: #222;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.text-center {
  text-align: center;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.9)), url('https://images.unsplash.com/photo-1541888081622-44670081d2fb?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 5%;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title span.cat {
  color: var(--cat-yellow);
}

.hero-title span.jd {
  color: var(--jd-green);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Counters Banner */
.counters-banner {
  background: var(--darker-bg);
  padding: 3rem 5%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.counter-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.counter-val-wrap {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cat-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter-plus {
  font-size: 2.5rem;
}

.counter-item p {
  color: var(--text-gray);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Promo Banner */
.promo-banner {
  background-color: var(--cat-yellow);
  color: var(--dark-bg);
  text-align: center;
  padding: 1rem 5%;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(249, 204, 11, 0.4);
  animation: pulse 2s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.promo-banner i {
  font-size: 1.8rem;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Generic Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-gray);
}

/* About Section */
.about {
  padding: 5rem 5%;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-light);
}

.company-details {
  margin-top: 2rem;
  color: var(--text-gray);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

/* How It Works Section */
.how-it-works {
  background: var(--darker-bg);
  padding: 5rem 5%;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-box {
  background: var(--card-bg);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--cat-yellow);
  color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.step-box i {
  font-size: 3rem;
  color: var(--jd-green);
  margin-bottom: 1.5rem;
}

.step-box h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.step-box p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Rental Conditions */
.rental-conditions {
  background: var(--card-bg);
  padding: 2rem 5%;
  margin: 3rem 5%;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
  box-shadow: var(--box-shadow);
}

.condition-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 150px;
}

.condition-item i {
  font-size: 2.5rem;
  color: var(--jd-green);
  margin-bottom: 0.5rem;
}

.condition-item span {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.condition-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Catalog Section */
.catalog {
  padding: 2rem 5% 5rem 5%;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--cat-yellow);
  color: var(--dark-bg);
  border-color: var(--cat-yellow);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.machine-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.machine-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.machine-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
  min-height: 250px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.machine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.2) brightness(1.05);
  transition: transform 0.3s ease;
  display: block;
}

.machine-card:hover .machine-img {
  transform: scale(1.05);
}

.machine-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 1.5rem 1rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
}

.machine-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  line-height: 1.3;
}

.machine-info {
  padding: 1.5rem;
  border-top: 3px solid var(--cat-yellow);
}

/* Features */
.features {
  background: var(--darker-bg);
  padding: 5rem 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.feature-item i {
  font-size: 3rem;
  color: var(--cat-yellow);
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--cat-yellow);
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.05);
}

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.author {
  font-weight: 700;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  background: var(--darker-bg);
  padding: 5rem 5%;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-gray);
}

.faq-question.active + .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 200px;
}

/* Contact Section */
.contact {
  padding: 5rem 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.coverage-box {
  background: rgba(54, 124, 43, 0.1);
  border-left: 4px solid var(--jd-green);
  padding: 1.5rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.coverage-box i {
  font-size: 2.5rem;
  color: var(--jd-green);
}

.coverage-box h3 {
  margin-bottom: 0.5rem;
  color: var(--jd-green);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--cat-yellow);
}

textarea.form-control {
  resize: vertical;
}

/* Tally & Contact Options */
.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.option-card i {
  font-size: 1.8rem;
}

.option-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--text-light);
}

.option-card p {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

.option-card.active {
  border-color: var(--cat-yellow);
  background: rgba(249, 204, 11, 0.05);
}

.option-card#option-whatsapp i {
  color: #25d366;
}

.btn-whatsapp-small {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-size: 1.8rem;
  color: var(--cat-yellow);
  margin-bottom: 0.3rem;
}

.form-header p {
  color: var(--text-gray);
  font-size: 1rem;
}

.tally-container {
  background: transparent;
  min-height: 400px;
}

@media (max-width: 480px) {
  .contact-options {
    grid-template-columns: 1fr;
  }
}


/* Footer */
footer {
  background: #050505;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float i {
  font-size: 1.5rem;
}

/* Mobile Sticky CTA Bar */
.mobile-sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001;
  background: #111;
  border-top: 2px solid var(--cat-yellow);
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}
.mobile-sticky-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; width: 100%;
  background: #25d366; color: #fff;
  padding: 0.9rem 1rem; border-radius: 6px;
  font-weight: 700; font-size: 1rem;
  transition: background 0.3s ease;
}
.mobile-sticky-btn:hover { background: #128C7E; color: #fff; }
.mobile-sticky-btn i { font-size: 1.3rem; }

/* Responsive */
/* Responsive and Device Recognition */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .menu-toggle {
    display: block !important;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .desktop-btn {
    display: none !important;
  }

  .counters-banner {
    padding: 2rem 5%;
    gap: 1.5rem;
  }

  .counter-item {
    min-width: 120px;
  }

  .counter-val-wrap {
    font-size: 2.2rem;
  }

  .contact {
    flex-direction: column;
    gap: 2rem;
  }

  .coverage-box {
    flex-direction: column;
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--cat-yellow);
    border-radius: var(--border-radius);
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 10px;
    border-radius: 50%;
  }

  .whatsapp-float span, .whatsapp-float text {
    display: none;
  }
}
