/* ===== Services Section ===== */
.services-section {
  padding: 50px 10px 50px 10px;
  background: #F8F8F8;
  position: relative;
  overflow: hidden;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Section Heading */
.section-heading {
  font-size: 1.8rem;
  color: #1C085D;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: Arial, sans-serif;
}

.section-heading i {
  font-size: 1.9rem;
  color: #EB001B;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

.section-heading::after {
  content: '';
  width: 48px;
  height: 2.5px;
  background: linear-gradient(90deg, #EB001B 0%, #1C085D 100%);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 30px;
  font-family: 'Georgia', serif;
  font-style: italic;
  letter-spacing: 0.3px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Individual Service Box */
.service {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 16px;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(28, 8, 93, 0.13), 0 1.5px 6px rgba(28, 8, 93, 0.04);
  border: 1.5px solid #ececec;
  transition: box-shadow 0.28s, border 0.28s, transform 0.22s, background 0.28s;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  text-align: center;
  animation: fadeInUp 0.7s cubic-bezier(.23, 1.01, .32, 1) both;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #EB001B 0%, #1C085D 100%);
  opacity: 0.10;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: opacity 0.28s, height 0.28s;
}

.service:hover {
  box-shadow: 0 16px 48px rgba(28, 8, 93, 0.18), 0 2px 8px rgba(28, 8, 93, 0.10);
  border: 1.5px solid #EB001B;
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.92);
}

.service:hover::before {
  opacity: 0.22;
  height: 12px;
}

/* Service Icons */
.service-icon {
  font-size: 1.8rem;
  color: #1C085D;
  margin-bottom: 12px;
  display: block;
  transition: color 0.22s, box-shadow 0.22s, transform 0.22s;
  background: #f8f8fa;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(28, 8, 93, 0.07);
}

.service:hover .service-icon {
  color: #EB001B;
  background: #fff0f0;
  box-shadow: 0 0 16px 2px #EB001B44;
  transform: scale(1.13) rotate(-8deg);
}

/* Service Titles */
.service h3 {
  font-size: 1.05rem;
  color: #1C085D;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.5px;
}

/* Service Description */
.service p {
  font-size: 0.9rem;
  color: #777777;
  line-height: 1.5;
  font-family: 'Arial', sans-serif;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

/* Call-to-Action Button */
.cta-button {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: #EB001B;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #EB001B;
  border-radius: 6px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, filter 0.22s;
  letter-spacing: 1px;
  font-family: 'Georgia', serif;
  box-shadow: 0 1.5px 6px rgba(28, 8, 93, 0.04);
  position: relative;
  overflow: hidden;
  margin-top: auto;
  align-self: center;
}

.cta-button:hover,
.cta-button:focus {
  background: #EB001B;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(235, 0, 27, 0.18);
  filter: brightness(1.08) drop-shadow(0 0 8px #EB001B44);
}

.cta-button:active::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, #fff6 0%, transparent 80%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ripple 0.4s linear;
}

@keyframes ripple {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 0;
  }
}

/* ===== Responsive Design ===== */
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .service {
    padding: 24px 20px;
    min-height: 180px;
  }

  .service-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    padding: 12px;
  }

  .service h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .service p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .cta-button {
    font-size: 13px;
    padding: 11px 26px;
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }

  .service {
    padding: 30px 24px;
    min-height: 200px;
    border-radius: 18px;
  }

  .service-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    padding: 14px;
  }

  .service h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .service p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .cta-button {
    font-size: 14px;
    padding: 12px 30px;
  }

  .section-heading {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
  }
}