:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-674f2a93 */.card {
  position: relative;
  width: 1880px; /* Fixed width */
  color: #2e2d31;
  background: #131313;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds subtle shadow */
  transition: height 0.5s ease-in-out; /* Transition for expanding height */
}

.card_image {
  width: 100%;
  height: 35%; /* Keeps the image height fixed */
  overflow: hidden;
}

.card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures full scaling without distortion */
  display: block;
}

.card_content {
  width: 100%;
  padding: 80px;
  background: #f2f2f2;
  border-top-left-radius: 0px;
  z-index: 1; /* Keeps text above the image */
  max-height: 0; /* Initially hidden */
  overflow: hidden; /* Hide the text initially */
  transition: max-height 0.5s ease-in-out, padding-bottom 0.5s ease-in-out;
}

.card_title {
  font-size: 26px;
  color: #131313;
  font-weight: bold;
  line-height: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.card_subtitle {
  display: block;
  font-size: 16px;
  margin-bottom: 30px;
  color: #444;
}

.card_description {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  max-height: 0; /* Initially hide text */
  overflow: hidden; /* Hide overflow text */
  padding-bottom: 0;
  transition: max-height 0.5s ease-in-out, padding-bottom 0.5s ease-in-out;
}

.card_description p {
  margin-bottom: 10px;
}

.card_description a {
  color: #007bff;
  text-decoration: none;
}

.card_description a:hover {
  text-decoration: underline;
}

/* On hover, expand the description downward */
.card:hover .card_content {
  max-height: 1500px; /* Expand the card content */
  padding-bottom: 20px; /* Add extra padding to the bottom when expanded */
}

.card:hover .card_description {
  max-height: 1000px; /* Increase max height to show full text */
  padding-bottom: 20px;
  transition-delay: 0.25s;
}

/* Adjust card height dynamically */
.card:hover {
  height: auto; /* Allow the card to expand when the content expands */
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-836bf45 */.custom_card {
  max-width: 800px;
  margin: 30px auto;
  border-radius: 20px;
  overflow: hidden;
  background: #f2f2f2;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

.custom_card_image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.custom_card_content {
  padding: 20px;
  background: #fff;
}

.custom_card_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #131313;
}

.custom_card_subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
}

.custom_card_text_wrapper {
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}

.custom_card_text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.custom_card_text a {
  color: #007bff;
  text-decoration: none;
}

.custom_card_text a:hover {
  text-decoration: underline;
}

.custom_card_toggle {
  background: none;
  border: none;
  color: #007bff;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  padding: 0;
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .custom_card_content {
    padding: 15px;
  }

  .custom_card_title {
    font-size: 20px;
  }

  .custom_card_subtitle {
    font-size: 16px;
  }

  .custom_card_text {
    font-size: 15px;
  }

  .custom_card_toggle {
    font-size: 15px;
  }
}/* End custom CSS */