/* Start section tentang kami */
.tentang-kami {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  padding: 30px;
  margin: auto;
}

.tentang-kami-content {
  flex: 1;
}

.tentang-kami-content h1 {
  font-size: 36px;
  font-weight: bold;
  color: #162C60;
}

.tentang-kami-content p {
  color: #949BB8;
  font-size: 16px;
  margin: 15px 0;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background-color: #006EFF;
  color: white;
  padding: 12px 20px;
  /* border-radius: 25px; */
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background-color: #0056D2;
  color: #fff;
}

.tentang-kami-image {
  flex: 1;
  position: relative;
}

.tentang-kami-image img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 50px;
  padding: 12px; 
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.tentang-kami-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3); /* shadow lebih tebal saat hover */
}


@media (min-width: 1025px) {
  .tentang-kami {
    flex-direction: row;
    gap: 30px;
  }

  .tentang-kami-content h1 {
    font-size: 36px;
  }

  .tentang-kami-content p {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .tentang-kami {
    flex-direction: row;
    gap: 20px;
    padding: 30px;
    margin: 40px 10px;
  }

  .tentang-kami-content {
    max-width: 600px;
  }

  .tentang-kami-content h1 {
    font-size: 32px;
  }

  .tentang-kami-content p {
    font-size: 16px;
  }

  .tentang-kami-image {
    max-width: 700px;
    padding: 0px;
  }

  .tentang-kami-image img {
    padding: 0px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .tentang-kami {
    flex-direction: column-reverse;
    text-align: center;
    gap: 10px;
  }

  .tentang-kami-content h1 {
    font-size: 28px;
    margin-top: 20px;
  }

  .tentang-kami-content p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .tentang-kami-image {
    padding: 0 !important;
  }

  .tentang-kami-image img {
    max-width: 100%;
    padding: 0 !important;
  }
}

/* end section hero tentang kami */




/* start section sejarah */

.history-section {
  background-color: #F2F7FF;
  /* Latar belakang biru muda */
  padding: 60px 20px;
  text-align: center;
}

.history-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* <<< ini yang penting! */
  align-items: center;
  /* supaya teks tengah */
  text-align: justify;
}


.history-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
  color: rgb(22, 44, 96);
  /* Sesuai permintaan */
}

.history-section p {
  font-size: 16px;
  color: #949BB8;
  line-height: 1.8;
  margin-bottom: 20px;
}

.history-section .read-more {
  font-size: 16px;
  color: #0066ff;
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.read-more-wrapper {
  width: 100%;
  text-align: left;
}

.history-section .read-more:hover {
  color: #0038a9;
  text-decoration: none;
}

/* end section sejarah */



/* start section filosofi */
.filosofi-section-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.filosofi-section {
  background: #0066FF;
  border-radius: 30px;
  color: white;
  max-width: 1000px;
  width: 100%;
  padding: 40px;
}

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

.filosofi-container h2 {
  font-size: 30px;
  margin-bottom: 25px;
  font-weight: bold;
}

.ayat {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 40px;
}

.ayat .sumber {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.filosofi-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
}

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

.filosofi-image img {
  width: 100%;
  height: 100%;
  border-radius: 35px 15px 15px 15px;
  object-fit: cover;
}

.filosofi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

/* Card styling */
.filosofi-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.filosofi-card:hover {
  transform: translateY(-5px);
}

.filosofi-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  margin-bottom: 25px;
  font-weight: bold;
}


.filosofi-card p,
.filosofi-card ul {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

.filosofi-card ul {
  padding-left: 20px;
}

.filosofi-card li {
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .filosofi-section-wrapper {
    padding: 60px 30px;
  }

  .filosofi-section {
    border-radius: 20px;
  }

  .filosofi-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: start;
  }

  .filosofi-image {
    height: 100%;
  }

  .filosofi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .filosofi-section {
    padding: 30px 20px;
  }

  .filosofi-content {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .filosofi-image {
    width: 100%;
  }

  .filosofi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .filosofi-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* end section filosofi */


/* start section pelayanan event */
.timeline-wrapper {
  overflow: hidden;
}

.timeline-wrapper h2 {
  text-align: center;
  color: #162C60;
  font-size: 30px;
  font-weight: bold;
}

.timeline-wrapper p {
  color: #949BB8;
  font-size: 16px;
  margin: 5px 0;
  line-height: 1.6;
  width: 700px;
}

.timeline-container {
  position: relative;
  cursor: grab;
  overflow: hidden;
}

.timeline {
  display: flex;
  align-items: center;
  position: relative;
  min-width: max-content;
  gap: 10px;
  padding-top: 80px;
  padding-bottom: 80px;
  margin-bottom: 100px;
  margin-top: 100px;
  transform: translateX(0);
  /* inisialisasi */
  transition: transform 0.1s;
  /* opsional untuk smoothing kecil */
}

/* garis */
.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #0366FF;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 250px;
  flex-shrink: 0;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #0366FF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.timeline-content {
  position: absolute;
  left: 50%;
  width: 220px;
  background: #DFEBFF;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
  z-index: 2;
}

/* zig-zag content */
.timeline-item:nth-child(odd) .timeline-content {
  top: calc(50% + 10px + 16px);
}

.timeline-item:nth-child(even) .timeline-content {
  bottom: calc(50% + 10px + 16px);
}

.timeline-content h4 {
  margin: 0;
  font-size: 16px;
  color: #162C60;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

/* end section pelayanan event */


/* start section why us */
.why-us {
  background: #F2F7FF;
  padding: 60px 30px 60px 30px;
}

.why-us h2 {
  text-align: center;
  font-size: 30px;
  color: #162C60;
  font-weight: bold;
}

.desc-why-us {
  color: #949BB8;
  font-size: 16px;
  margin: 5px 0;
  line-height: 1.6;
  width: 700px;
}

.why-us-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 kolom dengan lebar yang sama */
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
}

.why-us-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.why-us-item .icon {
  width: 40px;
  height: 40px;
  background-color: #DFEBFF;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-item i {
  color: #0366FF;
}

.why-us-item h3 {
  font-size: 18px;
  color: #0366FF;
  margin-bottom: 12px;
}

.why-us-item p {
  font-size: 14px;
  color: #162C60;
  line-height: 1.6;
  margin: 0;
}

/* Responsive styles for tablet */
@media (max-width: 1024px) {
  .why-us {
    padding: 40px 30px 60px 30px;
  }

  .why-us-container {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .why-us-item {
    padding: 20px;
  }
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .why-us {
    padding: 40px 20px 40px 20px;
  }

  .why-us-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .why-us-item {
    padding: 16px;
  }

  .timeline-wrapper p {
    width: 350px;
  }

  .desc-why-us{
    width: 350px;
  }
}

/* end section why us */