.company-section {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

.company-text, .company-image-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-text {
  background: linear-gradient(to bottom, #fefcf9, #f4eadf);
  padding: 80px 5vw;
  font-size: 1rem;
  line-height: 2.2;
  color: #3a2d22;
  position: relative;
  border-top: 8px solid #d8b88b;
  border-bottom: 8px solid #d8b88b;
  box-shadow: inset 0 0 60px rgba(201, 163, 104, 0.15);
  z-index: 1;
}

.company-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/bg.png");
  background-repeat: repeat;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.intro-heading {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  border-left: 5px solid #c9a368;
  padding-left: 1rem;
  font-weight: bold;
  
}

.intro-block {
  margin-bottom: 2.5rem;
  background: #fffdf9;
  border: 1px solid #e6d4b1;
  box-shadow: 0 6px 15px rgba(201, 163, 104, 0.15);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  max-width: 40vw;
  min-width:40vw ;
  margin-left: auto;
  margin-right: auto;
}

.intro-block:hover {
  transform: translateY(-5px);
}

.intro-block h3 {
  font-size: 1.2rem;
  color: #c9a368;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.intro-block p {
  font-size: 1rem;
  line-height: 2;
  color: #333;
}

.intro-block ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.intro-block ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.intro-block ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c9a368;
}

/* Image Side */
.company-image-area {
  position: relative;
}

.image-black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  z-index: 1;
}

.image-black-overlay.active {
  opacity: 1;
  transform: scale(1);
}

.sticky-image {
  position: relative;
  top: 0;
  height: 100%;
  overflow: hidden;
}

.sticky-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  opacity: 0;
  color: white;
  font-size: 2rem;
  text-align: center;
  line-height: 2.2;
 
  writing-mode: vertical-rl;
  z-index: 2;
  transition: all 2s ease-out;
}

.overlay-title.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}
/* Animation base state */
.intro-block {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* When visible */
.intro-block.visible {
  opacity: 1;
  transform: translateY(0);
}
