.services-main {
    background: var(--testimonials-bg);
    color: #f1f5f9;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 0 10vh 0;
}
.services-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    z-index: 1;
}
.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}
.services-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
}
.services-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    color: black;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.service-card {
    background: linear-gradient(215deg, var(--color-mint-pink), var(--color-mint-pink-dark));
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #38bdf8 0%, #8b5cf6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.2);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}
.service-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: black;
    margin-bottom: 25px;
}
.service-features {
    list-style: none;
    margin-bottom: 30px;
}
.feature-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: black;
}
.feature-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}
.service-action {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #007cb3;
    color: #0078ad;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.service-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #8b5cf6 100%);
    transition: width 0.4s ease;
    z-index: -1;
}
.service-action:hover {
    color: #0f172a;
}
.service-action:hover::before {
    width: 100%;
}
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}
.floating-element:nth-child(1) {
    width: 150px;
    height: 150px;
    background: #ff0000;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}     
.floating-element:nth-child(2) {
    width: 100px;
    height: 100px;
    background: #ff0000;
    top: 25%;
    right: 10%;
    animation-delay: -3s;
}
.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    background: #ff0000;
    bottom: 15%;
    left: 15%;
    animation-delay: -5s;
}
.floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    background: #ff0000;
    bottom: 25%;
    right: 20%;
    animation-delay: -7s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(20px) rotate(10deg); }
    50% { transform: translateY(20px) translateX(-20px) rotate(-10deg); }
    75% { transform: translateY(-20px) translateX(-15px) rotate(5deg); }
}
.stat-box {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.1);
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}
@media (max-width: 480px) {
    .service-features{
        padding: 0;
    }
    .services-grid {
        padding: 2vh;
    }
}
@media (max-width: 640px) {
  .services-main {
    -webkit-overflow-scrolling: touch;
  }
  .services-title {
    font-size: 2.5rem;
  }
  .services-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    backdrop-filter: none;
    background: rgba(245, 245, 245, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .service-name {
    font-size: 1.5rem;
  }
  .service-description {
    font-size: 0.9rem;
  }
  .feature-item {
    font-size: 0.85rem;
  }
  .service-action {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .services-title {
    font-size: 3rem;
  }
  .services-subtitle {
    font-size: 1.1rem;
    max-width: 90%;
  }
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
      padding: 2vh;
  }
  .service-card {
    padding: 30px;
  }
  .service-name {
    font-size: 1.6rem;
  }
  .service-description {
    font-size: 1rem;
  }
  .feature-item {
    font-size: 0.9rem;
  }
  .service-action {
    padding: 11px 25px;
    font-size: 1rem;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .services-main {
    padding: 70px 30px;
  }
  .services-title {
    font-size: 3.3rem;
  }
  .services-subtitle {
    font-size: 1.15rem;
    max-width: 80%;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
  }
  .service-card {
    padding: 33px;
  }
}
@media (min-width: 1281px) {
  .services-title {
    font-size: 3.5rem;
  }
  .services-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
  }
}
