/* ===== SECTION ===== */
.ip-section {
  background: #f6f8fb;;
}

/* LEFT */
.ip-title {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: #0a2a66;
  line-height: 1.3;
}

.ip-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 14px;
}

.ip-btn {
  font-size: 0.85rem;
  padding: 8px 22px;
  border-radius: 2px;
}

/* ===== RIGHT GRID ===== */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 14px;
}

/* Common box */
.ip-box {
  position: relative;
  overflow: hidden;
  background-color: #152943
 !important;
}

.ip-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay text (Patents) */
.ip-overlay .overlay-text {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  font-weight: 600;
  color: #0a2a66;
  font-size: 0.95rem;
}

/* Blue consultation box */
.ip-blue {
  background: #0a2a66;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 22px;
}

.ip-blue h5 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

.ip-blue .arrow {
  font-size: 1.6rem;
}

/* Responsive */
@media (max-width: 991px) {
  .ip-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
  }

  .ip-title,
  .ip-text {
    text-align: center;
  }

  .ip-btn {
    display: block;
    margin: auto;
  }
}
