.bride {
  width: 100%;
  min-height: 100vh;
  text-align: center;
  padding: 10rem 8rem;
  position: relative;
}

.bride h2 {
  font-size: 1.6rem;
  font-family: var(--arabic);
  font-weight: 400;
}

.bride h3 {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
  margin: 1rem 0;
}

.bride .bride_couple,
.bride .bride_couple ul,
.bride .bride_couple li,
.bride .bride_couple li figure {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bride .bride_couple {
  margin-top: 4rem;
}

.bride .bride_couple ul {
  gap: 1rem;
}

.bride .bride_couple li figure img {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.bride .bride_couple li figure figcaption {
  font-size: var(--fontSize-heading-base);
  margin: 1rem 0;
  font-family: var(--sacramento);
}

.bride .bride_couple span {
  font-size: 3.4rem;
  font-family: var(--sacramento);
  font-weight: 400;
  margin-top: 1rem;
}

.bride i,
.hadist i,
.time a + p + i,
.galeri > i {
  font-size: 3rem;
  color: #908d8d;
  position: absolute;
  z-index: 10;
  animation: upAndDown 3s infinite;
}

.bride i:nth-of-type(1) {
  top: 14rem;
  right: 8rem;
}

.bride i:nth-of-type(2) {
  left: 8rem;
  top: 24rem;
}

.bride i:nth-of-type(3) {
  top: 54rem;
  right: 8rem;
}

.bride i:nth-of-type(4) {
  top: 60rem;
  left: 8rem;
}

.bride i:nth-of-type(5) {
  right: 8rem;
  bottom: 6rem;
}

/* Ikon bunga yang dipindahkan dari bride_couple ke section bride */
.bride i:nth-of-type(6) {
  top: 12rem;
  left: 2rem;
}

.bride i:nth-of-type(7) {
  top: 18rem;
  right: 2rem;
}

.hadist {
  width: 100%;
  padding: 4rem 8rem;
  text-align: center;
  background-color: var(--bg-color);
  position: relative;
}

.hadist h2 {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hadist p span {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.hadist i {
  top: 16rem;
  left: 8rem;
}

.hadist svg {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -10;
}

.hadist svg:nth-of-type(1) {
  top: -8rem;
}

.hadist svg:nth-of-type(2) {
  bottom: -15rem;
}

/* Styling untuk ikon bunga samping yang tidak menimpa teks */
.bride .bride-side-flower-left,
.bride .bride-side-flower-right {
  animation: gentleGlow 3s ease-in-out infinite alternate;
  opacity: 0.8;
}

.bride .bride-side-flower-left {
  transform: rotate(-15deg);
}

.bride .bride-side-flower-right {
  transform: rotate(15deg);
}

/* Animasi gentle glow */
@keyframes gentleGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(142, 202, 230, 0.3));
    transform: scale(1) rotate(-15deg);
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(142, 202, 230, 0.6));
    transform: scale(1.05) rotate(-15deg);
  }
}

.bride .bride-side-flower-right {
  animation-name: gentleGlowRight;
}

@keyframes gentleGlowRight {
  0% {
    filter: drop-shadow(0 0 5px rgba(142, 202, 230, 0.3));
    transform: scale(1) rotate(15deg);
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(142, 202, 230, 0.6));
    transform: scale(1.05) rotate(15deg);
  }
}

/* Media queries untuk responsive */
@media (max-width: 768px) {
  .bride {
    padding: 6rem 2rem;
  }

  .bride h2 {
    font-size: 1.4rem;
  }

  .bride h3 {
    font-size: 2rem;
  }

  .bride p {
    font-size: 0.95rem;
    line-height: 1.6rem;
    max-width: 95%;
    margin: 0 auto;
  }

  .bride .bride_couple {
    margin-top: 3rem;
  }

  .bride i:nth-of-type(1) {
    top: 8rem;
    right: 2rem;
    font-size: 2.5rem;
  }

  .bride i:nth-of-type(2) {
    left: 2rem;
    top: 16rem;
    font-size: 2.5rem;
  }

  .bride i:nth-of-type(3) {
    top: 35rem;
    right: 2rem;
    font-size: 2.5rem;
  }

  .bride i:nth-of-type(4) {
    top: 40rem;
    left: 2rem;
    font-size: 2.5rem;
  }

  .bride i:nth-of-type(5) {
    right: 2rem;
    bottom: 4rem;
    font-size: 2.5rem;
  }

  /* Responsive untuk ikon bunga yang dipindahkan */
  .bride i:nth-of-type(6) {
    top: 8rem;
    left: 1.5rem;
    font-size: 2.5rem;
  }

  .bride i:nth-of-type(7) {
    top: 12rem;
    right: 1.5rem;
    font-size: 2.5rem;
  }

  /* Hadist section responsive */
  .hadist {
    padding: 3rem 2rem;
  }

  .hadist h2 {
    font-size: 2rem;
  }

  .hadist p {
    font-size: 0.95rem;
    line-height: 1.6rem;
    padding: 1.5rem;
  }

  .hadist p span {
    font-size: 1rem;
  }

  .hadist svg:nth-of-type(1) {
    top: -6rem;
  }

  .hadist svg:nth-of-type(2) {
    bottom: -10rem;
  }

  .bride .bride-side-flower-left,
  .bride .bride-side-flower-right {
    font-size: 1.5rem;
  }

  .bride .bride-side-flower-left {
    top: 3rem;
    left: 0.5rem;
  }

  .bride .bride-side-flower-right {
    top: 5rem;
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .bride {
    padding: 4rem 1rem;
  }

  .bride h2 {
    font-size: 1.2rem;
  }

  .bride h3 {
    font-size: 1.6rem;
  }

  .bride p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    max-width: 98%;
  }

  .bride .bride_couple {
    margin-top: 2rem;
    padding-top: 1rem;
  }

  .bride i:nth-of-type(1) {
    top: 6rem;
    right: 1rem;
    font-size: 2rem;
  }

  .bride i:nth-of-type(2) {
    left: 1rem;
    top: 12rem;
    font-size: 2rem;
  }

  .bride i:nth-of-type(3) {
    top: 28rem;
    right: 1rem;
    font-size: 2rem;
  }

  .bride i:nth-of-type(4) {
    top: 32rem;
    left: 1rem;
    font-size: 2rem;
  }

  .bride i:nth-of-type(5) {
    right: 1rem;
    bottom: 3rem;
    font-size: 2rem;
  }

  /* Responsive untuk ikon bunga yang dipindahkan */
  .bride i:nth-of-type(6) {
    top: 6rem;
    left: 1rem;
    font-size: 2rem;
  }

  .bride i:nth-of-type(7) {
    top: 10rem;
    right: 1rem;
    font-size: 2rem;
  }

  /* Hadist section responsive untuk mobile */
  .hadist {
    padding: 2rem 1rem;
  }

  .hadist h2 {
    font-size: 1.6rem;
  }

  .hadist p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    padding: 1rem;
  }

  .hadist p span {
    font-size: 0.95rem;
    margin-top: 0.8rem;
  }

  .hadist svg:nth-of-type(1) {
    top: -4rem;
  }

  .hadist svg:nth-of-type(2) {
    bottom: -6rem;
  }

  .bride .bride-side-flower-left,
  .bride .bride-side-flower-right {
    font-size: 1.2rem;
    opacity: 0.6;
  }

  .bride .bride-side-flower-left {
    top: 2rem;
    left: 0.2rem;
  }

  .bride .bride-side-flower-right {
    top: 3.5rem;
    right: 0.2rem;
  }
}

/* Menambahkan padding pada bride_couple untuk memberikan ruang */
.bride .bride_couple {
  padding: 1rem 3rem 2rem 3rem;
  margin: 2rem auto;
  position: relative;
}

@media (max-width: 768px) {
  .bride .bride_couple {
    padding: 1rem 2rem 1.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .bride .bride_couple {
    padding: 0.5rem 1.5rem 1rem 1.5rem;
  }
}
