/* Timeline CSS */
.custom-timeline-wrapper .timeline {
    position: relative !important;
    max-width: 1200px;
    margin: 100px auto;
	
}

.custom-timeline-wrapper .left-main-container, .right-main-container {
    display: flex;
  flex-direction: row;
  margin-bottom: 50px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.custom-timeline-wrapper .container-img{
    padding: 10px 50px;
  position: relative;
  width: 50%;
  height: auto;
  transition: 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-timeline-wrapper .img-box {
    height: 290px;
    width: 508px;
}

.custom-timeline-wrapper .img-box img {
    height:100%;
    width: 100%;
	background-position: center;
  background-size: cover;
  object-fit: cover;
}

.custom-timeline-wrapper .container-text {
   padding: 10px 50px;
  position: relative;
  width: 50%;
  height: auto;
  transition: 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-timeline-wrapper .text-box {
    height: 248px;
	width: 480px;
    padding: 40px;
    background: #fff;
    position: relative;
    box-shadow: 0px 10px 30px 0px #ed323855;

}


.custom-timeline-wrapper .left-container:hover .text-box{
        border-right: 1px solid #ED3237;
}

/* .right-container {
    left: 50%;
    transition: 0.7s;
} */

.custom-timeline-wrapper .right-container:hover .text-box {
        border-left: 1px solid #ED3237;
}

.custom-timeline-wrapper .container .date-wrap {
    position: absolute;
    right: -16px;
    top: 32px;
    height: 35px;
    width: 35px;
    background: #ED3237;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    border-radius: 50%;
    padding-top: 10px;
    z-index: 10;
}

.custom-timeline-wrapper .container .date-wrap::after {
    content: '';
    height: 49px;
    width: 49px;
    border: 1px solid #ED3237;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: -7px;
}

.custom-timeline-wrapper .right-container .date-wrap {
    left: -20px;
}

.custom-timeline-wrapper::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 99%;
    background: #ED3237;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
}

.custom-timeline-wrapper .left-container .text-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 36px;
    transform: translateY(-50%);
    background: #fff;
    height: 15px;
    width: 15px;
    transform: rotate(45deg);
    margin-right: -9px;
    margin-top: -7.5px;
    transition: 0.7s;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
}

.custom-timeline-wrapper .right-container .text-box::after {
    content: '';
    position: absolute;
    left: 0;
    top: 36px;
    background: #fff;
    height: 15px;
    width: 15px;
    transform: rotate(45deg);
    margin-left: -9px;
    margin-top: -7.5px;
    transition: 0.7s;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
}

.custom-timeline-wrapper .right-container:hover .text-box::after {
        border-left: 1px solid #ED3237;
        border-bottom: 1px solid #ED3237;
}

.custom-timeline-wrapper .left-container:hover .text-box::after {
        border-right: 1px solid #ED3237;
        border-top: 1px solid #ED3237;
}

.custom-timeline-wrapper .small-date {
    color: #ED3237;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px
}

.custom-timeline-wrapper .text-box-heading {
    font-size: 31px;
    font-weight: 500;
    line-height: 37px;
/*     margin: 15px 0; */
	font-family: Roboto;
}

.custom-timeline-wrapper .text-box-para {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #111827;
}
/* ✅ Responsive CSS */
@media (max-width: 1100px) {
  .custom-timeline-wrapper .left-main-container,
  .custom-timeline-wrapper .right-main-container {
    padding: 0 30px;
  }

	.custom-timeline-wrapper .container-img{
		padding-top: 0px;
		padding-bottom: 0px;
		height: auto;
	}
  .custom-timeline-wrapper .img-box {
    width: 100%;
    height: auto;
  }

  .custom-timeline-wrapper .text-box {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
	.custom-timeline-wrapper .text-box-heading{
		font-size: 26px;
	} 
	
}

@media (max-width: 770px) {
  .custom-timeline-wrapper .timeline {
    margin: 50px auto;
  }

  .custom-timeline-wrapper::after {
    left: 60px;
  } 
  .custom-timeline-wrapper .container {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
    padding-top: 0px;
  }

  .custom-timeline-wrapper .text-box {
    height: auto;
  }
  .custom-timeline-wrapper .right-container {
    left: 0;
  }

  .custom-timeline-wrapper .left-container .date-wrap,
  .custom-timeline-wrapper .right-container .date-wrap {
    left: 10px;
  }

  .custom-timeline-wrapper .text-box::after {
    left: -8px;
  }

  .custom-timeline-wrapper .left-main-container {
    flex-direction: column-reverse;
    width: 100%;
    height: auto;
    border: none;
    margin-bottom: 60px;
  }
  .custom-timeline-wrapper .right-main-container {
    flex-direction: column;
    width: 100%;
    height: auto;
    border: none;
    margin-bottom: 60px;
  }
  .custom-timeline-wrapper .container-img {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .custom-timeline-wrapper {
    margin: 50px auto;
  }

  .custom-timeline-wrapper .text-box {
    padding: 20px;
  }

  .custom-timeline-wrapper .text-box-heading {
    font-size: 20px;
    line-height: 26px;
  }

  .custom-timeline-wrapper .small-date {
    font-size: 14px;
  }
}