/* Our Services Section Styles */
.our-services-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
  position: relative;
  overflow: hidden;
}

.our-services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #10b981);
  background-size: 200% 100%;
  animation: gradientFlow 4s ease infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 70px;
  animation: slideInFromTop 1s ease-out;
}

.section-heading-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid rgba(6, 182, 212, 0.2);
}

.heading-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconFloat 3s infinite ease-in-out;
}

.heading-icon i {
  font-size: 15px;
  color: white;
}

.section-heading {
  font-size: 25px;
  font-weight: 600;
  color: #0f766e;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-heading {
  font-size: 48px;
  font-weight: 800;
  color: #10b981;
  margin: 25px 0 20px;
  line-height: 1.2;
  animation: textGlow 3s ease-in-out infinite alternate;
}

.section-description {
  font-size: 20px;
  color: #475569;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  animation: fadeIn 1s ease-out 0.3s both;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #10b981, #06b6d4, #10b981);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
}

.service-card:hover::before {
  opacity: 1;
}

/* Card Icon */
.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dcfce7, #cffafe);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.6s ease;
  position: relative;
  z-index: 2;
}

.card-icon i {
  font-size: 36px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.6s ease;
}

.service-card:hover .card-icon {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  transform: rotateY(360deg);
}

.service-card:hover .card-icon i {
  color: white;
  background: transparent;
  -webkit-background-clip: initial;
  background-clip: initial;
}

/* Card Content */
.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.card-description {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 25px;
  min-height: 80px;
}

/* Learn More Button */
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #06b6d4;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 28px;
}

.learn-more-btn::after {
  content: "→";
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  color: #000000;
}

.learn-more-btn:hover::after {
  transform: translateX(8px);
}

/* Animations */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-8px) rotate(5deg);
  }
  66% {
    transform: translateY(-4px) rotate(-5deg);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .main-heading {
    font-size: 42px;
  }

  .section-description {
    font-size: 18px;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
  .our-services-section {
    padding: 70px 15px;
  }

  .section-heading-wrapper {
    padding: 12px 25px;
    gap: 12px;
  }

  .heading-icon {
    width: 30px;
    height: 30px;
  }

  .heading-icon i {
    font-size: 15px;
  }

  .section-heading {
    font-size: 26px;
  }

  .main-heading {
    font-size: 34px;
    margin: 20px 0 15px;
  }

  .section-description {
    font-size: 17px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 25px;
  }

  .service-card {
    padding: 35px 25px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-description {
    font-size: 16px;
    min-height: auto;
  }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
  .section-heading-wrapper {
    /* flex-direction: column; */
    gap: 10px;
    padding: 10px;
  }

  .main-heading {
    font-size: 28px;
  }

  .section-description {
    font-size: 16px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .card-icon i {
    font-size: 32px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .learn-more-btn {
    font-size: 16px;
  }
}

/* Responsive Design - Extra Small Mobile */
@media (max-width: 360px) {
  .section-heading {
    font-size: 22px;
  }

  .main-heading {
    font-size: 24px;
  }

  .section-description {
    font-size: 15px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 15px;
  }
}
