/* ==============================
   CONTACT HERO SECTION
   ============================== */
.contact-hero-section {
  position: relative;
  overflow: hidden;

  padding: 120px 0 80px 0;

  /* background: linear-gradient(
    180deg,
    #b8e3cf 0%,   
    #cfeee0 60%,  
    #bde6d6 100%
  ); */
}

.contact-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;

  max-width: 1200px;   /* keeps layout centered */
  margin: 0 auto;      /* center horizontally */
  padding: 0 20px;     /* side spacing */
}

.contact-hero-image{
  position:relative;
  flex:1 1 400px;
  height:320px;
}

.contact-hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  z-index: 2;
  padding: 25px;
   background:linear-gradient(
        5deg,
        var(--card-bg-color) 0%,
        var(--color-secondary) 100%
    );
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.contact-hero-section{
  z-index: 2;
}
.contact-hero-image{
  position: relative;
}

.contact-hero-title { font-size: 42px; }
.contact-hero-subtitle { font-size: 16px; line-height: 1.5; }


/* ==============================
   Bamboo Structure Cluster
   ============================== */
.bamboo-structure{
  position:absolute;
  bottom:-2px;   /* pushes bamboo slightly down */
  right:20px;
  display:flex;
  align-items:flex-end;
  gap:3px;
  z-index:3;
}

/* Each bamboo stem */
.bamboo-stem{
  width:30px;
  height:420px;

  background-image: url('/assets/images/bamboo-leaf-stem.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;

  transform-origin: bottom;
  transform: scaleY(0);
  opacity:0;

  animation: growBamboo 2s ease forwards;
}

/* Optional widths */
.bamboo-stem.wide   { width: 30px; }
.bamboo-stem.medium { width: 25px; }
.bamboo-stem.narrow { width: 15px; }

/* Doubled heights */
.bamboo-stem:nth-child(1)  { animation-delay: 0s;    height: 360px; }
.bamboo-stem:nth-child(2)  { animation-delay: 0.05s; height: 300px; }
.bamboo-stem:nth-child(3)  { animation-delay: 0.1s;  height: 340px; }
.bamboo-stem:nth-child(4)  { animation-delay: 0.15s; height: 380px; }
.bamboo-stem:nth-child(5)  { animation-delay: 0.2s;  height: 320px; }
.bamboo-stem:nth-child(6)  { animation-delay: 0.25s; height: 340px; }
.bamboo-stem:nth-child(7)  { animation-delay: 0.3s;  height: 300px; }
.bamboo-stem:nth-child(8)  { animation-delay: 0.35s; height: 360px; }
.bamboo-stem:nth-child(9)  { animation-delay: 0.4s;  height: 380px; }
.bamboo-stem:nth-child(10) { animation-delay: 0.45s; height: 320px; }
.bamboo-stem:nth-child(11)  { animation-delay: 0.5s;  height: 340px; }
.bamboo-stem:nth-child(12)  { animation-delay: 0.55s; height: 380px; }
.bamboo-stem:nth-child(13)  { animation-delay: 0.6s;  height: 320px; }
.bamboo-stem:nth-child(14)  { animation-delay: 0.65s; height: 340px; }
.bamboo-stem:nth-child(15)  { animation-delay: 0.7s;  height: 300px; }
.bamboo-stem:nth-child(16)  { animation-delay: 0.75s; height: 360px; }

/* Grow animation */
@keyframes growBamboo {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Floating leaves (unchanged) */
.leaf{
  position:absolute;
  width:60px;
  height:60px;
  background:url('/assets/images/leaf.png') no-repeat center/contain;
  opacity:.45;
  animation:floatLeaf 7s ease-in-out infinite;
  z-index:1;
}

/* LEFT SIDE LEAVES */
.leaf-left-1{
  top:20%;
  left:5%;
  animation-delay:0s;
}

.leaf-left-2{
  top:45%;
  left:42%;
  animation-delay:2s;
}


@keyframes floatLeaf{
  0%{
    transform:translateY(0) rotate(0deg);
  }

  50%{
    transform:translateY(-20px) rotate(12deg);
  }

  100%{
    transform:translateY(0) rotate(0deg);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-hero-container { flex-direction: column-reverse; text-align: center; }
  .contact-hero-image { margin-bottom: 30px; }
  .contact-hero-title { font-size: 36px; }
  .contact-hero-subtitle { font-size: 15px; }
}

@media (max-width: 768px) {
  .contact-hero-section { padding: 100px 15px 60px 15px; }
  .contact-hero-title { font-size: 28px; }
  .contact-hero-content { padding: 15px; border-radius: 12px; }
  .leaf { display: none; }
}