/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

.navbar .logo img {
  height: 40px;
  margin-right: 10px;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  text-decoration: none;
  color: #333;
}

.navbar .login button {
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  color: white;
  padding: 60px 20px 60px 0;
  text-align: left;
  height: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://cdn.pixabay.com/photo/2018/01/17/04/14/industry-3087393_640.jpg') center center/cover no-repeat;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(30, 144, 255, 0.7), rgba(26, 35, 126, 0.7));
  z-index: 0;
}

.hero .hero-text {
  position: relative;
  z-index: 3;
  max-width: 600px;
  margin-left: 100px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero button {
  background-color: white;
  color: #1a237e;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 30%;
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: -50px;
  padding: 20px;
  z-index: 2;
  position: relative;
}

.feature {
  text-align: center;
  background-color: #f4f6f8;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 20px;
  max-width: 300px;
  position: relative;
  overflow: hidden;
  z-index: 2; /* Konten di atas pseudo-element */
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1; /* Transparansi gambar */
  z-index: 1; /* Letakkan di bawah konten */
  border-radius: 15px;
  pointer-events: none; /* Mencegah menghalangi klik */
}

.feature:nth-child(1)::before {
  background-image: url('https://img.freepik.com/free-vector/hand-drawn-innovative-idea-illustrated_52683-76699.jpg?semt=ais_hybrid');
}

.feature:nth-child(2)::before {
  background-image: url('https://img.freepik.com/free-vector/illustration-business-people_53876-20742.jpg');
}

.feature:nth-child(3)::before {
  background-image: url('https://minutemanups.com/wp-content/uploads/blog-images/AdobeStock_221688344-scaled-1300x861.jpeg');
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.features .feature h2 {
  color: #1a237e; /* Warna biru elegan */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.features .feature p {
  color: #424242; /* Warna teks abu-abu gelap */
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.features .feature ul {
  text-align: left;
  padding-left: 20px;
  color: #424242;
  font-size: 1rem;
  line-height: 1.6;
}

.features .feature ul li {
  margin-bottom: 10px;
}

.features .feature form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.features .feature form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.features .feature form button {
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.features .feature form button:hover {
  background-color: #3949ab; /* Warna hover untuk tombol */
}

.features button {
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 3; /* Pastikan tombol berada di atas semua elemen */
  position: relative; /* Memastikan tombol tetap di dalam card */
}

.features button:hover {
  background-color: #3949ab; /* Warna hover untuk tombol */
  transform: translateY(-3px); /* Efek hover */
}


/* Card Styles */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.card h2 {
  color: #1a237e;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.card button {
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
  align-self: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.card button:hover {
  background-color: #0d1a57;
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sidebar and Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #1a237e;
  color: white;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar ul {
  list-style: none;
  padding: 20px;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: white;
}

.sidebar.active {
  left: 0;
}

/* Company Introduction Section */
.company-intro {
  background-color: #36373713;
  padding: 30px 20px;
  font-family: 'Arial', sans-serif;
}

.company-intro-content {
  max-width: 90%;
  margin: 0 auto;
  text-align: justify;
}

.company-intro h2 {
  color: #1a237e;
  font-size: 2rem;
  font-weight: bold;
}

.company-intro p {
  color: #3b3b3b;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.company-intro-pair {
  display: flex;
  justify-content: space-between;
  max-width: 90%;
  margin-left: 5%;
}

.intro-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45%;
  text-align: justify;
}

.intro-image {
  max-width: 50%;
  height: auto;
}

.value {
  font-size: 1rem;
  line-height: 1.6;
  color: #1a237e;
}

/* Produk Kami Section */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 7%;
  background-color: #f9f9f9;
}

.products-title {
  width: 100%;
  text-align: left;
  color: #1a237e;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: -2px;
  position: relative;
  font-weight: bold;
}

.products-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: #1a237e;
  margin-top: 5px;
  border-radius: 2px;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product img {
  width: 100%;
  height: 150px;
  object-fit: fill;
  border-radius: 10px;
  margin-bottom: 30px;
}

.product h2 {
  color: #1a237e;
  margin-bottom: 10px;
}

.product p {
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: justify;
}

.product button {
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
}

/* Scrollbar styles (optional) */
.products::-webkit-scrollbar {
  height: 8px;
}

.products::-webkit-scrollbar-thumb {
  background-color: #1a237e;
  border-radius: 10px;
}

.products::-webkit-scrollbar-track {
  background: #f9f9f9;
}

/* Footer Section */
footer {
  background-color: #1a237e;
  color: white;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-info {
  flex: 1 1 30%;
  margin-bottom: 20px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-info p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-info a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-info a img {
  margin-right: 8px;
}

.footer-links {
  flex: 1 1 30%;
  margin-bottom: 20px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-copyright {
  flex: 1 1 100%;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
}

.whatsapp-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-bubble a {
  display: block;
  width: 60px;
  height: 60px;
}

.whatsapp-bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.whatsapp-bubble img:hover {
  transform: scale(1.1);
}


/* Responsive Design */
@media (max-width: 768px) {
  .navbar nav ul {
    display: none;
  }

  .burger {
    display: flex;
  }

  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card, .features .feature {
    width: 80%;
    max-width: 400px;
  }

  .feature p {
    font-size: 0.9rem;
  }

  .features button {
    align-self: flex-start;
    background-color: #1a237e;
    margin-top: 20px;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
  }

  .hero {
    padding: 40px 10px;
  }

  .hero .hero-text {
    margin-left: 5%;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: left;
  }

  .hero button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .company-intro h2{
    font-size: 1.5rem;
  }

  .company-intro p {
    font-size: 0.9rem;
  }

  .company-intro-pair {
    flex-direction: column;
    font-size: 1.8rem;
  }

  .intro-pair {
    width: 100%;
  }

  .intro-image {
    margin-bottom: -30px;
  }

  .products {
    flex-direction: column;
    gap: 20px;
  }

  .product {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .product img {
    width: 70%;
    height: auto;
    align-items: center;
  }

  .product button {
    align-self: flex-start;
    background-color: #1a237e;
    margin-top: 20px;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info, .footer-links {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .product {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .product img {
    width: 100%;
    height: auto;
  }
}
