.image-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.image-text-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 92, 167, 0.1);
  transition: all 0.3s ease;
}

.image-text-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 92, 167, 0.15);
}

.image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #f5f5f5;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-text-item:hover .image-wrapper img {
  transform: scale(1.05);
}

.text-wrapper {
  padding: 0 10px 10px;
}

.text-wrapper h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #005ca7;
}

.text-wrapper p {
  margin: 0;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px) {
  .image-text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
  }

  .image-text-item {
    gap: 12px;
  }

  .text-wrapper {
    padding: 15px;
  }

  .text-wrapper h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .text-wrapper p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .image-text-grid {
    gap: 15px;
    margin: 15px 0;
  }

  .image-text-item {
    gap: 10px;
    border-radius: 8px;
  }

  .text-wrapper {
    padding: 12px;
  }

  .text-wrapper h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .text-wrapper p {
    font-size: 12px;
    line-height: 1.5;
  }
}
