.custom-two-column-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.columns-wrapper {
  display: flex;
  width: 100%;
  gap: 90px;
  box-sizing: border-box;
}

.left-column {
  flex: 1;
  min-height: 250px;
}

.left-text-block {
  position: static;
  opacity: 0;
  transform: translateY(0px);
  transition: transform 0.4s ease;
  display: flex;
  max-width: 100%;
  flex-direction: column;
  gap: 0;
	
	&:nth-child(1) {
		margin-top: -100px;
	}
	
	&:nth-child(2) {
		margin-top: 130px;
	}
	
	&:nth-child(3) {
		margin-top: 240px;
	}
	
	&:nth-child(4) {
		margin-top: 100px;
	}
	
  p {
    font-size: 60px;
    font-family: "Red Hat Display", Sans-serif;
    font-weight: 700;
    color: #f7f8f9;
	line-height: 70px;
  }

	
  .left-text-btn {
    background: linear-gradient(to bottom, #F52900, #BF4539);
    box-shadow: 0px 4px 20px 0px #000000;
    padding: 15px 40px;
    font-size: 18px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    color: #F7F8F9;
    border-radius: 8px;
    margin-top: 80px;
    width: fit-content;
  }
}

.left-text-block.active {
  opacity: 1;
  transform: translateY(-100px);
}

.left-texts-wrapper {
  height: 100%;
  position: relative;
}

.nav-arrows {
  position: sticky;
  top: 20%;
  left: 100%;
  right: 0;
  margin-right: -15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
}

.nav-arrow {
  background: #a2a2a2;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 9px 11px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
	
	&:nth-child(2) {
		background: linear-gradient(to bottom, #cc2c1c, #ea5f0a); 
	}
}

.divider-line {
  width: 2px;
  background: #aaa;
}

.right-column {
  flex: 1;
  display: none;
  flex-direction: column;
	justify-content: space-between;
  
}

.right-row {
  display: grid;
  grid-template-columns: 0.2fr 1fr;
  align-items: center;
  gap: 44px;
  padding: 10px 0;
  cursor: pointer;
  transition: transform 0.4s ease;
  opacity: 0;
	transform: translateY(100px);

	
	&:nth-child(2) {
		margin-top: -100px;
		margin-bottom: 10px;
	}
	
	&.active {
		opacity: 1;
		transform: translateY(0px);
	}

  h1,
  h2,
  h3,
  h4,
  h5 {
    font-size: 28px;
    font-family: "Red Hat Display", Sans-serif;
    font-weight: 700;
    color: #f7f8f9;
	line-height: 40px;
  }

  p {
    font-size: 17px;
    font-family: "Red Hat Display", Sans-serif;
    font-weight: 400;
    color: #f7f8f9;
	line-height: 30px;
  }

  .right-icon {
    width: 100px;
    height: 100px;

    svg {
      width: 100%;
      height: 100%;
    }
  }
}

@media screen and (max-width: 768px) {
  .columns-wrapper {
    flex-direction: column;
  }

  .divider-line {
	  width: 100%;
	  height: 2px;
	  top: 13%;
	  position: absolute;
	  right: -50%;
	  transform: rotate(90deg);
	  display: none;
  }

  .nav-arrows {
	  position: absolute;
	  justify-content: center;
	  margin: 80px -15px 0 0;
	  transform: none;
	  right: 0;
	  top: -8%;
	  display: none;
  }
	
	.left-text-block {
		max-width: 100%;
		margin-top: 50px;
		position: relative !important;
		top: auto !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		z-index: auto !important;
		display: flex;
		
		
		p {
			font-size: 30px;
		}
		
		.left-text-btn {
			
			font-size: 16px;
		}
	}
}

@media screen and (max-width: 500px) {
	.columns-wrapper {
		gap: 140px;
	}
	
	.left-texts-wrapper {
		transform: translateY(-100px);
	}
	
	.left-text-block {
		max-width: 100%;
		text-align: center;
		
		&.active {
			transform: translateY(100px);
		}
		
		p {
			font-size: 25px;
			line-height: 35px;
		}
		
		.left-text-btn {
			margin: 30px auto;
		}
	}
	
	.right-row {
		grid-template-columns: 1fr;
		opacity: 1;
		
		figure {
			margin: 0 auto !important;
		}
		
		.right-row-content {
			text-align: center;
			
			h1,h2,h3,h4,h5 {
				font-size: 25px;
				line-height: 35px;
			}
			
			p {
				font-size: 16px;
				line-height: 23px;
				margin-top: 20px;
			}
		}
	}
}