/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Buat body menempati seluruh lebar dan tinggi layar */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Optional: hilangkan scroll horizontal akibat overflow */
body {
    overflow-x: hidden;
}

.logo{
    max-width:200px; 
    height:auto;
}
    
.hero-section {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #e3342f;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #cc1f1a;
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

.titleproduct{
    font-family: "Prime Time", sans-serif;
    margin-top:100px;
    color:#142237;
    text-align:center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.product-area{
    padding-right:50px;
    padding-left:50px;
    padding-bottom:50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-area{
    padding-right:20px;
    padding-left:20px;
    padding-bottom:20px;
  }
}

.grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.visi{
  text-align: left;
  font-size: 28pt;
  font-weight: 900 !important;
  padding: 10px;
  margin-left: 20px;
}

.subvisi{    
  color: #000;
  padding: 10px;
  inline-size: fit-content;
  margin-left: 20px;
  border-radius: 10px;
  background-color: #ffffffd6;
}

.visi-misi-section {
  position: relative;
  background-image: url('/path/to/your-image.jpg'); /* ganti path gambar */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.judul {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 30px 0 20px;
}

.visi-box,
.misi-box {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.misi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.footer-text {
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
  margin-top: 50px;
}

.why-cmja {
  background-color: #f1f4fb;
  padding: 60px 20px;
  text-align: center;
  font-family: sans-serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0b1b36;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

/* Atur posisi card ke-4 dan ke-5 */
.card-grid > .card:nth-child(4) {
  grid-column: 1 / span 1; /* posisikan ke kolom ke-1 */
}
.card-grid > .card:nth-child(5) {
  grid-column: 3 / span 1; /* posisikan ke kolom ke-3 */
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid > .card:nth-child(4),
  .card-grid > .card:nth-child(5) {
    grid-column: auto;
  }
}
.card{
 
}

.card-title {
  background-color: #0b1b36;
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 20px;
  display: inline-block;
  font-size: 1rem;
}

.card p {
  font-size: 1rem;
  color: #1c1c1c;
  background-color: white;
  border: 2px solid #d0d8e8;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.cta-container {
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  background-color: #e6392d;
  color: white;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #c62822;
  color:#fff;
}
            