@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --fc-primary: #7AC142;
  --fc-primary-dark: #5FA031;
  --fc-primary-light: #eBF7E3;
  --fc-dark: #23272A;
  --fc-dark-card: #2C3136;
  --fc-text: #334155;
  --fc-muted: #64748B;
  --fc-bg: #F8FAFC;
  --fc-border: #E2E8F0;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--fc-text);
  background-color: var(--fc-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--fc-dark);
  font-weight: 700;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader-content {
  text-align: center;
}
.preloader-logo {
  width: 100px !important;
  max-width: 100px !important;
  height: 100px !important;
  max-height: 100px !important;
  object-fit: contain !important;
  margin-bottom: 20px;
  animation: pulse-logo 2s infinite ease-in-out;
  border-radius: 0 !important;
  filter: none !important;
  mix-blend-mode: multiply !important;
  background-color: transparent !important;
}
.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(122, 193, 66, 0.2);
  border-top: 4px solid var(--fc-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse-logo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Glassmorphism Navbar */
.navbar-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.navbar-brand img {
  height: 100px !important;
  max-height: 100px !important;
  width: 100px !important;
  max-width: 100px !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
  mix-blend-mode: multiply !important;
  background-color: transparent !important;
}
.navbar-brand:hover img {
  transform: scale(1.03);
}
.nav-link {
  font-weight: 500;
  color: var(--fc-dark) !important;
  margin: 0 6px;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--fc-primary) !important;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--fc-primary);
  border-color: var(--fc-primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 14px 0 rgba(122, 193, 66, 0.35);
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: var(--fc-primary-dark);
  border-color: var(--fc-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(122, 193, 66, 0.5);
}
.btn-dark-custom {
  background-color: var(--fc-dark);
  border-color: var(--fc-dark);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-dark-custom:hover {
  background-color: #33393E;
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Carousel */
#heroSlider .carousel-item,
.hero-carousel .carousel-item {
  height: 480px !important;
  min-height: 480px !important;
  max-height: 480px !important;
  background-color: var(--fc-dark);
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden !important;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(35, 39, 42, 0.92) 0%, rgba(35, 39, 42, 0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.hero-badge {
  display: inline-block;
  background: rgba(122, 193, 66, 0.2);
  color: var(--fc-primary);
  border: 1px solid var(--fc-primary);
  padding: 4px 14px !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}
.hero-title {
  color: #fff;
  font-size: 2.2rem !important;
  font-weight: 700;
  line-height: 1.2 !important;
  margin-bottom: 15px !important;
}
.hero-title span {
  color: var(--fc-primary);
}
.hero-slogan {
  color: #E2E8F0;
  font-size: 1.05rem !important;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 20px !important;
  line-height: 1.5 !important;
}
.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px !important;
  margin-bottom: 22px !important;
}
.hero-perk-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 12px !important;
  border-radius: 6px;
  color: #fff;
  font-size: 0.85rem !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 3px solid var(--fc-primary);
}
.hero-content .btn {
  padding: 8px 18px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}

/* Sections */
.section-padding {
  padding: 90px 0;
}
.section-title {
  position: relative;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.section-title p {
  color: var(--fc-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--fc-primary);
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-title.text-start::after {
  margin: 15px 0 0;
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--fc-border);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(122, 193, 66, 0.2);
  border-color: var(--fc-primary);
}
.service-icon {
  width: 65px;
  height: 65px;
  background: var(--fc-primary-light);
  color: var(--fc-primary-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--fc-primary);
  color: #fff;
}
.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.service-card p {
  color: var(--fc-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Machine Cards */
.machine-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--fc-border);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.machine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
}
.machine-img-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}
.machine-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.machine-card:hover .machine-img-wrapper img {
  transform: scale(1.08);
}
.machine-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--fc-dark);
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.machine-badge.color {
  background: var(--fc-primary);
}
.machine-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.machine-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.machine-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
  font-size: 0.85rem;
  color: var(--fc-muted);
}
.machine-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.machine-pricing {
  background: var(--fc-bg);
  padding: 15px;
  border-radius: 10px;
  margin-top: auto;
  margin-bottom: 20px;
  border-left: 4px solid var(--fc-primary);
}
.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.price-row.deposit {
  color: var(--fc-dark);
  font-weight: 700;
  border-top: 1px dashed var(--fc-border);
  padding-top: 6px;
  margin-bottom: 0;
}
.machine-actions {
  display: flex;
  gap: 10px;
}

/* Why Choose Us & Commitment */
.commitment-banner {
  background: linear-gradient(135deg, var(--fc-dark) 0%, #1E293B 100%);
  color: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(35, 39, 42, 0.4);
}
.commitment-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: var(--fc-primary);
  opacity: 0.15;
  border-radius: 50%;
}

/* Process Steps */
.process-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--fc-border);
  position: relative;
  height: 100%;
}
.process-step-num {
  width: 45px;
  height: 45px;
  background: var(--fc-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(122, 193, 66, 0.4);
}

/* Quotation Form */
.quotation-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--fc-border);
}
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}
.step-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--fc-border);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  background: #fff;
  padding: 0 10px;
}
.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fc-border);
  color: var(--fc-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
}
.step-item.active .step-circle {
  background: var(--fc-primary);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(122, 193, 66, 0.2);
}
.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fc-muted);
}
.step-item.active .step-label {
  color: var(--fc-dark);
}

/* Testimonial Section & Cards */
.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--fc-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--fc-primary), #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(122, 193, 66, 0.25);
  border-color: rgba(122, 193, 66, 0.4);
}
.testimonial-card:hover::before {
  opacity: 1;
}
.testimonial-quote-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 4.5rem;
  color: rgba(122, 193, 66, 0.07);
  z-index: -1;
  transition: transform 0.4s ease;
}
.testimonial-card:hover .testimonial-quote-icon {
  transform: scale(1.1) rotate(-5deg);
  color: rgba(122, 193, 66, 0.12);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fc-primary-light), rgba(122, 193, 66, 0.3));
  color: var(--fc-primary-dark);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.testimonial-author-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--fc-dark);
}
.testimonial-author-info p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0;
}
.testimonial-trust-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  margin-top: 50px;
}
.trust-stat-item {
  text-align: center;
  padding: 10px 15px;
}
.trust-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--fc-dark);
  line-height: 1.2;
  margin-bottom: 5px;
}
.trust-stat-num span {
  color: var(--fc-primary);
}
.trust-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  background: var(--fc-dark);
  color: #cbd5e1;
  padding: 70px 0 30px;
}
footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
}
footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover {
  color: var(--fc-primary);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  color: var(--fc-primary);
  font-size: 1.2rem;
  margin-top: 3px;
}
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.footer-logo:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
  #heroSlider .carousel-item,
  .hero-carousel .carousel-item {
    height: auto !important;
    min-height: 520px !important;
    max-height: none !important;
  }
  .hero-content {
    align-items: flex-start !important;
    padding-top: 40px !important;
    padding-bottom: 90px !important;
  }
  #heroSlider .carousel-indicators {
    bottom: 15px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem !important; }
  #heroSlider .carousel-item,
  .hero-carousel .carousel-item {
    height: auto !important;
    min-height: 520px !important;
    max-height: none !important;
  }
  .hero-content {
    align-items: flex-start !important;
    padding-top: 35px !important;
    padding-bottom: 95px !important;
  }
  #heroSlider .carousel-indicators {
    bottom: 15px !important;
    margin-bottom: 0 !important;
  }
  .section-padding { padding: 60px 0; }
  .quotation-card { padding: 25px; }
}
