/* ===== AI SECTION ONLY ===== */
.ai-section {
  padding: 16px;
  display: flex;
  justify-content: center;
}

/* WIDTH CONTROL */
.ai-section .ai-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ai-section .ai-content {
  width: 100%;
  max-width: 52rem; /* 🔧 controls width safely */
}

/* IMAGE */
.ai-section .ai-card-image img {
  width: 100%;
  height: 320px;          /* 🔧 image height */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
}

/* CARDS */
.ai-section .ai-cards {
  display: grid;
  gap: 18px;
}

.ai-section .ai-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.ai-section .ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* TEXT */
.ai-section .ai-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #222;
}

.ai-section .ai-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 📱 TABLET */
@media (min-width: 768px) {
  .ai-section .ai-card-image img {
    height: 360px;
  }

  .ai-section .ai-card h3 {
    font-size: 1.25rem;
  }
}

/* 🖥 DESKTOP */
@media (min-width: 1024px) {
  .ai-section .ai-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
