.elementor-495 .elementor-element.elementor-element-3467053{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-495 .elementor-element.elementor-element-c78dc61{width:100%;max-width:100%;}.elementor-495 .elementor-element.elementor-element-4d4f581{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-495 .elementor-element.elementor-element-b7c6d44{width:100%;max-width:100%;}/* Start custom CSS for html, class: .elementor-element-b7c6d44 */.law-card {
  background: #2e7d32;
  color: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  max-width: 320px;
  margin: 20px auto;
}

.law-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.parah {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  display: inline-block;
  padding-bottom: 4px;
}

.law-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 15px 0;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.law-card:hover .law-icon img {
  transform: rotate(5deg) scale(1.05);
}

.urdu-text {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1em;
  direction: rtl;
  color: #f8f8f8;
  margin-bottom: 15px;
  max-height: 100px; /* initially limited height */
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.urdu-text.expanded {
  max-height: 500px; /* when expanded */
}

.show-more-btn {
  background: #fff;
  color: #2e7d32;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.show-more-btn:hover {
  background: #1b5e20;
  color: #fff;
}/* End custom CSS */