* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Devanagari", sans-serif;
  background: linear-gradient(to bottom right, #fdfcfb, #e2ebf0);
  color: #222;
  line-height: 1.8;
  overflow-x: hidden;
}

header {
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(90deg, #ff6f61, #ffcc70);
}

.logo img {
  width: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

hr {
  border: none;
  height: 6px;
  background: linear-gradient(to right, #ff6f61, #ffcc70, #00b4d8, #8e44ad);
  margin: 0;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.hero-image {
  text-align: center;
  margin: 40px 0 20px;
}

.swiper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #ffcc70;
  transition: transform 0.5s ease;
}

.swiper-slide img:hover {
  transform: scale(1.03);
}

.swiper-button-prev,
.swiper-button-next {
  color: #ff6f61;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ffe066;
  transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
}

.caption {
  font-size: 18px;
  color: #333;
  margin-top: 16px;
  text-align: center;
  font-weight: 500;
  background: linear-gradient(90deg, #ffe066, #ffd166);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
}

.content {
  padding: 30px 20px;
  background: #fff;
  border-left: 6px solid #ff6f61;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.content h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #ff6f61;
  text-shadow: 1px 1px #ffcc70;
}

.content p {
  margin-bottom: 22px;
  text-align: justify;
  font-size: 18px;
  line-height: 2;
}

.family-gallery {
  text-align: center;
  margin: 50px 0;
}

.family-swiper .swiper-slide {
  height: auto !important;
  background: none;
  padding: 10px 0;
}

.family-swiper .swiper-slide img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  border: 4px solid #8e44ad;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 30px 0;
  color: #fff;
  background: linear-gradient(90deg, #ff6f61, #ffcc70);
  margin-top: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1.2s ease-in-out both;
}

.slide-up {
  animation: slideUp 1.2s ease-in-out both;
}

@media (max-width: 768px) {
  .content {
    padding: 20px 15px;
  }

  .content h1 {
    font-size: 28px;
  }

  .content p {
    font-size: 17px;
  }

  .caption {
    font-size: 16px;
  }

  .swiper-slide {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 60px;
  }

  .caption {
    font-size: 15px;
    padding: 6px 12px;
  }

  .content h1 {
    font-size: 24px;
  }

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

  .swiper-slide {
    height: 300px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 30px;
    height: 30px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 16px;
  }
}
