/* ========== Expertise Section ========== */
.expertise-section {
  background: #111;
  color: #eee;
  font-family: "Poppins", sans-serif;
  /* padding: 5% 10%; */
}

.expertise-content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* equal height for text and image */
  justify-content: space-between;
}

/* ===== Left Text Area ===== */
.expertise-text {
  padding: 2% 5% 2% 10%;
  flex: 1;
  min-width: 50%;
  box-sizing: border-box;
}

.expertise-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.expertise-text h2 {
  background: linear-gradient(90deg, #135090, #93bede);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.expertise-text p {
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ccc;
  font-size: 1rem;
}

/* ===== Buttons / Tags ===== */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.expertise-tags button {
  background: transparent;
  color: #fff;
  border: 1px solid #3ab6ff;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.expertise-tags button:hover {
  background: #3ab6ff;
  color: #111;
}

/* ===== Right Image Area ===== */
.expertise-image {
  flex: 1;
  min-width: 50%;
  height: auto;
}

.expertise-image img {
  width: 100%;
  height: 100%; /* fill parent height on desktop */
  object-fit: cover; /* maintain aspect ratio and cover */
  display: block;
  border-radius: 0;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .expertise-content {
    flex-direction: column;
    align-items: center;
  }

  .expertise-text {
    width: 100%;
    padding: 5% 10%;
    margin-bottom: 20px;
  }

  .expertise-tags {
    justify-content: center;
  }

  .expertise-image {
    display: none; /* hide image on mobile */
    width: 100%;
    height: auto; /* scale proportionally on mobile */
    margin-top: 20px;
  }

  .expertise-image img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
  }

  .expertise-section {
    text-align: center;
  }
}
