/* Main container */
.minlong-company-intro {
  position: relative;
  padding: var(--component-gap) 0 var(--component-gap-sm);
  background: #fff;
  overflow: hidden;
}

/* Background image */
.minlong-company-intro .bg-pic-wrapper {
  aspect-ratio: 576/523;
  flex: 0 0 50%;
}
.minlong-company-intro .bg-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Background text */
.minlong-company-intro .bg-text {
  position: absolute;
  top: var(--component-gap);
  left: 0;
  vertical-align: top;
  font-size: 0 ;
}
.minlong-company-intro .bg-text img{
  width: auto;
  height: 100%;
  object-fit: cover;
}
/* Container */
.minlong-company-intro .container {
  /* position: relative; */
  z-index: 1;
}

/* Content section */
.minlong-company-intro .content-section {
  display: flex;
  justify-content: space-between;
  gap: var(--component-gap-lg);
  position: relative;
  z-index: 2;
}

/* Profile title */
.minlong-company-intro .profile-title {
  position: relative;
  font-family: var(--semibold-font-family);
  font-size: var(--title-size-h3);
  font-weight: 600;
  line-height: 1.5;
  color: #103862;
  margin-bottom: 13px;
  padding-bottom: var(--text-gap-lg);
}

/* Decorative lines under title */
.minlong-company-intro .profile-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 1px;
  background: #103862;
}

.minlong-company-intro .profile-title::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 15px;
  height: 1px;
  background: #103862;
}

/* Profile description */
.minlong-company-intro .profile-desc {
  font-family: var(--font-family);
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.625;
  color: #666;
  /* white-space: pre-line; */
  max-height: 400px;
  overflow: auto;
}

/* Stats section */
.minlong-company-intro .stats-section {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: var(--component-gap-sm);
  flex-wrap: wrap;
  background: #f5f5f5;
  position: absolute;
  bottom: 0;
  left: 200px;
  right: 0;
  padding: 45px 58px;
  z-index: 1;
}

/* Stats item */
.minlong-company-intro .stats-item {
  position: relative;
  max-width: calc((50% / 3 - 10px));
}

/* Stats number */
.minlong-company-intro .stats-number {
  font-family: var(--title-font-family);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.21;
  color: #103862;
  margin-bottom: 28px;
}

.minlong-company-intro .stats-number .counter,
.minlong-company-intro .stats-number .symbol {
  color: #103862;
}

/* Stats label */
.minlong-company-intro .stats-label {
  font-family: var(--font-family);
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.625;
  color: #333;
}


/* Responsive design - max-width: 1500px */
@media (max-width: 1500px) {
  .minlong-company-intro .bg-text {
  }
  .minlong-company-intro .profile-desc{
    max-height:240px;
  }
  .minlong-company-intro .stats-section{
    padding: 35px 48px;
  }
}

/* Responsive design - max-width: 1280px */
@media (max-width: 1280px) {

  .minlong-company-intro .stats-number {
    font-size: 36px;
  }
  .minlong-company-intro .profile-desc{
    max-height: 160px;
  }
}

/* Responsive design - max-width: 1200px */
@media (max-width: 1200px) {
  .minlong-company-intro .profile-desc{
    max-height:150px;
  }
  .minlong-company-intro .stats-section {
    gap: var(--component-gap-sm);
    padding: 20px 25px;
  }
}

/* Responsive design - max-width: 992px */
@media (max-width: 992px) {
  .minlong-company-intro .profile-desc{
    max-height:unset;
  }
  .minlong-company-intro .stats-section{
    position:static;
    margin-top: var(--component-gap-sm);
    justify-content: space-around;
  }
  .minlong-company-intro .content-section{
    flex-direction:column;
  }
  .minlong-company-intro .bg-text {
  }
  
  .minlong-company-intro .stats-number {
    font-size: 32px;
  }
  
  .minlong-company-intro .stats-item {
    /* min-width: 180px; */
    max-width: unset;
  }
}

/* Responsive design - max-width: 768px */
@media (max-width: 768px) {
  .minlong-company-intro .bg-text {
  }
  
  .minlong-company-intro .stats-section {
    /* flex-direction: column; */
    gap: var(--text-gap);
    /* align-items: center; */
    justify-content: center;
  }
  
  .minlong-company-intro .stats-item {
    min-width: auto;
    flex: 1;
  }
  
  .minlong-company-intro .stats-number {
    font-size: 28px;
  }
}

/* Responsive design - max-width: 576px */
@media (max-width: 576px) {
  .minlong-company-intro .bg-text {
  }
  
  .minlong-company-intro .stats-number {
    font-size: 24px;
  }
}

/* Responsive design - max-width: 480px */
@media (max-width: 480px) {
  .minlong-company-intro .bg-text {
  }
  .minlong-company-intro .stats-section{
    flex-direction:column;
  }
}
.minlong-company-intro .has-bottom::after{
  bottom: -14px;
}
.minlong-company-intro .has-bottom::before{
  bottom: -10px;
}