body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #fff8f0;
  background-image: url('assets/justlogo.png');
  background-repeat: no-repeat;
  background-size: clamp(200px, 40%, 600px);
  background-position: center 120px;
  background-attachment: scroll;
  overflow-x: hidden;
}

/* Section heading style */
.section-heading {
  color: #a65f00;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.nav-btn.active {
  background: #ff65b0;
  color: white !important;
}

/* Navbar style */
.navbar {
  background-color: #f8f1e4;
  padding: 1rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar a {
  color: #a65f00;
  text-decoration: none;
  margin-right: 15px;
}

.navbar a:hover {
  text-decoration: underline;
  color: #cc6600;
}

/* Frosted pastel nav buttons */
.nav-btn {
  padding: 10px 18px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  font-family: 'Josefin Sans', sans-serif;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Card design */
.card {
  border: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-radius: 12px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 200px;
  object-fit: cover;
}

/* Tagline Animation */
.tagline {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.8s ease-out 0.5s forwards;
  font-size: 20px;
  line-height: 1.6;
}

/* Keyframes for smooth fade and slide */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glow effect for key words */
.glow {
  color: #d63384;
  font-weight: bold;
  animation: softGlow 2.5s ease-in-out infinite alternate;
}

@keyframes softGlow {
  from {
    text-shadow: 0 0 5px #f8bbd0, 0 0 10px #f8bbd0;
  }
  to {
    text-shadow: 0 0 10px #f06292, 0 0 18px #f06292;
  }
}

.svg-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  background-color: transparent;
  margin-top: -10px;
  margin-bottom: 30px;
}

.svg-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.svg-divider .shape-fill {
  fill: #fff7e6; /* Matches the page background */
  stroke: #f2c89c;
  stroke-width: 2;
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

/* Centered bridge behind hero text */
.hero {
  position: relative;
  padding-top: 80px; /* space below fixed navbar */
  padding-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 160px 20px 60px 20px; /* IMPORTANT */
  gap: 30px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  max-width: 500px;
  background: url('hanging-bridge.png') no-repeat center/contain;
  opacity: 0.15;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* Purple flower accent behind welcome heading */
.welcome {
  position: relative;
}

.welcome::before {
  content: "";
  position: absolute;
  top: -40px;
  right: 20px;
  width: 140px;
  height: auto;
  background: url('purple-flower.png') no-repeat center/contain;
  opacity: 0.4;
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 0;
}

@keyframes floatBlossom {
  0% {
    transform: translateY(0px) rotate(-15deg);
  }
  100% {
    transform: translateY(20px) rotate(-15deg);
  }
}

.floating-blossom {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60vw;
  max-width: 900px; /* try even higher like 1200px if needed */
  height: auto;
  background: url('./cherry-blossoms.png') no-repeat center/contain;
  opacity: 0.6;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 0;
  animation: floatBlossom 8s ease-in-out infinite alternate;
}

@keyframes floatFlower {
  0% {
    transform: translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateX(10px) rotate(1deg);
  }
  100% {
    transform: translateX(0px) rotate(0deg);
  }
}

.floating-flower {
  animation: floatFlower 4s ease-in-out infinite;
}

.tagline-box {
  background: rgba(255, 247, 230, 0.85); /* warm cream + transparency */
  padding: 2rem;
  border-radius: 18px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px); /* frosted glass effect */
  position: relative;
  z-index: 2;
  text-align: center;
  color: #5a3e00;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(145deg, #fcd9a9, #ffdcb3); /* soft peachy gradient */
  color: #5a3e00;
  padding: 12px 28px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
  z-index: 3;
  transform: scale(0.97);
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  background: linear-gradient(145deg, #ffe5c6, #ffe9d1);
}

#about {
  background: linear-gradient(to bottom right, #fff9f3, #fff1f8);
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#about h2 {
  font-size: 36px;
  font-weight: 700;
  color: #4b154b;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#about p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  max-width: 900px;
  margin: 0 auto 15px auto;
  padding: 0 10px;
}

#about b, 
#about strong {
  color: #8e145d;
}

#about img {
  width: 400px;
  margin-top: 30px;
  animation: floatBrush 4s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

/* Floating animation for brush image */
@keyframes floatBrush {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Optional subtle background decoration using SVG/clip */
#about::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 250px;
  height: 250px;
  background-image: url('assets/justlogo.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

#about::after {
  display: none;
}

.frosted-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

footer h5 {
  font-weight: 600;
  letter-spacing: 1px;
}

footer ul li a:hover {
  text-decoration: underline;
  color: #ffc107; /* highlight color on hover */
}

#scrollBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #ff65b0;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

#scrollBtn:hover {
  background-color: #f5ac96;
}