/*----------------------------------
  SECTION TITLE 
  -----------------------------------*/
/*.maha-home-news-wrap .section-title-wrap {*/
/*  position: relative;*/
/*  margin-bottom: 40px;*/
/*}*/

/*.maha-home-news-wrap .section-title-wrap .section-title {*/
/*  display: inline-block;*/
/*  position: relative;*/
/*  margin: 5px 0 40px;*/
/*  text-transform: capitalize;*/
/*  line-height: 1.4;*/
/*  font-size: calc(1.525rem + 3.3vw);*/
/*}*/

/*@media (min-width: 1200px) {*/
/*  .maha-home-news-wrap .section-title-wrap .section-title {*/
/*    font-size: 2rem;*/
/*  }*/
/*}*/

/*.maha-home-news-wrap .section-title-wrap .section-title::before,*/
/*.maha-home-news-wrap .section-title-wrap .section-title::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  bottom: -10px;*/
/*  width: 20px;*/
/*  height: 8px;*/
/*  border-radius: 4px;*/
/*  background-clip: padding-box;*/
  /* stops bg color from leaking outside the border: */
/*  background-color: var(--color-primary);*/
/*  -webkit-animation: animate 6s linear infinite;*/
/*  animation: animate 6s linear infinite;*/
/*}*/

/*.maha-home-news-wrap .section-title-wrap .section-title::before {*/
/*  right: 50%;*/
/*  margin-right: 4px;*/
/*}*/

/*.maha-home-news-wrap .section-title-wrap .section-title::after {*/
/*  left: 50%;*/
/*  margin-left: 4px;*/
/*}*/

/*.maha-home-news-wrap .section-title-wrap p {*/
/*  display: inline-block;*/
/*  font-size: 24px;*/
/*  font-weight: 500;*/
/*  margin-bottom: 0;*/
/*  max-width: 1200px;*/
/*}*/

/*@-webkit-keyframes animate {*/
/*  0% {*/
/*    width: 20px;*/
/*  }*/

/*  25% {*/
/*    width: 50px;*/
/*  }*/

/*  50% {*/
/*    width: 50px;*/
/*  }*/

/*  75% {*/
/*    width: 100px;*/
/*  }*/

/*  100% {*/
/*    width: 100px;*/
/*  }*/
/*}*/

/*@keyframes animate {*/
/*  0% {*/
/*    width: 20px;*/
/*  }*/

/*  25% {*/
/*    width: 50px;*/
/*  }*/

/*  50% {*/
/*    width: 50px;*/
/*  }*/

/*  75% {*/
/*    width: 100px;*/
/*  }*/

/*  100% {*/
/*    width: 100px;*/
/*  }*/
/*}*/

/*-------------------------------
  NEWS
  --------------------------------*/
.maha-home-news-wrap {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

@media (min-width: 1200px) {
  .maha-home-news-wrap {
    padding: 100px 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .maha-home-news-wrap {
    padding: 80px 0;
  }
}
@media (max-width: 991px) {
  .maha-home-news-wrap {
    padding: 50px 0;
  }
}

.maha-home-news-wrap .news-box {
  position: relative;
  display: block;
  margin-bottom: 30px;
  border-radius: 20px;
  z-index: 10;
}

@media only screen and (min-width: 992px) {
  .maha-home-news-wrap .news-box {
    margin-bottom: 0;
  }
}

.maha-home-news-wrap .news-box .news-image img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9/11;
}

.maha-home-news-wrap .news-box .news-image h5 a {
  color: #fff;
  font-size: 20px;
}

.maha-home-news-wrap .news-box .news-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 33, 46, 0.5);
  border-radius: 20px;
}

.maha-home-news-wrap .news-box .news-image .news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 14px;
  color: #fff;
  text-transform: capitalize;
}

.maha-home-news-wrap .news-box .news-image .news-date i {
  margin-right: 7px;
}

.maha-home-news-wrap .news-box .news-image h5 {
  position: absolute;
  bottom: 30px;
  left: 20px;
  color: #fff;
  max-width: 90%;
}

.maha-home-news-wrap .news-box .news-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(24, 33, 46, 0.9);
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

@media only screen and (min-width: 992px) {
  .maha-home-news-wrap .news-box .news-content {
    padding: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-home-news-wrap .news-box .news-content {
    padding: 60px;
  }
}

.maha-home-news-wrap .news-box .news-content .news-text {
  font-size: 20px;
  margin: 0;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: left top;
  transform-origin: left top;
  -webkit-perspective: 300px;
  perspective: 300px;
  transition: transform 0.4s ease 0.4s, -webkit-transform 0.4s ease 0.4s;
}

@media only screen and (min-width: 992px) {
  .maha-home-news-wrap .news-box .news-content .news-text {
    font-size: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-home-news-wrap .news-box .news-content .news-text {
    font-size: 20px;
  }
}

.maha-home-news-wrap .news-box .news-content .news-text a {
  color: #fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.maha-home-news-wrap .news-box .news-content .news-text a:hover {
  color: var(--color-second);
}

.maha-home-news-wrap .news-box .news-content .news-text2 {
  font-size: 16px;
  color: #dddddd;
  margin: 0;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: left top;
  transform-origin: left top;
  -webkit-perspective: 300px;
  perspective: 300px;
  transition: transform 0.6s ease 0.6s, -webkit-transform 0.6s ease 0.6s;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.maha-home-news-wrap .news-box .news-content .news-text2 a {
  color: #fff;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.maha-home-news-wrap .news-box .news-content .news-text2 a:hover {
  color: var(--color-second);
}

.maha-home-news-wrap .news-box .news-content .news-link {
  width: 50px;
  height: 50px;
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 50px;

  /*-webkit-transition: all 0.4s ease;*/
  /*transition: all 0.4s ease;*/
  background-color: var(--color-second);
   border-radius: 50%;
transition: none;

}

.maha-home-news-wrap .news-box .news-content .news-link:hover {
  /*opacity: 1;*/
  /*color: #fff;*/
animation: pulse 1.5s infinite;

}

.maha-home-news-wrap .news-box:hover .news-content {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}

.maha-home-news-wrap .news-box:hover .news-text {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: right top;
  transform-origin: right top;
}

.maha-home-news-wrap .news-box:hover .news-text2 {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: right top;
  transform-origin: right top;
}

.maha-home-news-wrap .news-box:hover .news-link {
  /*-webkit-animation: bounceInUp 1.6s;*/
  /*animation: bounceInUp 1.6s 1 forwards;*/
}

.maha-home-news-wrap .newsletter-block {
  padding-left: 15px;
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap {
  display: block;
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 50px;
  width: 100%;
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-icon {
  position: relative;
  -ms-flex-preferred-size: 120px;
  flex-basis: 120px;
}

@media only screen and (min-width: 992px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-icon {
    margin-right: 7px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-icon {
    margin-right: 0;
  }
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-icon span {
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  background-color: #fff;
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-icon span i {
  position: absolute;
  color: var(--color-primary);
  font-size: 40px;
  line-height: 70px;
  padding-left: 15px;
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-text {
  margin-right: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 28px;
  text-transform: capitalize;
}

@media only screen and (min-width: 992px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-text {
    font-size: 24px;
    margin-right: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-text {
    font-size: calc(1.325rem + 0.9vw);
    margin-right: 20px;
  }
}

@media only screen and (min-width: 1200px) and (min-width: 1200px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-text {
    font-size: 1.5rem;
  }
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-subtitle-wrap {
  margin-top: 40px;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  padding: 10px;
}

@media only screen and (min-width: 992px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-subtitle-wrap {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-subtitle-wrap {
    font-size: 20px;
  }
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap {
  padding-top: 40px;
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap input {
  display: inline-block;
  width: 100%;
  padding: 8px;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--button-radius);
  background: transparent;
  color: #fff;
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap input::placeholder {
  color:#fff;
} 
.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap .newsletter-submit {
  padding: 10px 42px;
  margin-top: 60px;
  border-radius: 4px;
  background-color: #fff;
  color: var(--color-primary);
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  
}

.maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap .newsletter-submit:hover {
  background-color: #D675FF;
  color: #fff;
}

.maha-home-news-wrap .crmFormVali-error {
  position: relative;
  margin-left: 20px;
  margin-top: 5px;
}
@media (max-width:768px){
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-text{
    font-size: 26px;
  }
}
@media (max-width:575px){
  .maha-home-news-wrap .news-box .news-image h5 a {
    font-size: 12px;
  }
  .maha-home-news-wrap .row .col-lg-4.col-6:nth-child(1) {
    padding-right: 5px;
  }
  .maha-home-news-wrap .row .col-lg-4.col-6:nth-child(2) {
    padding-left: 5px;
  }
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap {
    padding: 20px;
  }
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-icon {
    display: none;
  }
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-title-wrap .newsletter-title-text {
    font-size: 20px;
  }
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-subtitle-wrap {
    font-size: 14px;
    margin-top: 20px;
  }
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap {
    padding-top: 20px;
  }
  .maha-home-news-wrap .newsletter-block .newsletter-block-wrap .newsletter-form-wrap .newsletter-submit {
    margin-top: 20px;
  }
}