.ai-container {
  background-color: #fafafa;
  padding: 60px 40px;
}

/* ---------- HEADER ---------- */
.ai-header {
  text-align: center;
  margin-bottom: 50px;
}

.ai-services-label {
  font-size: 16px;
  color: #141515;
  margin-bottom: 20px;
  padding: 6px 12px;
  display: inline-block;
  border-radius: 60px;
  border: 1px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(180deg, rgba(140, 170, 254, 0) 0%, #8caafe 100%) border-box;
}

.ai-main-title {
  font-size: clamp(32px, 6vw, 90px);
  font-weight: 500;
  color: #141515;
  line-height: 1.2;
  margin-bottom: 10px;
}

.ai-subtitle {
  font-size: clamp(28px, 5vw, 90px);
  font-weight: 500;
  color: #141515;
  line-height: 1.2;
}

/* ---------- GRID ---------- */
.ai-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.ai-grid-item,
.ai-grid-item4 {
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.ai-grid-item:hover,
.ai-grid-item4:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* No-border cards */
.ai-grid-item.no-border,
.ai-grid-item4.no-border {
  border: none;
  box-shadow: none;
  background: transparent;
}
.ai-grid-item.no-border:hover,
.ai-grid-item4.no-border:hover {
  transform: none;
  box-shadow: none;
}

/* ---------- TEXT ---------- */
.ai-grid-item .p1,
.ai-grid-item4 .p1 {
  margin: 0;
  font-size: clamp(16px, 2vw, 26px);
  color: #2d2d30;
  font-weight: 500;
}

.ai-item-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  color: #141515;
  margin-bottom: 15px;
  line-height: 1.3;
}

.ai-item-description {
  font-size: clamp(14px, 1.5vw, 18px);
  color: #2d2d30;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ai-stats {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 400;
  color: #74a0ff;
  margin-bottom: 5px;
}

.ai-stats-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* ---------- IMAGES ---------- */
.ai-people-image,
.ai-people-image1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-people-image img,
.ai-people-image1 img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border: 3px solid white;
  object-fit: cover;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .ai-grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 20px;
  }
  .ai-container {
    padding: 40px 20px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .ai-grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .ai-container {
    padding: 30px 15px;
  }

  .ai-grid-item,
  .ai-grid-item4 {
    padding: 20px;
  }

  .ai-services-label {
    font-size: 14px;
  }

  .ai-main-title,
  .ai-subtitle {
    text-align: center;
  }

  .ai-people-image img,
  .ai-people-image1 img {
    max-width: 220px;
  }
}
