/**************************************************
 * SERVICES PAGE - SPECIFIC STYLES
 * File: services.css
 * Description: Styles for the Services listing page
 **************************************************/

/* Services Section Base */
.services-section {
  position: relative;
}

/* Service Cards */
.services-grid-wrapper .news-block-one {
  margin-bottom: 30px;
  height: 100%;
}

.services-grid-wrapper .news-block-one .inner-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-grid-wrapper .news-block-one .inner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.services-grid-wrapper .news-block-one .image-box {
  height: 220px;
  overflow: hidden;
}

.services-grid-wrapper .news-block-one .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/**************************************************
 * SERVICE CARD IMAGE HOVER EFFECTS
 **************************************************/
.service-card {
  position: relative;
}

.service-card .inner-box .image-box {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.service-card .inner-box .image-box img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover .inner-box .image-box img {
  transform: scale(1.05);
}


.services-grid-wrapper .news-block-one .lower-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-grid-wrapper .news-block-one .lower-content h3 {
  color: #000000 !important;
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 10px;
}

.services-grid-wrapper .news-block-one .lower-content h3 a {
  color: var(--title-color, #111) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.services-grid-wrapper .news-block-one .lower-content h3 a:hover {
  color: #F76188;
}

.services-grid-wrapper .news-block-one .lower-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
}

.services-grid-wrapper .news-block-one .lower-content strong {
  color: #F76188;
}

/* Service Categories Sidebar */
.services-section .sidebar-widget {
  margin-bottom: 30px;
}

.services-section .category-widget .widget-title h3 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 20px;
  color: var(--title-color);
}

.services-section .category-widget .widget-title h3 span {
  color: #F76188;
}

.services-section .category-widget .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-section .category-widget .category-list li {
  margin-bottom: 12px;
}

.services-section .category-widget .category-list li:last-child {
  margin-bottom: 0;
}

.services-section .check-box-two {
  position: relative;
}

.services-section .check-box-two input {
  display: none;
}

.services-section .check-box-two label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  display: inline-block;
  line-height: 22px;
}

.services-section .check-box-two label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid;
  border-radius: 4px;
  border-color: #A8DF8E !important;
  background: #F0FDDF !important;
  transition: all 0.3s ease;
}

.check-box-two label:before {
  border-color: #A8DF8E !important;
  background: #F0FDDF;
}

.services-section .check-box-two input:checked + label:before {
  background: #F76188 !important;
  border-color: #F76188 !important;
}

.services-section .check-box-two input:checked + label:after {
  background: #F76188 !important;
  border-color: #F76188 !important;
}

.services-section .check-box-two label:after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Pro';
  position: absolute;
  left: 3px;
  top: 2px;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: all 0.3s ease;
}

.services-section .check-box-two input:checked + label:after {
  opacity: 1;
}

/**************************************************
 * SEARCH WIDGET
 **************************************************/
.services-search-wrapper {
  width: 100%;
}

.services-search-wrapper .services-form-group {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  position: relative;
  margin: 0;
}

.services-search-wrapper .services-form-group input[type='search'] {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  border: 1px dashed #A8DF8E;
  border-radius: 50px;
  padding: 10px 70px 10px 20px;
  font-size: 15px;
  background: #F0FDDF;
  color: var(--title-color);
  transition: all 500ms ease;
  outline: none;
}

.services-search-wrapper .services-form-group input[type='search']:focus {
  border-color: #F76188;
  background: #fff;
}

.services-search-wrapper .services-form-group button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 44px;
  border-radius: 50%;
  text-align: center;
  font-size: 17px;
  color: #fff;
  background: #A8DF8E;
  border: none;
  cursor: pointer;
  transition: all 500ms ease;
  z-index: 2;
}

.services-search-wrapper .services-form-group button:hover {
  background: #F76188;
}

.services-search-wrapper .services-form-group input:focus + button {
  background: #F76188;
}

/* RTL Support for Services Search */
.rtl .services-search-wrapper .services-form-group {
  flex-direction: row;
}

.rtl .services-search-wrapper .services-form-group input[type='search'] {
  padding: 10px 20px 10px 70px;
}

.rtl .services-search-wrapper .services-form-group button {
  right: auto;
  left: 5px;
}

/* Results Info */
.services-section .text-muted {
  color: #6c757d;
  font-size: 14px;
  margin-top: 20px;
}

/* RTL Support */
.rtl .services-section .check-box-two label {
  padding-left: 0;
  padding-right: 28px;
}

.rtl .services-section .check-box-two label:before {
  left: auto;
  right: 0;
}

.rtl .services-section .check-box-two label:after {
  left: auto;
  right: 3px;
}