/* Start Home Page */
/* Start Hero Section */
.section .gradient {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.section .gradient,
.section .gradient-line {
  background-image: linear-gradient(to right, #facc15, #eab308, #2563eb);
}
/* End Hero Section */

/* Start Services Section */
.service-item [id*="ue-text-unfolded-uc_ue_unfold_"]:empty,
.service-item [id*="ue-text-folded-uc_ue_unfold_"]:empty {
  display: none !important;
}

.service-item a.ue_contact_button {
  width: fit-content;
}

.service-item .ue_unfold_image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section.services-section
  .jet-listing-grid__item:nth-of-type(even)
  .ue_unfold_image {
  background-image: linear-gradient(
    to right bottom,
    rgb(37, 99, 235),
    rgb(29, 78, 216)
  );
}

.section.services-section
  .jet-listing-grid__item:nth-of-type(even)
  .unfold_card:has(.ue-unfold-active) {
  background-image: linear-gradient(
    to right bottom,
    rgb(37, 99, 235),
    rgb(29, 78, 216)
  );
}

.section.services-section
  .jet-listing-grid__item:nth-of-type(odd)
  .unfold_card
  .ue-unfold-active
  img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(25%) saturate(7494%)
    hue-rotate(8deg) brightness(105%) contrast(94%);
}

.section.services-section
  .jet-listing-grid__item:nth-of-type(even)
  .unfold_card
  .ue-unfold-active
  img {
  filter: brightness(0) saturate(100%) invert(6%) sepia(7%) saturate(7355%)
    hue-rotate(186deg) brightness(90%) contrast(92%);
}

/* End Services Section */

/* Start Clients Section */
.clients .client-item .client-image,
.clients .client-item .client-image::after,
.clients .client-item .client-number,
.clients .client-item .client-title .elementor-heading-title {
  transition: all 0.3s ease;
}

.clients .client-item .client-image::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
  opacity: 0;
}

.clients .client-item .client-number {
  inset-block-start: 16px;
  inset-inline-end: 16px;
  opacity: 0;
}

.clients .client-item:hover .client-number,
.clients .client-item:hover .client-image::after {
  opacity: 1;
}

.clients .client-item:hover .client-image {
  transform: scale(1.05);
}

.clients .client-item:hover .client-title .elementor-heading-title {
  color: rgb(37 99 235 / 1);
}
/* End Clients Section */
/* End Home Page */

/* Search Form */

.elementor-shortcode {
  width: 100%;
  max-width: 768px;
  margin-inline: auto;
}

#heart-search-container {
  display: flex;
  align-items: stretch;
  background-color: #f9fafb;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 800px;
}

#heart-search-container:hover,
#heart-search-container:focus-within {
  border-color: #facc15;
}

#heart-username {
  flex-grow: 1;
  padding: 1.5rem 1.5rem;
  font-size: 1.125rem;
  color: #111827;
  background-color: transparent;
  border: none;
  outline: none;
  font-family: "Cairo", sans-serif;
}
#heart-search-container select {
    width: fit-content;
    border: none;
    background-color: transparent;
    flex-grow: 1;
}
#heart-search-container select:focus {
    outline: none;
}

#heart-search-btn {
  padding: 0 2.5rem;
  background: linear-gradient(to right, #facc15, #eab308);
  color: #111827;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.125rem;
  font-family: "Cairo", sans-serif;
}

#heart-search-btn svg {
  width: 24px;
  height: 24px;
}

#heart-search-btn:hover {
  background: linear-gradient(to right, #eab308, #ca8a04);
}

#heart-platform-selector {
  padding: 0 1.5rem;
  font-size: 1rem;
  color: #4b5563;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: "Cairo", sans-serif;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.5rem center;
  background-size: 1.2rem;
  min-width: 140px;
  width: fit-content;
  border-inline-start: 1px solid #e5e7eb;
}

/* Search Form */

/* Stats Section */
.stats-container,
.stat-label {
  font-family: "Cairo", sans-serif;
}

.stats-container {
  margin-top: 2rem;
  background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  animation: fadeIn 0.6s ease-out;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.loading-message .stats-grid,
.error-message .stats-grid {
  grid-template-columns: 1fr !important;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #eab308;
  margin-bottom: 0.5rem;
}

.grade .stat-value {
  direction: ltr;
  color: #111827;
}

.stat-label {
  color: #374151;
  font-size: 0.875rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Stats Section */

/* Start Mobile Media Query */
@media screen and (max-width: 768px) {
  #heart-search-container {
    flex-direction: column;
    border-radius: 24px;
  }
  #heart-search-container #heart-platform-selector,
  #heart-search-container #heart-search-btn,
  #heart-search-container #heart-username {
    padding: 24px;
    width: 100%;
  }

  #heart-search-container #heart-platform-selector,
  #heart-search-container #heart-search-btn {
    flex: 1;
  }

  #heart-search-container #heart-platform-selector {
    border-inline-start: 0;
    border-block-start: 1px solid #e5e7eb;
  }

  .stats-container {
    padding: 1rem;
    border-radius: 18px;
  }

  .stat-card {
    padding: 0.75rem;
    border-radius: 8px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}
/* End Mobile Media Query */
/* End Media Queries */

