/* ---------- GENERAL ---------- */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #0a1a2a;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 10px 0;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0a1a2a;
}

p {
  color: #ffffffff;
}

/* ---------- HERO SECTION ---------- */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0a1a2a, #005b96);
  color: #fff;
  padding: 60px 8%;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 450px;
  margin-top: 96px;
}

.hero-content h1 {
  font-size: 2.8rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin: 20px 0;
}

.btn-primary {
  display: inline-block;
  background: #ffffff;
  color: #0a1a2a;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #005b96;
  color: #ffffffff;
}

.hero-img {
  flex: 1 1 400px;
  margin-top: 30px;
  text-align: center;
}

.hero-img img {
  width: 90%;
  max-width: 450px;
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  padding: 100px 6%;
  text-align: center;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #0a1a2a;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ---------- GRID ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* ---------- CARD ---------- */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(10, 116, 218, 0.2);
}

/* ---------- IMAGE ---------- */
.service-img {
  width: 100%;
  height: 230px;
  background: #f2f5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-img img {
  width: 80%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

/* ---------- CONTENT ---------- */
.service-content {
  padding: 25px 20px 30px;
}

.service-content h3 {
  color: #0a1a2a;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-content p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .service-img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 5%;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .service-card {
    max-width: 100%;
  }

  .service-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .service-content h3 {
    font-size: 1.1rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }
}

//product showcase

.showcase {
  padding: 60px 8%;
  text-align: center;
}

.showcase h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1a1a4a;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #0a1a2a;
}

.product-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 991px) {
  .showcase {
    padding: 50px 5%;
  }

  .product-card img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .product-card img {
    height: 160px;
  }

  .showcase h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 180px;
  }
}

/* ---------- TRUST SECTION ---------- */
.trust {
  background: #0a1a2a;
  color: #fff;
  text-align: center;
  padding: 60px 8%;
}

.trust h2 {
  color: #fff;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.stat-card {
  background: #111;
  padding: 20px 40px;
  border-radius: 10px;
  width: 220px;
}

.stat-card i {
  font-size: 2rem;
  color: #00b7ff;
}

.reviews {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.review-card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  color: #ddd;
  font-style: italic;
}

/* ---------- BRANDS ---------- */
.brands {
  background: #f5f5f5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.brands img {
  width: 100px;
  transition: 0.3s;
}

.brands img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    margin-top: 22px;
    text-align: center;
    margin-bottom: -262px;
  }
  .hero-content h1 {
    font-size: 2rem;
    margin-top: -80px;
  }
  .hero-img img {
    width: 73%;
  }
  .hero-img{
    margin-top: 54px;
  }
}
.machine-products {
  padding: 60px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  position: relative;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #2ecc71;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.product-card h4 {
  font-size: 18px;
  margin: 12px 0;
  color: #0B4A7A;
}

.price {
  font-size: 22px;
  color: red;
  font-weight: 700;
}

.old-price {
  font-size: 16px;
  color: #777;
  text-decoration: line-through;
  margin-left: 10px;
}
.featured-machines {
  padding: 60px 5%;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0B4A7A;
  margin-bottom: 40px;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.machine-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  position: relative;
  transition: 0.3s ease;
}

.machine-card:hover {
  transform: translateY(-8px);
}

.machine-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.machine-card h3 {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #0B4A7A;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: #e63946;
  margin-top: 8px;
}

.old {
  font-size: 15px;
  color: #777;
  text-decoration: line-through;
  margin-left: 8px;
}

.discount {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e63946;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.discount.green {
  background: #2ecc71;
}
