.homepage-1842 {
width: 100%;
height: auto;
opacity: 1;
/* top: 688px;
left: 20px; */
display: flex;
flex-direction: row;
padding: 30px;
/* align-items: center; */
 /* gap: 20px; */
 justify-content: space-between;
  overflow: hidden;
 /* position: relative; */
 justify-content: center;
 padding-bottom: 60px;
}
.homepage-1842-image-cover{
  margin-left: 20px;
  width: 150px; opacity: 1;
  padding-left:20px;
 overflow: visible; 
}

.homepage-1842-image{
    margin-left: 20px;
 width: 150px;
/* height: 380.52px; */
opacity: 1;
/* top: 108.56px;
left: 106.29px; */
display:flex;
flex-direction: row;
gap:10px;
padding-left:20px;
 overflow: visible; 
}


.homepage-1842-image img {
   /* width: 150px; */
  height:  480.52px;
  object-fit: contain;
  /* display: block; */
    /* opacity: 0; */
  opacity: 0;
  transform: translateY(200px); /* or translateX depending on direction */
  transition: opacity 1.6s ease-in-out, transform 1.6s ease-in-out;
  max-width:108px;
}

.homepage-1842-image img:nth-child(even) {
  margin-top: 40px; 
   transform: translateY(-200px); /* even images start from top */
}

.homepage-1842-image img:nth-child(odd) {
 /* / margin-bottom: 0; odd ones stay up */
  
  transform: translateY(200px); /* odd images start from bottom */
}


.homepage-1842-image img.animate {
  opacity: 1;
  transform: translateY(0);
}
.homepage-1842-text {
  font-family: 'Cerost', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 165px;
  line-height:148px;
  letter-spacing: 0;
  text-transform: capitalize;
  color: #9a6527;
  padding-left:20px;
  transform: translateX(-550px);
  transition: all 1s ease-out;
}



.homepage-1842-info {
    margin-left: 400px;
  flex: 1; /* take remaining horizontal space */
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center; /* vertically center content */
  width:700px;
  padding: 20px;
 opacity: 0;
  transform: translateX(100px); /* start shifted right */
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.homepage-1842-info h2 {
  font-family: 'Cerost', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  line-height: 62px;
  letter-spacing: 0;
  vertical-align: middle;
  text-transform: uppercase;
  margin: 0 0 16px 0;
   text-transform: none;
}

.homepage-1842-info h2 {
  text-transform: capitalize;
}

.homepage-1842-info p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0 0 24px 0;
  /* max-width: 400px; limit paragraph width */
}

.homepage-1842-info a {
width: 135px;
height: 48px;
opacity: 1;
gap: 8px;
border-radius: 6px;
padding-top: 12px;
padding-right: 16px;
padding-bottom: 12px;
padding-left: 16px;
color: #FFFFFF;
background: #BD7F2B;
font-family: 'DM Sans', sans-serif;
font-weight: 500;
font-style: normal;
font-size: 16px;
line-height: 20px;
letter-spacing: 0%;
text-align: center;
border: none;
text-decoration: none;
}



.animate {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;
}

.homepage-1842-image img.animate,
.homepage-1842-info.animate {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;


}


@media(max-width:1199px){
  .homepage-1842-image-cover{ flex:1; width:100%; text-align:center; }
  .homepage-1842-info { flex:1; width: auto; margin-left:20px; }
  .homepage-1842-image { margin-left:0px; padding-left:0px; }
  .homepage-1842-text { padding-left:0px; font-size:154px; line-height:130px; }
}
@media(max-width:1099px){
  .homepage-1842-image img{ max-width:98px; height:420.52px; }
  .homepage-1842-text { font-size:138px; }
}

/* monile responsive ui */

@media (max-width: 992px) {
  .homepage-1842 {
    flex-direction: column; /* stack image above text */
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
  }

  .homepage-1842-image-cover { padding-left:0px; margin-left:0px; }
.homepage-1842-image {
    width: auto;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    overflow: visible;
  }

  .homepage-1842-image img {
    height: 320px; /* same ratio as desktop but scaled down */
    width: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 1.6s ease-in-out, transform 1.6s ease-in-out;
  }

  .homepage-1842-image img:nth-child(even) {
    margin-top: 20px;
    transform: translateY(-150px); /* smoother animation distance */
  }

  .homepage-1842-image img:nth-child(odd) {
    transform: translateY(150px);
  }

  .homepage-1842-image img.animate {
    opacity: 1;
    transform: translateY(0);
  }

  /* Text section below the images */
  .homepage-1842-info {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    transform: translateY(30px);
  }

  .homepage-1842-info h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .homepage-1842-info p {
    font-size: 14px;
    line-height: 24px;
  }

  .homepage-1842-info a {
    margin: 20px auto 0 auto;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .homepage-1842-image img {
    height: 200px;
    /* width: 90%; */
  }
  .homepage-1842-text { font-size:82px; line-height:90px; }

  .homepage-1842-info h2 {
    font-size: 24px;
    line-height: 32px;
  }
}

