/* ==========================================================================
   MINIMALIST SERVICES SECTION STYLES — AURALIX MEDIA
   ========================================================================== */

#services {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0; /* Reduced padding from 7rem */
  background-color: #FAFAFC;
  background-image: 
    linear-gradient(to right, rgba(17, 19, 24, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 19, 24, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
}

#services .container {
  position: relative;
  z-index: 2;
}

/* Mirrored leaf decoration on the right side of the services section */
.services-leaf-img {
  position: absolute;
  top: auto;
  bottom: 0;
  right: 0;
  width: 260px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
  transform: scaleX(-1); /* Flips leaf horizontally to point inward */
}

@media (max-width: 1400px) {
  .services-leaf-img {
    right: -5%;
    width: 200px;
  }
}

@media (max-width: 992px) {
  .services-leaf-img {
    display: none;
  }
}

/* Overriding section title and description for a cleaner, compact heading */
#services .section-header {
  max-width: 650px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

#services .section-tag {
  background: rgba(17, 19, 24, 0.05);
  border: 1px solid rgba(17, 19, 24, 0.1);
  color: #111318;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}

#services .section-title {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); /* Smaller minimalist heading */
  font-weight: 600; /* Lighter font weight */
  color: #111318;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

#services .section-title .text-red {
  color: var(--brand-red, #D43A2F); /* Two colors in heading */
}

#services .section-subtitle {
  font-size: 0.9rem;
  color: #555864;
  line-height: 1.5;
  font-weight: 400; /* Lighter weight */
}

/* Force 3 columns per row on desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Minimalist, clean card design */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease-in-out;
}

/* Remove gradient border on top */
.service-card::before {
  display: none;
}

/* Clean, flat border & background hover state */
.service-card:hover {
  transform: translateY(-2px);
  border-color: #111318;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(17, 19, 24, 0.03);
}

/* Simple flat icon without background circles or borders */
.service-icon-wrapper {
  width: auto;
  height: auto;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.35rem; /* Slightly smaller icon */
  color: var(--brand-red, #D43A2F);
  margin-bottom: 0.9rem;
  transition: none !important;
}

/* Prevent icon animation on card hover */
.service-card:hover .service-icon-wrapper {
  transform: none !important;
  color: var(--brand-red, #D43A2F);
}

/* Crisp, smaller title with reduced weight */
.service-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600; /* Lighter weight from 700 */
  color: #111318;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

/* Cleaner description text with lighter weight */
.service-desc {
  font-size: 0.86rem;
  color: #555864;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 400; /* Lighter weight from 500 */
}

/* Plain text link with subtle hover shift */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500; /* Lighter weight from 600 */
  font-size: 0.82rem;
  color: #111318;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.service-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--brand-red, #D43A2F);
  gap: 0.5rem;
}

.service-card:hover .service-link i {
  transform: translateX(2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  #services .section-header {
    margin-bottom: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.75rem 1.5rem;
  }
}
