.about_section_main {
  padding: 25px 0;
  background: #ffffff;
}

.about_section_card {
  background: #dd787829;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0px 10px rgb(0 0 0 / 30%);
  border-top: 5px solid #d0000e;
  transition: 0.4s;
  /* text-align: center; */
}

.about_section_card:hover {
  transform: translateY(-8px);
}

/* .about_section_sub_title{

    display:inline-block;
    background:#FFD400;
    color:#000;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;

} */

.about_section_title {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 5px;
}

.about_section_text {
  color: #333;
  font-size: 15px;
  line-height: 25px;
  margin-bottom: 12px;
}

.about_section_button {
  background: #d50000;
  color: #fff;
  border: none;
  padding: 14px 35px;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.about_section_button:hover {
  background: #ffd400;
  color: #000;
}

/* Large */

@media (max-width: 1400px) {
  .about_section_title {
    text-align: center;
    font-size: 35px;
  }
}

/* Laptop */

@media (max-width: 1200px) {
  .about_section_card {
    padding: 50px;
  }

  .about_section_title {
    font-size: 34px;
  }
}

/* Tablet */

@media (max-width: 992px) {
  .about_section_card {
    padding: 40px;
  }

  .about_section_title {
    font-size: 30px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .about_section_main {
    padding: 30px 0;
  }

  .about_section_card {
    padding: 30px;
  }

  .about_section_title {
    font-size: 26px;
  }

  .about_section_text {
    font-size: 16px;
    line-height: 20px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Small Mobile */

@media (max-width: 576px) {
  .about_section_card {
    padding: 15px;
  }

  .about_section_title {
    font-size: 22px;
  }

  .about_section_button {
    width: 100%;
  }
}

/* Extra Small */

@media (max-width: 400px) {
  .about_section_title {
    font-size: 20px;
  }

  .about_section_text {
    font-size: 15px;
  }
}
